+acadiel Posted April 10, 2014 Share Posted April 10, 2014 I had to post this for atrax on FB earlier, but here you go, for anyone wanting the source code Stuart, Tursi and I made to bank switch a 128K ROM (i.e. Fred's Megamod cart with all three of his utilities). It should read well if you know assembly, if not, let Tursi or I know and we'll explain. Source code: http://pastebin.com/LL1Lqm3t Copy/pastable object code: http://pastebin.com/METtGvwy All the routine does is take code in certain locations of the EPROM of a certain size, copy it to a certain address in 32K, switch to the next bank when it need to continue and has run out of data (obviously the data starts after the header), and continues to the next bank as needed, then branches to >A000 to start the program. Enjoy. 2 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.