Added port support, and removed things from BASIC_DEVELOPMENT it does not yet support

This commit is contained in:
deadvey
2026-03-04 23:09:29 +00:00
parent beca477ff9
commit 43d0a020f7
6 changed files with 33 additions and 84 deletions

View File

@@ -1,7 +1,20 @@
; IN:
; DX = port address
; AL = byte
port_byte_out:
pusha
out dx,al
popa
ret
; -----------------------------------------
; IN:
; DX = port address
; OUT:
; AL = byte from port
port_byte_in:
in al, dx
ret
port_serial_enable:
ret
port_send_via_serial: