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