With this update I can get the keyboard, HD, VGA 
and DiscOnChip (on ISA adapter working). Don't know
why the damn floppy doesn't work but I won't have more
time for this until maybe tomorrow night.

-----part-of-csc-setup.s---Se-previous-messages--------

SC400RegInit:
        dw      0xAB00   ;Configure 2 banks of DRAM:32 bit, EDO, 2mb depth
        dw      0xAB01
        dw      0x5C04    ;Set DRAM timing as slow as possible
        dw      0x4005    ;Enable refresh, use 32khz osc for refresh

        db 0x21, %0001000  ;!E000, !D000, !C000.

        db 0x32, %00000000  ;MMSA addr.
        db 0x33, %00001000  ;MMSA enabled, ROMCS0, !WP, !Cache

        ;Required for superio interface.  SuperIO needed to control LEDs.
        dw      0x1938    ;Select ISA iochrdy, IOCS16, and AEN signals Vs. GPIOs

        dw      0x0580  ;cpu clk:hyper = 100MHz, high = 33MHz, low = 8MHz
        dw      0x4140  ;enable hyperspeed

        dw      0x01D1    ;Enable internal UART at 3f8
        dw      0x40D8    ;Internal UART uses IRQ4

        dw      0x5F38          ; Select ISA IOCS16, iochrdy, PIRQ1, PIRQ0 & AEN 
signals Vs. GPIOs      
        
        dw      0x1439          ; Select ISA signals vs kbd rows, enable LBL2   
        
        dw      0x08C1          ; Enable external keybd I/F
        
        dw      0x1ED4          ; Route pirq0 -> IRQ14 (ide support) and pirq1->IRQ1 
(kbd support)
        dw      0x0CD5          ; Route pirq2->IRQ12 (required for PS/2 mouse support)
        dw      0x03D6          ; Route pirq4->IRQ3 (PCNET ISA network card support)
        
        dw      0x01E5          ; Enable proper termination for all configs done above.
                
        dw      0x023a
        dw      0xaec2
SC400RegTableLen = (* - SC400RegInit) / 2

Reply via email to