Fixed stat interface

This commit is contained in:
ceriel 1990-12-19 12:42:21 +00:00
parent 3764bf860b
commit 974463cbd4
3 changed files with 49 additions and 4 deletions

View file

@ -8,4 +8,19 @@
__fstat: move.l #0x1C,d0
move.l 4(sp),a0
move.l 8(sp),d1
jmp callc
jsr callc
tst.l d0
blt 1f
move.l 4(sp),a0
add.l #30,a0
lea 2(a0),a1
move.w -(a0),-(a1)
move.w -(a0),-(a1)
move.w -(a0),-(a1)
move.w -(a0),-(a1)
move.w -(a0),-(a1)
move.w -(a0),-(a1)
move.w -(a0),-(a1)
move.w -(a0),-(a1)
1:
rts

View file

@ -8,4 +8,19 @@
_fstat: move.l #0x1C,d0
move.l 4(sp),a0
move.l 8(sp),d1
jmp callc
jsr callc
tst.l d0
blt 1f
move.l 4(sp),a0
add.l #30,a0
lea 2(a0),a1
move.w -(a0),-(a1)
move.w -(a0),-(a1)
move.w -(a0),-(a1)
move.w -(a0),-(a1)
move.w -(a0),-(a1)
move.w -(a0),-(a1)
move.w -(a0),-(a1)
move.w -(a0),-(a1)
1:
rts

View file

@ -8,4 +8,19 @@
_stat: move.l #0x12,d0
move.l 4(sp),a0
move.l 8(sp),d1
jmp callc
jsr callc
tst.l d0
blt 1f
move.l 4(sp),a0
add.l #30,a0
lea 2(a0),a1
move.w -(a0),-(a1)
move.w -(a0),-(a1)
move.w -(a0),-(a1)
move.w -(a0),-(a1)
move.w -(a0),-(a1)
move.w -(a0),-(a1)
move.w -(a0),-(a1)
move.w -(a0),-(a1)
1:
rts