At last! Now you can use your Spectrum ROM and MTERM without crashing on exiting the MTERM program. It’s easy!
Because RAMTOP has to be lowered for MTERM to work with the Spectrum, make this little loader program.
Write this one line program.
10 CLEAR 53950: LOAD "" CODE: RANDOMIZE USR 54016
SAVE it using SAVE “MTERM” LINE 10.
LOAD the original version of MTERM code. Once loaded, add the following POKES.
POKE 54554,207: POKE 54555,255
SAVE this version on MTERM by entering: SAVE “MTERM” CODE 54016,7721. Save it on the tape you saved the one line program on.
Now LOAD your customized version of MTERM into your Spectrum. The program will autorun, so the loader program can be removed by erasing the buffer.
Now you can exit from MTERM without crashing. When you exit MTERM, the menu will still be on the screen, but a press on the enter key will get your listing.
One word of caution. The buffer controls will say that you have 30211 bytes in your buffer, but only about 30100 is usable. If you put more information than that in the buffer, MTERM will crash.
Thanks to Thomas Simon and Rick Conard for putting me on the right track for this routine. TSH
Note: Type-in program listings on this website use ZMAKEBAS notation for graphics characters.