Better equ namings

pull/7/head
E. Almqvist 4 years ago
parent 6f2e48fd5e
commit 54a25242f6
  1. 4
      src/elib/io.asm
  2. 7
      src/equ/BIOS.asm

@ -13,8 +13,8 @@ print:
; BIOS Printing
mov ah, BIOS_MODE_TELETYPE ; enter tty mode
int BIOS_INT ; interupt and print the char (from line 10)
mov ah, BIOS_TTY_MODE ; enter teletype mode
int BIOS_TTY_INT ; interupt and print the char (from line 10)
; Preperation for next iteration
inc bx ; increment the pointer to get next char

@ -1,5 +1,6 @@
; EQUs (lazy variables) for BIOS stuff
BIOS_INT equ 0x10
BIOS_TTY_INT equ 0x10
BIOS_TTY_MODE equ 0x0e
BIOS_MODE_TELETYPE equ 0x0e
BIOS_MODE_READ equ 0x02
BIOS_READ_INT equ 0x13
BIOS_READ_MODE equ 0x02

Loading…
Cancel
Save