It is currently Thu May 24, 2018 7:44 pm

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Sat Jun 28, 2008 4:05 pm 
Offline

Joined: Sat Jun 28, 2008 4:04 pm
Posts: 3
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


Top
 Profile  
Reply with quote  
PostPosted: Fri Jan 30, 2009 3:52 pm 
Offline

Joined: Fri Jan 30, 2009 3:19 pm
Posts: 12
Hi there, any progress on this plug-in project?


Top
 Profile  
Reply with quote  
PostPosted: Fri Apr 24, 2009 6:56 pm 
Offline

Joined: Thu Jan 12, 2006 11:47 am
Posts: 112
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

_________________
http://hitmen.eu


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group