Mail Archives: djgpp/1997/02/05/16:18:36
> This should be covered in the FAQ. Under DPMI, interrupts doesn't work
> the same way as in real mode compilers.
oh that's ok, i've never done anything with interrupts under real mode before
anyway which is why i decided to learn :)
the faq does indeed say how to do it, but doesn't give me the experience of
all you wonderful people out there as to which would be the better method ;)
> D6 is an "undocumented" (newly-documented) opcode, called SALC (Set AL
> with Carry). It seems its behaviour is already described in your
> comments.
ack undocumented :( do you know anywhere it might be 'newly documented' as i
don't have any reference to it anywhere and wouldn't mind knowing some more
about it. doesn't seem to be on intels sheet :(
> This handler really only updates a table with which keys are down, and
> it doesn't even do that well. Instead of wasting your time, consider
yeh i noticed :( doesn't appear to push or pop anything either which seems
bad practice for an interrupt handler.
> using already-existing better-written keyboard handlers instead. I
> think there's pointers to some in the FAQ.
yeh, but i don't actually need the code as a matter of life and death :) it's
just an exercise in writing it really :) i don't mind wasting time as i have
nothing better to do :)
regards,
nik
--
Graham Tootell
nikki AT gameboutique DOT com
- Raw text -