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