View Single Post
javispedro's Avatar
Posts: 2,355 | Thanked: 5,249 times | Joined on Jan 2009 @ Barcelona
#519
Originally Posted by elschemm View Post
Would you be willing to post a link to your version of the source code for dosbox? Also to whatever you are using to setup the nokia.sys file? I'm curious how you handle the keyboard issues in there.
Explanation:
I rewrote the DOSBox "keyb" based on the FreeDOS keyb documentation and my own understanding of the specification, because the original DOSBox keyb was missing some features, like User Modifiers support.

Then I used the KC compiler from FreeDOS (recompiled in Linux instead of DOS, easy since it is standard C) to build the nokia.sys from the following source Key language files:
ptes.key (Portuguese-Spanish layout)
us.key (US English layout)

The FN key is hardcoded in dosbox to the backquote key, and some other mappings I don't remember right now for the Chr and the Menu key.

You can get the pristine DOSBox source & patches in the Debian source package, available at http://repository.maemo.org/extras-d...urce/d/dosbox/ (if you don't have debian or dpkg-source contact me and I'll upload the patches somewhere).

Initially I wanted to push the new keyb upstream but noticed that many just let their "patches" float around in the dosbox world (specially those whose use does not seem clear) so be it.

BTW, I am waiting for permission to upload to the DOSBox garage project svn repository (asked the current maintainer a week ago: must be on holiday ), since If I create yet another repository on my website DreamHost is going to kill me

Lately I've been reading the DOSemu source code (which I personally prefer but unfortunately it's totally unportable), and seems to have solved the input problem in a totally different & maybe interesting way.
 

The Following 4 Users Say Thank You to javispedro For This Useful Post: