[cc65] anonymous labels still don't work right

From: MagerValp <MagerValp1cling.gu.se>
Date: 2004-07-16 23:47:47
I'm going away for a few days, so I've moved all my sources to the
laptop. Unfortunately I'm having a hard time getting a working cc65
environment set up. The old 2.8 that I had on here wouldn't compile
the latest code, for one reason or another. 2.10.1 gave me lots of
those ULab != 0 errors, and it produced a bunch of warnings about 0x0d
being an illegal input character[1][2]. After getting the latest
snapshot installed, I'm getting a brand new error message:

  font6x8.s(177): Error: Range error (158 not in [-128..127])
  make: *** [font6x8.o] Error 1

which I guess is just a slightly more legible version of the old one.
Line 177 is the 2nd bcc :+ here:

putc:
	cmp #$20
	bcc controlchar
	cmp #$80
	bcs controlchar

	ldx #0
	;and #$7f
	asl
	asl
	bcc :+
	inx
	inx
:	asl
	bcc :+
	inx
:	sta charptr
	lda charhitab,x
	sta charptr+1

This file is unmodified from c-vote 1.0 (that you can grab from my
homepage[3]), so it should assemble just fine.

The "old" directory on the server is inaccessible to us mortals,
making it impossible to grab 2.9. That would've been real handy right
now...


[1] crlf in the .c, #includes a .h with only lf - at least I think
    that's what confuses it.
[2] I really wish CVS would be smarter about line endings, I always
    seem to end up with mixed sources.
[3] http://www.cling.gu.se/~cl3polof/cvote/

-- 
    ___          .     .  .         .       . +  .         .      o   
  _|___|_   +   .  +     .     +         .  Per Olofsson, arkadspelare
    o-o    .      .     .   o         +          MagerValp@cling.gu.se
     -       +            +    .     http://www.cling.gu.se/~cl3polof/
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Fri Jul 16 23:47:50 2004

This archive was generated by hypermail 2.1.8 : 2004-07-16 23:47:58 CEST