From: Groepaz (groepaz_at_gmx.net)
Date: 2003-02-27 05:27:40
On Thursday 27 February 2003 01:13, Debrune Jérôme wrote: > Anyway here is the code : > =========================== > #define poke(addr,val) (*(unsigned char*) (addr) = (val)) > #include "image.h" > /*Roms calls for atmos hires() == jsr $ec33 */ > #include "basic.h" > main() > { > int j; > hires(); > /*Draw the half of image in hires*/ > for(j=0;j<4000;j++) > poke(0xa000+j,image[j]); // Display my picture array in 0xa000 hires ram > } uhmz.. :) maybe the stack pointer is set to a wrong location or sth? (have you checked the assembler code generated by cc65?). what you describe could mean the stackpointer actually points into the hires screen, but its just a wild guess really :o) gpz ---------------------------------------------------------------------- To unsubscribe from the list send mail to majordomo_at_musoftware.de with the string "unsubscribe cc65" in the body(!) of the mail.
This archive was generated by hypermail 2.1.3 : 2003-02-27 05:22:51 CET