It is currently Thu Jul 19, 2018 11:54 pm

All times are UTC - 5 hours




 Page 1 of 1 [ 2 posts ] 
Author Message
 Post subject: BANK Swapping
PostPosted: Sun Nov 25, 2007 9:34 pm 

Joined: Thu Oct 13, 2005 9:04 am
Posts: 1
Am I missing the point or is it not possible to bank switch the Flash Carts like XE extended memory. Can my Atari program load a file into specific memory from the Flash Cart?


Offline
 Profile  
 
 Post subject:
PostPosted: Sun Nov 25, 2007 9:53 pm 
ERROR AT LINE 0
User avatar

Joined: Tue Aug 05, 2003 9:55 am
Posts: 1036
Location: Cleveland, Ohio
Yes, you can load code from the flash cart into memory from any bank.

If you are using the 8mbit flash cart, you touch the D5XX region to control the cartridge.

D500 thru D57F make an 8k bank of the cartridge appear at $A000 thru $BFFF. The bank number is the low part of the address, $00 thru $7F.

Touching $D580 will turn off the cartridge and you can access normal system RAM in the $a000 thru $bfff region again.

If you are using an XL/XE computer be sure to update the cartridge interlock and do this with interrupts turned off. There is code in the various maxflash source files that shows how to do this.

Steve


Offline
 Profile  
 
Display posts from previous:  Sort by  
 Page 1 of 1 [ 2 posts ] 

All times are UTC - 5 hours


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