Hi PDP8,
Haven't dealt with that recently or in depth, but in order to switch into PMode you need to disable interrupts (opcode cli), define the table of global/local descriptors, define interrupts table, change the Least Significant Bit of special register CL0 and enable interrupts (opcode sti).
Depending on your specific purpose and the logic intended you might not really need access to memory above the 1Mb. Would you provide more info?
All I need to do is read several bytes of data from the upper end of the 4GB address space, where an MD5 message digest of the bios will have been stored.
The intent is to compare the current MD5 with the pre-stored value to ensure that the BIOS has not been tampered with.
Bookmarks