Menu

#175 Hangs when pressing capslock

0.61
closed
Qbix
None
5
2012-09-07
2004-03-30
No

Hi, if you try running my ancient Dos-program Burn
(burn.sf.net), then press space twice until you're in
"draw-mode", and then press caps-lock, everything is
locked, and no keys works. It works in Dos, and it is
supposed to put the pen down, for use with the
arrowkeys. I probably used some obscure
assembly-trick for doing this.

... I looked at my old sourcecode and I believe it's these
lines that does it:

xor bx, bx
mov ah,2
int 16h

In other words, I suspect that function 2 of interrupt 16h
doesn't work. :-)

Happy debugging. ;)

Discussion

  • Qbix

    Qbix - 2004-03-31

    Logged In: YES
    user_id=535630

    thank you :)
    Well it's like this.
    We don't handle capslock.
    So it puts nonsense in the keyboard buffer.
    int 16 reads that nonsense :)
    I'll try handling capslock in the near future.
    I got more reports for this.

     
  • Qbix

    Qbix - 2004-04-07

    Logged In: YES
    user_id=535630

    The bug has been fixed.
    Wait for the upcoming new version to see it.

    Or:

    The updated source is available by cvs.

    See the link on top of the screen for information on how to get
    the new sources.

    The DOSBox Team

     

Log in to post a comment.