Annotation of gcl520h/_8250.equ, revision 1.1

1.1     ! root        1: ;
        !             2: ; _8250.EQU            5.20A  June 8, 1995
        !             3: ;
        !             4: ; The Greenleaf Comm Library
        !             5: ;
        !             6: ; Copyright (C) 1991-94 Greenleaf Software Inc.  All Rights Reserved.
        !             7: ;
        !             8: ; NOTES
        !             9: ;
        !            10: ; This file contains the constant definitions for all of the 8250
        !            11: ; registers and bitfields.  It should directly correspond to _8250.H.
        !            12: ;
        !            13: ; MODIFICATIONS
        !            14: 
        !            15: ;
        !            16: ;  The 8250 port offsets, relative to base (com1, com2, etc.)
        !            17: ;
        !            18: BASE    equ     0
        !            19: TXBUF   equ     0               ; Tx Buffer
        !            20: RXBUF   equ     0               ; Rx Buffer
        !            21: BRLSB   equ     0               ; baud rate LSB divisor latch
        !            22: BRMSB   equ     1               ; baud rate MSB
        !            23: INTER   equ     1               ; interrupt enable register
        !            24: INTID   equ     2               ; interrupt ID register
        !            25: FIFOCTL equ     2               ; 16550 FIFI control register
        !            26: LCREG   equ     3               ; line control register
        !            27: MCREG   equ     4               ; modem control reg
        !            28: LSREG   equ     5               ; line status reg
        !            29: MSREG   equ     6               ; modem status reg
        !            30: 
        !            31: ; Equates for bits in the line control register
        !            32: 
        !            33: WLS0    equ     00000001b       ; word length select bit 0
        !            34: WLS1    equ     00000010b       ; word length select bit 1
        !            35: NSB     equ     00000100b       ; number stop bits
        !            36: PAREN   equ     00001000b       ; parity enable
        !            37: PAREVN  equ     00010000b       ; parity even
        !            38: PARSTK  equ     00100000b       ; stick parity
        !            39: SBREAK  equ     01000000b       ; send break
        !            40: DLAB    equ     10000000b       ; set DLAB
        !            41: 
        !            42: ; Equates for bits in Line Status register
        !            43: 
        !            44: DATARDY equ     00000001b       ; data ready
        !            45: OVERRN  equ     00000010b       ; overrun error
        !            46: PARERR  equ     00000100b       ; parity error
        !            47: FRAMERR equ     00001000b       ; framing error
        !            48: RBREAK  equ     00010000b       ; break interrupt (received break)
        !            49: THRE    equ     00100000b       ; transmitter holding reg empty
        !            50: TSRE    equ     01000000b       ; tx shift register empty
        !            51: 
        !            52: ;  Equates for bits in Modem Control register
        !            53: 
        !            54: DTR     equ     00000001b       ; DTR
        !            55: RTS     equ     00000010b       ; RTS
        !            56: OUT1    equ     00000100b       ; aux signal "out1" (not used)
        !            57: OUT2    equ     00001000b       ; ditto "out2"
        !            58: LOOPIT  equ     00010000b       ; loop mode latch
        !            59: 
        !            60: ;  Equates for bits in Modem Status register
        !            61: 
        !            62: DCTS    equ     00000001b       ; delta CTS
        !            63: DDSR    equ     00000010b       ; delta DSR
        !            64: TERI    equ     00000100b       ; trailing edge RI
        !            65: DRLSD   equ     00001000b       ; delta Rx Line Signal Detect
        !            66: CTS     equ     00010000b       ; CTS
        !            67: DSR     equ     00100000b       ; DRS
        !            68: RINGIN  equ     01000000b       ; RI
        !            69: RLSD    equ     10000000b       ; Rx Line Signal Detect
        !            70: 
        !            71: ;  Equates for bits in Interrupt Enable register
        !            72: 
        !            73: ENRX    equ     00000001b       ; enable Data Available int
        !            74: ENTX    equ     00000010b       ; enable Tx Holding Reg Empty int
        !            75: ENRXS   equ     00000100b       ; enable Rx Special Conditions int
        !            76: ENMS    equ     00001000b       ; enable Modem Status Interrupt
        !            77: 
        !            78: 

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.