*/
#include "graphics.h"
#include "bios.h"
#include "conio.h"
#include "stdlib.h"
#include "dos.h"#define UP 0x4800
#define DOWN 0x5000
#define LEFT 0x4600
#define RIGHT 0x4d00
#define ESC 0x0016#define VGA256 0x13
#define TEXT 0x03int x,y,l,sxzy=0,zx=0,xx=5,yy=167;
int x1=5,y1=3,x3=0,y3=0,x4=0,y4=0;
int youlife=50,mylife=30;
int board[100][170];unsigned char far *video_buff=(char far *)0xA0000000L;void setvideomode(int mode)
{ union REGS inregs,outregs;
inregs.h...[ 查看全文 ]