Re: raghu protected mode
- From: Frank Kotler <fbkotler@xxxxxxxxxxx>
- Date: Wed, 22 Nov 2006 01:32:35 -0500
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
.
- Follow-Ups:
- Re: raghu protected mode
- From: johnzulu
- Re: raghu protected mode
- From: johnzulu
- Re: raghu protected mode
- References:
- raghu protected mode
- From: bob
- raghu protected mode
- Prev by Date: Re: MASM instructions
- Next by Date: Re: WhichAsm.html
- Previous by thread: raghu protected mode
- Next by thread: Re: raghu protected mode
- Index(es):
Relevant Pages
|