Added EXIT, WRITE entry point

This commit is contained in:
ceriel 1992-06-30 17:36:49 +00:00
parent 8e4ee3ec1a
commit e860fa1974
2 changed files with 8 additions and 2 deletions

View file

@ -1,6 +1,7 @@
.define EARRAY,ERANGE,EILLINS,EILLSIZE,ECASE,EMON,EHEAP
.define hol0,trapproc,trpim,argv,hp,.reghp,envp,begbss,ignmask
.define savebc,savede,savehl,saveix,saveaf,saveiy,ebadmon
.define WRITE,EXIT
.sect .text
.sect .rom
.sect .data
@ -45,8 +46,10 @@
ld bc,1
push bc
call __m_a_i_n
EXIT:
jp 0x20
WRITE:
jp __write
.sect .bss
begbss:

View file

@ -1,6 +1,7 @@
.define EARRAY,ERANGE,EILLINS,EILLSIZE,ECASE,EMON,EHEAP
.define hol0,trapproc,trpim,argv,hp,.reghp,envp,begbss,ignmask
.define savebc,savede,savehl,saveix,saveaf,saveiy,ebadmon
.define WRITE,EXIT
.sect .text
.sect .rom
.sect .data
@ -45,8 +46,10 @@
ld bc,1
push bc
call __m_a_i_n
EXIT:
jp 0x20
WRITE:
jp __write
.sect .bss
begbss: