home *** CD-ROM | disk | FTP | other *** search
- /* «RM120»«PL99999»«TS4,8,12,16,20,24,28,32,36,40,44,48,52,56,60,64,68,72,76» */
- #include <stdio.h>
- #define EXTERN extern
- #include <typedef.h>
-
-
- void GotoXY(x, y)
- int x, y;
- {
- if (GrafModeGlb) {
- XTextGlb = x;
- YTextGlb = y;
- }
- else { /* bios calls to move cursor */
- struct regval reg;
- reg.ax = 0x0200;
- reg.bx = 0;
- reg.dx = 256 * x + y;
- sysint(0x10, ®, ®);
- }
- }
-