; 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    VDU variable numbers => &.Hdr.VduExt

OldOpt  SETA    {OPT}
        OPT     OptNoList+OptNoP1List

; ************************************************************
; ***    C h a n g e   L i s t  (better late than never!)  ***
; ************************************************************

; Date       Name  Description
; ----       ----  -----------
; 27-Oct-89  TMD   Added VIDCClockSpeed
; 05-Aug-91  DDV   Added Flag_FullPalette
; 15-Jul-93  TMD   Added NumModeVars

; Sets up external symbols of the form VduExt_<var name>
; for use with SWI OS_ReadVDUVariables

        MACRO
        NotRVVTBarWobblyBits    $var, $base
        [ "$base"<>""
NotRVVTBarWobblyBitscounter SETA $base
        ]
VduExt_$var                     *       NotRVVTBarWobblyBitscounter
NotRVVTBarWobblyBitscounter SETA NotRVVTBarWobblyBitscounter +1
        MEND

                                GBLA   NotRVVTBarWobblyBitscounter
NotRVVTBarWobblyBitscounter     SETA    0

        NotRVVTBarWobblyBits    ModeFlags, 0
        NotRVVTBarWobblyBits    ScrRCol
        NotRVVTBarWobblyBits    ScrBRow
        NotRVVTBarWobblyBits    NColour
        NotRVVTBarWobblyBits    XEigFactor
        NotRVVTBarWobblyBits    YEigFactor
        NotRVVTBarWobblyBits    LineLength
        NotRVVTBarWobblyBits    ScreenSize
        NotRVVTBarWobblyBits    YShftFactor
        NotRVVTBarWobblyBits    Log2BPP
        NotRVVTBarWobblyBits    Log2BPC
        NotRVVTBarWobblyBits    XWindLimit
        NotRVVTBarWobblyBits    YWindLimit

NumModeVars * NotRVVTBarWobblyBitscounter

        NotRVVTBarWobblyBits    GWLCol, &80
        NotRVVTBarWobblyBits    GWBRow
        NotRVVTBarWobblyBits    GWRCol
        NotRVVTBarWobblyBits    GWTRow
        NotRVVTBarWobblyBits    TWLCol
        NotRVVTBarWobblyBits    TWBRow
        NotRVVTBarWobblyBits    TWRCol
        NotRVVTBarWobblyBits    TWTRow
        NotRVVTBarWobblyBits    OrgX
        NotRVVTBarWobblyBits    OrgY
        NotRVVTBarWobblyBits    GCsX
        NotRVVTBarWobblyBits    GCsY
        NotRVVTBarWobblyBits    OlderCsX
        NotRVVTBarWobblyBits    OlderCsY
        NotRVVTBarWobblyBits    OldCsX
        NotRVVTBarWobblyBits    OldCsY
        NotRVVTBarWobblyBits    GCsIX
        NotRVVTBarWobblyBits    GCsIY
        NotRVVTBarWobblyBits    NewPtX
        NotRVVTBarWobblyBits    NewPtY
        NotRVVTBarWobblyBits    ScreenStart
        NotRVVTBarWobblyBits    DisplayStart
        NotRVVTBarWobblyBits    TotalScreenSize
        NotRVVTBarWobblyBits    GPLFMD
        NotRVVTBarWobblyBits    GPLBMD
        NotRVVTBarWobblyBits    GFCOL
        NotRVVTBarWobblyBits    GBCOL
        NotRVVTBarWobblyBits    TForeCol
        NotRVVTBarWobblyBits    TBackCol
        NotRVVTBarWobblyBits    GFTint
        NotRVVTBarWobblyBits    GBTint
        NotRVVTBarWobblyBits    TFTint
        NotRVVTBarWobblyBits    TBTint
        NotRVVTBarWobblyBits    MaxMode
        NotRVVTBarWobblyBits    GCharSizeX
        NotRVVTBarWobblyBits    GCharSizeY
        NotRVVTBarWobblyBits    GCharSpaceX
        NotRVVTBarWobblyBits    GCharSpaceY
        NotRVVTBarWobblyBits    HLineAddr
        NotRVVTBarWobblyBits    TCharSizeX
        NotRVVTBarWobblyBits    TCharSizeY
        NotRVVTBarWobblyBits    TCharSpaceX
        NotRVVTBarWobblyBits    TCharSpaceY
        NotRVVTBarWobblyBits    GcolOraEorAddr
        NotRVVTBarWobblyBits    VIDCClockSpeed

        NotRVVTBarWobblyBits    WindowWidth, &100
        NotRVVTBarWobblyBits    WindowHeight

; Bits in ModeFlags

Flag_NonGraphic * 1
Flag_Teletext   * 2
Flag_GapMode    * 4
Flag_BBCGapMode * 8
Flag_HiResMono  * 16
Flag_DoubleVertical * 32
Flag_HardScrollDisabled * 64    ; set when outputting to a sprite
Flag_FullPalette * 128          ; set when palette is not brain damaged
Flag_InterlacedMode * 256	; set when full interlaced mode

        OPT     OldOpt

        END