summaryrefslogtreecommitdiff
path: root/emulators/bochs/patches/patch-af
blob: 7ed841ccf97cefb7100857dc205a0c7383808154 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-af,v 1.4 2002/12/25 01:12:38 uebayasi Exp $

--- iodev/harddrv.cc.orig	Sun Dec 15 06:29:42 2002
+++ iodev/harddrv.cc
@@ -1323,8 +1323,8 @@
 					  BX_ERROR(("FIXME: Stop disc not implemented"));
 					  atapi_cmd_nop(channel);
 					  raise_interrupt(channel);
-				    } else if (!LoEj && Start) { // start the disc and read the TOC
-					  // BX_PANIC(("Start disc not implemented"));
+				    } else if (!LoEj && Start) { // start (spin up) the disc
+					  BX_SELECTED_DRIVE(channel).cdrom.cd->start_cdrom();
 					  BX_ERROR(("FIXME: ATAPI start disc not reading TOC"));
 					  atapi_cmd_nop(channel);
 					  raise_interrupt(channel);