]> 4ch.mooo.com Git - 16.git/blob - src/tesuto.h
66b87fc8b2bcdf9b31fbbd88ceaa68c1340ab790
[16.git] / src / tesuto.h
1 #ifndef __TESUTO_H__
2 #define __TESUTO_H__
3
4 #include "src/lib/16_head.h"
5 #include "src/lib/doslib/hw/vga/vga.h"
6 #include "src/lib/doslib/hw/dos/dos.h"
7 #include "src/lib/doslib/hw/cpu/cpu.h"
8
9 typedef unsigned char far *VGA_RAM_PTR;
10 VGA_RAM_PTR vga_graphics_ram = (VGA_RAM_PTR)MK_FP(0xA000,0x0000);
11 unsigned char vga_stride = 80; // 80 x 4 = 320 for 320-pixel wide modes
12
13 /*static inline void vga_write_sequencer(unsigned char i,unsigned char c) {
14     outp(0x3C4,i);
15     outp(0x3C5,c);
16 }*/
17 #endif