MTerm Tips

See all articles from Sinc-Link v4 n5
Publication: Sinc-Link
Pub Details: Sinc-Link v4 n5 (Volume 4, Issue 5)
Date: September/October 1986
Pages: 4

I’ve noticed a lot of M-TERM tips and thought I’d list a few:

#1:**** TO SET M-TERM RAMTOP****

When you enter M-TERM with a PRINT USR 54016 it CLEARS and sets RAMTOP at 54015. To CHANGE THIS just POKE 54024,103 then POKE 54025,191.

#2:****** TO CHANGE BUFTOT******

POKE 61166,70 and POKE 61167, 190 The two byte number you want to get is a number that WHEN 26710 is SUBTRACTED from it, will give the answer of what you want your BUFTOT to be. It is a good idea to make it a couple of hundred bytes LESS than the actual space that’s available so that there’s WORK-SPACE ROOM to use when you exit to BASIC and save to disk or tape. It stops the worrying about WHEN to save. Just wait until the “buffer full” signal..

NOTE** THE ABOVE POKE VALUES ARE FOR A RAMEX DISK “MDOS;0” BUT… THEY WILL WORK IN ANY SITUATION

#3:***** TO AUTO-RUN RAMEX “MDOS;0” ******

Usually, when you initialize the “MDOS;0” you’re returned to Copyright Message and have to enter your next command. To get past this, do PRINT #4: LOAD “MDOS80” CODE:: POKE 49647,201: RANDOMISE USR 49644. The “201” poke makes it possible to do other commands after initializing..like loading “M-TERM”CODE: PRINT USR 54016 and then maybe load your REPEAT DIALER program or whatever.

#4: READ SAVED FILES WITH A LOOP

You don’t need to have M-TERM loaded in order to read files… A loop like FOR J=26710 to 48999: PRINT CHR$ PEEK J;: NEXT J: will do it. The same loop with this addition..IF CHAR$ PEEK J = 13 THEN LET J = 8 + 6 (before the PRINT) is handy to check on how you are doing when preparing FILES with LINE #’s and REM’s but you have to change the loop start to 26715 (or you’ll be off by six) I hope something here will be of help to you….

Downloaded from Compuserve Data Library August by Greg Lloyd