INMC 80 News

  

October–December 1981 · Issue 5

Page 7 of 71

LETTERS

Restoring Basic

Have you ever typed CLOAD when you really meant CSAVE? Come on now admit it. Well all is not lost. The only thing that has happened is that two pointers have been changed and they are easy to change back. This program restores the pointers and warm starts basic for you.

The easiest way to use it is to have a generated tape. All that is needed then is to reset and play the tape. The program can go anywhere in memory, so long as it does not overwrite the basic, and it will also recover from NEW and a basic cold start

Program Retriever

21 FE 10 7E FE 00 23 20 FA 22 FA 10 5E 23
56 EB 7E 23 B6 2B 20 F6 22 D6 10 C3 FD FF

B.M. Farrelly, Belfast

Space Invaders

I have just received INMC80 News and would like to congratulate you on its quality.

With reference to W.Squires letter in the INMC80-3 edition I have enclosed a relocatable routine which will allow you to select the keys used to control the base movement. Once the routine has been typed in the Space Invaders program should be executed from the start of the routine.

0F70 00 31 FE 0F EF 0C 00 D7 – 3A EF 6C 65 66 74 20 00
0F80 CF F7 F5 D7 4A 22 86 17 – 32 8C 17 F1 32 5C 10 32
0F90 40 10 D7 IF EF 72 69 67 – 68 74 20 00 CF F7 F5 D7
0FA0 2E 22 91 17 32 94 17 F1 – 32 58 10 32 42 10 DF 5D
0FB0 C3 00 10 EF 0D 0D 45 6E – 74 65 72 20 6B 65 79 20
0FC0 74 6F 20 6D 6F 76 65 20 – 62 61 73 65 20 00 C9 21
0FD0 09 0C 06 08 7E B7 C0 2B – 10 FA 00 00 00 00 00 00

(NAS-SYS only)

To slow down the speed of the game he could insert the following simple delay routine at 1776H, to change the delay length he should alter the value at 1777.

1776 06 30 FF 10 FD 00 00 .......
1780 00 00.

This replaces the routine which checks which monitor is being used, I have assumed that he is using NAS-SYS. These may not be the best solutions to the problems, but they do work.

Finally, I have the Xtal 2.2 BASIC and would like to add the SET, RESET, and TEST commands to it, could you please publish an article on how this could be done. (Any volunteers – Ed.) Also is it possible to add extra commands to NASPEN? I have in mind commands such as ‘find a word and replace it with another’ or ‘delete word’.

Mark Taylor of Hackney, London

Page 7 of 71