ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/main.cpp
(Generate patch)

Comparing BasiliskII/src/main.cpp (file contents):
Revision 1.12 by cebix, 2002-03-19T14:25:50Z vs.
Revision 1.14 by gbeauche, 2002-11-05T10:33:06Z

# Line 45 | Line 45
45   #if ENABLE_MON
46   #include "mon.h"
47  
48 < static uint32 mon_read_byte_b2(uint32 adr)
48 > static uint32 mon_read_byte_b2(uintptr adr)
49   {
50          return ReadMacInt8(adr);
51   }
52  
53 < static void mon_write_byte_b2(uint32 adr, uint32 b)
53 > static void mon_write_byte_b2(uintptr adr, uint32 b)
54   {
55          WriteMacInt8(adr, b);
56   }
# Line 176 | Line 176 | bool InitAll(void)
176          // Set default video mode in XPRAM
177          XPRAM[0x56] = 0x42;     // 'B'
178          XPRAM[0x57] = 0x32;     // '2'
179 <        XPRAM[0x58] = DepthToAppleMode(VideoMonitor.mode.depth);
179 >        const monitor_desc &main_monitor = *VideoMonitors[0];
180 >        XPRAM[0x58] = main_monitor.depth_to_apple_mode(main_monitor.get_current_mode().depth);
181          XPRAM[0x59] = 0;
182  
183   #if EMULATED_68K

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines