fixed
This commit is contained in:
parent
02d253d810
commit
0c137374ae
1 changed files with 6 additions and 2 deletions
|
@ -13,10 +13,14 @@ EHEAP=17
|
||||||
blt 1f
|
blt 1f
|
||||||
add.l #0x400, d1
|
add.l #0x400, d1
|
||||||
and.l #~0x3ff, d1
|
and.l #~0x3ff, d1
|
||||||
|
move.l a0,-(sp)
|
||||||
move.l d1, -(sp)
|
move.l d1, -(sp)
|
||||||
|
move.l d1,(.limhp)
|
||||||
jsr (__brk) ! allocate 1K bytes of extra storage
|
jsr (__brk) ! allocate 1K bytes of extra storage
|
||||||
bcs 2f
|
add.l #4,sp
|
||||||
move.l (sp)+,(.limhp)
|
move.l (sp)+,a0
|
||||||
|
tst.l d0
|
||||||
|
bne 2f
|
||||||
1:
|
1:
|
||||||
move.l (sp)+, (.reghp) ! store new value
|
move.l (sp)+, (.reghp) ! store new value
|
||||||
jmp (a0) ! return
|
jmp (a0) ! return
|
||||||
|
|
Loading…
Add table
Reference in a new issue