Some more bug fixes
This commit is contained in:
parent
a30cbae14d
commit
a71813b911
3 changed files with 8 additions and 6 deletions
|
@ -121,6 +121,7 @@ lblbuf: sub.l #2048,sp
|
||||||
datloop: cmp.l a4,a1 ; bhi 9f !Go on filling data
|
datloop: cmp.l a4,a1 ; bhi 9f !Go on filling data
|
||||||
bsr blshift !shift block down , read next block
|
bsr blshift !shift block down , read next block
|
||||||
9: sub.l #1,ndata ; blt finito
|
9: sub.l #1,ndata ; blt finito
|
||||||
|
clr.l d1
|
||||||
move.b (a4)+,d1 ; beq dat0 !type byte in d1
|
move.b (a4)+,d1 ; beq dat0 !type byte in d1
|
||||||
move.l a3,a2 ; move.b (a4)+,d2 !count byte in d2
|
move.l a3,a2 ; move.b (a4)+,d2 !count byte in d2
|
||||||
asl.l #2,d1 ; move.l -4(a6,d1),a0
|
asl.l #2,d1 ; move.l -4(a6,d1),a0
|
||||||
|
|
|
@ -200,7 +200,7 @@ rck_1W: move.l (sp)+,a0
|
||||||
|
|
||||||
!--------------------------------------------------------------------------
|
!--------------------------------------------------------------------------
|
||||||
nop_z:
|
nop_z:
|
||||||
lblnop: lea nopln+16,a0 ; move.l (a6),d1
|
lblnop: lea nopln+16,a0 ; clr.l d1; mov (a6),d1
|
||||||
bsr itoa
|
bsr itoa
|
||||||
lea nopln+33,a0 ; move.l sp,d1
|
lea nopln+33,a0 ; move.l sp,d1
|
||||||
bsr itoa
|
bsr itoa
|
||||||
|
@ -244,7 +244,7 @@ fil_l: adroff ; move.w (a5),d0
|
||||||
0: jmp (a4)
|
0: jmp (a4)
|
||||||
|
|
||||||
!-----------------------------------------------------------------------------
|
!-----------------------------------------------------------------------------
|
||||||
lni_z: add.l #1,(a6)
|
lni_z: add #1,(a6)
|
||||||
#if count+flow+prof
|
#if count+flow+prof
|
||||||
add.l #1,countptr
|
add.l #1,countptr
|
||||||
#if prof
|
#if prof
|
||||||
|
@ -255,8 +255,8 @@ lni_z: add.l #1,(a6)
|
||||||
lin_l: adroff ; move.w (a5),d0 ; bra 1f
|
lin_l: adroff ; move.w (a5),d0 ; bra 1f
|
||||||
lin_q: move.l (sp)+,d0 ; bra 1f
|
lin_q: move.l (sp)+,d0 ; bra 1f
|
||||||
lin_s0: move.l #0,d0 ; move.b (a3)+,d0
|
lin_s0: move.l #0,d0 ; move.b (a3)+,d0
|
||||||
1: cmp.l (a6),d0 ; beq 9f
|
1: cmp (a6),d0 ; beq 9f
|
||||||
move.l d0,(a6)
|
mov d0,(a6)
|
||||||
#if count+flow+prof
|
#if count+flow+prof
|
||||||
move.l countfld,d1
|
move.l countfld,d1
|
||||||
add.l d0,d1
|
add.l d0,d1
|
||||||
|
@ -271,7 +271,7 @@ lin_s0: move.l #0,d0 ; move.b (a3)+,d0
|
||||||
#if last
|
#if last
|
||||||
bsr nexttab ;
|
bsr nexttab ;
|
||||||
move.l 4(a6),(a1)+ !store new line
|
move.l 4(a6),(a1)+ !store new line
|
||||||
move.l (a6),(a1) !number in buffer lasttable
|
mov (a6),(a1) !number in buffer lasttable
|
||||||
#endif
|
#endif
|
||||||
#if count
|
#if count
|
||||||
move.l countptr,d1 !LINE NUMBER IN d1
|
move.l countptr,d1 !LINE NUMBER IN d1
|
||||||
|
|
|
@ -114,7 +114,8 @@ notrap1: comp #29,d0 !ERROR NUMBER STILL IN d0
|
||||||
bsr _Xwrite
|
bsr _Xwrite
|
||||||
add.l wrd+4,sp
|
add.l wrd+4,sp
|
||||||
!NEXT INFORMATION ABOUT THE LINE NUMBER
|
!NEXT INFORMATION ABOUT THE LINE NUMBER
|
||||||
move.l (a6),d1
|
clr.l d1
|
||||||
|
mov (a6),d1
|
||||||
lea emess+14,a0
|
lea emess+14,a0
|
||||||
bsr itoa
|
bsr itoa
|
||||||
move.l #30,-(sp)
|
move.l #30,-(sp)
|
||||||
|
|
Loading…
Add table
Reference in a new issue