From: Johan Kotlinski (johan_at_littlesounddj.com)
Date: 2004-01-01 01:41:51
Hi there!
> Your assembly code actually does this:
>
> void save_highscores(void) {
> cbm_save("@:KIDGRID.HISCORES", 8, (void*)0x1190, 0x1244 - 0x1190);
> }
Tried it, but gives the same results as before, won't work on second time.
> Let cc65 decide where they will sit in memory. Otherwise, your program
> might put data on top of its code -- it might destroy itself! (The game
> probably changed its file code.)
Hmm... I configured $800-$3fff as the "basic" ram, so $800-$3fff should reasonably be safe to play around with as I wish. And I don't have any problem with any other parts in the game (which uses $1000-$1FFF as a general scratch pad).
Cheers,
Johan
----------------------------------------------------------------------
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 : 2004-01-01 01:43:38 CET