BBC OSBYTE INDEX ================ This is an index of OSBYTE calls which I am aware of. Please send mail to jgh@mdfs.net if you have any additions to this list. Update History -------------- 21-Jun-1993: Angus Duggan, initial list of &00-&19, &44-&47, &6A-&6D, &70-&FF. 28-Feb-1997: Re-edited, added &32-&35, &3F, &5A, &61, &62. 18-Feb-2006: added &20-&24, &43, &6F, &FA. 04-Oct-2006: added &A3(&F3). 27-Feb-2008: added PRES &5A and Solidisk &72-&74, Morley RAMDisk &FA, SPY &64. 28-Mar-2015: added Watford Speech &19. 12-Apr-2020: added Communicator &1A. Hex Dec Function ------------------------------------------------------------------------------ &00 0 OS Version Number Report &01 1 Write User Flag &02 2 Specify Input Stream &03 3 Specify Output Stream(s) &04 4 Define action of cursor editing keys &05 5 Printer Driver Type &06 6 Printer Ignore Character &07 7 RS423 Baud Receive rate &08 8 RS423 Baud Transmit Rate &09 9 First Color Duration &0A 10 Second Color Duration &0B 11 Auto Repeat Delay &0C 12 Auto Repeat Period &0D 13 Disable Event &0E 14 Enable Event &0F 15 Flush all buffers/input buffer &10 16 Set maximum number of ADC channel &11 17 Force an ADC conversion &12 18 Reset F-key definitions &13 19 Wait for Vertical Retrace &14 20 Explode user defined character font RAM &15 21 Flush Selected Buffer &16 22 Increment Polling Semaphore &17 23 Decrement Polling Semaphore &18 24 Select external sound system. &19 25 Reset a group of font definitions &19 25 Watford Speech - output speech allophone or word &1A 26 Handset detection (Communicator) &1B 27 &1C 28 &1D 29 &1E 30 &1F 31 &20 32 Watford32K - Read top of memory &21 33 Watford32K - Read top of memory for mode &22 34 Watford32K - Read/Write RAM switch &23 35 Watford32K - Read workspace address &24 36 Watford32K - Read/Write RAM buffer bank &25 37 &26 38 &27 39 &28 40 &29 41 &2A 42 &2B 43 &2C 44 &2D 45 &2E 46 &2F 47 &30 48 &31 49 &32 50 NetFS - Poll transmit &33 51 NetFS - Poll receive &34 52 NetFS - Delete receive block &35 53 NetFS - Disconnect REMOTE &36 54 &37 55 &38 56 &39 57 &3A 58 &3B 59 &3C 60 &3D 61 &3E 62 &3F 63 ZNOS CP/M - Reload CCP and BDOS &40 64 &41 65 &42 66 &43 67 ParaMax - Enter CNC control program &44 68 Test sideways RAM presence &45 69 Test PSEUDO/Absolute usage &46 70 Read/write country number &47 71 Read/write alphabet or keyboard number &48 72 &49 73 &4A 74 &4B 75 &4C 76 &4D 77 &4E 78 &4F 79 &50 80 &51 81 &52 82 &53 83 &54 84 &55 85 &56 86 &57 87 &58 88 &59 89 &5A 90 Find/set ROM status, Enable/disable Electron PRES ADFS &5B 91 &5C 92 &5D 93 &5E 94 &5F 95 &60 96 &61 97 HKSET Page timeout monitor &62 98 HKSET Poll received page status &63 99 &64 100 Enter SPY debugger &65 101 &66 102 &67 103 &68 104 &69 105 &6A 106 Select pointer/activate mouse &6B 107 External/Internal 1MHz Bus &6C 108 Main/Shadow RAM Usage &6D 109 Make Temporary FS permanent &6E 110 Write to ROMSTROBE and RAM copy &6F 111 Read/Write shadow RAM switch &70 112 Select Main/Shadow for VDU access &71 113 Select Main/Shadow for Display hardware &72 114 Write to Shadow/Main toggle &73 115 Blank/restore palette &74 116 Reset internal sound system &74 116 Return Solidisk RAM flag &75 117 Read VDU Status Byte &76 118 Reflect keyboard status in LEDs &77 119 Close all Spool/Exec files &78 120 Write Key Pressed Data &79 121 Keyboard Scan &7A 122 Keyboard Scan from &10 &7B 123 Printer Dormancy Warning &7C 124 Clear ESCAPE Condition informing Tube if necessary &7D 125 Set ESCAPE conditon &7E 126 Acknowledge ESCAPE Condition &7F 127 Check for EOF &80 128 Read ADC Channel/Buffer/Mouse/Device status &81 129 Read Key with Time Limit/Scan for any keys/Read OS version &82 130 Read High Order Address &83 131 Read OSHWM &84 132 Read base of display RAM &85 133 Read base of display RAM for a given mode &86 134 Text cursor position &87 135 Character at text cursor and screen MODE &88 136 Perform *CODE &89 137 Cassette Motor Control &8A 138 Place character into buffer &8B 139 Set filing system attributes (do *OPT) &8C 140 Select Tape FS at 1200/300 baud (do *TAPE) &8D 141 Select RFS (do *ROM) &8E 142 Enter Langauge ROM &8F 143 Issue SWR Service Request &90 144 Set TV offset and interlacing (do *TVx,y) &91 145 Read character from buffer &92 146 Read FRED &93 147 Write FRED &94 148 Read JIM &95 149 Write JIM &96 150 Read SHELIA &97 151 Write SHELIA &98 152 Examine Buffer Status &99 153 Write character into input buffer checking for ESCAPE &9A 154 Write to Video ULA control register and RAM copy &9B 155 Write to Video ULA palette register and RAM copy &9C 156 Read/write 6850 ACIA control register &9D 157 Fast Tube BPUT, Communicator *LCB command &9E 158 Read from Speech Processor &9F 159 Write to Speech Processor &A0 160 Read VDU Variable &A1 161 Read CMOS RAM &A2 162 Write CMOS RAM &A3 163 Reserved for applications software &A4 164 Check Processor Type &A5 165 Read output Cursor Position &A6 166 Read Start of MOS variables &A7 167 Read Start of MOS variables &A8 168 Read address of extended vector table &A9 169 Read address of extended vector table &AA 170 Read address of ROM info table &AB 171 Read address of ROM info table &AC 172 Read address of keyboard table &AD 173 Read address of keyboard table &AE 174 Read address of VDU variables &AF 175 Read address of VDU variables &B0 176 Read/Write Tape Timeout &B1 177 Read/Write input device &B2 178 Read/Write keyboard interrupt enable &B3 179 Read/Write primary OSHWM/Read/Write ROM polling semaphore &B4 180 Read/Write OSHWM &B5 181 Read/Write RS423 interpretation &B6 182 Read/Write Font Explosion/Read NOIGNORE Status &B7 183 Read/Write TAPE/ROM switch &B8 184 Read/Write MOS copy of Video ULA control register &B9 185 Read/Write MOS copy of palette register/Read/Write ROM polling semaphore &BA 186 Read/Write ROM active on last BRK &BB 187 Read/Write ROM number of BASIC &BC 188 Read/Write current ADC channel number &BD 189 Read/Write highest ADC channel number &BE 190 Read/Write ADC type &BF 191 Read/Write RS423 busy flag &C0 192 Read/Write ACIA control register &C1 193 Read/Write flash counter &C2 194 Read/Write first colour duration &C3 195 Read/Write second colour duration &C4 196 Read/Write auto Repeat Delay &C5 197 Read/Write auto Repeat Period &C6 198 Read/Write *EXEC file handle &C7 199 Read/Write *SPOOL file handle &C8 200 Read/Write BREAK/ESCAPE effect &C9 201 Read/Write keyboard Enable/Disable &CA 202 Read/Write Keyboard Status &CB 203 Read/Write RS423 in buffer minimum &CC 204 Read/Write RS423 ignore flag &CD 205 Read/Write RS423 destination/Read/Write user key string length &CE 206 Read/Write ECONET call intepretation &CF 207 Read/Write ECONET input intepretation &D0 208 Read/Write ECONET output intepretation &D1 209 Read/Write speech supression status &D2 210 Read/Write sound supression flag &D3 211 Read/Write channel for BELL &D4 212 Read/Write volume/ENVELOPE For BELL &D5 213 Read/Write frequency for BELL &D6 214 Read/Write duration for BELL &D7 215 Read/Write Startup Message Enable/Disable &D8 216 Read/Write user key string length &D9 217 Read/Write paged line count &DA 218 Read/Write VDU Queue length &DB 219 Read/Write ASCII code for TAB &DC 220 Read/Write ASCII for ESCAPE &DD 221 Read/Write Intrepretation ASCII 197-207 &DE 222 Read/Write Interpretation ASCII 208-223 &DF 223 Read/Write Interpretation ASCII 224-239 &E0 224 Read/Write Interpretation ASCII 240-255 &E1 225 Read/Write Interpretation of F-Keys &E2 226 Read/Write Interpretation of Shift-F-Keys &E3 227 Read/Write Interpretation of Ctrl-F-Keys &E4 228 Read/Write Interpretation of Ctrl-Shift-Fkeys &E5 229 Read/Write ESCAPE key status &E6 230 Read/Write ESCAPE effects &E7 231 Read/Write 6522 User IRQ Mask &E8 232 Read/Write 6850 IRQ Mask &E9 233 Read/Write 6522 System IRQ Mask &EA 234 Read/Write Tube present flag &EB 235 Read/Write speech Processor Pressence &EC 236 Read/Write character output device status &ED 237 Read/Write Cursor Edit State &EE 238 Read/Write base of numeric pad &EF 239 Read/Write shadow state &F0 240 Read/Write Country flag &F1 241 Read/Write value written by *FX1 &F2 242 Read/Write OS copy of serial ULA register &F3 243 Read/Write offset to current TIME value &F4 244 Read/Write soft key consistency flag &F5 245 Read/Write printer Type &F6 246 Read/Write printer Ignore character set by *FX6 &F7 247 Read/Write Intercept BREAK/Define action of BREAK key &F8 248 Read/Write LSB BREAK intercepter jump address &F9 249 Read/Write MSB BREAK intercepter jump address &FA 250 Read/Write RAM used for VDU access, Watford RAM board status &FB 251 Read/Write RAM used for Display hardware &FC 252 Read/Write current language Rom Number &FD 253 Read/Write Last Reset Type &FE 254 Read/Write available RAM/Read/Write effect of shift/ctrl on Numeric pad &FF 255 Read/Write startup Options