804bb24b26
new flavors: no_mmx - do not build with mmx support no_comp - do not build with compressed hard drive support Also new in this version is the vga font is compiled into the binary, no more 'xset fp+ ..' or editing XF86Config to run bochs!
25 lines
660 B
Plaintext
25 lines
660 B
Plaintext
$OpenBSD: patch-gui_term_cc,v 1.4 2004/01/22 14:43:01 todd Exp $
|
|
--- gui/term.cc.orig 2003-08-18 03:40:38.000000000 +0400
|
|
+++ gui/term.cc 2004-01-13 22:39:33.000000000 +0300
|
|
@@ -134,7 +134,8 @@ bx_term_gui_c::get_sighandler_mask ()
|
|
#ifdef SIGTSTP
|
|
| (1<<SIGTSTP)
|
|
#endif
|
|
- | (1<<SIGTERM);
|
|
+ | (1<<SIGTERM)
|
|
+ | (1<<SIGUSR1);
|
|
}
|
|
|
|
void
|
|
@@ -154,6 +155,10 @@ bx_term_gui_c::sighandler(int signo)
|
|
do_scan(BX_KEY_Z,0,1,0);
|
|
break;
|
|
#endif
|
|
+ case SIGUSR1:
|
|
+ LOG_THIS floppyA_status = !LOG_THIS floppyA_status;
|
|
+ DEV_floppy_set_media_status(0, LOG_THIS floppyA_status);
|
|
+ break;
|
|
default:
|
|
BX_INFO(("sig %d caught",signo));
|
|
break;
|