EIDL version 1.0.0 released (Announce)
> > It's also a mystery to me when and how often Int 28h is called. IMO it's
> > called even if DOS is not "idle" at all. This little program below just
> > displays a string via DOS until terminated by Ctrl-C. I runs
> significantly
> > slower if EIDL (or any other idle tool) is installed.
>
> Which hardware/emu and DOS version did you try it on?
I tried under MS-DOS 7.x ( supplied with Win98 ). IIRC FreeDOS does not have this "slowdown" problem.
What might help for MS-DOS is a little filter (taken from my old DOSIDLE tool):
int28 proc
pushf
call cs:[oldint28]
if 1
cmp ah,2
jz @F
endif
sti
hlt
@@:
iret
int28 endp
Also, I think it is necessary to hook int 16h, to cover VC:
int16 proc
cmp ah,00h
jz @F
cmp ah,10h
jz @F
oldint:
jmp cs:[oldint16]
@@:
push ds
push 40h
pop ds
push ax
mov ax,ds:[1Ah]
cmp ax,ds:[1Ch]
pop ax
pop ds
jnz oldint
sti
hlt
jmp @B
int16 endp
However, the idea mentioned by Vernon Brooks about hooking int 15h, ah=90h, is perhaps superior and simpler.
---
MS-DOS forever!
Complete thread:
- EIDL version 1.0.0 released - rr, 18.02.2020, 21:32 (Announce)
- EIDL version 1.0.0 released - Japheth, 20.02.2020, 13:16
- EIDL version 1.0.0 released - rr, 20.02.2020, 15:44
- EIDL version 1.0.0 released - Doug, 20.02.2020, 19:20
- EIDL version 1.0.0 released - rr, 20.02.2020, 20:34
- EIDL version 1.0.0 released - Doug, 20.02.2020, 19:20
- EIDL version 1.0.0 released - rr, 20.02.2020, 17:54
- EIDL version 1.0.0 released - Japheth, 21.02.2020, 20:23
- EIDL version 1.0.0 released - rr, 21.02.2020, 21:57
- EIDL version 1.0.0 released - Japheth, 22.02.2020, 03:14
- EIDL version 1.0.0 released - rr, 23.02.2020, 19:10
- EIDL version 1.0.0 released - Japheth, 24.02.2020, 19:04
- EIDL version 1.0.0 released - rr, 23.02.2020, 19:10
- EIDL version 1.0.0 released - Japheth, 22.02.2020, 03:14
- EIDL version 1.0.0 released - rr, 21.02.2020, 21:57
- EIDL version 1.0.0 released - Japheth, 21.02.2020, 20:23
- EIDL version 1.0.0 released - rr, 20.02.2020, 15:44
- EIDL version 1.0.0 released - Japheth, 20.02.2020, 13:16