clippy
Junior Member
Posts: 32
|
Post by clippy on Dec 21, 2007 23:48:24 GMT
Mac is looking for a way to allow two users to use keypresses at the same time. Perhaps some assembly code?
Ted
|
|
|
Post by Mikrondel on Dec 30, 2007 23:14:35 GMT
|
|
clippy
Junior Member
Posts: 32
|
Post by clippy on Dec 31, 2007 14:15:04 GMT
Yes, he resorted to that, but I was thinking there could be an Interrupt routine to eliminate all of the Assembly code strings using Absolute.
Naturally, Mac needs Absolute for Qbasic to work it.
Thanks,
Ted
|
|
|
Post by Mikrondel on Jan 4, 2008 12:26:20 GMT
I've for some reason never taken the time to analyse that assembly code, but I presume it installs a new handler for when a key is pressed on the keyboard.
I can think of no way of doing it that would be as reliable. I'm fairly sure there's no DOS or BIOS interrupt that will provide the same functionality.
If the fact that Ctrl+Break doesn't work is a problem (or something similar), then that is an issue which can be solved with some work.
|
|
clippy
Junior Member
Posts: 32
|
Post by clippy on Jan 7, 2008 18:30:33 GMT
Well, if it can be done with Absolute, then it should also be possible in an Interrupt routine. The big question is how to avoid messing up the keyboard entries if you do not exit it correctly.
Ted
|
|
|
Post by Mikrondel on Jan 8, 2008 2:20:36 GMT
Well, if it can be done with Absolute, then it should also be possible in an Interrupt routine. If you mean do it purely using CALL INTERRUPT, then no, that is impossible. Just because ABSOLUTE can be used to initiate an interrupt, doesn't mean INTERRUPT can be used to replace an ABSOLUTE routine. They are not two different angles on the same thing.
|
|