openbsd-ports/emulators/bochs/patches/patch-iodev_soundwin_cc
todd 923f7975fe o take over maintainership
o too many changes to mention specifically, but amongst them:
	- better error reporting
	- openbsd boots, freebsd boots
	- new 'term' flavor, I added a textmode interface, the only drawback
	  is that control-c is intercepted, and you must kill -9 it from
	  another tty if it doesn't exit normally
	- new flavors:
		- debugger -> debug (for shortness)
		- i386
		- pci
		- smp
		- net (compiles, does not yet provide networking, if anyone
			wants to help, I'd be ELATED to have this fixed!)
		- no_x11 (made it actually work)
		- term (make sure to use 'log: /dev/null' or something else
		  on the cmdline, otherwise, debugging and the screen will
		  start getting quite confusing!)
	- better error reporting (and no error reporting where it is not
	  necessary; a typicall boot of cdrom28.fs is a screenful of output now)
	- in general, if the hardware reaches an unknown state, fail
	  gracefully instead of calling exit(1) .. are we trying to work or
	  are we trying to .. fail?  I like working myself.
2001-02-02 16:59:05 +00:00

22 lines
709 B
Plaintext

$OpenBSD: patch-iodev_soundwin_cc,v 1.1 2001/02/02 16:59:12 todd Exp $
--- iodev/soundwin.cc.orig Sat Mar 25 21:35:09 2000
+++ iodev/soundwin.cc Tue Oct 17 12:04:02 2000
@@ -58,7 +58,7 @@ bx_sound_windows_c::bx_sound_windows_c(b
DataPointer = (Bit8u*) GlobalLock(DataHandle);
if (DataPointer == NULL)
- bx_panic("GlobalLock returned NULL-pointer");
+ bio->panic("GlobalLock returned NULL-pointer");
#define NEWBUFFER(size) &(DataPointer[offset]); offset += ALIGN(size)
@@ -73,7 +73,7 @@ bx_sound_windows_c::bx_sound_windows_c(b
}
if (offset > size)
- bx_panic("Allocated memory was too small!");
+ bio->panic("Allocated memory was too small!");
#undef size
#undef ALIGN