OsByte/FX Call Summary ====================== dec. hex. Function 0 00 Return OS version number 1 01 User OsByte call 2 02 Select input stream 3 03 Select output stream 4 04 Select cursor editing state 5 05 Select printer destination 6 06 Set printer ignore character 7 07 Set RS232 baud rate for receiving data 8 08 Set RS232 baud rate for transmitting data 9 09 Set flashing colour mark state duration 10 0A Set flashing colour space state durarion 11 0B Set keyboard auto-repeat delay interval 12 0C Set keyboard auto-repeat rate 13 0D Disable events 14 0E Enable events 15 0F Flush selected buffer class 16 10 Select number of ADC channels to be sampled 17 11 Force an ADC conversion 18 12 Reset soft keys 19 13 Wait for vertical sync 20 14 Explode character ram allocation and restore font 21 15 Flush specific buffer 22 16 Increment polling semaphore 23 17 Decrement polling semaphore 24 18 Select external sound system (Electron) 25 19 Restore default font definitions (Master) 26 1A 27 1B 28 1C 29 1D 30 1E 31 1F 32 20 Read highest memory address in current mode (WE Shadow Ram) 33 21 Read highest memory address for mode X (WE Shadow Ram) 34 22 Read/write shadow ram switch (WE Shadow Ram) 35 23 Return location of workspace (WE Shadow Ram) 36 24 Read/Write Ram buffer number (WE Shadow Ram) 37 25 38 26 39 27 40 28 41 29 42 2A 43 2B 44 2C 45 2D 46 2E 47 2F 48 30 49 31 50 32 Polling transmission (NFS) 51 33 Polling reception (NFS) 52 34 Delete a receive block (NFS) 53 35 Severe a remote connection (*ROFF) (NFS) 54 36 55 37 56 38 57 39 58 3A 59 3B OsByte/FX Call Summary ====================== dec. hex. function 60 3C 61 3D 62 3E 63 3F Copy CCP from rom (ZNOS) 64 40 65 41 66 42 67 43 68 44 Test for sideways ram 69 45 Sideways ram allocation 70 46 71 47 72 48 73 49 74 4A 75 4B 76 4C 77 4D 78 4E 79 4F 80 50 81 51 82 52 83 53 84 54 85 55 86 56 87 57 88 58 89 59 90 5A HCE Rom service call 91 5B 92 5C 93 5D 94 5E 95 5F 96 60 Terminal emulator control call 97 61 98 62 99 63 100 64 101 65 102 66 103 67 104 68 105 69 106 6A Select pointer/active mouse 107 6B Select 1MHz bus/cartridge 108 6C Select screen memory for direct access 109 6D Make temporary fs permanent 110 6E 111 6F Read/Write shadow ram switch (Aries-B32, WE Shadow Ram) 112 70 Select memory for VDU access 113 71 Select memory for display 114 72 Write shadow memory use 115 73 Blank or restore palette (Electron) 116 74 Reset sound system (Electron) 117 75 Read VDU status 118 76 Reflect keyboard status in LEDs and return CTRL/SHIFT keys 119 77 Close and *SPOOL or *EXEC files OsByte/FX Call Summary ====================== dec. hex. function 120 78 Write current keys pressed information 121 79 Perform keyboard scan 122 7A Perform keyboard scan from 16 (&10) 123 7B Inform OS, printer going dormant 124 7C Clear ESCAPE condition 125 7D Set ESCAPE condition 126 7E Acknowledge ESCAPE condition and clear with effects 127 7F Check for EOF on open file 128 80 Read ADC channel or get buffer/mouse status 129 81 Read key within time limit/machine type 130 82 Read machine high order address 131 83 Read top of OS ram, bottom of user ram address (OSHWM) 132 84 Read top of user ram address 133 85 Read screen start address for given mode 134 86 Read text cursor position (POS and VPOS) 135 87 Read character at cursor position and mode 136 88 Perform *CODE 137 89 Perform *MOTOR 138 8A Insert value into buffer 139 8B Perform *OPT 140 8C Perform *TAPE 141 8D Perform *ROM 142 8E Enter language rom 143 8F Issue paged rom service request 144 90 Perform *TV 145 91 Get character from buffer 146 92 Read from FRED, 1MHz bus 147 93 Write to FRED, 1MHz bus 148 94 Read from JIM, 1MHz bus 149 95 Write to JIM, 1MHz bus 150 96 Read from SHEILA, mapped I/O 151 97 Write to SHEILA, mapped I/O 152 98 Examine buffer status 153 99 Insert character into buffer 154 9A Write to video ULA control register/Reset flash cycle (El) 155 9B Write to video ULA palette register 156 9C Read/Write 6850 control register 157 9D Fast Tube BPUT 158 9E Read from speech processor 159 9F Write to speech processor 160 A0 Read VDU variable value 161 A1 Read configuration Ram/Enable Graphics rom 162 A2 Write configuration Ram 163 A3 164 A4 Check for 6502 code 165 A5 Read output cursor position 166 A6 236 Read start address of OS variables (low byte) 167 A7 237 Read start address of OS variable (high byte) 168 A8 238 Read start address of ROM pointer table (low byte) 169 A9 239 Read start address of ROM pointer table (high byte) 170 AA 23A Read address of ROM information table (low byte) 171 AB 23B Read address of ROM information table (high byte) 172 AC 23C Read address of key translation table (low byte) 173 AD 23D Read address of key translation table (high byte) 174 AE 23E Read start address of OS VDU variables (low byte) 175 AF 23F Read start address of OS VDU variables (high byte) 176 B0 240 Read/write CFS timout counter 177 B1 241 Read/write input source 178 B2 242 Read/write keyboard semaphore 179 B3 243 Read/write primary OSHWM/Rom polling semaphore OsByte/FX Call Summary ====================== dec. hex. addr function 180 B4 244 r/w current OSHWM 181 B5 245 r/w RS232 mode 182 B6 246 r/w character explosion state/noignore setting 183 B7 247 r/w cassette/Rom filing system switch 184 B8 248 r/w OS copy of video ULA control register 185 B9 249 r/w OS copy of video ULA palette register 186 BA 24A r/w Rom active on last error 187 BB 24B r/w Rom number containing Basic 188 BC 24C r/w current ADC channel 189 BD 24D r/w number of ADC channels 190 BE 24E r/w ADC conversion type 191 BF 24F r/w RS232 use flag 192 C0 250 r/w RS232 control flag 193 C1 251 r/w flash counter 194 C2 252 r/w mark period count 195 C3 253 r/w space period count 196 C4 254 r/w keyboard auto-repeat delay 197 C5 255 r/w keyboard auto-repeat period 198 C6 256 r/w *EXEC file handle 199 C7 257 r/w *SPOOL file handle 200 C8 258 r/w ESCAPE and BREAK effects 201 C9 259 r/w Econet keyboard disable 202 CA 25A r/w keyboard status byte 203 CB 25B r/w RS232 handshake event/Electon IRQ bit mask 204 CC 25C r/w RS232 input supression/Election firm key pointer 205 CD 25D r/w cassette/RS232 selection flag 206 CE 25E r/w Econet OS call interception status 207 CF 25F r/w Econet OSRDCH interception status 208 D0 260 r/w Econet OSWRCH interception status 209 D1 261 r/w speech supression status 210 D2 262 r/w sound supression status 211 D3 263 r/w BELL channel 212 D4 264 r/w BELL envelope number/amplitude 213 D5 265 r/w BELL frequency 214 D6 266 r/w BELL duration 215 D7 267 r/w startup message and !BOOT option 216 D8 268 r/w length of soft key string 217 D9 269 r/w number of lines printed since last page 218 DA 26A r/w number of items in VDU queue 219 DB 26B r/w TAB character value 220 DC 26C r/w ESCAPE character 221 DD 26D r/w character &C0 to &CF status 222 DE 26E r/w character &D0 to &DF status 223 DF 26F r/w charceter &E0 to &EF status 224 E0 270 r/w charceter &F0 to &FF status 225 E1 271 r/w character &80 to &8F status (function keys) 226 E2 272 r/w character &90 to &9F status (Shift-function keys) 227 E3 273 r/w character &A0 to &AF status (Ctrl-function keys) 228 E4 274 r/w character &B0 to &BF status (Shift-Ctrl-function keys) 229 E5 275 r/w ESCAPE key status 230 E6 276 r/w ESCAPE effects flag 231 E7 277 r/w user 6522 IRQ bit mask 232 E8 278 r/w 6850 IRQ bit mask/Electron external sound semaphore 233 E9 279 r/w system 6522 IRQ bit mask 234 EA 27A r/w Tube presence flag 235 EB 27B r/w speech processor presence flag 236 EC 27C r/w write character destination status (*FX 3) 237 ED 27D r/w cursor editing state (*FX 4) 238 EE 27E r/w base for numberic keypad 239 EF 27F r/w Screen shadow state (*FX 114) OsByte/FX Call Summary ====================== dec. hex. addr function 240 F0 280 r/w country code 241 F1 281 r/w user flag (*FX 1) 242 F2 282 r/w OS copy of serial ULA 243 F3 283 r/w timer switch state 244 F4 284 r/w soft key consistancy flag 245 F5 285 r/w printer destination status (*FX 5) 246 F6 286 r/w character ignored by printer (*FX 6) 247 F7 287 r/w first byte of BREAK interception code 248 F8 288 r/w second byte of BREAK interception code 249 F9 289 r/w third byte of BREAK interception code 250 FA 28A r/w memory used for VDU output (*FX 112) 251 FB 28B r/w memory used for VDU display (*FX 113) 252 FC 28C r/w current language rom number 253 FD 28D r/w last BREAK type 254 FE 28E r/w available Ram/Shift key effect on keypad 255 FF 28F r/w startup options