#include "mfb.h"
#include "mfbP.h"
#include <dos.h>
Go to the source code of this file.
int MFBGetPixel |
( |
int |
x, |
|
|
int |
y |
|
) |
| |
Definition at line 13 of file mfbgetpx.c.
20 union {
unsigned short o[2];
long l; }
p;
22 int bit_number = (x & 7)^7;
23 int bit_mask = (1 << bit_number);
36 for (plane = 3; plane >= 0; plane--) {
37 outpw(0x3ce,plane << 8 | 4);
38 latch = *rgen & bit_mask;