No system-calls from libem
This commit is contained in:
parent
9aceb849ad
commit
6f7d2bc2ee
|
@ -114,7 +114,7 @@ putchar:
|
||||||
move.l #1, -(sp)
|
move.l #1, -(sp)
|
||||||
pea 11(sp)
|
pea 11(sp)
|
||||||
move.l #1, -(sp)
|
move.l #1, -(sp)
|
||||||
jsr __write
|
jsr WRITE
|
||||||
lea 12(sp), sp
|
lea 12(sp), sp
|
||||||
rts
|
rts
|
||||||
.align 2
|
.align 2
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
and.l #~0x3ff, d1
|
and.l #~0x3ff, d1
|
||||||
move.l d1, -(sp)
|
move.l d1, -(sp)
|
||||||
move.l d1,.limhp
|
move.l d1,.limhp
|
||||||
jsr __brk ! allocate 1K bytes of extra storage
|
jsr BRK ! allocate 1K bytes of extra storage
|
||||||
add.l #4, sp
|
add.l #4, sp
|
||||||
tst.l d0
|
tst.l d0
|
||||||
bne 2f
|
bne 2f
|
||||||
|
|
Loading…
Reference in a new issue