Micropower |
Volume 1, Number 2 – September 1981 |
|
|
|
Page 15 of 33 |
|
|
|
---|
This article is intended to show how the Tiny Basic Interpreter –V2, published the Merseyside Nascom Users Group program book, can be changed to run under Nas-Sys 1/3, rather than under monitor T4 for which it was originally intended. In addition, the modification provide full screen editing of the source text. Assuming that a copy of the interpreter is in store, all that is required is to change the locations specified below to the new code, replace the old editor routine at £17C5 with the GETLN routine given in the full assembler listing, then save the new version of Tiny Basic on tape. Please note that old programs written for TBI-V2 will have to be altered, since the end of line marker is now £0D, rather than the £1F used by T4 and the earlier monitors. Other changes are:
I hope that these notes and the list of modifications will prove useful to everyone who has asked for an updated version of TBI-V2.
Address | Old Code | New Code | Comments |
1014 | 1E | 0C | Clear screen |
1019 | 56 | 53 | Change V2 to S2 |
103C | 1F | 18 | |
103F | 1F | 0D | |
1142 | 3B | 3A | Command separator : not ; |
1145 | 1F | 0D | |
114C | 1F | 0D | |
114F | 1F | 0D | |
1156 | 23 | 5B | [ replaces £ for formatting |
1175 | 1F | 0D | |
11C4 | CD0C07 | DF5200 | Read tape |
11D8 | CD0004 | DF5700 | Write tape |
11DE | Change to DF6421210C7E23C9 | £ denotes hex. Not Clear | |
1343 | 1F | 0D | |
150E | 3B | 3A | Command separator : not ; |
1517 | 1F | 0D | |
1529 | 1F | 0D | |
152D | 1F | 18 | |
1533 | 1F | 0D | |
1558 | 1F | 18 |
|
|
|
Page 15 of 33 |
|
|
|
---|