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.1 by cebix, 1999-10-03T14:16:25Z vs.
Revision 1.2 by cebix, 1999-10-19T19:28:12Z

# Line 54 | Line 54 | struct {
54   *  Driver Open() routine
55   */
56  
57 < int16 VideoOpen(uint32 pb, uint32 dce)
57 > int16 VideoDriverOpen(uint32 pb, uint32 dce)
58   {
59 <        D(bug("VideoOpen\n"));
59 >        D(bug("VideoDriverOpen\n"));
60  
61          // Init local variables
62          VidLocal.desc = &VideoMonitor;
# Line 80 | Line 80 | int16 VideoOpen(uint32 pb, uint32 dce)
80   *  Driver Control() routine
81   */
82  
83 < int16 VideoControl(uint32 pb, uint32 dce)
83 > int16 VideoDriverControl(uint32 pb, uint32 dce)
84   {
85          uint16 code = ReadMacInt16(pb + csCode);
86          uint32 param = ReadMacInt32(pb + csParam);
87 <        D(bug("VideoControl %d\n", code));
87 >        D(bug("VideoDriverControl %d\n", code));
88          switch (code) {
89  
90                  case cscSetMode:                // Set color depth
# Line 183 | Line 183 | int16 VideoControl(uint32 pb, uint32 dce
183                          return noErr;
184  
185                  default:
186 <                        printf("WARNING: Unknown VideoControl(%d)\n", code);
186 >                        printf("WARNING: Unknown VideoDriverControl(%d)\n", code);
187                          return controlErr;
188          }
189   }
# Line 193 | Line 193 | int16 VideoControl(uint32 pb, uint32 dce
193   *  Driver Status() routine
194   */
195  
196 < int16 VideoStatus(uint32 pb, uint32 dce)
196 > int16 VideoDriverStatus(uint32 pb, uint32 dce)
197   {
198          uint16 code = ReadMacInt16(pb + csCode);
199          uint32 param = ReadMacInt32(pb + csParam);
200 <        D(bug("VideoStatus %d\n", code));
200 >        D(bug("VideoDriverStatus %d\n", code));
201          switch (code) {
202  
203                  case cscGetPageCnt:                     // Get number of pages
# Line 255 | Line 255 | int16 VideoStatus(uint32 pb, uint32 dce)
255                          return noErr;
256  
257                  default:
258 <                        printf("WARNING: Unknown VideoStatus(%d)\n", code);
258 >                        printf("WARNING: Unknown VideoDriverStatus(%d)\n", code);
259                          return statusErr;
260          }
261   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines