GitLab has been upgraded to 13.3.6. If you encounter any issues mail code@riscosopen.org

Commit cf7c1535 authored by Ben Avison's avatar Ben Avison

Resync with allocations database.

Detail:
  * Documented ADFS's and SCSIFS's CMOS use better in Hdr:CMOS.
  * Fixed typo in Hdr:NewErrors that causes asasm to emit a warning.
  * Fixed Hdr:OsBytes so that it doesn't trip up Hdr2H. Also listed hex and
    decimal OS_Byte numbers in comments for ease of reference.
  * Fixed some formatting in Hdr:CMOS and Hdr:NewErrors.

Version 2.05. Tagged as 'HdrSrc-2_05'
parent 26325284
/* (2.04)
/* (2.05)
*
* This file is automatically maintained by srccommit, do not edit manually.
* Last processed by srccommit version: 1.1.
*
*/
#define Module_MajorVersion_CMHG 2.04
#define Module_MajorVersion_CMHG 2.05
#define Module_MinorVersion_CMHG
#define Module_Date_CMHG 20 Mar 2012
#define Module_Date_CMHG 24 Mar 2012
#define Module_MajorVersion "2.04"
#define Module_Version 204
#define Module_MajorVersion "2.05"
#define Module_Version 205
#define Module_MinorVersion ""
#define Module_Date "20 Mar 2012"
#define Module_Date "24 Mar 2012"
#define Module_ApplicationDate "20-Mar-12"
#define Module_ApplicationDate "24-Mar-12"
#define Module_ComponentName "HdrSrc"
#define Module_ComponentPath "castle/RiscOS/Sources/Programmer/HdrSrc"
#define Module_FullVersion "2.04"
#define Module_HelpVersion "2.04 (20 Mar 2012)"
#define Module_LibraryVersionInfo "2:4"
#define Module_FullVersion "2.05"
#define Module_HelpVersion "2.05 (24 Mar 2012)"
#define Module_LibraryVersionInfo "2:5"
......@@ -35,18 +35,18 @@ FrugalCMOS * &06 ; Two bytes
EDITCMOS * &08 ; One byte was used by Acorn Screen Editor ROM for BBC Master
Unplug12CMOS * &09 ; One byte
MODETVCMOS * &0A ; One byte
; Bits 0-3 were screen mode on BBC Master
; Bit 4 = TV interlace
; 0 = off
; 1 = on
; Bits 5-7 = TV vertical adjust (signed 3-bit number)
; Bits 0-3 were screen mode on BBC Master
; Bit 4 = TV interlace
; 0 = off
; 1 = on
; Bits 5-7 = TV vertical adjust (signed 3-bit number)
StartCMOS * &0B ; One byte
; Bits 0-2 = ADFS drive
; Bits 3-5 = Caps mode
; 001 = Shift caps
; 010 = No caps
; 100 = Caps
; Bit 6 = Loads directory on switch on
; Bit 6 = Loads directory on switch on (no effect after RISC OS 2)
; 0 = Directory
; 1 = No directory
; Bit 7 = Standby mode (allocated for Online Media)
......@@ -64,20 +64,20 @@ PSITCMOS * &0F ; One byte
; Bits 2-4 = baud rate
; Bits 5-7 = printer destination
DBTBCMOS * &10 ; One byte
; Bit 0 = AutoDST
; 0 = manual DST changes
; 1 = DST changes handled automatically by territory module
; Bit 1 = speaker volume
; 0 = Quiet
; 1 = Loud
; Bit 2 was ExTube (1) / InTube (0) on BBC Master
; Bit 3 = scroll enable
; 0 = Scroll
; 1 = NoScroll
; Bit 4 = boot enable
; 0 = NoBoot
; 1 = Boot
; Bits 5-7 = serial data format
; Bit 0 = AutoDST
; 0 = manual DST changes
; 1 = DST changes handled automatically by territory module
; Bit 1 = speaker volume
; 0 = Quiet
; 1 = Loud
; Bit 2 was ExTube (1) / InTube (0) on BBC Master
; Bit 3 = scroll enable
; 0 = Scroll
; 1 = NoScroll
; Bit 4 = boot enable
; 0 = NoBoot
; 1 = Boot
; Bits 5-7 = serial data format
NetFilerCMOS * &11 ; One byte
; Bit 0 = NetFiler FS list sorting mode
; 0 = sort by name
......@@ -354,7 +354,28 @@ MonitorTypeF * &3C
MonitorTypeAuto * &7C
SyncAutoBit * &80
FontCMOS # 1 ; &86 units of 4K
NewADFSCMOS # 3 ; &87 Three bytes (consult Nick)
NewADFSCMOS # 0 ; &87 Three bytes, as follows:
ADFSDrivesCMOS # 1 ; &87
; Bits 0-3 = floppy disc drives, 0...4
; Bits 3-5 were ST506 hard disc drives, 0...2
; Bits 6-7 were IDE hard disc drives, 0...2
ADFSStepDelayCMOS # 1 ; &88
; Bits 0-1 = floppy disc drive 0 step delay:
; 0: 6
; 1: 12
; 2: 2
; 3: 3
; Bits 2-3 = floppy disc drive 1 step delay (same encoding as drive 0)
; Bits 4-5 = floppy disc drive 2 step delay (same encoding as drive 0)
; Bits 6-7 = floppy disc drive 3 step delay (same encoding as drive 0)
ADFSFileCacheCMOS # 1 ; &89
; 0: no file cache
; 1: default size file cache, depending upon total RAM size:
; 1K for 512K machines
; 2K for 1MB machines
; RAM size / 256 for machines with >= 2MB and < 64MB
; 255K for machines with 64MB or more
; 2...255: file cache size in K
CDROMFSCMOS # 1 ; &8A Next Technology
TimeZoneCMOS # 1 ; &8B
......@@ -432,7 +453,7 @@ Misc1CMOS # 1 ; &BC
; Bit 6 => Should screen blanking ignore Wrch, 0=>Ignore Wrch, 1=>Wrch un-blanks
; (this is non-functional in 3.7+)
; Bit 7 => Hardware test disable, 1=>Disable long tests at power up
WinniSizeCMOS # 4 ; &BD
WinniSizeCMOS # 4 ; &BD ; unused since RISC OS 5.00
ProtectionCMOS # 1 ; &C1 ; Protection state
; Bit 0 => &81 Peek
; Bit 1 => &82 Poke
......@@ -483,7 +504,13 @@ DesktopCMOS # 1 ; &C6 ; some state for Desktop Utils
; Bit 7 = Newer option (Filer)
; 0 = When looking, just look
; 1 = When looking, look newer
ADFSDirCacheCMOS # 1 ; &C7 0=>default
ADFSDirCacheCMOS # 1 ; &C7
; 0: default size directory cache, depending upon total RAM size:
; 1K for 512K machines
; 2K for 1MB machines
; RAM size / 256 for machines with >= 2MB and < 64MB
; 255K for machines with 64MB or more
; 1...255: directory cache size in K
FontMaxCMOS # 1 ; &C8
FontMax1CMOS # 1 ; &C9
FontMax2CMOS # 1 ; &CA
......@@ -492,7 +519,23 @@ FontMax4CMOS # 1 ; &CC
FontMax5CMOS # 1 ; &CD
FontMax6CMOS # 1 ; &CE
FontMax7CMOS # 1 ; &CF
ScsiFsCMOS # 7 ; &D0-&D6
ScsiFsCMOS # 0 ; &D0-&D6 Seven bytes, as follows:
SCSIFSDrivesCMOS # 1 ; &D0
; Bits 0-2 were SCSI hard disc drives, 0...4 before SCSIFS 1.11
; Bits 3-5 = default SCSI drive number; was (drive number - 4) before SCSIFS 1.11
; Bits 6-7 were reserved for SCSI floppy disc drives, 0...3, but never actually used
SCSIFSbuffersCMOS # 1 ; &D1 (reserved but has never actually been used)
; 0: no file cache
; 1: default size file cache, depending upon total RAM size:
; RAM size / 256 for machines with < 64MB
; 255K for machines with 64MB or more
; 2...255: file cache size in K
SCSIFSDirCacheCMOS # 1 ; &D2
; 0: default size directory cache, depending upon total RAM size:
; RAM size / 256 for machines with < 64MB
; 255K for machines with 64MB or more
; 1...255: directory cache size in K
SCSIFSWinniSizeCMOS # 4 ; &D3-&D6 no longer used from SCSIFS 1.25 onwards
DeskbootCMOS # 1 ; &D7 (for auto-booting ROM applications)
Deskboot2CMOS # 1 ; &D8 (for auto-booting ROM applications)
; Bits within DeskbootCMOS and Deskboot2CMOS are allocated thus:-
......
......@@ -949,7 +949,7 @@ ErrorBase_NetFS * &00010000 + ( fsnumber_net :SHL: 8 ) ; fs 5
AddError InsufficientNetFSAccess, "Insufficient access", ErrorBase_NetFS + ErrorNumber_AccessViolation ; &BD
AddError NotLoggedOn, "Not logged on", ErrorBase_NetFS + &BF
AddError BadNetFSOption, "Bad option value", ErrorBase_NetFS + &CB
AddError BadNetFSFilename, $ErrorString_BadFilename, ErrorBase_NetFS + ErrorNumber_BadFileName ; &CC
AddError BadNetFSFilename, $ErrorString_BadFileName, ErrorBase_NetFS + ErrorNumber_BadFileName ; &CC
AddError DiscAndFileServerDontMatch, "Specified disc not on specified file server", ErrorBase_NetFS + &D4
AddError NetFSFileNotFound, $ErrorString_FileNotFound, ErrorBase_NetFS + ErrorNumber_FileNotFound ; &D6
AddError BadNetFSHandle, "Bad handle", ErrorBase_NetFS + ErrorNumber_Channel ; &DE
......@@ -1277,7 +1277,7 @@ ErrorBase_ColourPicker # &100 ;&20D00
^ &20E00
ErrorBase_DCI4 # &100
ErrorBase_Joystick * &43F40 ;incorrectly uses SWI chunk
ErrorBase_Joystick * &43F40 ;incorrectly uses SWI chunk
ErrorBase_ANT * &4A580 ;(32) formalising a bit of stupidity
......
......@@ -12,6 +12,9 @@
; See the License for the specific language governing permissions and
; limitations under the License.
;
; This header file is autogenerated from the files maintained by the
; RISC OS allocations manager and should not be edited by anyone else.
; This header file is autogenerated from the files maintained by the
; RISC OS allocations manager and should not be edited by anyone else.
......@@ -21,249 +24,250 @@ OldOpt SETA {OPT}
OPT OptNoList+OptNoP1List
^ 0
OsByte_OSVersionReport # 1 ; Acorn - BBC MOS
OsByte_OSVersionReport # 1 ; &00/0 Acorn - BBC MOS
OsByte_MachineClass * OsByte_OSVersionReport
OsByte_WriteUserFlag # 1 ; Acorn - BBC MOS
OsByte_SpecifyInputStream # 1 ; Acorn - BBC MOS
OsByte_SpecifyOutputStream # 1 ; Acorn - BBC MOS
OsByte_CursorKeyStatus # 1 ; Acorn - BBC MOS
OsByte_PrinterDriver # 1 ; Acorn - BBC MOS
OsByte_PrinterIgnore # 1 ; Acorn - BBC MOS
OsByte_SerialReceiveBaud # 1 ; Acorn - BBC MOS
OsByte_SerialTransmitBaud # 1 ; Acorn - BBC MOS
OsByte_1stFlashTime # 1 ; Acorn - BBC MOS
OsByte_2ndFlashTime # 1 ; Acorn - BBC MOS
OsByte_KeybRepeatDelay # 1 ; Acorn - BBC MOS
OsByte_KeybRepeatPeriod # 1 ; Acorn - BBC MOS
OsByte_DisableEvent # 1 ; Acorn - BBC MOS
OsByte_EnableEvent # 1 ; Acorn - BBC MOS
OsByte_FlushInputBuffer # 1 ; Acorn - BBC MOS
OsByte_WriteUserFlag # 1 ; &01/1 Acorn - BBC MOS
OsByte_SpecifyInputStream # 1 ; &02/2 Acorn - BBC MOS
OsByte_SpecifyOutputStream # 1 ; &03/3 Acorn - BBC MOS
OsByte_CursorKeyStatus # 1 ; &04/4 Acorn - BBC MOS
OsByte_PrinterDriver # 1 ; &05/5 Acorn - BBC MOS
OsByte_PrinterIgnore # 1 ; &06/6 Acorn - BBC MOS
OsByte_SerialReceiveBaud # 1 ; &07/7 Acorn - BBC MOS
OsByte_SerialTransmitBaud # 1 ; &08/8 Acorn - BBC MOS
OsByte_1stFlashTime # 1 ; &09/9 Acorn - BBC MOS
OsByte_2ndFlashTime # 1 ; &0A/10 Acorn - BBC MOS
OsByte_KeybRepeatDelay # 1 ; &0B/11 Acorn - BBC MOS
OsByte_KeybRepeatPeriod # 1 ; &0C/12 Acorn - BBC MOS
OsByte_DisableEvent # 1 ; &0D/13 Acorn - BBC MOS
OsByte_EnableEvent # 1 ; &0E/14 Acorn - BBC MOS
OsByte_FlushInputBuffer # 1 ; &0F/15 Acorn - BBC MOS
OsByte_FlushAllBuffers * OsByte_FlushInputBuffer
OsByte_MaxADCChannel # 1 ; Acorn - BBC MOS
OsByte_ForceADC # 1 ; Acorn - BBC MOS
OsByte_ClearFKeys # 1 ; Acorn - BBC MOS
OsByte_Wait # 1 ; Acorn - BBC MOS
OsByte_ExplodeCharSet # 1 ; Acorn - BBC MOS
OsByte_FlushBuffer # 1 ; Acorn - BBC MOS
OsByte_IncPollingCount # 1 ; Acorn - Elk/BBC Master
OsByte_DecPollingCount # 1 ; Acorn - Elk/BBC Master
OsByte_SelectSoundSystem # 1 ; Acorn - Elk
OsByte_ResetCharSet # 1 ; Acorn - BBC Master
OsByte_MaxADCChannel # 1 ; &10/16 Acorn - BBC MOS
OsByte_ForceADC # 1 ; &11/17 Acorn - BBC MOS
OsByte_ClearFKeys # 1 ; &12/18 Acorn - BBC MOS
OsByte_Wait # 1 ; &13/19 Acorn - BBC MOS
OsByte_ExplodeCharSet # 1 ; &14/20 Acorn - BBC MOS
OsByte_FlushBuffer # 1 ; &15/21 Acorn - BBC MOS
OsByte_IncPollingCount # 1 ; &16/22 Acorn - Elk/BBC Master
OsByte_DecPollingCount # 1 ; &17/23 Acorn - Elk/BBC Master
OsByte_SelectSoundSystem # 1 ; &18/24 Acorn - Elk
OsByte_ResetCharSet # 1 ; &19/25 Acorn - BBC Master
^ &20
OsByte_WatfordHIMEM # 1 ; Watford - BBC 32k expansion
OsByte_WatfordScreenLimit # 1 ; Watford - BBC 32k expansion
OsByte_WatfordShadowSwitchAlt # 1 ; Watford - BBC 32k expansion
OsByte_WatfordWorkspace # 1 ; Watford - BBC 32k expansion
OsByte_WatfordBank # 1 ; Watford - BBC 32k expansion
OsByte_WatfordHIMEM # 1 ; &20/32 Watford - BBC 32k expansion
OsByte_WatfordScreenLimit # 1 ; &21/33 Watford - BBC 32k expansion
OsByte_WatfordShadowSwitchAlt # 1 ; &22/34 Watford - BBC 32k expansion
OsByte_WatfordWorkspace # 1 ; &23/35 Watford - BBC 32k expansion
OsByte_WatfordBank # 1 ; &24/36 Watford - BBC 32k expansion
^ &32
OsByte_NetPollTransmit # 1 ; Acorn - BBC NetFS
OsByte_NetPollReceive # 1 ; Acorn - BBC NetFS
OsByte_NetDeleteBlock # 1 ; Acorn - BBC NetFS
OsByte_NetDisconnectREMOTE # 1 ; Acorn - BBC NetFS
OsByte_NetPollTransmit # 1 ; &32/50 Acorn - BBC NetFS
OsByte_NetPollReceive # 1 ; &33/51 Acorn - BBC NetFS
OsByte_NetDeleteBlock # 1 ; &34/52 Acorn - BBC NetFS
OsByte_NetDisconnectREMOTE # 1 ; &35/53 Acorn - BBC NetFS
^ &3F
OsByte_ZNOSReload # 1 ; ZNOS - CP/M coprocessor
OsByte_ZNOSReload # 1 ; &3F/63 ZNOS - CP/M coprocessor
^ &43
OsByte_ParaMaxCNC # 1 ; ParaMax - BBC controlled lathe
OsByte_SidewaysRAMPresence # 1 ; Acorn - BBC Master
OsByte_SidewaysRAMPsuedoUse # 1 ; Acorn - BBC Master
OsByte_Country # 1 ; Acorn - Archimedes
OsByte_Alphabet # 1 ; Acorn - Archimedes
OsByte_ParaMaxCNC # 1 ; &43/67 ParaMax - BBC controlled lathe
OsByte_SidewaysRAMPresence # 1 ; &44/68 Acorn - BBC Master
OsByte_SidewaysRAMPsuedoUse # 1 ; &45/69 Acorn - BBC Master
OsByte_Country # 1 ; &46/70 Acorn - Archimedes
OsByte_Alphabet # 1 ; &47/71 Acorn - Archimedes
^ &5A
OsByte_PRESROMStatus # 1 ; PRES - ADFS &E00 addon
OsByte_PRESROMStatus # 1 ; &5A/90 PRES - ADFS &E00 addon
^ &64
OsByte_SystemSoftSPYDebugger # 1 ; System Software - ADE debugger
OsByte_SystemSoftSPYDebugger # 1 ; &64/100 System Software - ADE debugger
^ &6A
OsByte_SelectPointer # 1 ; Acorn - Archimedes
OsByte_ExtInt1MHzBus # 1 ; Acorn - BBC Master
OsByte_ShadowRAMUse # 1 ; Acorn - BBC Master
OsByte_MakeTempFSPermanent # 1 ; Acorn - BBC Master
# 1
OsByte_WatfordShadowSwitch # 1 ; Watford - BBC 32k expansion
OsByte_BankForVDU # 1 ; Acorn - BBC Master
OsByte_BankForDisplay # 1 ; Acorn - BBC Master
OsByte_ShadowSetting # 1 ; Acorn - BBC MOS
OsByte_BlankPalette # 1 ; Acorn - Elk
OsByte_SelectPointer # 1 ; &6A/106 Acorn - Archimedes
OsByte_ExtInt1MHzBus # 1 ; &6B/107 Acorn - BBC Master
OsByte_ShadowRAMUse # 1 ; &6C/108 Acorn - BBC Master
OsByte_MakeTempFSPermanent # 1 ; &6D/109 Acorn - BBC Master
^ &6F
OsByte_WatfordShadowSwitch # 1 ; &6F/111 Watford - BBC 32k expansion
OsByte_BankForVDU # 1 ; &70/112 Acorn - BBC Master
OsByte_BankForDisplay # 1 ; &71/113 Acorn - BBC Master
OsByte_ShadowSetting # 1 ; &72/114 Acorn - BBC MOS
OsByte_BlankPalette # 1 ; &73/115 Acorn - Elk
OsByte_SolidiskShadowRAM * OsByte_BlankPalette
OsByte_ResetSoundSystem # 1 ; Acorn - Elk
OsByte_ReadVDUStatus # 1 ; Acorn - BBC MOS
OsByte_UpdateKeyboardLEDs # 1 ; Acorn - BBC MOS
OsByte_CloseSpoolExec # 1 ; Acorn - BBC MOS
OsByte_WriteKeysDown # 1 ; Acorn - BBC MOS
OsByte_ScanKeyboard # 1 ; Acorn - BBC MOS
OsByte_ScanKeyboardFrom16 # 1 ; Acorn - BBC MOS
OsByte_PrinterDormant # 1 ; Acorn - BBC MOS
OsByte_ClearEscape # 1 ; Acorn - BBC MOS
OsByte_SetEscape # 1 ; Acorn - BBC MOS
OsByte_AcknowledgeEscape # 1 ; Acorn - BBC MOS
OsByte_CheckEOF # 1 ; Acorn - BBC MOS
OsByte_ResetSoundSystem # 1 ; &74/116 Acorn - Elk
OsByte_ReadVDUStatus # 1 ; &75/117 Acorn - BBC MOS
OsByte_UpdateKeyboardLEDs # 1 ; &76/118 Acorn - BBC MOS
OsByte_CloseSpoolExec # 1 ; &77/119 Acorn - BBC MOS
OsByte_WriteKeysDown # 1 ; &78/120 Acorn - BBC MOS
OsByte_ScanKeyboard # 1 ; &79/121 Acorn - BBC MOS
OsByte_ScanKeyboardFrom16 # 1 ; &7A/122 Acorn - BBC MOS
OsByte_PrinterDormant # 1 ; &7B/123 Acorn - BBC MOS
OsByte_ClearEscape # 1 ; &7C/124 Acorn - BBC MOS
OsByte_SetEscape # 1 ; &7D/125 Acorn - BBC MOS
OsByte_AcknowledgeEscape # 1 ; &7E/126 Acorn - BBC MOS
OsByte_CheckEOF # 1 ; &7F/127 Acorn - BBC MOS
ASSERT @ <= &80
; Note that reason codes &00 to &7F inclusive only send and
; receive X over the Tube not Y. &80 onwards does both X and Y.
; Subreasons &82 to &84 are dealt with by the parasite Tube.
; receive X over the Tube(TM) not Y. &80 onwards does both X and Y.
; Subreasons &82 to &84 are dealt with by the parasite Tube(TM).
^ &80
OsByte_ReadADC # 1 ; Acorn - BBC MOS
OsByte_ReadADC # 1 ; &80/128 Acorn - BBC MOS
OsByte_BufferStatus * OsByte_ReadADC
OsByte_INKEY # 1 ; Acorn - BBC MOS
OsByte_INKEY # 1 ; &81/129 Acorn - BBC MOS
OsByte_OSVersionIdentifier * OsByte_INKEY
OsByte_HighOrderAddress # 1 ; Acorn - BBC MOS
OsByte_OSHWM # 1 ; Acorn - BBC MOS
OsByte_BaseOfCurrentScreen # 1 ; Acorn - BBC MOS
OsByte_BaseOfGivenScreen # 1 ; Acorn - BBC MOS
OsByte_CursorTextXY # 1 ; Acorn - BBC MOS
OsByte_CursorCharacterAndMode # 1 ; Acorn - BBC MOS
OsByte_DoCODE # 1 ; Acorn - BBC MOS
OsByte_CassetteRelay # 1 ; Acorn - BBC MOS
OsByte_InsertBufferedChar # 1 ; Acorn - BBC MOS
OsByte_DoOPT # 1 ; Acorn - BBC MOS
OsByte_DoTAPE # 1 ; Acorn - BBC MOS
OsByte_DoROM # 1 ; Acorn - BBC MOS
OsByte_EnterLanguage # 1 ; Acorn - BBC MOS
OsByte_IssueROMService # 1 ; Acorn - BBC MOS
OsByte_DoTV # 1 ; Acorn - BBC MOS
OsByte_ExtractBufferedChar # 1 ; Acorn - BBC MOS
OsByte_ReadFred # 1 ; Acorn - BBC MOS
OsByte_WriteFred # 1 ; Acorn - BBC MOS
OsByte_ReadJim # 1 ; Acorn - BBC MOS
OsByte_WriteJim # 1 ; Acorn - BBC MOS
OsByte_ReadSheila # 1 ; Acorn - BBC MOS
OsByte_WriteSheila # 1 ; Acorn - BBC MOS
OsByte_ExamineBuffer # 1 ; Acorn - BBC MOS
OsByte_InsertBufferCharWithEsc # 1 ; Acorn - BBC MOS
OsByte_WriteVideoControl # 1 ; Acorn - BBC MOS
OsByte_WriteVideoPalette # 1 ; Acorn - BBC MOS
OsByte_ReadWriteACIA # 1 ; Acorn - BBC MOS
OsByte_FastTubeBPUT # 1 ; Acorn - BBC MOS
OsByte_HighOrderAddress # 1 ; &82/130 Acorn - BBC MOS
OsByte_OSHWM # 1 ; &83/131 Acorn - BBC MOS
OsByte_BaseOfCurrentScreen # 1 ; &84/132 Acorn - BBC MOS
OsByte_BaseOfGivenScreen # 1 ; &85/133 Acorn - BBC MOS
OsByte_CursorTextXY # 1 ; &86/134 Acorn - BBC MOS
OsByte_CursorCharacterAndMode # 1 ; &87/135 Acorn - BBC MOS
OsByte_DoCODE # 1 ; &88/136 Acorn - BBC MOS
OsByte_CassetteRelay # 1 ; &89/137 Acorn - BBC MOS
OsByte_InsertBufferedChar # 1 ; &8A/138 Acorn - BBC MOS
OsByte_DoOPT # 1 ; &8B/139 Acorn - BBC MOS
OsByte_DoTAPE # 1 ; &8C/140 Acorn - BBC MOS
OsByte_DoROM # 1 ; &8D/141 Acorn - BBC MOS
OsByte_EnterLanguage # 1 ; &8E/142 Acorn - BBC MOS
OsByte_IssueROMService # 1 ; &8F/143 Acorn - BBC MOS
OsByte_DoTV # 1 ; &90/144 Acorn - BBC MOS
OsByte_ExtractBufferedChar # 1 ; &91/145 Acorn - BBC MOS
OsByte_ReadFred # 1 ; &92/146 Acorn - BBC MOS
OsByte_WriteFred # 1 ; &93/147 Acorn - BBC MOS
OsByte_ReadJim # 1 ; &94/148 Acorn - BBC MOS
OsByte_WriteJim # 1 ; &95/149 Acorn - BBC MOS
OsByte_ReadSheila # 1 ; &96/150 Acorn - BBC MOS
OsByte_WriteSheila # 1 ; &97/151 Acorn - BBC MOS
OsByte_ExamineBuffer # 1 ; &98/152 Acorn - BBC MOS
OsByte_InsertBufferCharWithEsc # 1 ; &99/153 Acorn - BBC MOS
OsByte_WriteVideoControl # 1 ; &9A/154 Acorn - BBC MOS
OsByte_WriteVideoPalette # 1 ; &9B/155 Acorn - BBC MOS
OsByte_ReadWriteACIA # 1 ; &9C/156 Acorn - BBC MOS
OsByte_FastTubeBPUT # 1 ; &9D/157 Acorn - BBC MOS
; Note that reason &9D is the Fast Tube BPUT, it takes A/X/Y and
; Note that reason &9D is the Fast Tube(TM) BPUT, it takes A/X/Y and
; does not wait to return anything.
OsByte_ReadSpeechChip # 1 ; Acorn - BBC MOS
OsByte_WriteSpeechChip # 1 ; Acorn - BBC MOS
OsByte_VDUVariable # 1 ; Acorn - BBC MOS
OsByte_ReadCMOS # 1 ; Acorn - BBC Master
OsByte_WriteCMOS # 1 ; Acorn - BBC Master
OsByte_SpriteECFInfo # 1 ; Acorn - Graphics Extension ROM
OsByte_CheckCPUMatch # 1 ; Acorn - BBC MOS
OsByte_ReadOutputTextXY # 1 ; Acorn - BBC MOS
OsByte_ReadSpeechChip # 1 ; &9E/158 Acorn - BBC MOS
OsByte_WriteSpeechChip # 1 ; &9F/159 Acorn - BBC MOS
OsByte_VDUVariable # 1 ; &A0/160 Acorn - BBC MOS
OsByte_ReadCMOS # 1 ; &A1/161 Acorn - BBC Master
OsByte_WriteCMOS # 1 ; &A2/162 Acorn - BBC Master
OsByte_SpriteECFInfo # 1 ; &A3/163 Acorn - Graphics Extension ROM
OsByte_CheckCPUMatch # 1 ; &A4/164 Acorn - BBC MOS
OsByte_ReadOutputTextXY # 1 ; &A5/165 Acorn - BBC MOS
ASSERT @ = &A6
OsByte_OSByteVarTableLo # 1 ; Acorn - BBC MOS
OsByte_OSByteVarTableHi # 1 ; Acorn - BBC MOS
OsByte_OSByteVarTableLo # 1 ; &A6/166 Acorn - BBC MOS
OsByte_OSByteVarTableHi # 1 ; &A7/167 Acorn - BBC MOS
OsByte_BaseOfOSByteVarTable * OsByte_OSByteVarTableLo
OsByte_ROMVectorTableLo # 1 ; Acorn - BBC MOS
OsByte_ROMVectorTableHi # 1 ; Acorn - BBC MOS
OsByte_ROMVectorTableLo # 1 ; &A8/168 Acorn - BBC MOS
OsByte_ROMVectorTableHi # 1 ; &A9/169 Acorn - BBC MOS
OsByte_BaseOfROMVectorTable * OsByte_ROMVectorTableLo
OsByte_ROMInfoTableLo # 1 ; Acorn - BBC MOS
OsByte_ROMInfoTableHi # 1 ; Acorn - BBC MOS
OsByte_ROMInfoTableLo # 1 ; &AA/170 Acorn - BBC MOS
OsByte_ROMInfoTableHi # 1 ; &AB/171 Acorn - BBC MOS
OsByte_BaseOfROMInfoTable * OsByte_ROMInfoTableLo
OsByte_KeyboardTableLo # 1 ; Acorn - BBC MOS
OsByte_KeyboardTableHi # 1 ; Acorn - BBC MOS
OsByte_KeyboardTableLo # 1 ; &AC/172 Acorn - BBC MOS
OsByte_KeyboardTableHi # 1 ; &AD/173 Acorn - BBC MOS
OsByte_BaseOfKeyboardTable * OsByte_KeyboardTableLo
OsByte_VDUVarTableLo # 1 ; Acorn - BBC MOS
OsByte_VDUVarTableHi # 1 ; Acorn - BBC MOS
OsByte_VDUVarTableLo # 1 ; &AE/174 Acorn - BBC MOS
OsByte_VDUVarTableHi # 1 ; &AF/175 Acorn - BBC MOS
OsByte_BaseOfVDUVarTable * OsByte_VDUVarTableLo
; The remaining all do newvalue := (oldvalue AND Y) EOR X
; X := oldvalue
; therefore to read use Y = -1 and X = 0
OsByte_RW_TapeTimeout # 1 ; Acorn - BBC MOS
OsByte_RW_InputStream # 1 ; Acorn - BBC MOS
OsByte_RW_KeybInterruptState # 1 ; Acorn - BBC MOS
OsByte_RW_PrimaryOSHWM # 1 ; Acorn - BBC MOS
OsByte_RW_TapeTimeout # 1 ; &B0/176 Acorn - BBC MOS
OsByte_RW_InputStream # 1 ; &B1/177 Acorn - BBC MOS
OsByte_RW_KeybInterruptState # 1 ; &B2/178 Acorn - BBC MOS
OsByte_RW_PrimaryOSHWM # 1 ; &B3/179 Acorn - BBC MOS
OsByte_RW_PollingCount * OsByte_RW_PrimaryOSHWM
OsByte_RW_OSHWM # 1 ; Acorn - BBC MOS
OsByte_RW_SerialInterpretation # 1 ; Acorn - BBC MOS
OsByte_RW_FontExplosion # 1 ; Acorn - BBC MOS
OsByte_RW_OSHWM # 1 ; &B4/180 Acorn - BBC MOS
OsByte_RW_SerialInterpretation # 1 ; &B5/181 Acorn - BBC MOS
OsByte_RW_FontExplosion # 1 ; &B6/182 Acorn - BBC MOS
OsByte_RW_PrinterIgnoreState * OsByte_RW_FontExplosion
OsByte_RW_CFSOrROMFS # 1 ; Acorn - BBC MOS
OsByte_RW_CopyOfVideoControl # 1 ; Acorn - BBC MOS
OsByte_RW_CopyOfPaletteControl # 1 ; Acorn - BBC MOS
OsByte_RW_CFSOrROMFS # 1 ; &B7/183 Acorn - BBC MOS
OsByte_RW_CopyOfVideoControl # 1 ; &B8/184 Acorn - BBC MOS
OsByte_RW_CopyOfPaletteControl # 1 ; &B9/185 Acorn - BBC MOS
OsByte_RW_PollingCountElk * OsByte_RW_CopyOfPaletteControl
OsByte_RW_ROMPagedOnLastError # 1 ; Acorn - BBC MOS
OsByte_RW_ROMContainingBASIC # 1 ; Acorn - BBC MOS
OsByte_RW_CurrentADCChannel # 1 ; Acorn - BBC MOS
OsByte_RW_HighestADCChannel # 1 ; Acorn - BBC MOS
OsByte_RW_ADCResolution # 1 ; Acorn - BBC MOS
OsByte_RW_SerialBusyFlag # 1 ; Acorn - BBC MOS
OsByte_RW_SerialControl # 1 ; Acorn - BBC MOS
OsByte_RW_FlashCount # 1 ; Acorn - BBC MOS
OsByte_RW_1stFlashTime # 1 ; Acorn - BBC MOS
OsByte_RW_2ndFlashTime # 1 ; Acorn - BBC MOS
OsByte_RW_KeybRepeatDelay # 1 ; Acorn - BBC MOS
OsByte_RW_KeybRepeatPeriod # 1 ; Acorn - BBC MOS
OsByte_RW_ExecHandle # 1 ; Acorn - BBC MOS
OsByte_RW_SpoolHandle # 1 ; Acorn - BBC MOS
OsByte_RW_BreakEscapeAction # 1 ; Acorn - BBC MOS
OsByte_RW_KeybEnable # 1 ; Acorn - BBC MOS
OsByte_RW_KeybStatus # 1 ; Acorn - BBC MOS
OsByte_RW_SerialBufferThreshold # 1 ; Acorn - BBC MOS
OsByte_RW_SerialIgnore # 1 ; Acorn - BBC MOS
OsByte_RW_SerialDestination # 1 ; Acorn - BBC MOS
OsByte_RW_ROMPagedOnLastError # 1 ; &BA/186 Acorn - BBC MOS
OsByte_RW_ROMContainingBASIC # 1 ; &BB/187 Acorn - BBC MOS
OsByte_RW_CurrentADCChannel # 1 ; &BC/188 Acorn - BBC MOS
OsByte_RW_HighestADCChannel # 1 ; &BD/189 Acorn - BBC MOS
OsByte_RW_ADCResolution # 1 ; &BE/190 Acorn - BBC MOS
OsByte_RW_SerialBusyFlag # 1 ; &BF/191 Acorn - BBC MOS
OsByte_RW_SerialControl # 1 ; &C0/192 Acorn - BBC MOS
OsByte_RW_FlashCount # 1 ; &C1/193 Acorn - BBC MOS
OsByte_RW_1stFlashTime # 1 ; &C2/194 Acorn - BBC MOS
OsByte_RW_2ndFlashTime # 1 ; &C3/195 Acorn - BBC MOS
OsByte_RW_KeybRepeatDelay # 1 ; &C4/196 Acorn - BBC MOS
OsByte_RW_KeybRepeatPeriod # 1 ; &C5/197 Acorn - BBC MOS
OsByte_RW_ExecHandle # 1 ; &C6/198 Acorn - BBC MOS
OsByte_RW_SpoolHandle # 1 ; &C7/199 Acorn - BBC MOS
OsByte_RW_BreakEscapeAction # 1 ; &C8/200 Acorn - BBC MOS
OsByte_RW_KeybEnable # 1 ; &C9/201 Acorn - BBC MOS
OsByte_RW_KeybStatus # 1 ; &CA/202 Acorn - BBC MOS
OsByte_RW_SerialBufferThreshold # 1 ; &CB/203 Acorn - BBC MOS
OsByte_RW_SerialIgnore # 1 ; &CC/204 Acorn - BBC MOS
OsByte_RW_SerialDestination # 1 ; &CD/205 Acorn - BBC MOS
OsByte_RW_FuncKeyLength * OsByte_RW_SerialDestination
OsByte_RW_EconetCallIntercept # 1 ; Acorn - BBC MOS
OsByte_RW_EconetInIntercept # 1 ; Acorn - BBC MOS
OsByte_RW_EconetOutIntercept # 1 ; Acorn - BBC MOS
OsByte_RW_SpeechOpCode # 1 ; Acorn - BBC MOS
OsByte_RW_SoundSupression # 1 ; Acorn - BBC MOS
OsByte_RW_BELLChannel # 1 ; Acorn - BBC MOS
OsByte_RW_BELLVolume # 1 ; Acorn - BBC MOS
OsByte_RW_BELLFrequency # 1 ; Acorn - BBC MOS
OsByte_RW_BELLDuration # 1 ; Acorn - BBC MOS
OsByte_RW_BannerSupression # 1 ; Acorn - BBC MOS
OsByte_RW_FKeyLength # 1 ; Acorn - BBC MOS
OsByte_RW_PagedLinesCount # 1 ; Acorn - BBC MOS
OsByte_RW_VDUQueue # 1 ; Acorn - BBC MOS
OsByte_RW_TabCharCode # 1 ; Acorn - BBC MOS
OsByte_RW_EconetCallIntercept # 1 ; &CE/206 Acorn - BBC MOS
OsByte_RW_EconetInIntercept # 1 ; &CF/207 Acorn - BBC MOS
OsByte_RW_EconetOutIntercept # 1 ; &D0/208 Acorn - BBC MOS
OsByte_RW_SpeechOpCode # 1 ; &D1/209 Acorn - BBC MOS
OsByte_RW_SoundSupression # 1 ; &D2/210 Acorn - BBC MOS
OsByte_RW_BELLChannel # 1 ; &D3/211 Acorn - BBC MOS
OsByte_RW_BELLVolume # 1 ; &D4/212 Acorn - BBC MOS
OsByte_RW_BELLFrequency # 1 ; &D5/213 Acorn - BBC MOS
OsByte_RW_BELLDuration # 1 ; &D6/214 Acorn - BBC MOS
OsByte_RW_BannerSupression # 1 ; &D7/215 Acorn - BBC MOS
OsByte_RW_FKeyLength # 1 ; &D8/216 Acorn - BBC MOS
OsByte_RW_PagedLinesCount # 1 ; &D9/217 Acorn - BBC MOS
OsByte_RW_VDUQueue # 1 ; &DA/218 Acorn - BBC MOS
OsByte_RW_TabCharCode # 1 ; &DB/219 Acorn - BBC MOS
OsByte_RW_SoundSystemElk * OsByte_RW_TabCharCode
OsByte_RW_EscapeCharCode # 1 ; Acorn - BBC MOS
OsByte_RW_UseOfCode197To207 # 1 ; Acorn - BBC MOS
OsByte_RW_UseOfCode208To223 # 1 ; Acorn - BBC MOS
OsByte_RW_UseOfCode224To239 # 1 ; Acorn - BBC MOS
OsByte_RW_UseOfCode240To255 # 1 ; Acorn - BBC MOS
OsByte_RW_EscapeCharCode # 1 ; &DC/220 Acorn - BBC MOS
OsByte_RW_UseOfCode197To207 # 1 ; &DD/221 Acorn - BBC MOS
OsByte_RW_UseOfCode208To223 # 1 ; &DE/222 Acorn - BBC MOS
OsByte_RW_UseOfCode224To239 # 1 ; &DF/223 Acorn - BBC MOS
OsByte_RW_UseOfCode240To255 # 1 ; &E0/224 Acorn - BBC MOS
OsByte_RW_CancelVDUQueue * OsByte_RW_UseOfCode240To255
OsByte_RW_UseOfFKeys # 1 ; Acorn - BBC MOS
OsByte_RW_UseOfShiftFKeys # 1 ; Acorn - BBC MOS
OsByte_RW_UseOfCtrlFKeys # 1 ; Acorn - BBC MOS
OsByte_RW_UseOfCtrlShiftFKeys # 1 ; Acorn - BBC MOS
OsByte_RW_EscapeKeyEffects # 1 ; Acorn - BBC MOS
OsByte_RW_EscapeEffects # 1 ; Acorn - BBC MOS
OsByte_RW_UserVIAMaskIRQs # 1 ; Acorn - BBC MOS
OsByte_RW_SerialMaskIRQs # 1 ; Acorn - BBC MOS
OsByte_RW_SystemVIAMaskIRQs # 1 ; Acorn - BBC MOS
OsByte_RW_TubePresence # 1 ; Acorn - BBC MOS
OsByte_RW_SpeechPresence # 1 ; Acorn - BBC MOS
OsByte_RW_OutputStream # 1 ; Acorn - BBC MOS
OsByte_RW_CursorEditingState # 1 ; Acorn - BBC MOS
OsByte_RW_BaseOfNumericKeypad # 1 ; Acorn - BBC MOS
OsByte_RW_ShadowSetting # 1 ; Acorn - BBC MOS
OsByte_RW_Country # 1 ; Acorn - BBC MOS
OsByte_RW_UserFlag # 1 ; Acorn - BBC MOS
OsByte_RW_CopyOfSerialControl # 1 ; Acorn - BBC MOS
OsByte_RW_TIMEFlipFlop # 1 ; Acorn - BBC MOS
OsByte_RW_FKeyInUseFlag # 1 ; Acorn - BBC MOS
OsByte_RW_PrinterDriver # 1 ; Acorn - BBC MOS
OsByte_RW_PrinterIgnore # 1 ; Acorn - BBC MOS
OsByte_RW_JMPOnResetOpCode # 1 ; Acorn - BBC MOS
OsByte_RW_UseOfFKeys # 1 ; &E1/225 Acorn - BBC MOS
OsByte_RW_UseOfShiftFKeys # 1 ; &E2/226 Acorn - BBC MOS
OsByte_RW_UseOfCtrlFKeys # 1 ; &E3/227 Acorn - BBC MOS
OsByte_RW_UseOfCtrlShiftFKeys # 1 ; &E4/228 Acorn - BBC MOS
OsByte_RW_EscapeKeyEffects # 1 ; &E5/229 Acorn - BBC MOS
OsByte_RW_EscapeEffects # 1 ; &E6/230 Acorn - BBC MOS
OsByte_RW_UserVIAMaskIRQs # 1 ; &E7/231 Acorn - BBC MOS
OsByte_RW_SerialMaskIRQs # 1 ; &E8/232 Acorn - BBC MOS
OsByte_RW_SystemVIAMaskIRQs # 1 ; &E9/233 Acorn - BBC MOS
OsByte_RW_TubePresence # 1 ; &EA/234 Acorn - BBC MOS
OsByte_RW_SpeechPresence # 1 ; &EB/235 Acorn - BBC MOS
OsByte_RW_OutputStream # 1 ; &EC/236 Acorn - BBC MOS
OsByte_RW_CursorEditingState # 1 ; &ED/237 Acorn - BBC MOS
OsByte_RW_BaseOfNumericKeypad # 1 ; &EE/238 Acorn - BBC MOS
OsByte_RW_ShadowSetting # 1 ; &EF/239 Acorn - BBC MOS
OsByte_RW_Country # 1 ; &F0/240 Acorn - BBC MOS
OsByte_RW_UserFlag # 1 ; &F1/241 Acorn - BBC MOS
OsByte_RW_CopyOfSerialControl # 1 ; &F2/242 Acorn - BBC MOS
OsByte_RW_TIMEFlipFlop # 1 ; &F3/243 Acorn - BBC MOS
OsByte_RW_FKeyInUseFlag # 1 ; &F4/244 Acorn - BBC MOS
OsByte_RW_PrinterDriver # 1 ; &F5/245 Acorn - BBC MOS
OsByte_RW_PrinterIgnore # 1 ; &F6/246 Acorn - BBC MOS
OsByte_RW_JMPOnResetOpCode # 1 ; &F7/247 Acorn - BBC MOS
OsByte_RW_BreakAction * OsByte_RW_JMPOnResetOpCode
OsByte_RW_JMPOnResetLo # 1 ; Acorn - BBC MOS
OsByte_RW_JMPOnResetHi # 1 ; Acorn - BBC MOS
OsByte_RW_BankForVDU # 1 ; Acorn - BBC MOS
OsByte_RW_BankForDisplay # 1 ; Acorn - BBC MOS
OsByte_RW_ActiveLanguage # 1 ; Acorn - BBC MOS
OsByte_RW_LastResetType # 1 ; Acorn - BBC MOS
OsByte_RW_RAMAmount # 1 ; Acorn - BBC MOS
OsByte_RW_JMPOnResetLo # 1 ; &F8/248 Acorn - BBC MOS
OsByte_RW_JMPOnResetHi # 1 ; &F9/249 Acorn - BBC MOS
OsByte_RW_BankForVDU # 1 ; &FA/250 Acorn - BBC MOS
OsByte_RW_BankForDisplay # 1 ; &FB/251 Acorn - BBC MOS
OsByte_RW_ActiveLanguage # 1 ; &FC/252 Acorn - BBC MOS
OsByte_RW_LastResetType # 1 ; &FD/253 Acorn - BBC MOS
OsByte_RW_RAMAmount # 1 ; &FE/254 Acorn - BBC MOS
OsByte_RW_NumericKeypadModifier * OsByte_RW_RAMAmount
OsByte_RW_StartupOptions # 1 ; Acorn - BBC MOS
OsByte_RW_StartupOptions # 1 ; &FF/255 Acorn - BBC MOS
ASSERT @ <= &100
OPT OldOpt
......