BBC OSWORD INDEX ================ This is an index of OSWORD calls which I am aware of. Please send mail to ajcd@dcs.ed.ac.uk if you have any additions to this list. 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, &FC, &FD. Hex Dec Function Appears in ------------------------------------------------------------------------------ &00 0 Input line 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 Acorn MOS 1.20 &08 8 Define a sound envelope Acorn MOS 1.20 &09 9 Read screen pixel value 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 Acorn Master MOS &0F 15 Write CMOS clock 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 station infomation 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 &1A 26 &1B 27 &1C 28 &1D 29 &1E 30 &1F 31 &20 32 Acorn User Windowing System AUWIN &21 33 &22 34 &23 35 &24 36 &25 37 &26 38 &27 39 &28 40 \ &29 41 \ &2A 42 \ &2B 43 \ &2C 44 } Allocated to Millipede Prisma 2 &2D 45 } Graphics Processor &2E 46 / &2F 47 / &30 48 / &31 49 / &32 50 &33 51 &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 &46 70 Allocated to BBC soft, probably unused. &47 71 &48 72 &49 73 &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 &51 81 Get maximum heap block size DVR &51 81 SEHK Support SEHK &52 82 Initialise file buffer DVR &53 83 Finish with file buffer DVR &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 "Monitor reads across tube" BBC Soft &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 comands 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" &81 129 ? &82 130 Read/Write parameters Cambridge ring &83 131 Data transmission Cambridge ring &84 132 Ring polling Cambridge ring &85 133 &86 134 &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 &B1 177 &B2 178 &B3 179 &B4 180 &B5 181 &B6 182 &B7 183 &B8 184 &B9 185 &BA 186 &BB 187 &BC 188 &BD 189 &BE 190 Disassemble data DIS &BF 191 &C0 192 &C1 193 &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 &E8 232 &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