BBC OSWORD INDEX ================ This is an index of OSWORD calls which I am aware of. Please send mail to jgh@mdfs.net if you have any additions to this list. Hex Dec Function First appears ------------------------------------------------------------------------------ &00 0 Input line (INPUT) Acorn MOS 1.20 &01 1 Read system clock (=TIME) Acorn MOS 1.20 &02 2 Write system clock (TIME=) Acorn MOS 1.20 &03 3 Read interval timer Acorn MOS 1.20 &04 4 Write interval timer Acorn MOS 1.20 &05 5 Read I/O processor memory Acorn MOS 1.20 &06 6 Write I/O processor memory Acorn MOS 1.20 &07 7 Generate a sound (SOUND) Acorn MOS 1.20 &08 8 Define a sound envelope (ENVELOPE) Acorn MOS 1.20 &09 9 Read screen pixel value (=POINT) Acorn MOS 1.20 &0A 10 Read character definition Acorn MOS 1.20 &0B 11 Read palette Acorn MOS 1.20 &0C 12 Write palette Acorn MOS 1.20 &0D 13 Read last two graphics positions Acorn MOS 1.20 &0E 14 Reads CMOS clock (=TIME$) Acorn Master MOS &0F 15 Write CMOS clock (TIME$=) Acorn Master MOS &10 16 Network transmit NFS &11 17 Open or read network receive block NFS &12 18 Read argument block and restore protection mask NFS &13 19 Read/Write NFS information NFS &14 20 Various NFS/Network functions NFS &15 21 Read/Write mouse and pointer infomation Arthur &16 22 Set screen base start Arthur &17 23 &18 24 &19 25 Watford Electronics Speech command &1A 26 &1B 27 &1C 28 &1D 29 &1E 30 &1F 31 &20 32 Acorn User Windowing System AUWIN &20 32 Transfer data between Tube and I/O TubeLink &21 33 Execute code in I/O processor TubeLink &22 34 Read printer buffer information (UtilRAM) &23 35 Write printer buffer information (UtilRAM) &24 36 &25 37 &26 38 &27 39 &28 40 Read PRISMA information table Prisma &29 41 Read PRISMA pixel value Prisma &2A 42 Read PRISMA logical screen size Prisma &2B 43 Read PRISMA colour palette Prisma &2C 44 Send VDU code direct to PRISMA Prisma &2D 45 Read last two PRISMA graphics cursors Prisma &2E 46 Read PRISMA BASE screen visible origin Prisma &2F 47 Read PRISMA graphics origin Prisma &30 48 Read PRISMA interrupt status Prisma &31 49 Direct call to PRISMA command Prisma &32 50 Read position of PRISMA roller screen Prisma &33 51 Read/write PRISMA non-volatitle memory Prisma &34 52 &35 53 &36 54 Stop Press Routines Stop Press &37 55 &38 56 &39 57 &3A 58 &3B 59 &3C 60 &3D 61 &3E 62 &3F 63 &40 64 Read mouse pointer and button state AMX Super Art &41 65 Miscellaneous graphics commands AMX Super Art &42 66 Sideways RAM transfer 1770 DFS &43 67 Load/Save into/from sideways Ram 1770 DFS &44 68 AMX Super Art ROM commands AMX Super Art &45 69 Move/Swap memory Aries B32 &45 69 Digitise picture RHE &46 70 Allocated to BBC soft, probably unused. &47 71 PrettyPrint Sprow &48 72 &49 73 Integra-B Windows commands Integra-B &4A 74 &4B 75 &4C 76 Extended communications control TQCOM &4D 77 - &4E 78 Initialise heap DVR &4F 79 Claim area from heap DVR &50 80 Release area to heap DVR &50 80 Read Real-Time Clock CDFS &51 81 Get maximum heap block size DVR &51 81 Write Real-Time Clock CDFS &51 81 HKSET Support SEHK &51 81 TORCH &52 82 Initialise file buffer DVR &52 82 TORCH &53 83 Finish with file buffer DVR &53 83 TORCH &54 84 Flush file buffer DVR &55 85 Get bytes from file buffer DVR &56 86 Put bytes to file buffer DVR &57 87 Create new binary tree node DVR &58 88 Insert node into binary tree DVR &59 89 Delete node from binary tree DVR &5A 90 Find node in binary tree DVR &5A 90 HADFS Sector read/write/access HADFS &5B 91 Traverse binary tree DVR &5C 92 Balance binary tree DVR &5D 93 Parse option patterns DVR &5E 94 Get string with control character interpretation DVR &5F 95 Read/write across tube BBC Soft Monitor &60 96 Read Videodisk MSN and status byte VFS &61 97 Read free space on VFS disk VFS &62 98 Access LVROM controller VFS &63 99 Read last VFS error number VFS &64 100 Read current F-code VFS &65 101 &66 102 &67 103 &68 104 &69 105 &6A 106 &6B 107 &6C 108 &6D 109 &6E 110 Read byte from shadow Ram board Watford 32K &6F 111 Write byte to shadow Ram board Watford 32K &70 112 Read master sequence number and status byte ADFS &71 113 Read free space on disc ADFS &72 114 Read/Write MFM sectors ADFS &73 115 Read information about last error ADFS &74 116 &75 117 &76 118 &77 119 &78 120 &79 121 &7A 122 Teletext commands Teletext &7B 123 Modem commands Prestel Adaptor &7B 123 Modem commands COMMAND &7B 123 Move a block of memory HDFS &7C 124 Multiple track single density FDC command HDFS &7D 125 Read cycle number of disc DFS, HDFS &7E 126 Read disc (or directory) size DFS, HDFS &7F 127 Single track single density FDC command DFS, HDFS &80 128 IEEE Commands IEEEFS &80 128 Springboard DOS INT Springboard &81 129 Springboard Springboard &82 130 Read/Write parameters Cambridge ring &83 131 Data transmission Cambridge ring &84 132 Ring polling Cambridge ring &85 133 Springboard Springboard &86 134 Springboard Springboard &87 135 &88 136 &89 137 Read teletext pixel Dump Out 3 &8A 138 Set teletext pixel Dump Out 3 &8B 139 &8C 140 &8D 141 &8E 142 &8F 143 &90 144 "Service interface - Network" &91 145 &92 146 &93 147 &94 148 &95 149 &96 150 &97 151 &98 152 &99 153 &9A 154 &9B 155 &9C 156 &9D 157 &9E 158 &9F 159 &A0 160 "Isolated word recogniser" &A1 161 &A2 162 &A3 163 &A4 164 &A5 165 &A6 166 &A7 167 &A8 168 &A9 169 &AA 170 &AB 171 &AC 172 &AD 173 &AE 174 &AF 175 &B0 176 GoMMC access & control GoMMC &B1 177 &B2 178 Advanced BASIC (BASIC V) support AdvBASIC &B3 179 &B4 180 &B5 181 PRES Editor calls &B6 182 &B7 183 &B8 184 &B9 185 &BA 186 &BB 187 Morley Electronics RAMdisc Morley RAMdisc &BB 187 Print screen dump SCDUMP &BC 188 &BD 189 &BE 190 Disassemble data DisAssem &BF 191 Fetch URI URI Fetcher &C0 192 Eureka transfer data between memory banks &C0 192 Sockets and Resolver interface &C1 193 Acorn User Windowing System AUWIN &C2 194 &C3 195 &C4 196 &C5 197 &C6 198 &C7 199 &C8 200 SWI Operation on Host ARM JGH &C9 201 &CA 202 &CB 203 &CC 204 &CD 205 &CE 206 &CF 207 &D0 208 &D1 209 &D2 210 &D3 211 &D4 212 &D5 213 &D6 214 &D7 215 &D8 216 &D9 217 &DA 218 &DB 219 &DC 220 &DD 221 &DE 222 &DF 223 &E0 224 \ &E1 225 | &E2 226 | &E3 227 | &E4 228 | &E5 229 | &E6 230 | &E7 231 | Used by MASM and friends when running to &E8 232 | communicate with its code in the host &E9 233 | &EA 234 | &EB 235 | &EC 236 | &ED 237 | &EE 238 | &EF 239 / &F0 240 &F1 241 &F2 242 &F3 243 &F4 244 &F5 245 &F6 246 &F7 247 &F8 248 &F9 249 &FA 250 Data transfer over Tube 80x86 Tube OS &FB 251 WD1770/2 Floppy Disk Control 80x86 DOS &FC 252 DOS CRTC Control 80x86 DOS &FD 253 - &FE 254 DOS Text output (unimplemented) 80x86 DOS &FE 254 Z80 SP Disc Read Z80 CP/M &FF 255 DOS fast screen control 80x86 DOS &FF 255 Z80 Data transfer over Tube Z80 Tube OS Update History -------------- 21-Jun-1993: Angus Duggan, initial list of &00-&0F, &4E..&5E, &7D..&7F. 28-Feb-1997: J.G.Harston, Re-edited, added &10-&16, &20, &42, &43, &45, &5A, &60, &62-&64, &70-&73, &7A, &7B, &BE, &FA, &FE, &FF. 04-Oct-1998: J.G.Harston, updated &20, added &51, &89, &8A, &C8, &FB-&FD. xx-May-1999: J.G.Harston, added &47. 03-Oct-2001: J.G.Harston, added &BF. 30-Aug-2003: J.G.Harston, added &20, &21, &45. 07-Aug-2004: J.G.Harston, added &80, &81, &85, &86. 30-Aug-2004: J.G.Harston, added &B0. 24-Sep-2006: J.G.Harston, added &B2. 27-Feb-2008: J.G.Harston, added &BB, &50, &51, &72, &80 IEEE. 20-Oct-2015: J.G.Harston, added &28-&33 PRISMA calls. 18-Dec-2015: J.G.Harston, added &C0 Eureka call, &B5 PRES call. &22,&23 UtilRAM calls.