X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Ftesuto.h;h=d1f8bbbe3ee54e1ec2fead4424e8a66ee3f89bf3;hb=1f8c1aa39807b8a299929f6f4ea8ec55b6490db5;hp=ea627b6d7f6134cf94e5355f2e175c1205a8f31f;hpb=2c1fce4c0aa30b61960d00e1f95c01214106fe56;p=16.git diff --git a/src/tesuto.h b/src/tesuto.h index ea627b6d..d1f8bbbe 100755 --- a/src/tesuto.h +++ b/src/tesuto.h @@ -1,15 +1,20 @@ -#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__ +#define __TESUTO_H__ + +#include "src/lib/16_head.h" +#include "src/lib/modex16.h" +#include "src/lib/16_in.h" +#include +#include +#include +#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); +}*/ +#endif