1 |
|
/* |
2 |
|
* macos_util.cpp - MacOS definitions/utility functions |
3 |
|
* |
4 |
< |
* Basilisk II (C) 1997-1999 Christian Bauer |
4 |
> |
* Basilisk II (C) 1997-2000 Christian Bauer |
5 |
|
* |
6 |
|
* This program is free software; you can redistribute it and/or modify |
7 |
|
* it under the terms of the GNU General Public License as published by |
85 |
|
} |
86 |
|
|
87 |
|
|
88 |
– |
/* |
89 |
– |
* Test if basic MacOS initializations (of the ROM) are done |
90 |
– |
*/ |
91 |
– |
|
92 |
– |
bool HasMacStarted(void) |
93 |
– |
{ |
94 |
– |
return ReadMacInt32(0xcfc) == 'WLSC'; // Mac warm start flag |
95 |
– |
} |
96 |
– |
|
97 |
– |
|
88 |
|
/* |
89 |
|
* Calculate disk image file layout given file size and first 256 data bytes |
90 |
|
*/ |