Re: raghu protected mode



bob@xxxxxxxxxxxxxx wrote:
I'm trying to get this code working:

http://linuxgazette.net/issue82/misc/raghu/code.asm.txt

It displays the first brown A (signifying real mode), but the white A
(signifying protected mode) never works.

Any ideas?

What's it do? Reboot? Works for me, as is, which suggests an assumption that's true on my machine (and Raghu's), but not on yours. I strongly suspect ds. Try "xor ax, ax"/"mov ds, ax" (I'd set es, while you're at it) - right after "begin_boot:".

Weird code. Got a fairly "normal" BPB, but in the wrong place, and it's not used...

Just a philosophical question... You're in protected mode... what next? Bios ints won't work. You haven't loaded any drivers. How are you going to load anything else? Seems to me some of you guys are in *way* too much of a hurry to get into protected mode!

Best,
Frank
.



Relevant Pages

  • Re: Error using windows update - Windows 2000 SP4 Problems
    ... Professional system in protected mode as nothing else works just now. ... networked machines, shut them down and went on vacation for a week. ... a date and time associated with the updates to confirm that I had installed ... Attempting to turn back the clock, in safe mode, "reboot with last known ...
    (microsoft.public.windowsupdate)
  • Re: Reboots after "OR AL,1 MOV CR0, EAX" on some computers.
    ... > computers that I tryed to boot from. ... I have a Pentium III Celeron ... gave me a reboot too. ... to switch to protected mode (the fact that all Pentium IV CPUs have second ...
    (freebsd-hackers)
  • Re: disk access in pmode
    ... No way to use INT 13h in protected mode. ... Reboot the system to a ... MS-DOS environment. ...
    (comp.lang.asm.x86)