INMC 80 News

  

May–September 1981 · Issue 4

Page 31 of 71

Basic

Basic Routines

We’ve had several goes at persuading various people to tear the Nascom 8K BASIC apart, because it must be just ‘chock full’ of useful routines. Up to date, we haven’t had much success, either those we approached were too busy, or something. So were we surprised when we were sent the following by one of those ‘precocious brats’ who has taken the BASIC to pieces in odd moments whilst studying for his ‘0-levels’. Makes yer sick don’t it?

Anyway, young Steve hasn’t told the whole story, he hasn’t filled in the details of what the registers have to contain when the routines are called. He’s promised that as part 2 for the next issue. So for those of you who wish to figure out the remainder of what could be a very powerful machine code floating point maths package, here are the calls.


Bits of BASIC . . .Routines and all that.

by Steve Hansellman

Nascom BASIC contains a number of useful routines (if you know where to find them). So feeling masochistic, I decided to find the more useful ones.



Other useful routines:
Print character in A ––E69B
Input a line ––E607
Output ‘?’ then get line ––E4FC
Page 31 of 71