Schrijver
| Empty Keyboard buffer
|
Maggoo msx professional Berichten: 590 | Geplaatst: 02 September 2003, 00:05   |
Just a stupid question: Is there a way to empty the keyboard buffer (asm call) ? I want to avoid getting all the rubbish entered when I return to DOS1/DOS2 after I exit my pgm.
Sounds simple but I can't find it...
|
|
Guillian msx professional Berichten: 642 | Geplaatst: 02 September 2003, 00:28   |
Have you tried #156 BIOS call? Maybe it'll work.
|
|
GuyveR800 msx guru Berichten: 3048 | Geplaatst: 02 September 2003, 00:45   |
ld hl,(0F3F8h)
ld (0F3FAh),hl
|
|
Maggoo msx professional Berichten: 590 | Geplaatst: 02 September 2003, 20:43   |
Quote:
| ld hl,(0F3F8h)
ld (0F3FAh),hl
|
Totally working !
Thanks to both for the quick answer ! |
|
|
|
|