| retrohackers.org http://www.retrohackers.org/ |
|
| MMC Replay Plugin Coding with CC65 http://www.retrohackers.org/viewtopic.php?f=6&t=393 |
Page 1 of 1 |
| Author: | Monte Carlos [ Sat Jun 28, 2008 3:05 pm ] |
| Post subject: | MMC Replay Plugin Coding with CC65 |
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 |
|
| Author: | Ruddygore [ Fri Jan 30, 2009 2:52 pm ] |
| Post subject: | Re: MMC Replay Plugin Coding with CC65 |
Hi there, any progress on this plug-in project? |
|
| Author: | groepaz [ Fri Apr 24, 2009 5:56 pm ] |
| Post subject: | Re: MMC Replay Plugin Coding with CC65 |
the problem is probably the memory layout. look at the koala plugin source released by oliver, he does the necessary stuff to disable the cartridge etc - i'd guess thats what is missing |
|
| Page 1 of 1 | All times are UTC [ DST ] |
| Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |
|