comparison CoCoOS9/defs/systype.l1 @ 31:bd2b07db8917 cocoos9lv2v3

CoCoOS9 version
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sat, 14 Jul 2018 15:16:13 +0900
parents
children
comparison
equal deleted inserted replaced
30:7b1b25ff010a 31:bd2b07db8917
1 nam SysType.l1
2 ttl CoCo OS-9 Level One System Type Definitions
3
4 *****************
5 * Edition History
6 *
7 * Date Changes Made by
8 * -------- ------------------------------------------------------------ ---
9 * 98/10/13 Added defs by Bruce Isted from his Eliminator archive BGP
10 * 98/10/31 Merged cc3global.defs into this file BGP
11 * 99/05/09 Changed for OS-9 Level One BGP
12
13 **********************
14 * CPU Type Definitions
15 *
16 org 1
17 Color rmb 1
18 COLOR3 rmb 1
19 CPUType set Color
20
21 ******************************
22 * Clock Speed Type Definitions
23 *
24 OneMHz equ 1
25 TwoMHz equ 2
26 CPUSpeed set OneMHz
27
28 **********************************
29 * Power Line Frequency Definitions
30 *
31 Hz50 equ 1 Assemble clock for 50 hz power
32 Hz60 equ 2 Assemble clock for 60 hz power
33 PwrLnFrq set Hz60 Set to Appropriate freq
34
35 **********************************
36 * PIA Definitions
37 *
38 PIA.U4 equ $FF00
39 PIA.U8 equ $FF20
40
41 ******************
42 * ACIA type set up
43 *
44 org 1
45 ACIA6850 rmb 1 MC6850 acia.
46 ACIA6551 rmb 1 SY6551 acia.
47 ACIA2661 rmb 1 SC2661 acia.
48 ACIATYPE set ACIA6551
49
50 HW.Page set $FF Device descriptor hardware page
51
52 ******************
53 * Device addresses
54 *
55 A.AciaP set $FF68 Aciapak Address
56 A.ModP set $FF6C ModPak Address
57 DPort set $FF40 Disk controller base address
58 MPI.Slct set $FF7F Multi-Pak slot select
59 MPI.Slot set $03 Multi-Pak default slot
60 *** Eliminator addresses
61 WD05Port set $FF70
62 A.DACIA1 set $FF60
63 A.DACIA2 set A.DACIA1+4
64 PPIABase set WD05Port+6
65 RTC.Base set WD05Port+2
66
67 *
68 * VDG Devices
69 *
70 A.TermV set $FFC0 VDG Term
71 A.V1 set $FFC1 Possible additional VDG Devices
72 A.V2 set $FFC2
73 A.V3 set $FFC3
74 A.V4 set $FFC4
75 A.V5 set $FFC5
76 A.V6 set $FFC6
77 A.V7 set $FFC7
78
79 ****************************************
80 * Special character Bit position equates
81 *
82 SHIFTBIT equ %00000001
83 CNTRLBIT equ %00000010
84 ALTERBIT equ %00000100
85 UPBIT equ %00001000
86 DOWNBIT equ %00010000
87 LEFTBIT equ %00100000
88 RIGHTBIT equ %01000000
89 SPACEBIT equ %10000000
90