2002-06-21 14:16:32 +00:00
|
|
|
;
|
|
|
|
; Ullrich von Bassewitz, 21.06.2002
|
|
|
|
;
|
|
|
|
; unsigned char __fastcall__ tgi_getpixel (int x, int y);
|
|
|
|
; /* Get the color value of a pixel */
|
|
|
|
|
|
|
|
|
|
|
|
.include "tgi-kernel.inc"
|
|
|
|
|
|
|
|
.export _tgi_getpixel
|
|
|
|
|
|
|
|
_tgi_getpixel:
|
2002-06-22 21:40:24 +00:00
|
|
|
jsr tgi_getset ; Pop args, check range
|
|
|
|
bcs @L9
|
2002-06-21 14:16:32 +00:00
|
|
|
jmp tgi_getpixel ; Call the driver
|
2002-06-22 21:40:24 +00:00
|
|
|
@L9: rts
|
2002-06-21 14:16:32 +00:00
|
|
|
|
|
|
|
|