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

GetScreen

Function number: 57

Copies the entire screen buffer into an integer array.

Register entry values

AX = EE39
DS = Segment address of integer array
DX = Offset address of integer array

Register exit values

None

Example

MOV     AX,0EE39H       ;Copy screen function
MOV DX,SEG Array ;Get segment address of array
MOV DS,DX ; ..
MOV DX,OFFSET Array ;Get offset address of array
INT 10H ;Call GRAFIX

Comments

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