phat code If brute force doesn't solve your problems, then you aren't using enough.
Main

Projects

Downloads

Articles

Links

Forum

 

View Message

Back to Messages
Jim11662418 Fri Nov 3 2017 at 1:51 pm
Problem with Super PC BIOS
 
 
I have an intermittent  problem with Super PC/Turbo XT BIOS version 3.1.  About half the time my IBM 5150 PC will lock up when I try to reboot using Control-Alt-Delete. It remains locked up until the power is cycled off and then on. I'm using an extended 101 key keyboard, and when the PC locks up, all three LEDs on the keyboard flicker.

I assembled the code using:
IBM_PC = 1
MAX_MEMORY = 640
FAST_MEM_CHECK = 1
ENHANCED_KEYB = 1
ROM_START = 0C000h
ROM_END = 0FE00h
ROM_DELAY = 2
BOOT_DELAY = 3
TITLE_BAR_FADE = 1

I have the same problem if I reboot using the turbo pascal code:

PROGRAM DemoReboot;
USES  Crt,                    { import ClrScr, ReadKey            }
          Dos;                    { import Intr(), Registers          }

PROCEDURE Reboot;
    VAR     dummy : Registers;
    BEGIN
        MemW[0:0] := 0; }
        MemW[0:2] := $FFFF;
        Intr(0,dummy);
    END {Reboot};

PROCEDURE ColdBoot;
    BEGIN
        MemW[0:$472] := $7F7F;
        Reboot;
    END {ColdBoot};

PROCEDURE WarmBoot; }
    BEGIN
        MemW[0:$472] := $1234;
        Reboot;
    END

BEGIN
        ClrScr;
        Write('Do you want a Warm or Cold reboot (W/C) ? ');
        IF UpCase(ReadKey) = 'W' THEN WarmBoot ELSE ColdBoot;
END {DemoReboot}.

Thanks in advance.
 
 
 
 

Reply to this Message

Name
Subject
Message

No HTML is allowed, except for <code> <b> <i> <u> in the message only.
All URLs and email addresses will automatically be converted to hyperlinks.