Post Reply 
41 MCODE - Copying bank-switched pages
10-15-2014, 05:47 AM (This post was last modified: 10-15-2014 05:48 AM by Ángel Martin.)
Post: #10
RE: 41 MCODE - Copying bank-switched pages
(10-14-2014 06:32 PM)Monte Dalrymple Wrote:  One way to start would be to initialize the first word of every RAM page to 0 after the Memory Lost. Since this isn't a valid first word for an image, it is a reliable indicator that the RAM page doesn't contain an image. This even works for HEPAX memory pages. This at least makes it possible to check individual pages; just YPEEK the first word. This approach might even be better than using a separate table, but I'll have to think about it.

Since the RAM contents survives the Memory Lost event, wouldn't the automated erasing you describe mess up with all the valid pages then? The first word of the block has the XROM# in those instances.

"To live or die by your own sword one must first learn to wield it aptly."
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: 41 MCODE - Copying bank-switched pages - Ángel Martin - 10-15-2014 05:47 AM



User(s) browsing this thread: 1 Guest(s)