Acorn Computers BBC Micro Model B w/8271 — Acorn BBC Micro Model B w/8271 User Guide Manual PDF

408 Links 1 and 2 (bits 7 and 6 respectively) are unused. Links 3 and 4 (bits 5 and 4 respectively) set the disc drive timings. The default settings give the slowest disc access – this ensures that the computer can be used with any make of disc drive. Link 5 (bit 3) selects auto or manual boot on (default setting gives manual boot). Links 6, 7, and 8 (bits 2, 1, and 0) select the screen MODE (default settings give MODE 7 ). For example, *FX255,203 would give fast discs, manual boot, and MODE 3 on soft reset. OSBYTE calls If X=0 on entry then the operating system version number will be returned as an error message.

If X is non-zero on entry then on exit X will contain the opeating system series number – for example OS 2.00 would return X=2. On exit A and Y are preserved, C is undefined. OSBYTE call with A=&0 (0) Read operating system version number OSBYTE call with A=&1 (1) Read/write the user flag On entry, Y=0 for a write operation or Y=&FF for a read operation. For a write operation, X=new value of user flag. On exit, X=previous user flag value, Y=&FF. This call uses OSBYTE with A=&F1 (241), and is not used by the operating system, being left free for user applications. The user flag is stored at location &281 and has default value 0.

OSBYTE call with A=&2 (2) Select input device On entry, the value in X determines the input device(s), as follows: X=0 Keyboard selected, RS423 disabled. X=1 RS423 selected, keyboard disabled. X=3 Keyboard selected, RS423 enabled (but not selected.) On exit, X=0 if previous input was from the keyboard, X=1 if previous input was from the RS423. A is preserved, Y an C are undefined. OSBYTE call with A=&3 (3) Select output device On entry, the value in X determines the output device to be selected, as follows: Bit 0 set – Enables RS423 driver. Bit 1 set – Disables VDU driver. Bit 2 set – Disables printer driver. Bit 3 set – Enables printer, independently of CTRL B or CTRL C .