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

Subversion Repositories System09

[/] [System09/] [branches/] [before_delete/] [src/] [flex9/] [f9-monio.txt] - Diff between revs 23 and 66

Go to most recent revision | Only display areas with differences | Details | Blame | View Log

Rev 23 Rev 66
*
*
** TERMINAL AND PRINTER DRIVERS
** TERMINAL AND PRINTER DRIVERS
** SYS09BUG - Spartan 3 Starter Board
** SYS09BUG - Spartan 3 Starter Board
*
*
** FLEX DRIVER MEMORY MAP:
** FLEX DRIVER MEMORY MAP:
** C700 - C83F  PRINTER SPOOLER
** C700 - C83F  PRINTER SPOOLER
** CCC0 - CCF7  PRINTER DRIVERS
** CCC0 - CCF7  PRINTER DRIVERS
** D370 - D3FF  CONSOLE DRIVERS
** D370 - D3FF  CONSOLE DRIVERS
** DE00 - DFAF  DISK DRIVERS
** DE00 - DFAF  DISK DRIVERS
*
*
*
*
** INTERRUPT VECTORS
** INTERRUPT VECTORS
*
*
IRQVEC EQU   MONRAM+$08
IRQVEC EQU   MONRAM+$08
SWIVEC EQU   MONRAM+$02     SWI3 VECTOR
SWIVEC EQU   MONRAM+$02     SWI3 VECTOR
*
*
** PRINTER DRIVERS
** PRINTER DRIVERS
*
*
 ORG $CCC0
 ORG $CCC0
PINIT JMP DUMRTS INITIATE PRINTER
PINIT JMP DUMRTS INITIATE PRINTER
 ORG $CCD8
 ORG $CCD8
PCHK JMP DUMRTS CHECK IF PRINTER READY
PCHK JMP DUMRTS CHECK IF PRINTER READY
 ORG $CCE4
 ORG $CCE4
POUT JMP DUMRTS OUTPUT CHR. TO PRINTER
POUT JMP DUMRTS OUTPUT CHR. TO PRINTER
 ORG $CCF8
 ORG $CCF8
ZCCF8 FCB $01,$00,$00,$00
ZCCF8 FCB $01,$00,$00,$00
ZCCFC FCB $00,$00,$00,$00
ZCCFC FCB $00,$00,$00,$00
*
*
** CONSOLE DRIVER PATCHES:
** CONSOLE DRIVER PATCHES:
*
*
       ORG $D370
       ORG $D370
IHND   EQU   *         INTERRUPT HANDLER
IHND   EQU   *         INTERRUPT HANDLER
TMON   EQU   *         TIMER ON
TMON   EQU   *         TIMER ON
TMOFF  EQU   *         TIMER OFF
TMOFF  EQU   *         TIMER OFF
TMINT  EQU   *         TIMER INITIALIZATION
TMINT  EQU   *         TIMER INITIALIZATION
DUMRTS EQU   *
DUMRTS EQU   *
       RTS
       RTS
*
*
** SBUG MONITOR I/O CALLS
** SBUG MONITOR I/O CALLS
*
*
TERINZ JMP DUMRTS   INITIATE ACIA
TERINZ JMP DUMRTS   INITIATE ACIA
INCHNE JMP [MONROM+$04] INPUT WITHOUT ECHO
INCHNE JMP [MONROM+$04] INPUT WITHOUT ECHO
MONITR JMP [MONROM+$00]
MONITR JMP [MONROM+$00]
INCHEK JMP [MONROM+$08] CHECK FOR TERMINAL ENTRY
INCHEK JMP [MONROM+$08] CHECK FOR TERMINAL ENTRY
OUTEEE JMP [MONROM+$0A] OUPUT CHARACTER
OUTEEE JMP [MONROM+$0A] OUPUT CHARACTER
INEEE  JMP [MONROM+$06] INPUT WITH ECHO
INEEE  JMP [MONROM+$06] INPUT WITH ECHO
*
*
** AUTO BLOCK FDBS
** AUTO BLOCK FDBS
*
*
       ORG   $D3E5
       ORG   $D3E5
ZD3E5  FDB   INCHNE    INPUT - NO ECHO
ZD3E5  FDB   INCHNE    INPUT - NO ECHO
IHNDVC FDB   IHND      IRQ INTERRUPT HANDLER
IHNDVC FDB   IHND      IRQ INTERRUPT HANDLER
SWIVVC FDB   SWIVEC    SWI3 VECTOR LOCATION
SWIVVC FDB   SWIVEC    SWI3 VECTOR LOCATION
IRQVVC FDB   IRQVEC    IRQ VECTOR LOCATION
IRQVVC FDB   IRQVEC    IRQ VECTOR LOCATION
TOFVEC FDB   TMOFF     TIMER OFF ROUTINE
TOFVEC FDB   TMOFF     TIMER OFF ROUTINE
TONVEC FDB   TMON      TIMER ON ROUTINE
TONVEC FDB   TMON      TIMER ON ROUTINE
TINVEC FDB   TMINT     TIMER INITIALIZE ROUTINE
TINVEC FDB   TMINT     TIMER INITIALIZE ROUTINE
MONVEC FDB   MONITR    MONITOR RETURN ADDRESS
MONVEC FDB   MONITR    MONITOR RETURN ADDRESS
TERVEC FDB   TERINZ    TERMINAL INITIATION
TERVEC FDB   TERINZ    TERMINAL INITIATION
STAVEC FDB   INCHEK    CHECK TERMINAL STATUS
STAVEC FDB   INCHEK    CHECK TERMINAL STATUS
OUTVEC FDB   OUTEEE    TERMINAL CHAR OUTPUT
OUTVEC FDB   OUTEEE    TERMINAL CHAR OUTPUT
INVEC  FDB   INEEE     TERMINAL INPUT CHARACTER
INVEC  FDB   INEEE     TERMINAL INPUT CHARACTER
ZD3FD  JMP   ZCA00
ZD3FD  JMP   ZCA00
       END
       END
 
 

powered by: WebSVN 2.1.0

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