Added EXIT, WRITE and BRK entry point

This commit is contained in:
ceriel 1992-06-30 16:24:17 +00:00
parent 8b26f24e21
commit d2ee282845
3 changed files with 14 additions and 3 deletions

View file

@ -1,5 +1,5 @@
.define .lino,.filn
.define EXIT
.define EXIT,WRITE,BRK
.define begtext,begdata,begbss
.define EARRAY,ERANGE,ESET,EIDIVZ,EHEAP,EILLINS,ECASE,EBADGTO
.define hol0,.reghp,.limhp,.trpim,.trppc
@ -56,6 +56,10 @@ EXIT:
move.l d0,-(sp)
jsr __exit
WRITE: jmp __write
BRK: jmp __brk
.sect .data
begdata:
hol0:

View file

@ -1,6 +1,6 @@
.define CERASE,CKILL,CSTOP,CSTART
.define .lino,.filn
.define F_DUM,EXIT
.define F_DUM,EXIT,WRITE,BRK
.define begtext,begdata,begbss
.define EARRAY,ERANGE,ESET,EIDIVZ,EHEAP,EILLINS,ECASE
.define hol0,.reghp,.limhp,.trpim,.trppc
@ -43,6 +43,9 @@ EXIT:
! As a temporary measure
jsr .trp
WRITE: jmp __write
BRK: jmp __brk
.sect .data
begdata:

View file

@ -1,5 +1,5 @@
.define .lino,.filn
.define EXIT
.define EXIT,WRITE,BRK
.define begtext,begdata,begbss
.define EARRAY,ERANGE,ESET,EIDIVZ,EHEAP,EILLINS,ECASE,EBADGTO
.define hol0,.reghp,.limhp,.trpim,.trppc
@ -43,6 +43,10 @@ begtext:
EXIT:
jsr __exit
WRITE: jmp __write
BRK: jmp __brk
.sect .data
begdata:
.data4 0 ! may be at virtual address 0 with no problem