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.15 by cebix, 2001-06-30T22:23:43Z vs.
Revision 1.16 by cebix, 2001-07-01T00:46:31Z

# Line 57 | Line 57 | struct {
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  
# Line 299 | Line 299 | int16 VideoDriverOpen(uint32 pb, uint32
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;
# Line 505 | Line 505 | int16 VideoDriverControl(uint32 pb, uint
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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines