From: sparky4 Date: Sun, 13 Mar 2016 04:42:21 +0000 (-0600) Subject: pdir X-Git-Url: http://4ch.mooo.com/gitweb/?a=commitdiff_plain;h=843afc91af7e4ae522962e4da675c9a90c41d238;p=16.git pdir --- diff --git a/makefile b/makefile index 8997cb34..d778ae6c 100755 --- a/makefile +++ b/makefile @@ -85,8 +85,7 @@ GFXLIBOBJS = modex16.$(OBJ) bitmap.$(OBJ) planar.$(OBJ) 16text.$(OBJ) bakapee.$( TESTEXEC = exmmtest.exe test.exe pcxtest.exe pcxtest2.exe test2.exe palettec.exe maptest.exe fmemtest.exe fonttest.exe fontgfx.exe scroll.exe vgmtest.exe inputest.exe palettel.exe planrpcx.exe # tsthimem.exe #testemm.exe testemm0.exe fonttes0.exe miditest.exe sega.exe sountest.exe -EXEC = 16.exe bakapi.exe $(TESTEXEC) -#tesuto.exe +EXEC = 16.exe bakapi.exe $(TESTEXEC) tesuto.exe all: $(EXEC) diff --git a/src/tesuto.c b/src/tesuto.c index 4ad302e9..b05591da 100755 --- a/src/tesuto.c +++ b/src/tesuto.c @@ -1,5 +1,14 @@ #include +/*typedef unsigned char far *VGA_RAM_PTR; +VGA_RAM_PTR vga_graphics_ram = (VGA_RAM_PTR)MK_FP(0xA000,0x0000); +unsigned char vga_stride = 80; // 80 x 4 = 320 for 320-pixel wide modes + +static inline void vga_write_sequencer(unsigned char i,unsigned char c) { + outp(0x3C4,i); + outp(0x3C5,c); +}*/ + void main() { printf("pee\n"); diff --git a/tesuto.exe b/tesuto.exe deleted file mode 100755 index ac60daab..00000000 Binary files a/tesuto.exe and /dev/null differ