Added EXIT, WRITE and BRK entry point
This commit is contained in:
parent
8b26f24e21
commit
d2ee282845
|
@ -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:
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue