57 |
|
uint32 current_id; |
58 |
|
uint16 preferred_mode; // Preferred depth/resolution |
59 |
|
uint32 preferred_id; |
60 |
< |
uint32 sp; // Mac address of Slot Manager parameter block |
60 |
> |
uint32 slot_param; // Mac address of Slot Manager parameter block |
61 |
|
} VidLocal; |
62 |
|
|
63 |
|
|
299 |
|
Execute68kTrap(0xa71e, &r); // NewPtrSysClear() |
300 |
|
if (r.a[0] == 0) |
301 |
|
return memFullErr; |
302 |
< |
VidLocal.sp = r.a[0]; |
303 |
< |
D(bug("SPBlock at %08x\n", VidLocal.sp)); |
302 |
> |
VidLocal.slot_param = r.a[0]; |
303 |
> |
D(bug("SPBlock at %08x\n", VidLocal.slot_param)); |
304 |
|
|
305 |
|
// Find and set default gamma table |
306 |
|
VidLocal.gamma_table = 0; |
505 |
|
WriteMacInt32(param + csBaseAddr, frame_base); |
506 |
|
|
507 |
|
M68kRegisters r; |
508 |
< |
uint32 sp = VidLocal.sp; |
508 |
> |
uint32 sp = VidLocal.slot_param; |
509 |
|
r.a[0] = sp; |
510 |
|
|
511 |
|
// Find functional sResource for this display |