--- BasiliskII/src/macos_util.cpp 1999/10/03 14:16:25 1.1 +++ BasiliskII/src/macos_util.cpp 2000/07/14 21:42:05 1.5 @@ -1,7 +1,7 @@ /* * macos_util.cpp - MacOS definitions/utility functions * - * Basilisk II (C) 1997-1999 Christian Bauer + * Basilisk II (C) 1997-2000 Christian Bauer * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -34,7 +34,7 @@ * Enqueue QElem to list */ -void Enqueue(uint32 elem, uint32 list) +void EnqueueMac(uint32 elem, uint32 list) { WriteMacInt32(elem + qLink, 0); if (!ReadMacInt32(list + qTail)) { @@ -56,7 +56,7 @@ static bool is_drive_number_free(int num uint32 e = ReadMacInt32(0x308 + qHead); while (e) { uint32 d = e - dsQLink; - if (ReadMacInt16(d + dsQDrive) == num) + if ((int)ReadMacInt16(d + dsQDrive) == num) return false; e = ReadMacInt32(e + qLink); } @@ -85,16 +85,6 @@ void MountVolume(void *fh) } -/* - * Test if basic MacOS initializations (of the ROM) are done - */ - -bool HasMacStarted(void) -{ - return ReadMacInt32(0xcfc) == 'WLSC'; // Mac warm start flag -} - - /* * Calculate disk image file layout given file size and first 256 data bytes */