diff --git a/kernel_headers/gnu-as/zos_keyboard.asm b/kernel_headers/gnu-as/zos_keyboard.asm index 2d47ed0..e3ccc39 100644 --- a/kernel_headers/gnu-as/zos_keyboard.asm +++ b/kernel_headers/gnu-as/zos_keyboard.asm @@ -102,10 +102,10 @@ .equ KB_KEY_BACKQUOTE, '`' .equ KB_KEY_MINUS, '-' .equ KB_KEY_EQUAL, '=' - .equ KB_KEY_BACKSPACE, '\b' + .equ KB_KEY_BACKSPACE, 0x08 ; \b .equ KB_KEY_SPACE, ' ' - .equ KB_KEY_ENTER, '\n' - .equ KB_KEY_TAB, '\t' + .equ KB_KEY_ENTER, 0x0a ; \n + .equ KB_KEY_TAB, 0x09 ; \t .equ KB_KEY_COMMA, ',' .equ KB_KEY_PERIOD, '.' .equ KB_KEY_SLASH, '/' diff --git a/kernel_headers/gnu-as/zos_video.asm b/kernel_headers/gnu-as/zos_video.asm index ac252f7..3b4bab3 100644 --- a/kernel_headers/gnu-as/zos_video.asm +++ b/kernel_headers/gnu-as/zos_video.asm @@ -12,13 +12,13 @@ ; Get the video driver capabilities, such as the supported modes, the supported ; colors, scrolling, etc... ; TODO: Define the attributes. - .equ CMD_GET_ATTR, 0 ; See attribute structure + .equ CMD_GET_ATTR, 0 ; See attribute structure ; Get the area bounds of the current display mode ; Parameter: ; DE - Address of area_t structure (defined below) ; It will be filled by the driver. - .equ CMD_GET_AREA, 1 + .equ CMD_GET_AREA, 1 ; Get the current position (X,Y) of the cursor. They represent an index, ; so they start at 0. @@ -28,7 +28,7 @@ .equ CMD_GET_CURSOR_XY, 2 ; Set the (non-constant) attributes. - .equ CMD_SET_ATTR, 3 + .equ CMD_SET_ATTR, 3 ; Set the (X,Y) position of the cursor. If the given coordinate is out of bounds, ; the driver can either return an error or accept it and adjust it to the end @@ -46,16 +46,16 @@ ; Parameters: ; D - Background color ; E - Foreground color - .equ CMD_SET_COLORS, 5 + .equ CMD_SET_COLORS, 5 ; Clear the screen and reposition the cursor at the top left. - .equ CMD_CLEAR_SCREEN, 6 + .equ CMD_CLEAR_SCREEN, 6 ; Resets the screen to the same state as on boot up .equ CMD_RESET_SCREEN, 7 ; Number of commands above - .equ CMD_COUNT 8 + .equ CMD_COUNT, 8 ; List of colors to pass to CMD_SET_COLORS command.