21 |
|
#ifndef MACOS_UTIL_H |
22 |
|
#define MACOS_UTIL_H |
23 |
|
|
24 |
+ |
#include "cpu_emulation.h" |
25 |
+ |
|
26 |
|
|
27 |
|
/* |
28 |
|
* Queues |
251 |
|
extern void MountVolume(void *fh); // Mount volume with given file handle (see sys.h) |
252 |
|
extern void FileDiskLayout(loff_t size, uint8 *data, loff_t &start_byte, loff_t &real_size); // Calculate disk image file layout given file size and first 256 data bytes |
253 |
|
|
254 |
< |
// Test if basic MacOS initializations are done |
254 |
> |
// Test if basic MacOS initializations (of the ROM) are done |
255 |
|
static inline bool HasMacStarted(void) |
256 |
|
{ |
257 |
|
return ReadMacInt32(0xcfc) == 'WLSC'; // Mac warm start flag |