Re: [Freedos-devel] Emulating Keystrokes

2011-11-19 Thread Michael B. Brutman
On 11/18/2011 4:24 PM, Ralf A. Quint wrote: > In particular for games, I would not expect that they necessarily use > INT 16h functions to read the keyboard, specially when they come with > their own mapping of the keys. > You might have to get a level lower probably, messing with > intercepting/si

Re: [Freedos-devel] Emulating Keystrokes

2011-11-18 Thread Ralf A. Quint
At 01:54 PM 11/18/2011, Tomer Godinger wrote: >The key emulation was done using INT 16, like I mentioned before, >and it worked - the program really did read the emulated keystroke. > >Then I changed the program so that it installs a small TSR that >emulates a keyboard event every 5 seconds or s

Re: [Freedos-devel] Emulating Keystrokes

2011-11-18 Thread Tom Ehlert
> Again, it worked in the console.However, when I started a game > (One Must Fall 2097) to test it there, it did not receive the key events my > TSR emulated. > After that, I switched to using the outportb() function - and it > worked.The game moved the characters as if I was pressing the right >

Re: [Freedos-devel] Emulating Keystrokes

2011-11-18 Thread Tomer Godinger
c in this project. Do forgive me for not explaining all this right away; I didn't know what you would find relevant. Thanks for your help,- Tomer. Date: Fri, 18 Nov 2011 11:06:32 -0800 From: eufdp...@yahoo.com To: freedos-devel@lists.sourceforge.net Subject: Re: [Freedos-devel] Emulating Ke

Re: [Freedos-devel] Emulating Keystrokes

2011-11-18 Thread Mark Brown
o.com > >From: Tom Ehlert >To: Tomer Godinger >Sent: Friday, November 18, 2011 12:22 PM >Subject: Re: [Freedos-devel] Emulating Keystrokes > > >> I am trying to emulate a

Re: [Freedos-devel] Emulating Keystrokes

2011-11-18 Thread Tom Ehlert
> I am trying to emulate a keystroke programmatically under FreeDOS. > The problem is that I need to make it work for *anything* that uses the > keyboard. > So far the attempts I've made (one using INT 16 with AH=5 to store > a keystroke in the keyboard buffer, and one using outportb) only > work

Re: [Freedos-devel] Emulating Keystrokes

2011-11-18 Thread Bret Johnson
> You could also have a look at JEMM386 / JEMMEX based "JLM" drivers, > Bret Johnson's (or Georg Potthast's) USB drivers or similar :-) Look at the source for my USBKEYB program. It is able to simulate keystrokes in many situations, including protected mode in certain cases. USBKEYB also has a

Re: [Freedos-devel] Emulating Keystrokes

2011-11-18 Thread Eric Auer
Hi Tom, > I am trying to emulate a keystroke programmatically under FreeDOS. > The problem is that I need to make it work for *anything* that uses > the keyboard. So far the attempts I've made (one using INT 16 with > AH=5 to store a keystroke in the keyboard buffer, and one using That sounds r

[Freedos-devel] Emulating Keystrokes

2011-11-18 Thread Tomer Godinger
Hello, I am trying to emulate a keystroke programmatically under FreeDOS. The problem is that I need to make it work for *anything* that uses the keyboard. So far the attempts I've made (one using INT 16 with AH=5 to store a keystroke in the keyboard buffer, and one using outportb) only work fo