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

Subversion Repositories System09

[/] [System09/] [trunk/] [src/] [Flex9/] [f9-monio.asm] - Blame information for rev 119

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

Line No. Rev Author Line
1 59 davidgb
*
2
** TERMINAL AND PRINTER DRIVERS
3
** SYS09BUG - Spartan 3 Starter Board
4
*
5
** FLEX DRIVER MEMORY MAP:
6
** C700 - C83F  PRINTER SPOOLER
7
** CCC0 - CCF7  PRINTER DRIVERS
8
** D370 - D3FF  CONSOLE DRIVERS
9
** DE00 - DFAF  DISK DRIVERS
10
*
11
*
12
** INTERRUPT VECTORS
13
*
14
IRQVEC EQU   MONRAM+$08
15
SWIVEC EQU   MONRAM+$02     SWI3 VECTOR
16
*
17
** PRINTER DRIVERS
18
*
19
 ORG $CCC0
20
PINIT JMP DUMRTS INITIATE PRINTER
21
 ORG $CCD8
22
PCHK JMP DUMRTS CHECK IF PRINTER READY
23
 ORG $CCE4
24
POUT JMP DUMRTS OUTPUT CHR. TO PRINTER
25
 ORG $CCF8
26
ZCCF8 FCB $01,$00,$00,$00
27
ZCCFC FCB $00,$00,$00,$00
28
*
29
** CONSOLE DRIVER PATCHES:
30
*
31
       ORG $D370
32
IHND   EQU   *         INTERRUPT HANDLER
33
TMON   EQU   *         TIMER ON
34
TMOFF  EQU   *         TIMER OFF
35
TMINT  EQU   *         TIMER INITIALIZATION
36
DUMRTS EQU   *
37
       RTS
38
*
39
** SBUG MONITOR I/O CALLS
40
*
41
TERINZ JMP DUMRTS   INITIATE ACIA
42
INCHNE JMP [MONROM+$04] INPUT WITHOUT ECHO
43
MONITR JMP [MONROM+$00]
44
INCHEK JMP [MONROM+$08] CHECK FOR TERMINAL ENTRY
45
OUTEEE JMP [MONROM+$0A] OUPUT CHARACTER
46
INEEE  JMP [MONROM+$06] INPUT WITH ECHO
47
 
48
*
49
** AUTO BLOCK FDBS
50
*
51
       ORG   $D3E5
52
ZD3E5  FDB   INCHNE    INPUT - NO ECHO
53
IHNDVC FDB   IHND      IRQ INTERRUPT HANDLER
54
SWIVVC FDB   SWIVEC    SWI3 VECTOR LOCATION
55
IRQVVC FDB   IRQVEC    IRQ VECTOR LOCATION
56
TOFVEC FDB   TMOFF     TIMER OFF ROUTINE
57
TONVEC FDB   TMON      TIMER ON ROUTINE
58
TINVEC FDB   TMINT     TIMER INITIALIZE ROUTINE
59
MONVEC FDB   MONITR    MONITOR RETURN ADDRESS
60
TERVEC FDB   TERINZ    TERMINAL INITIATION
61
STAVEC FDB   INCHEK    CHECK TERMINAL STATUS
62
OUTVEC FDB   OUTEEE    TERMINAL CHAR OUTPUT
63
INVEC  FDB   INEEE     TERMINAL INPUT CHARACTER
64
ZD3FD  JMP   ZCA00
65
       END

powered by: WebSVN 2.1.0

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