|
From: pcdos2k <pc...@ya...> - 2008-11-19 14:23:12
|
here is an interesting dos utility suitable for embedded dos controllers. dosjoy2k.com is a parallel port interface driver that takes input from the lpt and coverts them to keystrokes. unfortunately the source code is not available. i'll try to talk to the author if he can donate it to freedos. for the inputs, one has to build a DIY switchboard/gamepad/controller using the lpt pinouts in a matrix (5*12=60 switches). this is easier than a keyboard hack and is not dependent on commercial pc hardware (which are no longer supported in dos). at the moment, it is used as a game controller but its role can be expanded (robotics, automation) if it can output key scancodes (or combinations of) rather than plain keystrokes. it could even trigger something in the pci registers, i don't know, i'm not a programmer. being a tsr makes it usable for existing dos apps. i hope the next version will use an editable textfile, i think it's more manageable that way. from what i understand, it has a bug where the pc cannot "soft off" when dosjoy2k is loaded but it has not happened to my pc. also, lpt out is not utilized. maybe for a few less inputs, the lpt out can be used for lcd display or drive a relay. finally, i did not see anywhere in the discussion thread about lpt2, lpt3 so i'm assuming it is hardcoded to lpt1. i hope the author will keep on updating this software. (forum is in spanish) www.marcianitos.org/foro/showthread.php?t=3776 dosjoy2k unofficial package, if forum requires login www.megaupload.com/kr/?d=W2724NDL parallel port interface links: www.trimoor.com/lpt_switch/index.htm www.burg-halle.de/~schwenke/parport.html www.doc.ic.ac.uk/~ih/doc/par/ |