Difference between revisions of "OSWORDs"

From BeebWiki
Jump to: navigation, search
m (Removed absent links.)
(Added &B5 PRES call.)
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
[[Category:OSWORD]]
 
[[Category:OSWORD]]
 
==OSWORD INDEX==
 
==OSWORD INDEX==
Hex Dec Function
+
<table><tr valign="top">
* [[OSWORD &00|&00  0]] Input line
+
<td>
 +
&nbsp;&nbsp;&nbsp;&nbsp;Hex Dec Function
 +
* [[OSWORD &00|&00  0]] Input line (INPUT)
 
* [[OSWORD &01|&01  1]] Read system clock (=TIME)
 
* [[OSWORD &01|&01  1]] Read system clock (=TIME)
 
* [[OSWORD &02|&02  2]] Write system clock (TIME=)
 
* [[OSWORD &02|&02  2]] Write system clock (TIME=)
Line 9: Line 11:
 
* [[OSWORD &05|&05  5]] Read I/O processor memory
 
* [[OSWORD &05|&05  5]] Read I/O processor memory
 
* [[OSWORD &06|&06  6]] Write I/O processor memory
 
* [[OSWORD &06|&06  6]] Write I/O processor memory
* [[OSWORD &07|&07  7]] Generate a sound
+
* [[OSWORD &07|&07  7]] Generate a sound (SOUND)
* [[OSWORD &08|&08  8]] Define a sound envelope  
+
* [[OSWORD &08|&08  8]] Define a sound envelope (ENVELOPE)
* [[OSWORD &09|&09  9]] Read screen pixel value  
+
* [[OSWORD &09|&09  9]] Read screen pixel value (=POINT)
 
* [[OSWORD &0A|&0A 10]] Read character definition
 
* [[OSWORD &0A|&0A 10]] Read character definition
 
* [[OSWORD &0B|&0B 11]] Read palette
 
* [[OSWORD &0B|&0B 11]] Read palette
 
* [[OSWORD &0C|&0C 12]] Write palette
 
* [[OSWORD &0C|&0C 12]] Write palette
 
* [[OSWORD &0D|&0D 13]] Read last two graphics positions
 
* [[OSWORD &0D|&0D 13]] Read last two graphics positions
* [[OSWORD &0E|&0E 14]] Reads CMOS clock
+
* [[OSWORD &0E|&0E 14]] Read Real-Time clock (=TIME$)
* [[OSWORD &0F|&0F 15]] Write CMOS clock
+
* [[OSWORD &0F|&0F 15]] Write Real-Time clock (TIME$=)
 
* [[OSWORD &10|&10 16]] Network transmit
 
* [[OSWORD &10|&10 16]] Network transmit
 
* [[OSWORD &11|&11 17]] Open or read network receive block
 
* [[OSWORD &11|&11 17]] Open or read network receive block
Line 23: Line 25:
 
* [[OSWORD &13|&13 19]] Read/Write NFS information
 
* [[OSWORD &13|&13 19]] Read/Write NFS information
 
* [[OSWORD &14|&14 20]] Various NFS/Network functions
 
* [[OSWORD &14|&14 20]] Various NFS/Network functions
* [[OSWORD &15|&15 21]] Read/Write mouse and pointer information
+
* [[OSWORD &15|&15 21]] Read/Write mouse and pointer infomation
 
* [[OSWORD &16|&16 22]] Set screen base start
 
* [[OSWORD &16|&16 22]] Set screen base start
 
* &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 &19|&19 25]] Watford Electronics Speech control
 
* &1A 26
 
* &1A 26
 
* &1B 27
 
* &1B 27
Line 37: Line 40:
 
* [[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
* &22 34
+
* [[OSWORD &22|&22 34]] Colin Dean Utility RAM - read memory
* &23 35
+
* [[OSWORD &23|&23 35]] Colin Dean Utility RAM - write memory
 
* &24 36
 
* &24 36
 
* &25 37
 
* &25 37
 
* &26 38
 
* &26 38
 
* &27 39
 
* &27 39
* &28 40\
+
* [[OSWORD &28|&28 40]] Read PRISMA information table
* &29 41 \
+
* [[OSWORD &29|&29 41]] Read PRISMA pixel value
* &2A 42 \
+
* [[OSWORD &2A|&2A 42]] Read PRISMA logical screen size
* &2B 43   \
+
* [[OSWORD &2B|&2B 43]] Read PRISMA colour palette
* &2C 44   } Allocated to Millipede Prisma 2
+
* [[OSWORD &2C|&2C 44]] Send VDU code direct to PRISMA
* &2D 45   } Graphics Processor
+
* [[OSWORD &2D|&2D 45]] Read last two PRISMA graphics positions
* &2E 46   /
+
* [[OSWORD &2E|&2E 46]] Read PRISMA BASE screen visible origin
* &2F 47 /
+
* [[OSWORD &2F|&2F 47]] Read PRISMA graphics origin
* &30 48 /
+
* [[OSWORD &30|&30 48]] Read PRISMA interrupt status
* &31 49/
+
* [[OSWORD &31|&31 49]] Direct call to PRISMA command
* &32 50
+
* [[OSWORD &32|&32 50]] Read position of PRISMA roller screen
* &33 51
+
* [[OSWORD &33|&33 51]] Read/write PRISMA non-volatitle memory
 
* &34 52
 
* &34 52
 
* &35 53
 
* &35 53
Line 70: Line 73:
 
* [[OSWORD &41|&41 65]] Miscellaneous graphics commands  
 
* [[OSWORD &41|&41 65]] Miscellaneous graphics commands  
 
* [[OSWORD &42|&42 66]] Sideways RAM transfer
 
* [[OSWORD &42|&42 66]] Sideways RAM transfer
* [[OSWORD &43|&43 67]] Load/Save into/from sideways Ram
+
* [[OSWORD &43|&43 67]] Load/Save into/from sideways RAM
 
* [[OSWORD &44|&44 68]] AMX Super Art ROM commands
 
* [[OSWORD &44|&44 68]] AMX Super Art ROM commands
 
* [[OSWORD &45|&45 69]] Move/Swap memory
 
* [[OSWORD &45|&45 69]] Move/Swap memory
 
* [[OSWORD &45|&45 69]] Digitise picture
 
* [[OSWORD &45|&45 69]] Digitise picture
* [[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
 
* &48 72
 
* &48 72
* &49 73
+
* [[OSWORD &49|&49 73]] Integra-B calls
 
* &4A 74
 
* &4A 74
 
* &4B 75
 
* &4B 75
 
* [[OSWORD &4C|&4C 76]] Extended communications control  
 
* [[OSWORD &4C|&4C 76]] Extended communications control  
* [[OSWORD &4D|&4D 77]] -
+
* &4D 77
* [[OSWORD &4E|&4E 78]] Initialise heap  
+
* [[OSWORD &4E|&4E 78]] Initialise heap
 
* [[OSWORD &4F|&4F 79]] Claim area from heap
 
* [[OSWORD &4F|&4F 79]] Claim area from heap
 
* [[OSWORD &50|&50 80]] Release area to heap
 
* [[OSWORD &50|&50 80]] Release area to heap
Line 92: Line 95:
 
* [[OSWORD &52|&52 82]] Initialise file buffer
 
* [[OSWORD &52|&52 82]] Initialise file buffer
 
* [[OSWORD &52|&52 82]] TORCH
 
* [[OSWORD &52|&52 82]] TORCH
* [[OSWORD &53|&53 83]] Finish with file buffer  
+
* [[OSWORD &53|&53 83]] Finish with file buffer
 
* [[OSWORD &53|&53 83]] TORCH
 
* [[OSWORD &53|&53 83]] TORCH
 
* [[OSWORD &54|&54 84]] Flush file buffer
 
* [[OSWORD &54|&54 84]] Flush file buffer
Line 109: Line 112:
 
* [[OSWORD &60|&60 96]] Read Videodisk MSN and status byte
 
* [[OSWORD &60|&60 96]] Read Videodisk MSN and status byte
 
* [[OSWORD &61|&61 97]] Read free space on VFS disk
 
* [[OSWORD &61|&61 97]] Read free space on VFS disk
* [[OSWORD &62|&62 98]] Access LVROM controller  
+
* [[OSWORD &62|&62 98]] Access LVROM controller
 
* [[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
Line 121: Line 124:
 
* &6C 108
 
* &6C 108
 
* &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
 
* [[OSWORD &70|&70 112]] Read master sequence number and status byte
 
* [[OSWORD &70|&70 112]] Read master sequence number and status byte
* [[OSWORD &71|&71 113]] Read free space on disc  
+
* [[OSWORD &71|&71 113]] Read free space on disc
 
* [[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
 
* &74 116
 
* &74 116
 
* &75 117
 
* &75 117
* &76 118
+
* [[OSWORD &76|&76 118]] RAMFS MFM sector access
* &77 119
+
* [[OSWORD &77|&77 119]] RAMFS FM sector access
 
* &78 120
 
* &78 120
 
* &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
 
* [[OSWORD &7B|&7B 123]] Modem commands
 
* [[OSWORD &7B|&7B 123]] Move a block of memory
 
* [[OSWORD &7B|&7B 123]] Move a block of memory
Line 140: Line 142:
 
* [[OSWORD &7D|&7D 125]] Read cycle number of disc
 
* [[OSWORD &7D|&7D 125]] Read cycle number of disc
 
* [[OSWORD &7E|&7E 126]] Read disc (or directory) size
 
* [[OSWORD &7E|&7E 126]] Read disc (or directory) size
* [[OSWORD &7F|&7F 127]] Single track single density FDC command  
+
* [[OSWORD &7F|&7F 127]] Single track single density FDC command
 +
 
 +
<td>
 +
&nbsp;&nbsp;&nbsp;&nbsp;Hex Dec Function
 
* [[OSWORD &80|&80 128]] IEEE Command
 
* [[OSWORD &80|&80 128]] IEEE Command
 
* [[OSWORD &80|&80 128]] Springboard DOS INT
 
* [[OSWORD &80|&80 128]] Springboard DOS INT
Line 190: Line 195:
 
* &AE 174
 
* &AE 174
 
* &AF 175
 
* &AF 175
* [[OSWORD &B0|&B0 176]] GoMMC access & control
+
* [[OSWORD &B0|&B0 176]] GoMMC/GoSDC access & control
 
* &B1 177
 
* &B1 177
 
* [[OSWORD &B2|&B2 178]] Advanced BASIC (BASIC V) support
 
* [[OSWORD &B2|&B2 178]] Advanced BASIC (BASIC V) support
 
* &B3 179
 
* &B3 179
 
* &B4 180
 
* &B4 180
* &B5 181
+
* [[OSWORD &B5|&B5 181]] PRES Editor and Utilities
 
* &B6 182
 
* &B6 182
 
* &B7 183
 
* &B7 183
Line 207: Line 212:
 
* [[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 &C0|&C0 192]] Eureka memory control
 
* [[OSWORD &C1|&C1 193]] Acorn User Windowing System
 
* [[OSWORD &C1|&C1 193]] Acorn User Windowing System
 
* &C2 194
 
* &C2 194
Line 264: Line 270:
 
* &F8 248
 
* &F8 248
 
* &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
 
* [[OSWORD &FC|&FC 252]] DOS CRTC Control
 
* [[OSWORD &FC|&FC 252]] DOS CRTC Control
* [[OSWORD &FD|&FD 253]] -
+
* &FD 253
* [[OSWORD &FE|&FE 254]] DOS Text output (unimplemented)  
+
* [[OSWORD &FE|&FE 254]] DOS Text output (unimplemented)
 
* [[OSWORD &FE|&FE 254]] Z80 SP Disc Read
 
* [[OSWORD &FE|&FE 254]] Z80 SP Disc Read
* [[OSWORD &FF|&FF 255]] DOS fast screen control  
+
* [[OSWORD &FF|&FF 255]] DOS fast screen control
 
* [[OSWORD &FF|&FF 255]] Z80 Data transfer over Tube
 
* [[OSWORD &FF|&FF 255]] Z80 Data transfer over Tube
 +
</table>
  
 
[[User:Jgharston|Jgharston]] 15:19, 25 May 2009 (UTC)
 
[[User:Jgharston|Jgharston]] 15:19, 25 May 2009 (UTC)
 +
[[User:Jgharston|Jgharston]] ([[User talk:Jgharston|talk]]) 20:37, 3 April 2015 (UTC)
 +
[[User:Jgharston|Jgharston]] ([[User talk:Jgharston|talk]]) 22:44, 20 October 2015 (UTC)
 +
[[User:Jgharston|Jgharston]] ([[User talk:Jgharston|talk]]) 00:33, 16 June 2018 (CEST)

Revision as of 00:33, 16 June 2018

OSWORD INDEX

    Hex Dec Function

  • &00 0 Input line (INPUT)
  • &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 (SOUND)
  • &08 8 Define a sound envelope (ENVELOPE)
  • &09 9 Read screen pixel value (=POINT)
  • &0A 10 Read character definition
  • &0B 11 Read palette
  • &0C 12 Write palette
  • &0D 13 Read last two graphics positions
  • &0E 14 Read Real-Time clock (=TIME$)
  • &0F 15 Write Real-Time clock (TIME$=)
  • &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 infomation
  • &16 22 Set screen base start
  • &17 23
  • &18 24 IP Network transmit
  • &19 25 IP Open or read network receive block
  • &19 25 Watford Electronics Speech control
  • &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 Colin Dean Utility RAM - read memory
  • &23 35 Colin Dean Utility RAM - write memory
  • &24 36
  • &25 37
  • &26 38
  • &27 39
  • &28 40 Read PRISMA information table
  • &29 41 Read PRISMA pixel value
  • &2A 42 Read PRISMA logical screen size
  • &2B 43 Read PRISMA colour palette
  • &2C 44 Send VDU code direct to PRISMA
  • &2D 45 Read last two PRISMA graphics positions
  • &2E 46 Read PRISMA BASE screen visible origin
  • &2F 47 Read PRISMA graphics origin
  • &30 48 Read PRISMA interrupt status
  • &31 49 Direct call to PRISMA command
  • &32 50 Read position of PRISMA roller screen
  • &33 51 Read/write PRISMA non-volatitle memory
  • &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 Integra-B calls
  • &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 RAMFS MFM sector access
  • &77 119 RAMFS FM sector access
  • &78 120
  • &79 121
  • &7A 122 Teletext 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

    Hex Dec Function

  • &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/GoSDC access & control
  • &B1 177
  • &B2 178 Advanced BASIC (BASIC V) support
  • &B3 179
  • &B4 180
  • &B5 181 PRES Editor and Utilities
  • &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
  • &C0 192 Eureka memory control
  • &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) Jgharston (talk) 20:37, 3 April 2015 (UTC) Jgharston (talk) 22:44, 20 October 2015 (UTC) Jgharston (talk) 00:33, 16 June 2018 (CEST)