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

SetAspect

Function number: 04

Sets the vertical and horizontal elements of the aspect ratio used to draw circles.

Register entry values

AX = EE04
BX = Horizontal portion of aspect ratio
CX = Vertical portion of aspect ratio

Register exit values

None

Example

MOV     AX,0EE04H       ;Set aspect ratio function
MOV BX,12 ;Horizontal portion of aspect ratio
MOV CX,5 ;Vertical portion of aspect ratio
INT 10H ;Call GRAFIX

Comments

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