1 |
|
/* |
2 |
|
* main.cpp - Startup/shutdown code |
3 |
|
* |
4 |
< |
* Basilisk II (C) 1997-2000 Christian Bauer |
4 |
> |
* Basilisk II (C) 1997-2001 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 |
139 |
|
if (!VideoInit(ROMVersion == ROM_VERSION_64K || ROMVersion == ROM_VERSION_PLUS || ROMVersion == ROM_VERSION_CLASSIC)) |
140 |
|
return false; |
141 |
|
|
142 |
+ |
// Set default video mode |
143 |
+ |
XPRAM[0x56] = 0x42; // 'B' |
144 |
+ |
XPRAM[0x57] = 0x32; // '2' |
145 |
+ |
XPRAM[0x58] = DepthToAppleMode(VideoMonitor.mode.depth); |
146 |
+ |
XPRAM[0x59] = 0; |
147 |
+ |
|
148 |
|
#if EMULATED_68K |
149 |
|
// Init 680x0 emulation (this also activates the memory system which is needed for PatchROM()) |
150 |
|
if (!Init680x0()) |