/* * mouse_goto — переставить курсор мыши в (x, y) (RST 30h, fn $04). */ #include void mouse_goto(int x, int y) __naked { (void)x; (void)y; __asm ;; HL = x, DE = y. push ix ld c, #0x04 ; GOTO MOUSE CURSOR rst #0x30 ; MOUSE pop ix ret __endasm; }