#229 Ctrl-Break bios support patch

open
nobody
None
5
2014-08-25
2010-05-11
No

Patch makes the dosbox bios recognize the proper scancode sequence for Ctrl-Break and handle it the way real BIOSes handle it: by clearing the keyboard buffer, calling int 1Bh and adding a 0 word to the kbd buffer. Also requires this patch in order to work:

https://sourceforge.net/tracker/?func=detail&aid=2998931&group_id=52551&atid=467234

These 2 patches should make Ctrl-Break work inside a variety of DOS IDEs. I've tested it successfully with Turbo Pascal 7.0, 5.5, 3.02, 1.00 and Turbo C 2.01.

Discussion

  • Nikolay Nikolov

    Nikolay Nikolov - 2010-05-24

    updated patch to also set the ctrl-break flag at 40h:71h and added non-enhanced keyboard support for pause and ctrl-break (Pause is Ctrl-NumLock on non-enhanced keyboards; Break is Ctrl-ScrollLock)

     
  • Nikolay Nikolov

    Nikolay Nikolov - 2010-06-13

    another update (dosbox-bios-ctrlbreak-v3.patch): replaced CALLBACK_RunRealInt(0x1B) with a proper return callback, that calls int 1b

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks