V.
SUBROUTINES (cont.)
B.
System Entry Points
There are actually only two system entry points within the SOLOS
jump table. Entry at these points does not require that any
register be initialized. The first (at either label "START" or
"INIT") is used to perform a complete power-on system reset. As
a part of the system reset, the system RAM area data used by
SOLOS will be cleared. The only reason for entering via "START"
or "INIT" is that the power-on circuitry requires a one byte
instruction to allow various circuits to stabilize. The other
use of the byte labeled "START" is to determine if a user
program is being executed under SOLOS or is CUTER controlled.
When under SOLOS, this byte will be zero. When under CUTER,
this byte will be non-zero.
The other system entry point ("RETRN") is used to return to
SOLOS command mode. This entry point does not perform a system
reset.
C.
SOLOS Input Entry Points
SINP
entry point address C01F
This entry point will set register "A" to the current system
input pseudo port. The current system input pseudo port is
changed by the "SET I=" command. After setting register "A",
this command proceeds by executing an "AINP". (See below.)
AINP
entry point address C022
This entry point is used to input one character or status from
any pseudo port. Register "A" on entry indicates the desired
input pseudo port from 0 to 3. Because this entry point is a
combination status/get-character routine, it is the user's
responsibility to interpret return flags properly. When a
character is not available, the zero flag will be reset and the
character will be placed into register "A". What this means is
that, if the user wants to wait for a character to be entered,
simply follow the CALL AINP (or SINP) with a "JZ" jump-if-zero
instruction back to the call. A combined status/get-character
routine is very important when allowing user written input
routines.
D.
SOLOS Output Entry Points
SOUT
entry point address C019
This entry point will set register "A" to the current system
out-put pseudo port. The current system output pseudo port is
changed by using the "SET O=" command. After setting register
"A", this command proceeds by executing an "AOUT". (See next
definition.)
17
Summary of Contents for Sol-PC
Page 35: ......
Page 89: ......
Page 90: ......
Page 91: ......
Page 92: ......
Page 93: ......
Page 94: ......
Page 95: ......
Page 96: ......
Page 97: ......
Page 98: ......
Page 99: ......
Page 100: ......
Page 101: ......
Page 102: ......
Page 103: ......
Page 104: ......
Page 105: ......
Page 106: ......
Page 107: ......
Page 108: ......
Page 151: ...VIII 11...
Page 167: ...VIII 27...
Page 186: ......
Page 187: ...SECTION IX SOFTWARE Sol TERMINAL COMPUTERTM Processor Technology...
Page 191: ......
Page 197: ......
Page 223: ......
Page 224: ......
Page 225: ......
Page 226: ......
Page 227: ......
Page 228: ......
Page 229: ......
Page 230: ......
Page 231: ......
Page 232: ......
Page 233: ......
Page 234: ......
Page 235: ......
Page 236: ......
Page 237: ......
Page 238: ......
Page 239: ......
Page 240: ......
Page 241: ......
Page 242: ......
Page 243: ......
Page 244: ......
Page 245: ......
Page 246: ......
Page 247: ......
Page 248: ......
Page 249: ......
Page 250: ......
Page 251: ......
Page 252: ......
Page 253: ......
Page 254: ......
Page 255: ......
Page 256: ......
Page 257: ......
Page 258: ......
Page 259: ......
Page 260: ......
Page 261: ......
Page 262: ......
Page 263: ......
Page 264: ......
Page 265: ......
Page 266: ......
Page 267: ......
Page 268: ......
Page 269: ......
Page 270: ......
Page 271: ......
Page 272: ......
Page 273: ......
Page 274: ......
Page 275: ......
Page 276: ......
Page 277: ......
Page 278: ......
Page 279: ......
Page 280: ......
Page 281: ......
Page 282: ......
Page 283: ......
Page 284: ......