experimental LFN support for redirected drives
Hello.
Quoted 3 lines · Bart Oldeman
INT 21 now just executes the DOS int21 and never reaches the DOSEMU revectored int21 code. I don't know if it's safe to transfer to f000:_BL*0x10 for every interrupt.
I am thinking about a less intrusive solution.
Quoted 1 line
Maybe you do?
OK, I will do (trying right now:) The attached patch is intended to fix the problem. I don't have your test-case for it so I can only guess if it helps or works as expected.
A quick test against a couple of DPMI progs shows no regressions.
Does this help?
base/async/int.c +7 -0
@@ -1941,6 +1941,13 @@LWORD (esp) -=4 ; } +void fake_call_to (int cs,int ip) +{ +fake_call (REG (cs),LWORD (eip)); +REG (cs) = cs; +REG (eip) = ip; +} +void fake_pusha (void ) {#ifdef X86_EMULATOR
dosext/dpmi/dpmi.c +16 -32
67 lines not on this page · raw message
include/int.h +1 -0
@@ -20,6 +20,7 @@void fake_int (int ,int );void fake_int_to (int cs,int ip);void fake_call (int ,int ); +void fake_call_to (int cs,int ip);void fake_pusha (void );void setup_interrupts (void );void version_init (void );
Quoted 8 lines · Stas Sergeev
OK, I will do (trying right now:) The attached patch is intended to fix the problem. I don't have your test-case for it so I can only guess if it helps or works as expected.
A quick test against a couple of DPMI progs shows no regressions.
Does this help?
yes. This very much looks like the proper way to handle ints in DPMI, let int.c worry about these things using do_int! Indeed, DJGPP ls now shows long file names without my hack so your patch works.
Thanks
Bart