]> 4ch.mooo.com Git - 16.git/blobdiff - src/tesuto.h
having the palette in the game code may help. also i added wolf3d's palette for exama...
[16.git] / src / tesuto.h
index ea627b6d7f6134cf94e5355f2e175c1205a8f31f..29a09d1770f096b3ea61f062bfdc5fa2b1f9d6a1 100755 (executable)
@@ -1,15 +1,23 @@
-#ifndef __TESUTO_H__
-#define __TESUTO_H__
-
-#include "src/lib/16_head.h"
-#include "src/lib/doslib/hw/vga/vga.h"
-
-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);
-}
-#endif
+#ifndef __TESUTO_H__\r
+#define __TESUTO_H__\r
+\r
+#include "src/lib/testpatt.h"\r
+#include "src/lib/16_head.h"\r
+#include "src/lib/16_vl.h"\r
+#include "src/lib/16_in.h"\r
+#include "src/lib/scroll16.h"\r
+#include "src/lib/16_spri.h"\r
+#include <hw/cpu/cpu.h>\r
+#include <hw/dos/dos.h>\r
+#include <hw/vga/vga.h>\r
+#include <hw/vga/vrl.h>\r
+\r
+typedef unsigned char far *VGA_RAM_PTR;\r
+//VGA_RAM_PTR vga_graphics_ram = (VGA_RAM_PTR)MK_FP(0xA000,0x0000);\r
+//unsigned char vga_stride = 80; // 80 x 4 = 320 for 320-pixel wide modes\r
+\r
+/*static inline void vga_write_sequencer(unsigned char i,unsigned char c) {\r
+    outp(0x3C4,i);\r
+    outp(0x3C5,c);\r
+}*/\r
+#endif\r