It is currently Wed Apr 21, 2021 7:04 pm

All times are UTC + 1 hour [ DST ]

Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Thu Jul 26, 2007 2:54 pm 
User avatar

Joined: Sun Jun 03, 2007 6:43 am
Posts: 130
Location: Rethan Manor, Balmora, Hlaalu District
RR can be accessed on a Commodore 128 as an external ROM. Activate it in the monitor and see for yourself:

>FDE00 0

This will display the beginning of the active ROM bank. The cart will still show only an 8-kilobyte window, but the configuration registers work normally, and you can bank in any ROM or RAM windows you wish.

It is even possible to program the FlashROM in 128 mode! I did this when I was testing the programming routine I wrote for my flasher. However, writing the Retro Replay RAM doesn't appear to work.

Since the cart appears at $8000, you could even use it as a C128 Function ROM. Special processing is needed with the 8K banking, but if you set both jumpers, you can access the whole 128 kilobytes of the ROM.

Normally the maximum size for a Function ROM is 32 kilobytes, so this would allow much more features for a C128 cartridge. In BASIC, the external system ROM can be seen in banks 8 to 11.

Finally, here is a magic number: 42! That is $2A. Write this into the MMU configuration register to switch external ROM on. You will also get I/O at $D000-$DFFF, first 32K is RAM0 and other areas remain undefined.

PS. Vice doesn't emulate this behavior.

Commodore 128 Programmer
City of Kouvola, Finland

http://mydarkgothvampiricplace.endofthe ... Commodore/

Reply with quote  
 Post subject:
PostPosted: Sun Jul 29, 2007 3:19 pm 
Site Admin

Joined: Wed Jan 11, 2006 12:22 pm
Posts: 874
Really cool discover indeed! Time to start hacking, guys! :)

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

All times are UTC + 1 hour [ DST ]

Who is online

Users browsing this forum: No registered users and 1 guest

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:  
Powered by phpBB® Forum Software © phpBB Group