Post Reply 
41CL use of EXCFG, RCLCFG and STOCFG
10-17-2018, 10:51 AM
Post: #14
RE: 41CL use of EXCFG, RCLCFG and STOCFG
(10-16-2018 01:11 PM)rprosperi Wrote:  Since there is plenty of memory available, instead of adding a specific 5th or 6th set somewhere else, why not implement a new function that swaps the current set of 4 banks with an alternate set, thus having a 'Primary' and 'Alternate' set of 4 configurations. This could even be extended further of course, but it's hard to imagine needing more than 8 sets of CL configurations... Just a thought.

YMCPY function from YFNX module can easily backup and/or restore block 1 to 3, block 0 is more tricky but not that much.
Code:
"803>823" YMCPY  // backup block 3 to RAM page 0x823
"827>803" YMCPY  // restore block 3 from RAM page 0x827

(10-14-2018 08:44 AM)Podalirius Wrote:  But Mr. Angel Martin has made me very curious:
I know that these functions operates on a four set of MMU registers, one primary, and three secondary. How I can create a fifth?

Not presently, but you can easily get around the limitation, see above.
I would suggest to use this method for awhile to see if you really need more than what we have presently.
If that is really the case, then Monte could modify the code for sure, the drawback is compatibility with users currently using memory pages that Monte will use.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: 41CL use of EXCFG, RCLCFG and STOCFG - Sylvain Cote - 10-17-2018 10:51 AM



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