INMC News

  

February/March 1980, Issue 6

Page 21 of 38

A note for Nascom 2 owners. The memory card joins the ‘daisy chain’ (IEI and IEO) lines together, and under these conditions the interrupts won’t work. Cut one of the tracks on the vero buss connector. Do not cut the link on the memory board, as this would be required if that card were used on a bigger buss with ‘daisy chain’ priority interrupts.

Its beginning to look as if this newsletter was written by Richard, because this screed also came from Beal mansions.


Repeat keyboard for Nas-sys

by Richard Beal

In the last issue we printed a repeat keyboard routine for Nasbug T4. This can be adapted to Nas-sys, but we have now developed a routine which is simpler. This routine has given us an opportunity to show you the output of ZEAP 2.0, notice the sorted symbol table; there is a listing of the routine and a program to put the routine into use. Execute the program at 0C90H.

The routine itself is from 0C80 to 0CF5H. After the program is executed it returns to Nas-sys. You can then use Nas-sys or execute ZEAP 2.0 or Basic and enjoy the benefits of a repeating keyboard. Just hold down any key, and after a delay it will repeat quite quickly, which is ideal for cursor movements. Try holding down several keys at once!! Note that the @ key does not repeat because of its dual function on Nascom 1. We also attach a tabulation of the code to make it easier to type in.

Memory usage and changing the speed

We hereby declare the following memory locations will for all time have the specified meanings:–

0C2C – 0C2DHKCNT counter tor repeat keyboard
0C2E – 0C2FHKLONG delay before repeating starts
0030 – 0C31HKSHORT speed of repeating keys

These were unused locations in the Nas-sys work area. To change the initial delay before repeating starts, and the speed of repeat, change the values at KLONG and KSHORT.

Suggested values:4MHz2MHz
KLONG0280H0140H
KSHORT0050H0028H

The version overleaf is for 4MHz (Nascom 2).

Repeating keyboard from Basic

You can also set up a repeating keyboard within Basic, by typing in the Basic subroutine at lines 24000 to 24090. To execute it, type in: RUN24000

You will find that you then have a repeating keyboard. Note that line 24030 sets the speeds, we suggest the following values:

4MHz2MHz
Initial delayDOKE 3118,640DOKE 3118,320
Repeat rateDOKE 3120,80DOKE 3120,40
Page 21 of 38