07209b6f1e
A very brief summary of changes: - 2x emulation speedup!!! - added plugin devices and guis. Now you can compile with many more options, and choose between them at runtime. - added emulation of AMD x86-64, MMX, SSE, SSE2 instructions. - add wxWindows port (a graphical configuration interface and display lib) and SVGAlib port (full screen display for Linux without X11). - improvements in many I/O devices: for example up to 8 hard disks/cdroms, TUN/TAP network interface, 360k floppies. - improved MacOSX/Carbon interface and updated MacOS9port. - GDB remote stub, allows symbolic debugging with Bochs simulation. - support for up to 32gig hard disk images.
27 lines
622 B
Text
27 lines
622 B
Text
$NetBSD: patch-ad,v 1.5 2002/12/25 01:12:38 uebayasi Exp $
|
|
|
|
--- iodev/cdrom.cc.orig Tue Dec 24 12:50:46 2002
|
|
+++ iodev/cdrom.cc
|
|
@@ -662,6 +662,22 @@
|
|
return(true);
|
|
}
|
|
|
|
+ int
|
|
+cdrom_interface::start_cdrom()
|
|
+{
|
|
+ // Spin up the cdrom drive.
|
|
+
|
|
+ if (fd >= 0) {
|
|
+#if defined(__NetBSD__)
|
|
+ if (ioctl (fd, CDIOCSTART) < 0)
|
|
+ BX_DEBUG(( "start_cdrom: start returns error: %s", strerror (errno) ));
|
|
+ return(true);
|
|
+#else
|
|
+ BX_INFO(("start_cdrom: your OS is not supported yet."));
|
|
+ return(false); // OS not supported yet, return false always.
|
|
+#endif
|
|
+ }
|
|
+}
|
|
|
|
void
|
|
cdrom_interface::eject_cdrom()
|