diff --git a/libsrc/apple2/drives.s b/libsrc/apple2/drives.s index abeafb580..b54dfbea9 100644 --- a/libsrc/apple2/drives.s +++ b/libsrc/apple2/drives.s @@ -15,24 +15,22 @@ _drivecount: ; Check for ProDOS 8 lda __dos_type - bne :+ - rts + beq :+ ; Number of on-line devices (minus 1) -: ldy DEVCNT + ldy DEVCNT iny tya - rts +: rts _drivelist: ldx #$00 ; Check for ProDOS 8 lda __dos_type - bne :+ - rts + beq :+ ; Up to 14 units may be active -: lda #DEVLST - rts +: rts