Mercurial > hg > Members > kono > nitros9-code
comparison level1/cmds/os9gen.asm @ 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 | 636cabe76c6e |
comparison
equal
deleted
inserted
replaced
1232:5c4b43698a34 | 1233:7bbcfb48124a |
---|---|
450 leax <lsn0,u | 450 leax <lsn0,u |
451 ldy #DD.DAT | 451 ldy #DD.DAT |
452 lda <devpath | 452 lda <devpath |
453 os9 I$Read read first part of LSN0 | 453 os9 I$Read read first part of LSN0 |
454 lbcs Bye | 454 lbcs Bye |
455 lda #$00 | 455 ldd #$0001 |
456 ldb #$01 | 456 * lda #$00 |
457 * ldb #$01 | |
457 lbsr Seek2LSN | 458 lbsr Seek2LSN |
458 leax sectbuff,u | 459 leax sectbuff,u |
459 ldy <lsn0+DD.MAP,u get number of bytes in device's bitmap | 460 ldy <lsn0+DD.MAP,u get number of bytes in device's bitmap |
460 lda <devpath | 461 lda <devpath |
461 os9 I$Read | 462 os9 I$Read |
462 lbcs Bye | 463 lbcs Bye |
463 lda #BTrack boot track | 464 ldd #BTrack*256 boot track |
464 clrb sector 1 | 465 * lda #BTrack boot track |
466 * clrb sector 1 | |
465 ldy #$0004 four bits | 467 ldy #$0004 four bits |
466 lbsr ABMClear | 468 lbsr ABMClear |
467 bcc L0520 | 469 bcc L0520 |
468 ldd #BTrack*256 boot track | 470 ldd #BTrack*256 boot track |
469 * lda #BTrack boot track | 471 * lda #BTrack boot track |