adapted to new semantics of the EHEAP error: no longer fatal

This commit is contained in:
ceriel 1988-04-11 11:27:37 +00:00
parent 8dfcff6911
commit 9d7f47c37a
4 changed files with 9 additions and 5 deletions

View file

@ -25,4 +25,5 @@
jmp (a0) jmp (a0)
2: 2:
move.w #EHEAP,-(sp) move.w #EHEAP,-(sp)
jmp .fat jsr .trp
jmp (a0)

View file

@ -23,5 +23,8 @@
rts rts
2: 2:
move.l #EHEAP, -(sp) move.l #EHEAP, -(sp)
jmp .fatal jsr .trp
move.l (sp)+,a0
move.l a0,(sp)
rts
.align 2 .align 2

View file

@ -185,8 +185,8 @@ str_s0: move.l d6,d0 ; move.b (a3)+,d0
3: move.l d1,-(sp) 3: move.l d1,-(sp)
move.l d1,-(sp) ; add.l #1280,(sp) move.l d1,-(sp) ; add.l #1280,(sp)
bsr _Xbreak ; testen (sp)+ bsr _Xbreak ; testen (sp)+
4: bne e_heap ; 4: beq 1f ; bsr e_heap ; jmp (a4)
move.l (sp)+,d1 ; bra 5b 1: move.l (sp)+,d1 ; bra 5b
!---------------------------------------------------------------------------- !----------------------------------------------------------------------------
rck_z: mov (sp)+,d0 ; bra 0f rck_z: mov (sp)+,d0 ; bra 0f

View file

@ -16,7 +16,7 @@ e_iund: mov #0x8,-(sp) ; bra error
e_fund: mov #0x9,-(sp) ; bra error e_fund: mov #0x9,-(sp) ; bra error
e_conv: mov #0xA,-(sp) ; bra error e_conv: mov #0xA,-(sp) ; bra error
e_stack: mov #0x10,-(sp) ; bra fatal e_stack: mov #0x10,-(sp) ; bra fatal
e_heap: mov #0x11,-(sp) ; bra fatal e_heap: mov #0x11,-(sp) ; bra error
e_illins: mov #0x12,-(sp) ; bra fatal e_illins: mov #0x12,-(sp) ; bra fatal
e_oddz: mov #0x13,-(sp) ; bra fatal e_oddz: mov #0x13,-(sp) ; bra fatal
e_case: mov #0x14,-(sp) ; bra fatal e_case: mov #0x14,-(sp) ; bra fatal