41CL MMU Backup
|
05-31-2020, 06:09 AM
(This post was last modified: 05-31-2020 06:50 AM by Ángel Martin.)
Post: #19
|
|||
|
|||
RE: 41CL MMU Backup
(05-30-2020 03:45 PM)Ángel Martin Wrote: So never mind, I guess we're back to having to remap the library#4 after YFWR (in the YFNX) has terminated.... Ok but it's not too difficult to get it fixed after the fact - just adding three instructions to YRALL remapping Library#4 to page#4 does the trick. I chose PPLUG because it requires shorter text in ALPHA: ("4LIB", 4, PPLUG 7 bytes instead of "804040-8120" YPOKE 12 bytes) YWALL can be optimized using a subroutine, to the final form shown below - also checking on the low battery condition before doing any flash writings: Code: 1 LBL "YWALL" The role of user flag 01 is to choose if only the 801 block (cF1 clear) or also the MMU registers (F1 set) will be backed up. In the POWER Extreme module this is managed by the string in ALPHA as explained in the manual: "OK" means only the 800 block "OKALL" means both 800 and 804 blocks "To live or die by your own sword one must first learn to wield it aptly." |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 4 Guest(s)