Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Interrupts & Ports - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

        FOSSIL (Fido/Opus/Seadog Standard Interface Level) - INITIALIZE

        Entry:
        AH = 00h
        AL = initializing parameters
            7 - 6 - 5      4 - 3     2    1 - 0
            -BAUD RATE-    PARITY   STOP   WORD
                                    BITS  LENGTH
            000 19200 bd   00 none  0: 1  00: 5
            001 38400 bd   01 odd   1: 2  01: 6
            010   300 bd   11 even        10: 7
            011   600 bd                  11: 8
            100  1200 bd
            101  2400 bd
            110  4800 bd
            111  9600 bd (4800 on PCjr)
        DX = port number (0-3 or FFh if only performing non-I/O setup)

        Return:
        AH = RS-232 status code bits
            0: RDA - input data is available in buffer
            1: OVRN - data has been lost
            5: THRE - room is available in output buffer
            6: TSRE - output buffer empty
        AL = modem status bits
            3: always 1
            7: DCD - carrier detect

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson