[FORMAT "WCOFF"]
[INSTRSET "i486p"]
[BITS 32]
[FILE "api039.nas"]

		GLOBAL	_api_getsys

[SECTION .text]

_api_getsys:			; void api_getsys(int *scrnx, int *scrny, int *colbit);
		PUSH	EBX
		MOV		EDX,39
		MOV		EAX,[ESP+16]		; scrnx
		MOV		ECX,[ESP+12]		; scrny
		MOV		EBX,[ESP+8]			; colbit
		INT		0x40
		POP		EBX
		RET
