Greetings fellow MCODErs, here's a question for those still practicing the arcane arts..
ok, so I have successfully compiled a library of frequently-used MCODE routines and they are placed in a custom-made page#4. It is not a take-over rom, it just sits there and waits for the other modules to call upon it.
This Lib#4 can be configured in the ML2k, Clonix, and of course the CL - so not a problem. Also V41 supports it, so emulation is possible for trouble-shooting.
Works like a charm, finally all that unused space is put to work for a practical cause. BTW I have reserved addresses 0x4100 to 0x41FF for NoVRAM 64 settings, not a problem,
And the question, you ask? Well I though it'd be a nice touch if upon startup the library page announced itself with a friendly message, something like "#4 ON-LINE". Problem is page #4 does not offer polling points as interrupts, so no chance to use that method.
I tinkered a bit using the take-over address 0x4000, with the sole purpose of showing the message and then returning control back to the OS - but all my attempts have failed so far. It just keeps repeating the message upon every light-sleep event, duh.
Can anyone offer some suggestions? Sure the work-around is for another module to check for its presence and report on its behalf, but that's not so elegant.
Best, 'AM