brk routine updates .limhp
This commit is contained in:
parent
7e34a42088
commit
8850b696ab
|
@ -13,7 +13,6 @@
|
||||||
bmi 1f
|
bmi 1f
|
||||||
add.l #0x400,d0
|
add.l #0x400,d0
|
||||||
and.l #~0x3ff,d0
|
and.l #~0x3ff,d0
|
||||||
move.l d0,.limhp
|
|
||||||
move.l a0,-(sp)
|
move.l a0,-(sp)
|
||||||
move.l d0,-(sp)
|
move.l d0,-(sp)
|
||||||
jsr _brk
|
jsr _brk
|
||||||
|
|
|
@ -11,7 +11,6 @@
|
||||||
blt 1f
|
blt 1f
|
||||||
add.l #0x400, d1
|
add.l #0x400, d1
|
||||||
and.l #~0x3ff, d1
|
and.l #~0x3ff, d1
|
||||||
move.l d1, .limhp
|
|
||||||
move.l d1, -(sp)
|
move.l d1, -(sp)
|
||||||
jsr _brk ! allocate 1K bytes of extra storage
|
jsr _brk ! allocate 1K bytes of extra storage
|
||||||
add.l #4, sp
|
add.l #4, sp
|
||||||
|
|
Loading…
Reference in a new issue