2015-09-17 21:48:47 -07:00
|
|
|
|
2015-09-17 22:22:30 -07:00
|
|
|
extern int write_to_coord(int x, int y, int x86_specifier);
|
2015-09-17 21:48:47 -07:00
|
|
|
|
|
|
|
|
int get_vram_offset() {
|
|
|
|
|
return 0xb8000;
|
|
|
|
|
}
|
2015-09-17 21:57:10 -07:00
|
|
|
|
|
|
|
|
void c_entry() {
|
2015-09-18 02:22:39 -07:00
|
|
|
/*
|
2015-09-17 21:57:10 -07:00
|
|
|
int space = 0x26 | (0xf0 << 8); //ascii ampersand white on black
|
2015-09-17 22:22:30 -07:00
|
|
|
write_to_coord(22,70, space);
|
2015-09-18 02:22:39 -07:00
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
for (int i = 0; i < 26; i++) {
|
|
|
|
|
int space = 'a' + i | (0xf0 << 8);
|
|
|
|
|
write_to_coord(12, i, space);
|
|
|
|
|
}
|
|
|
|
|
|
2015-09-17 21:57:10 -07:00
|
|
|
}
|