Unreal Mode: Difference between revisions

[unchecked revision][unchecked revision]
Content deleted Content added
One more
slight correction to statement about a20 line; changed code to match comment, as it seemed more rational than changing comment to match code
Line 6:
* you're trying to load something that will run in 32 bits mode and which is larger than 640Kb (so you cannot load it in conventionnal memory) and you don't want to bother with a disk driver called from pmode yet, and you do not wish to switch between real and protected mode for copying chunks from the conventional memory buffer to the high memory areas ...
 
OfYou course,still unrealwill modenot ishave kindoffull uselessaccess to all physical RAM if you do not have have the [[A20 Line]] enabled; all the "odd" 1-megabyte blocks will be unavailable.
 
==Implementation==
Line 28:
mov ds, ax ; DS=0
mov ss, ax ; stack starts at seg 0
mov sp, 0x9c000x7e00 ; 200h past code start
 
cli ; no interrupts