PublicWS 4.15 KB
Newer Older
Neil Turton's avatar
Neil Turton committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
; 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
Neil Turton's avatar
Neil Turton committed
29
; 12-Jul-95  JRH   Added RestType
Neil Turton's avatar
Neil Turton committed
30 31 32 33
;
; +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
; Memory map values: (in address order)

34 35 36 37 38 39 40 41
; 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.
42

43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87
                           ^ &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

88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109
; 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

Neil Turton's avatar
Neil Turton committed
110 111 112
                    ^ &00004000
ScratchSpace        #     &4000

Kevin Bracey's avatar
Kevin Bracey committed
113
 [ {FALSE}
114
                    ^ &01F04000
Kevin Bracey's avatar
Kevin Bracey committed
115
 |
116
                    ^ &FAFF4000
Kevin Bracey's avatar
Kevin Bracey committed
117
 ]
Neil Turton's avatar
Neil Turton committed
118 119 120 121 122 123
SoundWorkSpace      #     &2000

SoundDMABufferSize  *     &1000

SoundDMABuffers     #     SoundDMABufferSize * 2

Neil Turton's avatar
Neil Turton committed
124

Neil Turton's avatar
Neil Turton committed
125 126
        OPT     OldOpt
        END