#include "mfb.h"
#include "mfbP.h"
#include <dos.h>
Go to the source code of this file.
void dp_point |
( |
int * |
x, |
|
|
int * |
y, |
|
|
int * |
k, |
|
|
int * |
b |
|
) |
| |
Definition at line 152 of file dpinterf.c.
179 if (xx == xlst && yy == ylst)
void MFBDrawCursor(int x, int y)
void MFBEraseCursor(int x, int y)
void dp_status(int *x, int *y, int *b)
void dp_start |
( |
int |
irq, |
|
|
int |
addr |
|
) |
| |
Definition at line 28 of file dpinterf.c.
37 fprintf(stderr,
"Error: \"pointer\" TSR not loaded.\n");
38 fprintf(stderr,
"Hit any key to exit.\n");
49 r.x.bx = (irq << 8) | get_hwvec(irq);
51 r.x.bx = (irq << 8) | irq + 8;
void dp_status |
( |
int * |
x, |
|
|
int * |
y, |
|
|
int * |
b |
|
) |
| |
static int pointer_on |
( |
| ) |
|
|
static |
Definition at line 115 of file dpinterf.c.
122 #define RP_OFF(rp) ((rp) & 0xFFFF) 123 #define RP_SEG(rp) ((rp) >> 16) 127 blk_mb(&r,0x34,0,0x62*4,4);
128 blk_mb(c,0x34,(RP_SEG(r) << 4) + RP_OFF(r) +
NAME_OFF,8);
133 c = (
char*)(0xe0000000 + 0x62);
134 c = (
char*)(16*(*(
short*)(c+2)) + *(
short*)c +
NAME_OFF);
136 return (I_cant_convert_real_address);
140 if (c[0] !=
'p')
return (0);
141 if (c[1] !=
'o')
return (0);
142 if (c[2] !=
'i')
return (0);
143 if (c[3] !=
'n')
return (0);
144 if (c[4] !=
't')
return (0);
145 if (c[5] !=
'e')
return (0);
146 if (c[6] !=
'r')
return (0);