Re: [cc65] Announcement: cc65 v2.10.0 "christmas edition"

Date view Thread view Subject view

From: Marc 'BlackJack' Rintsch (marc_at_rintsch.de)
Date: 2003-12-26 19:35:12


Hi *,

I had an installation problem.  ``make -f make/gcc.mak install`` ended 
with::

  mv vic20/crt0.o vic20.o
  cp vic20/*.joy .
  make[2]: Leaving directory `/root/src/cc65-2.10.0/libsrc'
  make[1]: Leaving directory `/root/src/cc65-2.10.0/libsrc'
  make[1]: Entering directory `/root/src/cc65-2.10.0/doc'
  make[1]: Nothing to be done for `html'.
  make[1]: Leaving directory `/root/src/cc65-2.10.0/doc'
  install: installing multiple files, but last argument, 
`/usr/lib/cc65/include/sys' is not a directory
  Try `install --help' for more information.
  make: *** [install] Error 1

After creating /usr/lib/cc65/include/sys (and /usr/lib/cc65/(joy|ser)) 
manually, the installation was successful.
____

And it seems that the assembler treats labels declared outside a scope 
different than before.  This solves my problem with the renaming of 
zeropage labels inside a ``scope``/``proc``, but now I have to 
explicitly tell the assembler that the adressing mode is ``a:`` or 
dereference labels with the ``::`` prefix if their value is <256.  
Example::

  STATUS_LINE = 23

  .proc test
          sta $0400 + STATUS_LINE * 40,x
  .endproc

This source snippet gives a `Range Error` unless I prefix the whole 
address expression with ``a:`` or the label ``STATUS_LINE`` with 
``::``.  It works like expected outside a scope though.
____

Sorry that I haven't tested the new version before the release and 
reported this then.

The new features of the assembler (scopes, structs, enums) are *great*, 
thanks alot!

Ciao,
	Marc 'BlackJack' Rintsch
-- 
Q: How many Bill Gateses does it take to change a light bulb?
A: One. He puts the bulb in and lets the world revolve around him.
A: None. He declares Darkness(tm) the new industry standard.

----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo_at_musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.


Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2003-12-26 22:18:08 CET