diff --git a/IO/keyboard.sv b/IO/keyboard.sv index 519378c..327f879 100644 --- a/IO/keyboard.sv +++ b/IO/keyboard.sv @@ -8,6 +8,7 @@ case(out) 1 : out = 15'b0000000000000001; break + //TODO: create all keyboard cases default: 0 : out = 15'b0000000000000000; diff --git a/asm/io.asm b/asm/io.asm index 637c245..e5bf961 100644 --- a/asm/io.asm +++ b/asm/io.asm @@ -1,9 +1,13 @@ -segment .text +section .text global main main: -segment .data - dt screen 16384 ; 16-bit screen memory allocation - dt kbd 24576 ; 16-bit keyboard memory allocation \ No newline at end of file +section .data + dt screenMem 16384 ; screen memory address + dt screenLen 8192 ; screen memory length + dt kbdMem 24576 ; keyboard memory address + +section .bss + dt kbdIn ; keyboard current input (16-bit) \ No newline at end of file