OpenCores
URL https://opencores.org/ocsvn/System09/System09/trunk

Subversion Repositories System09

[/] [System09/] [rev_86/] [src/] [Flex9/] [f9-moneq.asm] - Blame information for rev 200

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 59 davidgb
 PAGE
2
*
3
***************************************************
4
*   MEMORY MAP EQUATES                            *
5
***************************************************
6
MONIO   EQU  $E000  I/O SPACE
7
MONRAM  EQU  $DFC0  STACK SPACE
8
MONROM  EQU  $F800  START OF ROM
9
MONEXT  EQU  $F000  EXTENDED COMMANDS
10
*MONEXT  EQU  $1000  EXTENDED COMMANDS
11
*
12
***************************************************
13
*   SYS09BUG VARIABLE SPACE
14
***************************************************
15
*
16
STACK   EQU  MONRAM+0  TOP OF INTERNAL STACK / USER VECTOR
17
SWI3    EQU  MONRAM+2  SOFTWARE INTERRUPT VECTOR #3
18
SWI2    EQU  MONRAM+4  SOFTWARE INTERRUPT VECTOR #2
19
FIRQ    EQU  MONRAM+6  FAST INTERRUPT VECTOR
20
IRQ     EQU  MONRAM+8  INTERRUPT VECTOR
21
SWI     EQU  MONRAM+10 SOFTWARE INTERRUPT VECTOR
22
SVCVO   EQU  MONRAM+12 SUPERVISOR CALL VECTOR ORGIN
23
SVCVL   EQU  MONRAM+14 SUPERVISOR CALL VECTOR LIMIT
24
LRARAM  EQU  MONRAM+16 LRA ADDRESSES
25
CPORT   EQU  MONRAM+32 RE-VECTORABLE CONTROL PORT
26
ECHO    EQU  MONRAM+34 ECHO FLAG
27
BPTBL   EQU  MONRAM+35 BREAKPOINT TABLE BASE ADDR
28
**************************************************
29
*   VDU BYTES                                    *
30
**************************************************
31
*
32
**** ALWAYS KEEP COLADX AND ROWADX TOGETHER ******
33
COLADX  EQU  MONRAM+59 CURSOR COLUMN
34
ROWADX  EQU  MONRAM+60 CURSOR ROW
35
**************************************************
36
*
37
NEWROW  EQU  MONRAM+61 NEW ROW TEMP FOR ESCAPE
38
ESCFLG  EQU  MONRAM+62 ESCAPE SEQUENCE ACTIVE
39
*
40
***************************************************
41
*   SERIAL PORT                                   *
42
***************************************************
43
*
44
ACIAS   EQU  MONIO+$00   CONTROL PORT
45
*
46
***************************************************
47
*   PS/2 KEYBOARD PORT                            *
48
***************************************************
49
*
50
PS2KBD  EQU  MONIO+$20   PS/2 KEYBOARD PORT
51
*
52
***************************************************
53
*   ADM3A DISPLAY DRIVER VARIABLES                *
54
***************************************************
55
*
56
** VIDEO DISPLAY DEFINITIONS
57
*
58
VDU     EQU  MONIO+$30
59
VDUCHR  EQU  0        CHARACTER REGISTER
60
VDUATT  EQU  1        ATTRIBUTE REGISTER
61
VDUCOL  EQU  2        CURSOR COLUMN
62
VDUROW  EQU  3        CURSOR ROW
63
VDUOFF  EQU  4        ROW OFFSET
64
*
65
LINLEN  EQU  80       LENGTH OF A LINE
66
NUMLIN  EQU  25       NUMBER OF LINES
67
*
68
***************************************************
69
* Serial PROM register
70
***************************************************
71
*
72
** CONFIGURATION PROM DEFINITIONS
73
*
74
PROMREG EQU MONIO+$C0
75
PCLKHI  EQU $01     Toggle PROM Clock High
76
PCLKLO  EQU $00     Toggle PROM Clock Low
77
PRSTHI  EQU $02     Toggle PROM Reset High
78
PRSTLO  EQU $00     Toggle PROM Reset Low
79
SYNCHI  EQU $AA55   Synch Pattern High Word
80
SYNCLO  EQU $FF00   Synch Pattern Low Word
81
*
82
*
83
***************************************************
84
* Dynamic Address Translation Registers
85
***************************************************
86
*
87
** DAT Table
88
*
89
IC11    EQU  $FFF0  DAT RAM CHIP
90
*
91
***************************************************
92
*   START OF ROM                                  *
93
***************************************************
94
*
95
MONITV EQU MONROM+0  FDB MONITOR
96
NXTCMV EQU MONROM+2  FDB NEXTCMD
97
INCHV  EQU MONROM+4  FDB INCH
98
INCHEV EQU MONROM+6  FDB INCHE
99
INCHKV EQU MONROM+8  FDB INCHEK
100
OUTCHV EQU MONROM+10 FDB OUTCH
101
PDATAV EQU MONROM+12 FDB PDATA
102
PCRLFV EQU MONROM+14 FDB PCRLF
103
PSTRGV EQU MONROM+16 FDB PSTRNG
104
LRAV   EQU MONROM+18 FDB LRA
105
       END
106
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.