It is currently Thu Mar 28, 2024 5:06 am

All times are UTC - 5 hours




 Page 1 of 1 [ 2 posts ] 
Author Message
 Post subject: Creating a Writable Cartridge from an ATR
PostPosted: Mon Dec 22, 2014 4:51 pm 

Joined: Sat Nov 03, 2007 2:50 pm
Posts: 3
Location: Ontario, Canada
I've noticed a few references in the documentation that refer to the ability of MaxFlash Cartridge created from an ATR being able to read and write - assuming of course that standard SIO calls were observed. I've tried making a few cartridges to test this an although I can read individual files from the cart as if from a disk, I cannot write. I have also tried creating a cart from a plain DOS 2.0 ATR and I can't write to this either (using the DOS Copy option). Is there a write protect option that I'm missing, or did I misunderstand the documentation? (I'm using the 8mbit Flash Cartridge).

thanks!


Offline
 Profile  
 
 Post subject: Re: Creating a Writable Cartridge from an ATR
PostPosted: Wed Jan 14, 2015 7:53 pm 

Joined: Sat Nov 03, 2007 2:50 pm
Posts: 3
Location: Ontario, Canada
Well ~60 views later and no response, I guess I have to assume that the documentation is incorrect and I can't write back to the cart like a normal disk drive. Darn!
http://www.atarimax.com/flashcart/docum ... .html#set5


On to plan B!

I've been looking at code examples for controlling the cartridge from within an Atari program and the process looks fairly straight forward...

The basic process would be:

Turn off interupts
unlock the cartridge (write $AA to location $D5xx xx being the bank number)
Touch D580 which will cause that bank to overlay $A000 to $BFFF
read/write to the $A000-$BFFF range
close the cartridge
turn interrupts back on

Questions:

1) Is the above basically correct?

2) Is it possible to redirect the overlay to another location in memory?

3) In the code examples I have, there is a write made to $AAAA and $B555 ($55 and $AA respectively) as part of the unlock function. Why?


any help would be greatly appreciated!


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: Google [Bot] and 69 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