Changeset 562


Ignore:
Timestamp:
Jul 28, 2011, 11:21:19 AM (14 years ago)
Author:
rudi
Message:

SBLliveOS2: Forgot to move soem defines

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sbliveos2/trunk/lib32/debug.c

    r561 r562  
    5151char hextab[]="0123456789ABCDEF";
    5252
     53#ifdef DEBUG
     54//#define       MAGIC_COMM_PORT 0x3f8           // pulled from word ptr 40:0
     55#define         MAGIC_COMM_PORT 0x2f8           // pulled from word ptr 40:0
     56
     57
     58#define UART_DATA               0x00            // UART Data port
     59#define UART_INT_ENAB           0x01            // UART Interrupt enable
     60#define UART_INT_ID             0x02            // interrupt ID
     61#define UART_LINE_CTRL          0x03            // line control registers
     62#define UART_MODEM_CTRL         0x04            // modem control register
     63#define UART_LINE_STAT          0x05            // line status register
     64#define UART_MODEM_STAT         0x06            // modem status regiser
     65#define UART_DIVISOR_LO         0x00            // divisor latch least sig
     66#define UART_DIVISOR_HI         0x01h           // divisor latch most sig
     67
     68#define DELAY   nop
     69#endif
     70
    5371#ifdef DEBUG                            //--------------------------- CharOut -
    5472void CharOut(char c)
     
    95113}
    96114#endif
    97 
    98115
    99116                                        //-------------------- DecLongToASCII -
     
    419436}
    420437
    421 #ifdef DEBUG
    422 //#define       MAGIC_COMM_PORT 0x3f8           // pulled from word ptr 40:0
    423 #define         MAGIC_COMM_PORT 0x2f8           // pulled from word ptr 40:0
    424 
    425 
    426 #define UART_DATA               0x00            // UART Data port
    427 #define UART_INT_ENAB           0x01            // UART Interrupt enable
    428 #define UART_INT_ID             0x02            // interrupt ID
    429 #define UART_LINE_CTRL          0x03            // line control registers
    430 #define UART_MODEM_CTRL         0x04            // modem control register
    431 #define UART_LINE_STAT          0x05            // line status register
    432 #define UART_MODEM_STAT         0x06            // modem status regiser
    433 #define UART_DIVISOR_LO         0x00            // divisor latch least sig
    434 #define UART_DIVISOR_HI         0x01h           // divisor latch most sig
    435 
    436 #define DELAY   nop
    437 #endif
    438 
Note: See TracChangeset for help on using the changeset viewer.