1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-12-27 21:38:06 +11:00
collapseos/tools/tests/zasm/test6.asm

22 lines
471 B
NASM
Raw Normal View History

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