Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

GPF's in Ring 0 || LOGO&CLOCK || anyone can reproduce it ? (DOSX)

posted by Japheth Homepage, Germany (South), 11.08.2007, 09:52
(edited by Japheth on 11.08.2007, 10:22)

> CLOCK doesn't (strange, it used to crash on exactly same addr :confused:
> ), and the GPF's in Ring 0 persists :-(

CLOCK should work now. Very nice app! It's using a non-supported mapping mode, but apparently that doesn't hurt.

btw, there is a bug in the FASM windows includes which confused hx and caused the GPFs: in FASM, there is

CW_USEDEFAULT equ 8000h

OTOH, the MS platform SDK defines it as

#define CW_USEDEFAULT 0x80000000

apparently, windows accepts the 8000h as well (as does hx now), but it is not documented.

--------------------------------------

about the mouse problem: this almost certainly is due to the mouse event proc not being reset. dkrnl32 uses raw DPMI functions to set the mouse event proc, which has the advantage that it works with any DPMI host, but has the disadvantage that the host cannot clear the event proc on its own if an unhandled exception occurs and the host is terminated the hard way ("terminate s/erver").

--------------------------------------

P.S: and please, don't write "GPF's", write "GPFs" instead! Our admin is very sensible and such things do hurt him physically. :crying:

---
MS-DOS forever!

 

Complete thread:

Back to the forum
Board view  Mix view
22651 Postings in 2111 Threads, 402 registered users, 816 users online (0 registered, 816 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum