Jon Gentil wrote:
> JV> You need to save and restore registers..
> THANKS!!!
Sure. There were some other things too, but that one jumped out. One
obscure problem I saw was calling a BIOS function from within the TSR.
They generally are not re-entrant and since you were (attempting) to
hook the timer, I'd be expecting an occasional lockup.
You can trap INT 28 and set a flag when DOS is ready, test the INDOS
and CRITERR flags, or do the sure thing and avoid the BIOS call by
reading the port directly.
... The Moon is Waxing Crescent (22% of Full)
--- ifmail v.2.10-tx8.2
---------------
* Origin: (jvahn@short.circuit.com) (1:346/15.1)
|