Atarimax Product Discussion Forums https://www.atarimax.com/flashcart/forum/ |
|
Creating a Writable Cartridge from an ATR https://www.atarimax.com/flashcart/forum/viewtopic.php?f=3&t=1675 |
Page 1 of 1 |
Author: | Jacobus [ Mon Dec 22, 2014 4:51 pm ] |
Post subject: | Creating a Writable Cartridge from an ATR |
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! |
Author: | Jacobus [ Wed Jan 14, 2015 7:53 pm ] |
Post subject: | Re: Creating a Writable Cartridge from an ATR |
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! |
Page 1 of 1 | All times are UTC - 5 hours |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |