Hello all, I am PrograCEZ. I have started to play with cc65 thinking of programming a game for the C64, I am working on a lib to help ppl to program c64 games without touching much asm. The C program calls all the routines from the lib and works great. But I have a problem. I wanted to test the lib and add a file to the resulting prg, and to make this I created a new segment in my config file like this: GFX: load = RAM, type = ro, start = $5C00; Then I have written a .s file with .segment "GFX" .incbin "file" . Then I compiled an dliked it along my c program and was having problems because the data was not showing at 5c00 or anywhere else. I have found that the data shows if I put that line where I define the segment last(in the config file). But for the data to show up at $5c00, the segment must be defined as: GFX: load = RAM, type = ro, start = $5C06; (notice: $5c06 not $5c00!) I am finding this very odd. I must be doing something wrong.... Other thing is I would like to use the ram from $d000 to $ffff and I don't know how to do it, I have tried to creat a mem area + segment, but no data is showing there. I would like to use a incbin, so the resulting prg will have the data there without need to load it from disk. Hope this makes sense. Thank you ---------------------------------------------------------------------- To unsubscribe from the list send mail to majordomo@musoftware.de with the string "unsubscribe cc65" in the body(!) of the mail.Received on Sat May 10 19:43:18 2008
This archive was generated by hypermail 2.1.8 : 2008-05-10 19:43:21 CEST