summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2017-12-01 21:45:13 -0500
committerJoseph Hunkeler <jhunkeler@gmail.com>2017-12-01 21:45:13 -0500
commitbf5b6fef5caaacfc4651da40fc60925e4738269c (patch)
treebd56f0588f0507b8831f6717cbaadb98cbbc1919
parent0e8b96073e9fd52c0079c8c810db5938a31ae810 (diff)
downloadminos-bf5b6fef5caaacfc4651da40fc60925e4738269c.tar.gz
Consolidate constants, add colors
-rw-r--r--constants.asm4
1 files changed, 4 insertions, 0 deletions
diff --git a/constants.asm b/constants.asm
index 56c2496..6bbda5c 100644
--- a/constants.asm
+++ b/constants.asm
@@ -1,8 +1,12 @@
%ifndef _CONSTANTS_ASM
%define _CONSTANTS_ASM
+MAX_ROWS equ 25
+MAX_COLS equ 80
LENGTH_ROW equ 0A0h ; NOTE: length in bytes (80 * 2 = 160)
+LENGTH_COL equ 02h ; NOTE: length in bytes (1 * 2 = 2)
+%include "colors.asm"
%include "ascii.asm" ; ASCII control codes
%include "scancodes.asm" ; Keyboard scancodes