2 ; Oric Atmos definitions
7 ; ---------------------------------------------------------------------------
10 SCREEN_XSIZE = 40 ; screen columns
11 SCREEN_YSIZE = 28 ; screen rows
15 FNAME_LEN = 16 ; maximum length of file-name
18 ; ---------------------------------------------------------------------------
27 ; ---------------------------------------------------------------------------
31 CAPSLOCK := $020C ; $7F = not locked, $FF = locked
33 IRQVec := $0245 ; "fast" interrupt vector
34 JOINFLAG := $025A ; 0 = don't joiu, $4A = join BASIC programs
35 VERIFYFLAG := $025B ; 0 = load, 1 = verify
46 AUTORUN := $02AD ; $00 = only load, $C7 = autorun
47 LANGFLAG := $02AE ; $00 = BASIC, $80 = machine code
51 PARAM1 := $02E1 ; & $02E2
52 PARAM2 := $02E3 ; & $02E4
53 PARAM3 := $02E5 ; & $02E6
57 ; ---------------------------------------------------------------------------
61 .struct VIA ; Versatile Interface Adapter
63 PRB .byte ; Port Register B
64 PRA .byte ; Port Register A
65 DDRB .byte ; Data Direction Register B
66 DDRA .byte ; Data Direction Register A
68 T1L .word ; Timer 1 Latch
70 SR .byte ; Shift Register
71 ACR .byte ; Auxiliary Control Register
72 PCR .byte ; Peripheral Control Register
73 IFR .byte ; Interrupt Flags Register
74 IER .byte ; Interrupt Enable Register
75 PRA2 .byte ; Port Register A without handshaking
79 .struct ACIA ; Asynchronous Communications Interface Adapter
83 CMD .byte ; Command register
84 CTRL .byte ; Control register
90 ; ---------------------------------------------------------------------------