1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-11-06 10:18:05 +11:00
collapseos/tools/tests/zasm/test6.asm
2019-05-17 15:43:44 -04:00

17 lines
368 B
NASM

.equ RAMSTART 0x4000
.equ ACIA_CTL 0x80 ; Control and status. RS off.
.equ ACIA_IO 0x81 ; Transmit. RS on.
#include "core.asm"
#include "parse.asm"
.equ ACIA_RAMSTART RAMSTART
#include "acia.asm"
.equ BLOCKDEV_RAMSTART ACIA_RAMEND
.equ BLOCKDEV_COUNT 1
#include "blockdev.asm"
.dw aciaGetC, aciaPutC, 0, 0
.equ STDIO_RAMSTART BLOCKDEV_RAMEND
#include "stdio.asm"