        SUBT    Service call info. => &.Hdr.Services

OldOpt  SETA    {OPT}
        OPT     OptNoList+OptNoP1List

; ***********************************
; ***    C h a n g e   L i s t    ***
; ***********************************

; Date       Name  Description
; ----       ----  -----------
; 27-Nov-86  BC    Added 'Service_Memory' and 'Service_Reset'
; 05-Dec-86  APT   Added 'Service_UKConfig' and 'Service_UKStatus'
; 21-Jan-87  APT   Added 'Service_Tube', 'Service_Post_Help',
; 21-Jan-87  APT   Added 'Service_StartUpFS'
; 28-Apr-87  TMD   Added a few more service codes
; 14-May-87  SKS   Added Service_FSRedeclare
; 15-May-87  SKS   Added Service_NewApplication
; 21-May-87  NDR   Added Service_PrinterDriver (turn driver on/off)
; 25-May-87  SKS   Added Service_LookupFileType
; 27-May-87  TMD   Added Service_International and sub reason codes
; 03-Jun-87  TMD   Added Service_KeyHandler
; 20-Jul-87  BC    Added Service_PreReset
; 20-Jul-87  NDR   Changed 'PrinterDriver' to 'Print'
; 05-Aug-87  TMD   Added Service_ModeChange
; 29-Oct-87  APT   Service_ReleaseSpareRMA
; 14-Jan-88  APT   Service_ClaimFIQinBackground added,
; 14-Jan-88  APT   Service_ReleaseSpareRMA removed.
; 26-Jan-88  SKS   Service_SoundSampler added.
; 17-Feb-88  BC    Service_ReAllocatePortsAndDomains added.
; 19-Feb-88  NDR   Service_StartWimp added.
; 05-Mar-88  NDR   Service_StartedWimp added.
; 11-Mar-88  SKS   Service_StartFinder,StartedFinder added
; 14-Mar-88  BC    Changed service name to 'Service_ReAllocatePorts'
; 15-Mar-88  TMD   Added Service_PreModeChange
; 15-Mar-88  APT   Service_MemoryMoved
; 15-Mar-88  SKS   Service_FinderDying
; 16-Mar-88  TMD   Added Inter_Keyboard
; 18-Mar-88  TMD   Added Service_ModeExtension
; 21-Mar-88  TMD   Added Service_ModeTranslation
; 29-Mar-88  BC    Added Service_NetFSInAction etc.
; 08-Apr-88  BC    Removed Service_NetFSInAction (Changed to use CallAVector)
; 10-Apr-88  NDR   Added Service_MouseTrap
; 13-Apr-88  SKS   Changed Finder to Filer
; 26-May-88  NDR   Added Service_WimpCloseDown
; 21-Jun-88  SKS   Added Service_Sound
; 07-Jul-88  BC    Added Service_NetFS
; 15-Jul-88  BC    Added Service_EconetDying
; 09-Sep-88  NDR   Added Service_WimpReportError
; 06-Feb-89  JRS   Added Service_MIDI
; 18-May-89  BC    Completed list and tidied up
; 05-Jun-89  BC    Added FaxPackService &80040 for Computer Concepts Fax Pack
; 08-Jun-89  BC    Added Service_ADFSPodule
; 24-Aug-89  NRaine Added Service_DesktopStarting and Service_DesktopDying
;
; +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
; All the service call reason codes

; Name                   Value Beeb Elk  Mast Arc  Description
; ====                  * === ;    ;    ;    ;    ;
;-------------------------------------------------------------------------------
Service_Serviced        * &00 ; X  ; X  ; X  ; X  ; Terminates processing
Service_Static0E00      * &01 ; X  ; X  ; X  ;    ; Claim space at &E00
Service_Dynamic0E00     * &01 ; X  ; X  ; X  ;    ; Dynamic space above &E00
Service_AutoBoot        * &03 ; X  ; X  ; X  ;    ; Cause filing system to boot
Service_UKCommand       * &04 ; X  ; X  ; X  ; X  ; Do you know what this is??
Service_UnknownIRQ      * &05 ; X  ; X  ; X  ;    ; Process IRQ
Service_Error           * &06 ; X  ; X  ; X  ; X  ; A 'BRK' has occured, use ErrorV on Archimedes
Service_UKByte          * &07 ; X  ; X  ; X  ; X  ; Unknown OSBYTEs go thru here
Service_UKWord          * &08 ; X  ; X  ; X  ; X  ; Unknown OSWORDs go thru here
Service_Help            * &09 ; X  ; X  ; X  ; X  ; Issued at the start of the *Help
Service_Claim0E00       * &0A ; X  ; X  ; X  ;    ; Claim the use of space at &E00
Service_ReleaseFIQ      * &0B ; X  ; X  ; X  ; X  ; 
Service_ClaimFIQ        * &0C ; X  ; X  ; X  ; X  ; May only be issued from foreground !
Service_StartROMFS      * &0D ; X  ; X  ; X  ;    ; Initialise ROM filing system
Service_ROMFSGetByte    * &0E ; X  ; X  ; X  ;    ; ROM filing system get byte
Service_ClaimFSVectors  * &0F ; X  ; X  ; X  ;    ; A new FS has claimed the vectors
Service_CloseSpoolExec  * &10 ; X  ; X  ; X  ;    ; Closeure warning for Spool/Exec files
Service_Memory          * &11 ; X  ; X  ; X  ; X  ; Font change, Memory movement
Service_StartUpFS       * &12 ; X  ; X  ; X  ; X  ; 
Service_RS423Char       * &13 ;    ; X  ;    ;    ; Character written to RS423 buffer
Service_PrinterChar     * &14 ;    ; X  ;    ;    ; Character written to printer buffer
Service_PollingInterupt * &15 ;    ; X  ; X  ;    ; Offered every centi-second
Service_ExternalBell    * &16 ;    ; X  ;    ;    ; Offer the bell to external sound
Service_ExternalPurge   * &17 ;    ; X  ;    ;    ; Purge external sound buffers
Service_Post_Help       * &18 ;    ;    ; X  ; X  ; Passed round at the end of the *Help code

Service_StaticC000      * &21 ;    ;    ; X  ;    ; Static space claim at &C000
Service_DynamicC000     * &22 ;    ;    ; X  ;    ; Dynamic workspace claim, above &C000
Service_InformTopOfC000 * &23 ;    ;    ; X  ;    ; Inform top of &C000 static space
Service_TestDynamicC000 * &24 ;    ;    ; X  ;    ; Dynamic space test
Service_InformFilingSys * &25 ;    ;    ; X  ;    ; Return filing system name, handles, and number
Service_ShutAllFiles    * &26 ;    ;    ; X  ;    ; Shut all files, in response to *Shut
Service_Reset           * &27 ;    ;    ; X  ; X  ; 
Service_UKConfig        * &28 ;    ;    ; X  ; X  ; 
Service_UKStatus        * &29 ;    ;    ; X  ; X  ; 
Service_NewApplication  * &2A ;    ;    ; X  ; X  ; Passed round before application/language is loaded/run
Service_DisplayBanner   * &2B ;    ;    ; X  ;    ; Display startup banner
Service_CumanaBackup    * &2C ;    ;    ; X  ;    ; Cumana removable cartidge drive
 
Service_BondIntKboard1  * &30 ;    ;    ; X  ;    ; Indirected international keyboard service (International PRB/COM)
Service_BondIntKboard2  * &31 ;    ;    ; X  ;    ; Reserved for Paul Bond

; RISC OS specific ones

Service_FSRedeclare     * &40 ;    ;    ;    ; X  ; Add yourselves as Filing Systems again please
Service_Print           * &41 ;    ;    ;    ; X  ; Printer Driver is being turned on/off (R2=0/1)
Service_LookupFileType  * &42 ;    ;    ;    ; X  ; Do you know this file type ?
Service_International   * &43 ;    ;    ;    ; X  ; Translate country/alphabet numbers/names or define set of chars
Service_KeyHandler      * &44 ;    ;    ;    ; X  ; Offered when keyboard id ascertained
Service_PreReset        * &45 ;    ;    ;    ; X  ; Offered after pressing the 'Break Key'
Service_ModeChange      * &46 ;    ;    ;    ; X  ; Offered after a screen MODE change
Service_ClaimFIQinBackground * &47 ;    ;    ; X  ; Claim if you are FIQ owner and can currently release FIQ straight away.
Service_ReAllocatePorts * &48 ;    ;    ;    ; X  ; Econet is being started up again
Service_StartWimp       * &49 ;    ;    ;    ; X  ;
Service_StartedWimp     * &4A ;    ;    ;    ; X  ;
Service_StartFiler      * &4B ;    ;    ;    ; X  ;
Service_StartedFiler    * &4C ;    ;    ;    ; X  ;
Service_PreModeChange   * &4D ;    ;    ;    ; X  ; Offered before mode changes, if claimed then returns if R0=0, else R0 -> error block
Service_MemoryMoved     * &4E ;    ;    ;    ; X  ; Offered at end of ChangeDynamic
Service_FilerDying      * &4F ;    ;    ;    ; X  ;
Service_ModeExtension   * &50 ;    ;    ;    ; X  ; To allow soft modes
Service_ModeTranslation * &51 ;    ;    ;    ; X  ; For unknown monitor types
Service_MouseTrap       * &52 ;    ;    ;    ; X  ; For non-click mouse warnings
Service_WimpCloseDown   * &53 ;    ;    ;    ; X  ; for trapping Wimp_CloseDown calls
Service_Sound           * &54 ;    ;    ;    ; X  ; Something's happening ... sub-rc's in Hdr.Sound
Service_NetFS           * &55 ;    ;    ;    ; X  ; Either a *Logon or a *Bye has happened
Service_EconetDying     * &56 ;    ;    ;    ; X  ; Econet is leaving Abandon all Tx/RxCBs
Service_WimpReportError * &57 ;    ;    ;    ; X  ; Wimp is opening/closing a ReportError window
Service_MIDI            * &58 ;    ;    ;    ; X  ; MIDI is initialising or dying. Sub reason codes in Hdr.MIDI

Service_DesktopStarting * &59 ;    ;    ;    ;    ; Wimp needs to re-init ROM sprites
Service_DesktopDying    * &5A ;    ;    ;    ;    ; when the Desktop is reloaded

Service_Tube            * &FE ; X  ; X  ; X  ; X  ; Means "Tube changing state"
Service_TubeMainInit    * &FF ; X  ; X  ; X  ;    ;


; International service sub-reason codes

Inter_CNaToCNo  * 0
Inter_ANaToANo  * 1
Inter_CNoToCNa  * 2
Inter_ANoToANa  * 3
Inter_CNoToANo  * 4
Inter_Define    * 5
Inter_Keyboard  * 6
Inter_Highest   * 7             ; highest reason code +1

Service_ADFSPodule      * &00010800     ; Strangely out of order this one!

; Third party services start at &80000 and they get 64 each

                        ^       &80000

SoundSamplerService     #       64      ; &80000
FaxPackService          #       64      ; &80040, Computer Concepts Fax Pack

        OPT     OldOpt
        END
