collapseos/tools/tests/zasm/test6.asm

21 lines
454 B
NASM
Raw Normal View History

2019-05-17 13:23:16 -04:00
.equ RAMSTART 0x4000
.equ ACIA_CTL 0x80 ; Control and status. RS off.
.equ ACIA_IO 0x81 ; Transmit. RS on.
2019-05-16 21:15:00 -04:00
#include "core.asm"
2019-05-17 13:23:16 -04:00
#include "parse.asm"
.equ ACIA_RAMSTART RAMSTART
#include "acia.asm"
2019-05-17 14:07:07 -04:00
.equ BLOCKDEV_RAMSTART ACIA_RAMEND
.equ BLOCKDEV_COUNT 1
#include "blockdev.asm"
2019-05-17 15:43:44 -04:00
.dw aciaGetC, aciaPutC, 0, 0
2019-05-17 19:36:32 -04:00
.equ STDIO_RAMSTART BLOCKDEV_RAMEND
2019-05-17 15:43:44 -04:00
#include "stdio.asm"
2019-05-17 19:36:32 -04:00
.equ SHELL_RAMSTART STDIO_RAMEND
.equ SHELL_EXTRA_CMD_COUNT 0
#include "shell.asm"