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

GetAspect

Function number: 05

Returns the current horizontal and vertical portions of the aspect ratio.

Register entry values

AX = EE05

Register exit values

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

Example

MOV     AX,0EE05H       ;Get aspect ratio function
INT 10H ;Call GRAFIX
MOV [HAspect],BX ;Store horizontal portion of aspect ration
MOV [VAspect],CX ;Store vertical portion of aspect ration

Comments

None