File:  [RetroPC.NET] / np2 / lio / gput1.c
Revision 1.4: download - view: text, annotated - select for diffs
Fri Feb 20 17:32:23 2004 JST (21 years, 8 months ago) by yui
Branches: MAIN
CVS tags: HEAD
fix i286a memory (T.Yui)

#include	"compiler.h"
#include	"cpucore.h"
#include	"lio.h"


typedef struct {
	BYTE	x[2];
	BYTE	y[2];
	BYTE	off[2];
	BYTE	seg[2];
	BYTE	leng[2];
	BYTE	mode;
	BYTE	colsw;
	BYTE	fgcolor;
	BYTE	bgcolor;
} MEMGPUT1;


BYTE lio_gput1(void) {

	MEMGPUT1	dat;

	i286_memstr_read(CPU_DS, CPU_BX, &dat, sizeof(dat));
	return(0);
}


// ----

typedef struct {
	BYTE	x[2];
	BYTE	y[2];
	BYTE	chr[2];
	BYTE	mode;
	BYTE	colorsw;
	BYTE	fg;
	BYTE	bg;
} LIOGPUT2;


REG8 lio_gput2(void) {

	LIOGPUT2	dat;

	i286_memstr_read(CPU_DS, CPU_BX, &dat, sizeof(dat));
	



	return(0);
}


RetroPC.NET-CVS <cvs@retropc.net>