Previous: 4.37.2.109. SetRGBPalette procedure To the Table of Contents Next: 4.37.2.111. SetSVGAMode procedure
4.37.2.109. SetRGBPalette procedure Table of Contents 4.37.2.111. SetSVGAMode procedure

- 4.37.2.110. -
Table of Contents
4. Standard Units
4.37. Graph - Graph unit
4.37.2. Graph Unit Procedures and Functions
4.37.2.110. SetScreenStart procedure


4.37.2.110. SetScreenStart procedure

Targets: MS-DOS only


Graph Unit

Sets the CRTC display starting address to the specified value.

Declaration:
procedure SetScreenStart(X,Y: DWORD; WaitForRetrace: Boolean);
Remarks:
You can use this procedure to implement hardware scrolling. You can also use this function to perform double buffering. Keep in mind, that your video card may not support extended CRTC addressing!

If the WaitForRetrace flag is False, the routine will not wait for a vertical retrace before programming the CRTC starting address. Otherwise the routine will sync to a vertical retrace.

Under VBE 1.2 it is not guaranteed what the behavior will be (some wait and some don't).


Previous: 4.37.2.109. SetRGBPalette procedure To the Table of Contents Next: 4.37.2.111. SetSVGAMode procedure
4.37.2.109. SetRGBPalette procedure Table of Contents 4.37.2.111. SetSVGAMode procedure

- 4.37.2.110. -