Hi!
6-Ноя-2005 19:50 [EMAIL PROTECTED] (Kenneth Davis) wrote to
[EMAIL PROTECTED]:
+++ inthndlr.c6 Nov 2005 19:50:34 - 1.87.2.19
- r.DX = 0xA2AB; /* on succes DS:AX set to A2AB:B97Ch */
+ r.DX = 0xA2AB; /* on succes DX:AX set to A2AB:B97Ch */
@@
Arkady V.Belousov wrote:
...
+cmp word [_OemHook21], -1
+je no_oemhndlr
+cmp word [_OemHook21+2], -1
+je no_oemhndlr
This is if (FP_OFF (OemHook21) != -1 FP_SEG (OemHook21) != -1),
which is not equal to if
For some projects I would like to work on I need to modify the kernel to
not overwrite certain sections of memory at startup. My problem is that
these items are put in memory before the kernel is loaded so I can not
just allocate the memory using DOS calls (since no MCB chain exists yet).
Hi!
6-Ноя-2005 17:44 [EMAIL PROTECTED] (Kenneth J. Davis) wrote to
freedos-kernel@lists.sourceforge.net:
+jmp far [ds:_OemHook21] ; invoke OEM handler (no return)
Looks like bug: if before ds=cs:_DGROUP_ DS doesn't contains segment
of _OemHook21, then it willn't contain