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