Post Reply 
I need help with using the 41CL
09-18-2021, 10:12 PM
Post: #22
RE: I need help with using the 41CL
(09-18-2021 08:51 PM)Sylvain Cote Wrote:  Hello David,

(09-18-2021 01:05 PM)David Hayden Wrote:  
  • Why can you plug a module into a page that already has one? That was the fundamental problem that Namir had. I would have preferred an error and the need to unplug the previous module first.
Nothing prevent you to do that, as long as you do not unmap one of the YFNZ/YFNX module, then the PLUG functions are no longer there, this is what happened to Namir in 2014 and to Uli this week.

Test case: (note: by design, virtual module take precedence over physical ones.)
Code:
            // assuming no physical modules is inserted into the 41CL
MMUDIS      // disable MMU
MMUCLR      // clear MMU configuration
"YFNZ"      // 41CL Extra Functions
PLUG1L      // map ROM to page 8
MMUEN       // enable MMU
CAT 2       // "-YFNZ 4G"
"MATH"      // Math ROM
PLUG2L      // map Math ROM to page 10
CAT 2       // "-YFNZ 4G" and "-MATH  1D"
"STAT"      // Stat ROM
PLUG2L      // map Stat ROM to page 10 (and unmapping Math ROM at the same time) 
CAT 2       // "-YFNZ 4G" and "STAT  1B"
            // OFF, insert a physical module into port 2 (I used the Home Management ROM), ON
CAT 2       // "-YFNZ 4G" and "STAT  1B" (virtual ROM)
UPLUG2L     // unmapping Stat ROM from page 10
CAT 2       // "-YFNZ 4G" and "HOME MN 1A" (physical ROM)
            // OFF, remove the physical module (Home Management ROM) from port 2, ON
CAT 2       // "-YFNZ 4G"

(09-18-2021 01:05 PM)David Hayden Wrote:  
  • I wish there was also a "PLUG" command that plugged the module into available port.
Not as easy as it sound, but it could have been done.
ROM file format does not include contextual information as to which page and in what bank it must be mapped.
MOD file format does have that information.
41CL DB ROM have most of that information thought.

(09-18-2021 01:05 PM)David Hayden Wrote:  
  • What's plugged in where?
As Mark said, all CCD ROM implementation has the CAT 8 to F allowing you to catalog a specific page.
Also, several modules (ZenROM, HEPAX, etc) has a ROM editor that allows you to see what's in any page.
But I agree with you that it would have been a great function to be included with the YFN? ROMs.
I could probably create a small FOCAL program that extract the mapping information from the 41CL configuration space, let me have a look.

Sylvain

edit 1: typos
edit 2: change the physical ROM to Home Management ROM to remove ambiguities

Use YFNX. The page it occupies is LOCKed so it can't be accidentally overwritten (YFNX Manual, page 6). If you want to protect other things you have plugged in, LOCK those pages (YFNX Manual, page 10). If you want to know what's plugged in via the MMU execute PLUG shift alpha alpha alpha "?" (YFNX Manual, page 18) and if you want to know what pages are locked execute EXCFG "0" (YFNX Manual, page 11).

Letting the machine pick a page to plug in something seemed like a recipe for disaster. That's why I didn't implement that option. If there was room in the image I could easily add that feature. Unfortunately the ROM is full.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
I need help with using the 41CL - Namir - 01-27-2014, 03:55 PM
RE: I need help with using the 41CL - Gene - 01-27-2014, 09:32 PM
RE: I need help with using the 41CL - Gene - 01-28-2014, 07:47 PM
RE: I need help with using the 41CL - Uli - 09-15-2021, 08:38 PM
RE: I need help with using the 41CL - Uli - 09-16-2021, 12:30 PM
RE: I need help with using the 41CL - Uli - 09-18-2021, 05:14 PM
RE: I need help with using the 41CL - Monte Dalrymple - 09-18-2021 10:12 PM
RE: I need help with using the 41CL - Uli - 09-19-2021, 01:09 PM



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