Dear CC65 users, i finally got an MMC Replay with V0.54 Bios and wanted to try out plug in coding. I got some sources by "The-Dreams" with which i can open and receive the file, the plugin is executed on. They are working so far and i started to convert the sources to CC65 by Ullrich Bassewitz. I wrote a c header file to wrap the assembler routines written by "The-Dreams" so that i can call these from a c routine. When i tested out my xxxplgin.bin, which contained just an empty main routine (void main(void)), on a *.xxx file i recognized that the code crashes right inside the init code of the compiled c program (inside crt0.s). Further experiments showed the "jsr CLRCH" inside "crt0.s" to be responsible for the crashing of the plugin. When i change the jsr by hand to a bit instruction, the plugin returns properly to the file browser. Can anybody with a little experience in MMC Replay plugin programming give me a hint, why the CLRCH routine is not compatible to the MMC Bios although routines like CHROUT work? Of course i search a way to come around modifying the CC65 startup code. Thank you Monte Carlos ---------------------------------------------------------------------- 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 Jun 28 15:21:58 2008
This archive was generated by hypermail 2.1.8 : 2008-06-28 15:22:00 CEST