mirror of
https://github.com/hsoft/collapseos.git
synced 2024-12-24 14:28:06 +11:00
recipes/trs80: add ed
This commit is contained in:
parent
6224ea2fe9
commit
434c8d5c0d
1
recipes/trs80/.gitignore
vendored
1
recipes/trs80/.gitignore
vendored
@ -1,2 +1,3 @@
|
||||
/cfsin/user.h
|
||||
/cfsin/zasm
|
||||
/cfsin/ed
|
||||
|
@ -1,4 +1,4 @@
|
||||
SHELLAPPS = zasm
|
||||
SHELLAPPS = zasm ed
|
||||
APPTARGETS = ${SHELLAPPS:%=cfsin/%}
|
||||
CFSTARGETS = $(APPTARGETS) cfsin/user.h
|
||||
TARGET = os.bin
|
||||
|
@ -9,11 +9,16 @@
|
||||
.org 0x3000
|
||||
jp init
|
||||
|
||||
; The TRS-80 generates a double line feed if we give it both CR and LF.
|
||||
; Has to be defined before the jump table.
|
||||
.equ printcrlf printcr
|
||||
|
||||
; *** Jump Table ***
|
||||
jp strncmp
|
||||
jp upcase
|
||||
jp findchar
|
||||
jp printstr
|
||||
jp printcrlf
|
||||
jp blkSet
|
||||
jp blkSel
|
||||
jp _blkGetB
|
||||
@ -23,6 +28,10 @@
|
||||
jp fsFindFN
|
||||
jp fsOpen
|
||||
jp fsGetB
|
||||
jp fsPutB
|
||||
jp fsSetSize
|
||||
jp stdioPutC
|
||||
jp stdioReadLine
|
||||
|
||||
.inc "err.h"
|
||||
.inc "blkdev.h"
|
||||
@ -53,9 +62,6 @@
|
||||
.equ FS_HANDLE_COUNT 2
|
||||
.inc "fs.asm"
|
||||
|
||||
; The TRS-80 generates a double line feed if we give it both CR and LF.
|
||||
.equ printcrlf printcr
|
||||
|
||||
; *** BASIC ***
|
||||
|
||||
; RAM space used in different routines for short term processing.
|
||||
|
@ -3,6 +3,7 @@
|
||||
.equ upcase @+3
|
||||
.equ findchar @+3
|
||||
.equ printstr @+3
|
||||
.equ printcrlf @+3
|
||||
.equ blkSet @+3
|
||||
.equ blkSel @+3
|
||||
.equ _blkGetB @+3
|
||||
@ -12,3 +13,7 @@
|
||||
.equ fsFindFN @+3
|
||||
.equ fsOpen @+3
|
||||
.equ fsGetB @+3
|
||||
.equ fsPutB @+3
|
||||
.equ fsSetSize @+3
|
||||
.equ stdioPutC @+3
|
||||
.equ stdioReadLine @+3
|
||||
|
Loading…
Reference in New Issue
Block a user