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

Comparing SheepShaver/src/video.cpp (file contents):
Revision 1.6 by gbeauche, 2004-04-10T23:15:20Z vs.
Revision 1.8 by gbeauche, 2004-05-10T16:42:35Z

# Line 448 | Line 448 | static int16 VideoControl(uint32 pb, Vid
448                          MacCursor[3] = ReadMacInt8(0x887);
449  
450                          // Set new cursor image
451 <                        if (display_type == DIS_SCREEN)
451 >                        if (!video_can_change_cursor())
452                                  return controlErr;
453                          if (changed)
454                                  video_set_cursor();
# Line 690 | Line 690 | static int16 VideoStatus(uint32 pb, VidL
690                                          WriteMacInt32(param + csVerticalLines, 768);
691                                          WriteMacInt32(param + csRefreshRate, 75<<16);
692                                          break;
693 +                                case APPLE_1152x768:
694 +                                        WriteMacInt32(param + csHorizontalPixels, 1152);
695 +                                        WriteMacInt32(param + csVerticalLines, 768);
696 +                                        WriteMacInt32(param + csRefreshRate, 75<<16);
697 +                                        break;
698                                  case APPLE_1152x900:
699                                          WriteMacInt32(param + csHorizontalPixels, 1152);
700                                          WriteMacInt32(param + csVerticalLines, 900);
# Line 808 | Line 813 | static int16 VideoStatus(uint32 pb, VidL
813                                                  case APPLE_1024x768:
814                                                          timing = timingVESA_1024x768_75hz;
815                                                          break;
816 +                                                case APPLE_1152x768:
817 +                                                        timing = timingApple_1152x870_75hz; // FIXME
818 +                                                        break;
819                                                  case APPLE_1152x900:
820                                                          timing = timingApple_1152x870_75hz;
821                                                          break;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines