Int 10/AH=04h

Prev Next Ralf Interrups Categories Contents

------

VIDEO - READ LIGHT PEN POSITION (except VGA)

AH = 04h

Return:
AH = light pen trigger flag 00h not down/triggered 01h down/triggered DH,DL = row,column of character light pen is on CH = pixel row (graphics modes 04h-06h) CX = pixel row (graphics modes with >200 rows) BX = pixel column

Desc: Determine the current position and status of the light pen (if present)

Notes: On a CGA, returned column numbers are always multiples of 2 (320- column modes) or 4 (640-column modes). Returned row numbers are only accurate to two lines

Category: Video - Int 10h - V

------

Prev Next Ralf Interrups Categories Contents

Sponsors
Shopping
Forum
Forum
email
EMail
Index
Index
Home
Home

Search the web with Google
Google
Google
Google

------