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

Comparing BasiliskII/src/video.cpp (file contents):
Revision 1.3 by cebix, 2000-04-10T18:52:32Z vs.
Revision 1.5 by jlachmann, 2000-08-20T14:08:40Z

# Line 251 | Line 251 | int16 VideoDriverStatus(uint32 pb, uint3
251  
252                  case cscGetModeBaseAddress:     // Get frame buffer base address
253                          D(bug(" GetModeBaseAddress\n"));
254 <                        WriteMacInt32(param + csBaseAddr, VidLocal.desc->mac_frame_base);
254 >                        WriteMacInt32(param + csBaseAddr, VidLocal.desc->mac_frame_base);       // Base address of video RAM for the current DisplayModeID and relative bit depth
255 >                        return noErr;
256 >
257 >                case cscGetMode:                // REQUIRED for MacsBug
258 >                        D(bug(" GetMode\n"));
259 >                        WriteMacInt16(param + csPageMode, 0x80);
260 >                        WriteMacInt32(param + csPageData, 0x80);        // Unused
261 >                        WriteMacInt16(param + csPagePage, 0);   // Current display page
262 >                        WriteMacInt32(param + csPageBaseAddr, VidLocal.desc->mac_frame_base);
263                          return noErr;
264  
265                  default:

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines