I decided to have a go at DPMI. I compiled and executed the example code useDPMI without any problem. I understood that I would have 4GB segments and that I would be able to access anything above the base address however if I insert this simple code in segment main I get a page fault.
I understand (I think)
logical address -> segmentation unit -> linear address -> paging unit -> physical address.
I am using cwsdpr0, and also turned off paging in CR0 and the error persists. There is something I don't understand here and I would appreciate a simple explanation.
Sorry to take some time to respond. Please find attached source code - just a small variation from the FASM example useDPMI. The line which causes the error is marked in the source - near to the bottom of the code.
I am using CWSDPMI, specifically CWSDPR0.exe with FreeDOS - no drivers loaded. I do not have HDPMI32 - unable to download from Japeth.
Joined: 04 Sep 2009
Location: film "CandyMan" directed through Bernard Rose OR Candy Shop
in HDPMI32 everything is acting correctly, and in 32rtm the mistake still is appearing
in CR2 there is linear address of page fault (0xF0000+(Main shl 4)) is above 1MB
JAPHETH's side not respond, try download HDPMI by this address: http://web.archive.org/web/www.japheth.de
Thankyou for taking the time to test under HDPMI and thankyou for the link - I shall get HDPMI but I would really like to know about the issue with CWSDPMI if anyone here knows the answer please share.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum