EasyManua.ls Logo

Sinclair ZX INTERFACE 1 - Page 47

Sinclair ZX INTERFACE 1
64 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
System variables
In addition to the system variables given in Chapter 25 of the Spectrum BASIC
programming manual, the Microdrive. local area network and RS232 software
use the system variables below.
NOtC?A
Xl
x2
x10
2
Address Name
23734 FLAGS 3
23735 VECTOR
23737 SBRT
23747 BAUD
1 23749 NTSTAT
1 23750 IOBORD
N2
N2
N2
1
1
1
x2
Nl
Xl
Nl
Nl
N2
Nl
Nl
N2
N2
NB
Nl
23751 SER-FL
23753 SECTOR
23755 CHADD-
23757 NTRESP
23758 NTDEST
23759 NTSRCE
23760 NTNUMB
23762 NTTYPE
23763 NTLEN
23764 NTDCS
23765 NTHCS
23766 D-STRl
23768 S-STRl
23769 L-STRl
23770 N-STRl
23772
23774 D-STR2
23782 HD-00
Contents
Flags
Address used to extend the BASIC interpreter
ROM paging subroutine
Two byte number determining the, baud rate
calculated as follows:
BAUD=(3500000/(26*baud rate))-2
You can use this to set up non-standard baud rates
Own network station number
Border colour used during I/O
You can POKE any colour you want
2 byte workspace used by RS232
2 byte workspace used by Microdrive
Temporary store for CH-ADD
Store for network response code
Beginning of network buffer
contains destination station number 0-64
Source station number
Network block number 0-65535
Header type code
Data block length 0-255
Data block checksum
Header block checksum
Start of 8 byte file specifier
2 byte drive number 1-B
Stream number 1-15
Device type “m”, “II”, “t” or “b”
Length of filename
Start of filename
Second 8 byte file specifier
used by MOVE and LOAD commands
Start of workspace for SAVE, LOAD, VERIFY
and MERGE data type code
45