On Thu, 2004-09-23 at 17:49, Ullrich von Bassewitz wrote: > A segment cannot have a size attribute. The error is caused because the linker > tries to place the zeropage at $0 into the RAM, but because you did already > place other stuff into this memory area, $0 is already taken. To solve this, > the zeropage segment should go into its own RAM area. And I do assume that you > don't want to use the CPU stack at $100 to be used for your program. So the > following config would be better: > Thanks for that, my knowledge of the 6502 has been gained from reading the data sheets and the sorce code found in cc65 and other places on the Net. > MEMORY { > ZP: start = $0, size = $100, type = rw, define = yes; > RAM: start = $200, size = $1E00, define = yes; <...snip...> It worked! the LEDs are blinking, albeit at 3kHz This is a great project, I'm really surprised at how quickly I got this board to boot. Thanks again! -- Ormund Williams <ormundw@panix.com> ORMLAB ---------------------------------------------------------------------- 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 Sep 24 20:38:29 2004
This archive was generated by hypermail 2.1.8 : 2004-09-24 20:38:39 CEST