Post Reply 
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"
2    "1FE"
3    XEQ 00
4    "1FF"
5    FS? 01
6    XEQ 00
7    GTO 92
8    LBL 00
9    ASTO T
10    >"000"
11    AVIEW
12    FC? 49
13    YFERASE
14    "800>"
15    ARCL T
16    AVIEW
17    FC? 49
18    YFWR
19    RTN
20    LBL "YRALL"
21    "1FE>800"
22    AVIEW
23    YMCPY
24    "1FF>804"
25    AVIEW
26    FS? 01
27    YMCPY
28    "4LIB"
29    4
30    PPLUG
31    LBL 02
32    "DONE"
33    END

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."
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
41CL MMU Backup - twoweims - 05-28-2020, 10:15 PM
RE: 41CL MMU Backup - Monte Dalrymple - 05-29-2020, 04:07 PM
RE: 41CL MMU Backup - twoweims - 05-29-2020, 04:44 PM
RE: 41CL MMU Backup - Monte Dalrymple - 05-29-2020, 05:49 PM
RE: 41CL MMU Backup - twoweims - 05-29-2020, 08:50 PM
RE: 41CL MMU Backup - Monte Dalrymple - 05-29-2020, 10:09 PM
RE: 41CL MMU Backup - twoweims - 05-30-2020, 01:05 AM
RE: 41CL MMU Backup - Ángel Martin - 05-30-2020, 05:22 AM
RE: 41CL MMU Backup - twoweims - 05-30-2020, 02:32 PM
RE: 41CL MMU Backup - Ángel Martin - 05-30-2020, 03:45 PM
RE: 41CL MMU Backup - Ángel Martin - 05-31-2020 06:09 AM
RE: 41CL MMU Backup - grsbanks - 05-30-2020, 08:27 AM
RE: 41CL MMU Backup - Ángel Martin - 05-30-2020, 03:52 PM
RE: 41CL MMU Backup - Monte Dalrymple - 05-30-2020, 06:47 PM
RE: 41CL MMU Backup - rprosperi - 05-30-2020, 10:36 PM
RE: 41CL MMU Backup - Monte Dalrymple - 05-30-2020, 11:58 PM
RE: 41CL MMU Backup - rprosperi - 05-31-2020, 03:00 AM
RE: 41CL MMU Backup - Monte Dalrymple - 08-07-2021, 02:07 AM
RE: 41CL MMU Backup - Ángel Martin - 05-31-2020, 06:55 AM
RE: 41CL MMU Backup - Monte Dalrymple - 05-31-2020, 06:22 PM
RE: 41CL MMU Backup - twoweims - 05-30-2020, 08:26 PM
RE: 41CL MMU Backup - Monte Dalrymple - 05-30-2020, 10:07 PM
RE: 41CL MMU Backup - twoweims - 05-31-2020, 06:30 PM
RE: 41CL MMU Backup - rprosperi - 05-31-2020, 06:51 PM
RE: 41CL MMU Backup - twoweims - 05-31-2020, 07:44 PM
RE: 41CL MMU Backup - rprosperi - 05-31-2020, 08:09 PM
RE: 41CL MMU Backup - twoweims - 06-01-2020, 09:24 PM
RE: 41CL MMU Backup - Monte Dalrymple - 06-01-2020, 10:48 PM
RE: 41CL MMU Backup - twoweims - 06-01-2020, 11:48 PM
RE: 41CL MMU Backup - Monte Dalrymple - 06-02-2020, 01:42 AM
RE: 41CL MMU Backup - grsbanks - 06-04-2020, 07:14 PM
RE: 41CL MMU Backup - Monte Dalrymple - 06-04-2020, 08:50 PM



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