Re: RightAlt Key behaviour (was: Bug in "Edit")

Bart Oldeman <[email protected]> Sat, 02 Nov 2002 17:13:09 -0500 (EST)
Newsgroups gmane.os.freedos.devel
Message-ID <[email protected]>
On Sat, 2 Nov 2002, Alain wrote:

> > > But this won't solve the EDIT problems -- EDIT doesn't use the int21
> > > functions to read the keyboard.
>
> Please explain me something: Edit doesn't use int21, but what does it
> use? direct bios, direct hardware or ...?
> Does it go throu xkeyb at all?

it hooks int 9 with the following function:

push ...
0e48:0012 BDD826           mov     bp,26d8
0e48:0015 8EDD             mov     ds,bp
0e48:0017 8BEC             mov     bp,sp
0e48:0019 BA6000           mov     dx,0060
0e48:001c EC               in      al,dx
0e48:001d B400             mov     ah,00
0e48:001f A3BD81           mov     [81bd],ax
0e48:0022 9C               pushf
0e48:0023 FF1EBF81         call    far [81bf]
pop ...
iret

here 26d8:81bf contains the original INT9.

You'll have to read the edit source code to see what else it really does.

>
> Does it work wit MS's keyb?

Dunno. I know it doesn't work with DOSEMU's internal "keyb".

Bart