snicklin Posted September 29, 2016 Share Posted September 29, 2016 I am looking for a simple example of: a) A MADS based program. b) ... which will use an AtariMax 1mb or 8mb cartridge when written to it. c) ... which then can switch in any bank from the cartridge. I'd also like some clarification of: - If a 2 megabit file is added to the 8mb cartridge, when you're addressing bank 0, is that bank 0 of the file that is being addressed or bank 0 of the cartridge as a whole? I guess the latter. Quote Link to comment Share on other sites More sharing options...
+JAC! Posted October 3, 2016 Share Posted October 3, 2016 ad a) http://www.wudsn.com/index.php/ide/faq#FAQROMImages MADS: Use " OPT h-f+ " at the very beginning of the source file disables header and enabled "fill" mode, i.e. no segments are created if there are gaps in the object code I had posted a full example in this sub-forum last yar but cannot locate it right now. This will help you create correct images from the compiler output.http://www.wudsn.com/index.php/productions-atari800/tools/atarirommaker >If a 2 megabit file is added to the 8mb cartridge, There is no such thing. If you create cartridge image for an 8MB cart it has to have 8MB. In this case byte number 0 is at bank 0, offset 0.Or you use the MaxFlash Menu & Loader (basically your exeutable is a not DOS executable or 8k ROM), but then you cannot use the bank switching.. Quote Link to comment Share on other sites More sharing options...
snicklin Posted October 4, 2016 Author Share Posted October 4, 2016 ad a) http://www.wudsn.com/index.php/ide/faq#FAQROMImages MADS: Use " OPT h-f+ " at the very beginning of the source file disables header and enabled "fill" mode, i.e. no segments are created if there are gaps in the object code I had posted a full example in this sub-forum last yar but cannot locate it right now. This will help you create correct images from the compiler output. http://www.wudsn.com/index.php/productions-atari800/tools/atarirommaker >If a 2 megabit file is added to the 8mb cartridge, There is no such thing. If you create cartridge image for an 8MB cart it has to have 8MB. In this case byte number 0 is at bank 0, offset 0. Or you use the MaxFlash Menu & Loader (basically your exeutable is a not DOS executable or 8k ROM), but then you cannot use the bank switching.. You may have answered one of my questions, I am sure I posted something but couldn't find it again. Thank you anyway, As for the 2 in 8 question, thanks for this. This makes much more sense to me. Quote Link to comment Share on other sites More sharing options...
+JAC! Posted October 4, 2016 Share Posted October 4, 2016 I am looking for a simple example of: a) A MADS based program. b) ... which will use an AtariMax 1mb or 8mb cartridge when written to it. c) ... which then can switch in any bank from the cartridge. Found it again: http://atariage.com/forums/topic/229914-wudsn-ide-how-to-create-an-bank-switched-rom/ Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.