Difference between revisions of "OSWORDs"

From BeebWiki
Jump to: navigation, search
m (1 revision)
m (Removed absent links.)
Line 25: Line 25:
 
* [[OSWORD &15|&15 21]] Read/Write mouse and pointer information  
 
* [[OSWORD &15|&15 21]] Read/Write mouse and pointer information  
 
* [[OSWORD &16|&16 22]] Set screen base start
 
* [[OSWORD &16|&16 22]] Set screen base start
* [[OSWORD &17|&17 23]]
+
* &17 23
 
* [[OSWORD &18|&18 24]] IP Network transmit
 
* [[OSWORD &18|&18 24]] IP Network transmit
 
* [[OSWORD &19|&19 25]] IP Open or read network receive block
 
* [[OSWORD &19|&19 25]] IP Open or read network receive block
* [[OSWORD &1A|&1A 26]]
+
* &1A 26
* [[OSWORD &1B|&1B 27]]
+
* &1B 27
* [[OSWORD &1C|&1C 28]]
+
* &1C 28
* [[OSWORD &1D|&1D 29]]
+
* &1D 29
* [[OSWORD &1E|&1E 30]]
+
* &1E 30
* [[OSWORD &1F|&1F 31]]
+
* &1F 31
 
* [[OSWORD &20|&20 32]] Acorn User Windowing System (depreciated)
 
* [[OSWORD &20|&20 32]] Acorn User Windowing System (depreciated)
 
* [[OSWORD &20|&20 32]] Transfer data between Tube and I/O
 
* [[OSWORD &20|&20 32]] Transfer data between Tube and I/O
 
* [[OSWORD &21|&21 33]] Execute code in I/O processor
 
* [[OSWORD &21|&21 33]] Execute code in I/O processor
* [[OSWORD &22|&22 34]]
+
* &22 34
* [[OSWORD &23|&23 35]]
+
* &23 35
* [[OSWORD &24|&24 36]]
+
* &24 36
* [[OSWORD &25|&25 37]]
+
* &25 37
* [[OSWORD &26|&26 38]]
+
* &26 38
* [[OSWORD &27|&27 39]]
+
* &27 39
* [[OSWORD &28|&28 40]]\
+
* &28 40\
* [[OSWORD &29|&29 41]] \
+
* &29 41 \
* [[OSWORD &2A|&2A 42]] \
+
* &2A 42  \
* [[OSWORD &2B|&2B 43]]   \
+
* &2B 43  \
* [[OSWORD &2C|&2C 44]]   } Allocated to Millipede Prisma 2
+
* &2C 44    } Allocated to Millipede Prisma 2
* [[OSWORD &2D|&2D 45]]   } Graphics Processor
+
* &2D 45    } Graphics Processor
* [[OSWORD &2E|&2E 46]]   /
+
* &2E 46  /
* [[OSWORD &2F|&2F 47]] /
+
* &2F 47  /
* [[OSWORD &30|&30 48]] /
+
* &30 48 /
* [[OSWORD &31|&31 49]]/
+
* &31 49/
* [[OSWORD &32|&32 50]]
+
* &32 50
* [[OSWORD &33|&33 51]]
+
* &33 51
* [[OSWORD &34|&34 52]]
+
* &34 52
* [[OSWORD &35|&35 53]]
+
* &35 53
 
* [[OSWORD &36|&36 54]] Stop Press Routines
 
* [[OSWORD &36|&36 54]] Stop Press Routines
* [[OSWORD &37|&37 55]]
+
* &37 55
* [[OSWORD &38|&38 56]]
+
* &38 56
* [[OSWORD &39|&39 57]]
+
* &39 57
* [[OSWORD &3A|&3A 58]]
+
* &3A 58
* [[OSWORD &3B|&3B 59]]
+
* &3B 59
* [[OSWORD &3C|&3C 60]]
+
* &3C 60
* [[OSWORD &3D|&3D 61]]
+
* &3D 61
* [[OSWORD &3E|&3E 62]]
+
* &3E 62
* [[OSWORD &3F|&3F 63]]
+
* &3F 63
 
* [[OSWORD &40|&40 64]] Read mouse pointer and button state
 
* [[OSWORD &40|&40 64]] Read mouse pointer and button state
 
* [[OSWORD &41|&41 65]] Miscellaneous graphics commands  
 
* [[OSWORD &41|&41 65]] Miscellaneous graphics commands  
Line 76: Line 76:
 
* [[OSWORD &46|&46 70]] Allocated to BBC soft, probably unused.
 
* [[OSWORD &46|&46 70]] Allocated to BBC soft, probably unused.
 
* [[OSWORD &47|&47 71]] PrettyPrint
 
* [[OSWORD &47|&47 71]] PrettyPrint
* [[OSWORD &48|&48 72]]
+
* &48 72
* [[OSWORD &49|&49 73]]
+
* &49 73
* [[OSWORD &4A|&4A 74]]
+
* &4A 74
* [[OSWORD &4B|&4B 75]]
+
* &4B 75
 
* [[OSWORD &4C|&4C 76]] Extended communications control  
 
* [[OSWORD &4C|&4C 76]] Extended communications control  
 
* [[OSWORD &4D|&4D 77]] -
 
* [[OSWORD &4D|&4D 77]] -
Line 112: Line 112:
 
* [[OSWORD &63|&63 99]] Read last VFS error number
 
* [[OSWORD &63|&63 99]] Read last VFS error number
 
* [[OSWORD &64|&64 100]] Read current F-code
 
* [[OSWORD &64|&64 100]] Read current F-code
* [[OSWORD &65|&65 101]]
+
* &65 101
* [[OSWORD &66|&66 102]]
+
* &66 102
* [[OSWORD &67|&67 103]]
+
* &67 103
* [[OSWORD &68|&68 104]]
+
* &68 104
* [[OSWORD &69|&69 105]]
+
* &69 105
* [[OSWORD &6A|&6A 106]]
+
* &6A 106
* [[OSWORD &6B|&6B 107]]
+
* &6B 107
* [[OSWORD &6C|&6C 108]]
+
* &6C 108
* [[OSWORD &6D|&6D 109]]
+
* &6D 109
 
* [[OSWORD &6E|&6E 110]] Read byte from shadow Ram board  
 
* [[OSWORD &6E|&6E 110]] Read byte from shadow Ram board  
 
* [[OSWORD &6F|&6F 111]] Write byte to shadow Ram board
 
* [[OSWORD &6F|&6F 111]] Write byte to shadow Ram board
Line 127: Line 127:
 
* [[OSWORD &72|&72 114]] Read/Write MFM sectors
 
* [[OSWORD &72|&72 114]] Read/Write MFM sectors
 
* [[OSWORD &73|&73 115]] Read information about last error
 
* [[OSWORD &73|&73 115]] Read information about last error
* [[OSWORD &74|&74 116]]
+
* &74 116
* [[OSWORD &75|&75 117]]
+
* &75 117
* [[OSWORD &76|&76 118]]
+
* &76 118
* [[OSWORD &77|&77 119]]
+
* &77 119
* [[OSWORD &78|&78 120]]
+
* &78 120
* [[OSWORD &79|&79 121]]
+
* &79 121
 
* [[OSWORD &7A|&7A 122]] Teletext commands
 
* [[OSWORD &7A|&7A 122]] Teletext commands
 
* [[OSWORD &7B|&7B 123]] Modem commands
 
* [[OSWORD &7B|&7B 123]] Modem commands
Line 149: Line 149:
 
* [[OSWORD &85|&85 133]] Springboard
 
* [[OSWORD &85|&85 133]] Springboard
 
* [[OSWORD &86|&86 134]] Springboard
 
* [[OSWORD &86|&86 134]] Springboard
* [[OSWORD &87|&87 135]]
+
* &87 135
* [[OSWORD &88|&88 136]]
+
* &88 136
 
* [[OSWORD &89|&89 137]] Read teletext pixel
 
* [[OSWORD &89|&89 137]] Read teletext pixel
 
* [[OSWORD &8A|&8A 138]] Set teletext pixel
 
* [[OSWORD &8A|&8A 138]] Set teletext pixel
* [[OSWORD &8B|&8B 139]]
+
* &8B 139
* [[OSWORD &8C|&8C 140]]
+
* &8C 140
* [[OSWORD &8D|&8D 141]]
+
* &8D 141
* [[OSWORD &8E|&8E 142]]
+
* &8E 142
* [[OSWORD &8F|&8F 143]]
+
* &8F 143
 
* [[OSWORD &90|&90 144]] "Service interface - Network"
 
* [[OSWORD &90|&90 144]] "Service interface - Network"
* [[OSWORD &91|&91 145]]
+
* &91 145
* [[OSWORD &92|&92 146]]
+
* &92 146
* [[OSWORD &93|&93 147]]
+
* &93 147
* [[OSWORD &94|&94 148]]
+
* &94 148
* [[OSWORD &95|&95 149]]
+
* &95 149
* [[OSWORD &96|&96 150]]
+
* &96 150
* [[OSWORD &97|&97 151]]
+
* &97 151
* [[OSWORD &98|&98 152]]
+
* &98 152
* [[OSWORD &99|&99 153]]
+
* &99 153
* [[OSWORD &9A|&9A 154]]
+
* &9A 154
* [[OSWORD &9B|&9B 155]]
+
* &9B 155
* [[OSWORD &9C|&9C 156]]
+
* &9C 156
* [[OSWORD &9D|&9D 157]]
+
* &9D 157
* [[OSWORD &9E|&9E 158]]
+
* &9E 158
* [[OSWORD &9F|&9F 159]]
+
* &9F 159
 
* [[OSWORD &A0|&A0 160]] "Isolated word recogniser"
 
* [[OSWORD &A0|&A0 160]] "Isolated word recogniser"
* [[OSWORD &A1|&A1 161]]
+
* &A1 161
* [[OSWORD &A2|&A2 162]]
+
* &A2 162
* [[OSWORD &A3|&A3 163]]
+
* &A3 163
* [[OSWORD &A4|&A4 164]]
+
* &A4 164
* [[OSWORD &A5|&A5 165]]
+
* &A5 165
* [[OSWORD &A6|&A6 166]]
+
* &A6 166
* [[OSWORD &A7|&A7 167]]
+
* &A7 167
* [[OSWORD &A8|&A8 168]]
+
* &A8 168
* [[OSWORD &A9|&A9 169]]
+
* &A9 169
* [[OSWORD &AA|&AA 170]]
+
* &AA 170
* [[OSWORD &AB|&AB 171]]
+
* &AB 171
* [[OSWORD &AC|&AC 172]]
+
* &AC 172
* [[OSWORD &AD|&AD 173]]
+
* &AD 173
* [[OSWORD &AE|&AE 174]]
+
* &AE 174
* [[OSWORD &AF|&AF 175]]
+
* &AF 175
 
* [[OSWORD &B0|&B0 176]] GoMMC access & control
 
* [[OSWORD &B0|&B0 176]] GoMMC access & control
* [[OSWORD &B1|&B1 177]]
+
* &B1 177
 
* [[OSWORD &B2|&B2 178]] Advanced BASIC (BASIC V) support
 
* [[OSWORD &B2|&B2 178]] Advanced BASIC (BASIC V) support
* [[OSWORD &B3|&B3 179]]
+
* &B3 179
* [[OSWORD &B4|&B4 180]]
+
* &B4 180
* [[OSWORD &B5|&B5 181]]
+
* &B5 181
* [[OSWORD &B6|&B6 182]]
+
* &B6 182
* [[OSWORD &B7|&B7 183]]
+
* &B7 183
* [[OSWORD &B8|&B8 184]]
+
* &B8 184
* [[OSWORD &B9|&B9 185]]
+
* &B9 185
* [[OSWORD &BA|&BA 186]]
+
* &BA 186
 
* [[OSWORD &BB|&BB 187]] Morley Electronics RAMdisc
 
* [[OSWORD &BB|&BB 187]] Morley Electronics RAMdisc
* [[OSWORD &BC|&BC 188]]
+
* &BC 188
* [[OSWORD &BD|&BD 189]]
+
* &BD 189
 
* [[OSWORD &BE|&BE 190]] Disassemble data
 
* [[OSWORD &BE|&BE 190]] Disassemble data
 
* [[OSWORD &BF|&BF 191]] Fetch URI
 
* [[OSWORD &BF|&BF 191]] Fetch URI
 
* [[OSWORD &C0|&C0 192]] Sockets and Resolver interface
 
* [[OSWORD &C0|&C0 192]] Sockets and Resolver interface
 
* [[OSWORD &C1|&C1 193]] Acorn User Windowing System
 
* [[OSWORD &C1|&C1 193]] Acorn User Windowing System
* [[OSWORD &C2|&C2 194]]
+
* &C2 194
* [[OSWORD &C3|&C3 195]]
+
* &C3 195
* [[OSWORD &C4|&C4 196]]
+
* &C4 196
* [[OSWORD &C5|&C5 197]]
+
* &C5 197
* [[OSWORD &C6|&C6 198]]
+
* &C6 198
* [[OSWORD &C7|&C7 199]]
+
* &C7 199
 
* [[OSWORD &C8|&C8 200]] SWI Operation on Host ARM
 
* [[OSWORD &C8|&C8 200]] SWI Operation on Host ARM
* [[OSWORD &C9|&C9 201]]
+
* &C9 201
* [[OSWORD &CA|&CA 202]]
+
* &CA 202
* [[OSWORD &CB|&CB 203]]
+
* &CB 203
* [[OSWORD &CC|&CC 204]]
+
* &CC 204
* [[OSWORD &CD|&CD 205]]
+
* &CD 205
* [[OSWORD &CE|&CE 206]]
+
* &CE 206
* [[OSWORD &CF|&CF 207]]
+
* &CF 207
* [[OSWORD &D0|&D0 208]]
+
* &D0 208
* [[OSWORD &D1|&D1 209]]
+
* &D1 209
* [[OSWORD &D2|&D2 210]]
+
* &D2 210
* [[OSWORD &D3|&D3 211]]
+
* &D3 211
* [[OSWORD &D4|&D4 212]]
+
* &D4 212
* [[OSWORD &D5|&D5 213]]
+
* &D5 213
* [[OSWORD &D6|&D6 214]]
+
* &D6 214
* [[OSWORD &D7|&D7 215]]
+
* &D7 215
* [[OSWORD &D8|&D8 216]]
+
* &D8 216
* [[OSWORD &D9|&D9 217]]
+
* &D9 217
* [[OSWORD &DA|&DA 218]]
+
* &DA 218
* [[OSWORD &DB|&DB 219]]
+
* &DB 219
* [[OSWORD &DC|&DC 220]]
+
* &DC 220
* [[OSWORD &DD|&DD 221]]
+
* &DD 221
* [[OSWORD &DE|&DE 222]]
+
* &DE 222
* [[OSWORD &DF|&DF 223]]
+
* &DF 223
* [[OSWORD &E0|&E0 224]]
+
* &E0 224
* [[OSWORD &E1|&E1 225]]
+
* &E1 225
* [[OSWORD &E2|&E2 226]]
+
* &E2 226
* [[OSWORD &E3|&E3 227]]
+
* &E3 227
* [[OSWORD &E4|&E4 228]]
+
* &E4 228
* [[OSWORD &E5|&E5 229]]
+
* &E5 229
* [[OSWORD &E6|&E6 230]]
+
* &E6 230
* [[OSWORD &E7|&E7 231]]
+
* &E7 231
* [[OSWORD &E8|&E8 232]]
+
* &E8 232
* [[OSWORD &E9|&E9 233]]
+
* &E9 233
* [[OSWORD &EA|&EA 234]]
+
* &EA 234
* [[OSWORD &EB|&EB 235]]
+
* &EB 235
* [[OSWORD &EC|&EC 236]]
+
* &EC 236
* [[OSWORD &ED|&ED 237]]
+
* &ED 237
* [[OSWORD &EE|&EE 238]]
+
* &EE 238
* [[OSWORD &EF|&EF 239]]
+
* &EF 239
* [[OSWORD &F0|&F0 240]]
+
* &F0 240
* [[OSWORD &F1|&F1 241]]
+
* &F1 241
* [[OSWORD &F2|&F2 242]]
+
* &F2 242
* [[OSWORD &F3|&F3 243]]
+
* &F3 243
* [[OSWORD &F4|&F4 244]]
+
* &F4 244
* [[OSWORD &F5|&F5 245]]
+
* &F5 245
* [[OSWORD &F6|&F6 246]]
+
* &F6 246
* [[OSWORD &F7|&F7 247]]
+
* &F7 247
* [[OSWORD &F8|&F8 248]]
+
* &F8 248
* [[OSWORD &F9|&F9 249]]
+
* &F9 249
 
* [[OSWORD &FA|&FA 250]] Data transfer over Tube  
 
* [[OSWORD &FA|&FA 250]] Data transfer over Tube  
 
* [[OSWORD &FB|&FB 251]] WD1770/2 Floppy Disk Control
 
* [[OSWORD &FB|&FB 251]] WD1770/2 Floppy Disk Control

Revision as of 22:09, 8 March 2015

OSWORD INDEX

Hex Dec Function

  • &00 0 Input line
  • &01 1 Read system clock (=TIME)
  • &02 2 Write system clock (TIME=)
  • &03 3 Read interval timer
  • &04 4 Write interval timer
  • &05 5 Read I/O processor memory
  • &06 6 Write I/O processor memory
  • &07 7 Generate a sound
  • &08 8 Define a sound envelope
  • &09 9 Read screen pixel value
  • &0A 10 Read character definition
  • &0B 11 Read palette
  • &0C 12 Write palette
  • &0D 13 Read last two graphics positions
  • &0E 14 Reads CMOS clock
  • &0F 15 Write CMOS clock
  • &10 16 Network transmit
  • &11 17 Open or read network receive block
  • &12 18 Read argument block and restore protection mask NFS
  • &13 19 Read/Write NFS information
  • &14 20 Various NFS/Network functions
  • &15 21 Read/Write mouse and pointer information
  • &16 22 Set screen base start
  • &17 23
  • &18 24 IP Network transmit
  • &19 25 IP Open or read network receive block
  • &1A 26
  • &1B 27
  • &1C 28
  • &1D 29
  • &1E 30
  • &1F 31
  • &20 32 Acorn User Windowing System (depreciated)
  • &20 32 Transfer data between Tube and I/O
  • &21 33 Execute code in I/O processor
  • &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
  • &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
  • &41 65 Miscellaneous graphics commands
  • &42 66 Sideways RAM transfer
  • &43 67 Load/Save into/from sideways Ram
  • &44 68 AMX Super Art ROM commands
  • &45 69 Move/Swap memory
  • &45 69 Digitise picture
  • &46 70 Allocated to BBC soft, probably unused.
  • &47 71 PrettyPrint
  • &48 72
  • &49 73
  • &4A 74
  • &4B 75
  • &4C 76 Extended communications control
  • &4D 77 -
  • &4E 78 Initialise heap
  • &4F 79 Claim area from heap
  • &50 80 Release area to heap
  • &50 80 Read Real-Time Clock
  • &51 81 Get maximum heap block size
  • &51 81 Write Real-Time Clock
  • &51 81 HKSET Support
  • &51 81 TORCH
  • &52 82 Initialise file buffer
  • &52 82 TORCH
  • &53 83 Finish with file buffer
  • &53 83 TORCH
  • &54 84 Flush file buffer
  • &55 85 Get bytes from file buffer
  • &56 86 Put bytes to file buffer
  • &57 87 Create new binary tree node
  • &58 88 Insert node into binary tree
  • &59 89 Delete node from binary tree
  • &5A 90 Find node in binary tree
  • &5A 90 HADFS Sector read/write/access
  • &5B 91 Traverse binary tree
  • &5C 92 Balance binary tree
  • &5D 93 Parse option patterns
  • &5E 94 Get string with control character interpretation DVR
  • &5F 95 Read/write I/O memory across Tube
  • &60 96 Read Videodisk MSN and status byte
  • &61 97 Read free space on VFS disk
  • &62 98 Access LVROM controller
  • &63 99 Read last VFS error number
  • &64 100 Read current F-code
  • &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
  • &6F 111 Write byte to shadow Ram board
  • &70 112 Read master sequence number and status byte
  • &71 113 Read free space on disc
  • &72 114 Read/Write MFM sectors
  • &73 115 Read information about last error
  • &74 116
  • &75 117
  • &76 118
  • &77 119
  • &78 120
  • &79 121
  • &7A 122 Teletext commands
  • &7B 123 Modem commands
  • &7B 123 Modem commands
  • &7B 123 Move a block of memory
  • &7C 124 Multiple track single density FDC command
  • &7D 125 Read cycle number of disc
  • &7E 126 Read disc (or directory) size
  • &7F 127 Single track single density FDC command
  • &80 128 IEEE Command
  • &80 128 Springboard DOS INT
  • &81 129 Springboard
  • &82 130 Read/Write parameters
  • &83 131 Data transmission
  • &84 132 Ring polling
  • &85 133 Springboard
  • &86 134 Springboard
  • &87 135
  • &88 136
  • &89 137 Read teletext pixel
  • &8A 138 Set teletext pixel
  • &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
  • &B1 177
  • &B2 178 Advanced BASIC (BASIC V) support
  • &B3 179
  • &B4 180
  • &B5 181
  • &B6 182
  • &B7 183
  • &B8 184
  • &B9 185
  • &BA 186
  • &BB 187 Morley Electronics RAMdisc
  • &BC 188
  • &BD 189
  • &BE 190 Disassemble data
  • &BF 191 Fetch URI
  • &C0 192 Sockets and Resolver interface
  • &C1 193 Acorn User Windowing System
  • &C2 194
  • &C3 195
  • &C4 196
  • &C5 197
  • &C6 198
  • &C7 199
  • &C8 200 SWI Operation on Host ARM
  • &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
  • &FB 251 WD1770/2 Floppy Disk Control
  • &FC 252 DOS CRTC Control
  • &FD 253 -
  • &FE 254 DOS Text output (unimplemented)
  • &FE 254 Z80 SP Disc Read
  • &FF 255 DOS fast screen control
  • &FF 255 Z80 Data transfer over Tube

Jgharston 15:19, 25 May 2009 (UTC)