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: |