1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-11-15 04:58:05 +11:00
collapseos/apps/ed/glue.asm
Virgil Dupras af0b6231ca recipes/sms/romasm: make ed's memory usage fit the SMS
Yup, that's ultimately why I've just made this whole big zasm
refactoring in the previous commits. To allow for this.

But also, zasm is in much better shape now...
2019-07-23 16:13:52 -04:00

26 lines
488 B
NASM

#include "user.h"
; *** Overridable consts ***
; Maximum number of lines allowed in the buffer.
.equ ED_BUF_MAXLINES 0x800
; Size of our scratchpad
.equ ED_BUF_PADMAXLEN 0x1000
; ******
#include "err.h"
.org USER_CODE
jp edMain
#include "lib/util.asm"
#include "lib/parse.asm"
.equ IO_RAMSTART USER_RAMSTART
#include "ed/io.asm"
.equ BUF_RAMSTART IO_RAMEND
#include "ed/buf.asm"
.equ CMD_RAMSTART BUF_RAMEND
#include "ed/cmd.asm"
.equ ED_RAMSTART CMD_RAMEND
#include "ed/main.asm"