Mercurial > hg > Members > kono > nitros9-code
changeset 942:24fe8305e1ed
no message
author | johncollyer |
---|---|
date | Tue, 21 Jan 2003 15:59:46 +0000 |
parents | 0be75b09d8c2 |
children | 7814ddcf32b1 |
files | level1/cmds/format.asm |
diffstat | 1 files changed, 15 insertions(+), 15 deletions(-) [+] |
line wrap: on
line diff
--- a/level1/cmds/format.asm Tue Jan 21 13:29:54 2003 +0000 +++ b/level1/cmds/format.asm Tue Jan 21 15:59:46 2003 +0000 @@ -712,7 +712,7 @@ ldd #$0000 get current track std <currtrak save it inca get current sector - sta <currsect save it + sta <currsect save it L03F8 clr <u0005 L03FA bsr L045C leax >u00B7,u @@ -1001,10 +1001,10 @@ * ******************************************************************** -Stamps lda <dtype get device type in A +Stamps lda <dtype get device type in A clr <dovfy - bita #TYP.HARD hard drive? - beq L0667 branch if not + bita #TYP.HARD hard drive? + beq L0667 branch if not L0650 leax >Verify,pcr ldy #VerifyL lbsr Input @@ -1034,7 +1034,7 @@ ldb #$01 std <u0034 lda <clustsiz get cluster size - sta <u002B store in cluster counter + sta <u002B store in cluster counter clr <u002A clra ldb <ClustSz @@ -1093,7 +1093,7 @@ OutScrn ldd <u0008 get counted sectors addd #$0001 increment it std <u0008 save counted sectors - cmpd <u0017 > good sector count? + cmpd <u0017 good sector count? bcs L0745 next segment clr <u0008 clear counted sectors clr <u0009 @@ -1150,7 +1150,7 @@ inc <oksects L0755 clr <u002A lda <clustsiz get cluster size - sta <u002B save in cluster counter + sta <u002B save in cluster counter L075B ldb <u0031 ldx <u0032 leax $01,x @@ -1310,14 +1310,14 @@ bsr WritSec bsr ClrBuf ldb <u002C - decb make zero offset (0 - 255) -NextCnt decb decrement sector count - bne NextWrt if more to do - rts else return -NextWrt pshs b save sector count - bsr WritSec write the sector - puls b get count back - bra NextCnt do until done + decb make zero offset (0 - 255) +NextCnt decb decrement sector count + bne NextWrt if more to do + rts else return +NextWrt pshs b save sector count + bsr WritSec write the sector + puls b get count back + bra NextCnt do until done ******************************************************************** * clear the 256 byte sector buffer