; Copyright 1996 Acorn Computers Ltd
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
;     http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or agreed to in writing, software
; distributed under the License is distributed on an "AS IS" BASIS,
; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
; See the License for the specific language governing permissions and
; limitations under the License.
;
        SUBT    > Public Work Space

OldOpt  SETA    {OPT}
        OPT     OptNoList+OptNoP1List

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

; Date       Name  Description
; ----       ----  -----------
; 15-Jun-94  AMcC  Created - holds values 'exported' from KernelWS
;                  Corresponds to Values previously set in VickySpace / NewSpace
; 03-Nov-94  AMcC  Added ScreenBlankFlag and ScreenBlankDPMSState
; 12-Jul-95  JRH   Added RestType
;
; +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
; Memory map values: (in address order)

; Legacy kernel locations (ZeroPage-relative)

; Note - the addresses defined here are what were used with the RISC OS 5.22-era
; kernel and may not match the addresses in use by any newer kernel which your
; code may be running on. If you need to peek at these values then make sure
; you look up the address at runtime using OS_ReadSysInfo 6, and only fall back
; to these definitions if the OS_ReadSysInfo implementation doesn't recognise
; the item.

                           ^ &00000104
Legacy_ESC_Status          #         1

                           ^ &00000105
Legacy_LatchBSoftCopy      #         1

                           ^ &00000107
Legacy_CannotReset         #         1

                           ^ &00000108
Legacy_IRQsema             #         4

                           ^ &0000010C
Legacy_MetroGnome          #         4

                           ^ &00000114
Legacy_MEMC_CR_SoftCopy    #         4

                           ^ &00000300
Legacy_DebuggerSpace       #      8*16

                           ^ &00000AE1    ; RedirectInHandle
Legacy_RedirectInHandle    #         1

                           ^ &00000AE2    ; RedirectOutHandle
Legacy_RedirectOutHandle   #         1

                           ^ &00000FE8
Legacy_CLibCounter         #         1

                           ^ &00000FEC
Legacy_RISCOSLibWord       #         4

                           ^ &00000FF0
Legacy_CLibWord            #         4

                           ^ &00000FF4
Legacy_FPEAnchor           #         4

                           ^ &00000FF8
Legacy_DomainId            #         4    ; domain identification

                           ^ &00001000
Legacy_VduDriverWorkSpace  #     &3000

; VDU driver locations (VduDriverWorkSpace-relative)

                           ^ &000001F8
Legacy_ECFShift            #         4    ; number of bits to rotate  right ECF OR and EOR masks by
Legacy_ECFYOffset          #         4    ; vertical offset to ECF index

                           ^ &0000047C
Legacy_ScreenBlankFlag     #         1    ; 0 => unblanked, 1 => blanked

                            ^ &0000047D
Legacy_ScreenBlankDPMSState #         1   ; 0 => just blank video
                                          ; 1 => blank to stand-by (hsync off)
                                          ; 2 => blank to suspend (vsync off)
                                          ; 3 => blank to off (H+V off)
                           ^ &00000480
Legacy_FgEcfOraEor         #      4*16    ; Interleaved zgora & zgeor (from Vdu Driver Workspace)

                           ^ &000004C0
Legacy_BgEcfOraEor         #      4*16    ; Interleaved zgora & zgeor (from Vdu Driver Workspace)

; Other locations

                    ^ &00004000
ScratchSpace        #     &4000

 [ {FALSE}
                    ^ &01F04000
 |
                    ^ &FAFF4000
 ]
SoundWorkSpace      #     &2000

SoundDMABufferSize  *     &1000

SoundDMABuffers     #     SoundDMABufferSize * 2


        OPT     OldOpt
        END