2019-07-13 09:57:37 -04:00
|
|
|
#include "user.h"
|
2019-07-23 16:13:52 -04:00
|
|
|
|
|
|
|
; *** Overridable consts ***
|
|
|
|
; Maximum number of lines allowed in the buffer.
|
|
|
|
.equ ED_BUF_MAXLINES 0x800
|
|
|
|
; Size of our scratchpad
|
|
|
|
.equ ED_BUF_PADMAXLEN 0x1000
|
|
|
|
|
|
|
|
; ******
|
|
|
|
|
2019-07-13 11:29:06 -04:00
|
|
|
#include "err.h"
|
2019-07-13 09:57:37 -04:00
|
|
|
.org USER_CODE
|
|
|
|
|
|
|
|
jp edMain
|
|
|
|
|
2019-07-14 17:29:00 -04:00
|
|
|
#include "lib/util.asm"
|
2019-07-13 11:53:30 -04:00
|
|
|
#include "lib/parse.asm"
|
2019-07-13 11:29:06 -04:00
|
|
|
.equ IO_RAMSTART USER_RAMSTART
|
|
|
|
#include "ed/io.asm"
|
2019-07-13 14:01:20 -04:00
|
|
|
.equ BUF_RAMSTART IO_RAMEND
|
|
|
|
#include "ed/buf.asm"
|
2019-07-13 21:08:16 -04:00
|
|
|
.equ CMD_RAMSTART BUF_RAMEND
|
|
|
|
#include "ed/cmd.asm"
|
|
|
|
.equ ED_RAMSTART CMD_RAMEND
|
2019-07-13 09:57:37 -04:00
|
|
|
#include "ed/main.asm"
|