From: Johan Kotlinski (johan_at_littlesounddj.com)
Date: 2003-12-16 01:44:46
Hi there,
I just got started with the cc65 package (looks great!) and I am right now using it to patch an old game from 1983...
I have a problem with saving to 1541, however. When saving to a file the first time, everything works great. But the second time I call my routine, it just doesn't work. I checked the archives and found out that someone had the same problem in 2002, but there was no real solution posted. So I write this mail to check if there is anyone who has gained more experience since then.
Here is my problem code for reference:
void save_highscores() {
cbm_open(15,8,15,"S0:KIDGRID.HISCORES");
cbm_close(15);
cbm_open(2,8,2,"0:KIDGRID.HISCORES,S,W");
cbm_write(2,(char*)0x1190,180);
cbm_close(2);
}
Regards,
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 : 2003-12-16 01:45:19 CET