Bypass navigation menu
RGB Classic Games
Keeping the classics alive
Currently hosting 566 great games!
Return to Chapter 3

SetView

Function number: 54

Sets the size of the current screen viewport.

Register entry values

AX = EE36
BX = Minimum X
CX = Minimum Y
SI = Maximum X
DI = Maximum Y

Register exit values

None

Example

MOV     AX,0EE36H       ;Set screen viewport function
MOV BX,10 ;Minimum X
MOV CX,10 ;Minimum Y
MOV SI,309 ;Maximum X
MOV DI,189 ;Maximum Y
INT 10H ;Call GRAFIX

Comments

See the 'SetView' function in chapter 2 for more information.