Remove magic numbers

This commit is contained in:
2017-12-04 13:27:04 +01:00
parent b50b32afa9
commit a652bbb05e
2 changed files with 9 additions and 4 deletions

View File

@@ -12,3 +12,8 @@
void vga_init();
void vga_write(char c);
#define VGA_ADDRESS_PORT 0x3D4
#define VGA_DATA_PORT 0x3D5
#define VGA_REGISTER_CURSOR_POS_LOW 0xF
#define VGA_REGISTER_CURSOR_POS_HIGH 0xE