Mercurial > hg > Members > kono > nitros9-code
changeset 1233:7bbcfb48124a
Fixed DS boot track bug for sure! Did more minor optimizations.
author | boisy |
---|---|
date | Sun, 27 Jul 2003 19:29:06 +0000 |
parents | 5c4b43698a34 |
children | 6374cf75f62e |
files | level1/cmds/os9gen.asm |
diffstat | 1 files changed, 6 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/level1/cmds/os9gen.asm Thu Jul 24 12:04:35 2003 +0000 +++ b/level1/cmds/os9gen.asm Sun Jul 27 19:29:06 2003 +0000 @@ -452,16 +452,18 @@ lda <devpath os9 I$Read read first part of LSN0 lbcs Bye - lda #$00 - ldb #$01 + ldd #$0001 +* lda #$00 +* ldb #$01 lbsr Seek2LSN leax sectbuff,u ldy <lsn0+DD.MAP,u get number of bytes in device's bitmap lda <devpath os9 I$Read lbcs Bye - lda #BTrack boot track - clrb sector 1 + ldd #BTrack*256 boot track +* lda #BTrack boot track +* clrb sector 1 ldy #$0004 four bits lbsr ABMClear bcc L0520