; 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    Definition of the A1 production platform (A440, A310 etc) ==> Hdr:IO.A1

OldOpt  SETA    {OPT}
        OPT     OptNoList+OptNoP1List

; ***********************************
; ***    C h a n g e   L i s t    ***
; ***********************************
;
; Date       Name          Description
; ----       ----          -----------
; 13-Jul-93  JRoach        Created

        GET     Hdr:IO.IOC

        ; It's an IOC world with...

                ; Control register bits

vsync_state_bit  * 1 :SHL: 7    ; ReadOnly
pack_state_bit   * 1 :SHL: 6    ; ReadOnly
sound_mute_bit   * 1 :SHL: 5    ; Read/Write
disc_changed_bit * 1 :SHL: 4    ; ???

        ; IRQ register A bits

pack_bit   * 1 :SHL: 2  ; Printer acknowlege    (event) ~IF
ring_bit   * 1 :SHL: 1  ; Ringing indication    (level)
pbusy_bit  * 1 :SHL: 0  ; Printer busy          (level)


        ; IRQ register B bits

winnie_DRQ_bit  * 1 :SHL: 4  ; Winchester data request
winnie_IRQ_bit  * 1 :SHL: 3  ; Winchester IRQ request
serial_bit      * 1 :SHL: 2  ; 6551 IRQ request
sound_IRQ_bit   * 1 :SHL: 1  ; Sound buffer reload request


        ; FIQ register bits

econet_FIQ_bit  * 1 :SHL: 2                             ; ADLC FIQ request

        ; IO locations common across all A1 systems
PrinterData         * &03350010 ; Fast, Bank 5
LatchA              * &03350040 ; Fast, Bank 5
EconetController    * &033A0000 ; Sync, Bank 2
SerialController    * &033B0000 ; Sync, Bank 3

; Bits in LatchB register

pstrobe_bit     * 1 :SHL: 4  ; Printer strobe

        OPT     OldOpt
        END
