diff --git a/Firmware/Driver.asm b/Firmware/Driver.asm index 35d9b86..4946362 100644 --- a/Firmware/Driver.asm +++ b/Firmware/Driver.asm @@ -33,7 +33,7 @@ NibbleStorage = $1d ; Add the drive to the device list inc DeviceCount lda DeviceCount - lda #SlotDrive + ldy #SlotDrive sta DeviceList,y rts diff --git a/Firmware/Driver.lst b/Firmware/Driver.lst index fabffa7..fd3e006 100644 --- a/Firmware/Driver.lst +++ b/Firmware/Driver.lst @@ -37,7 +37,7 @@ Current file: Driver.asm 00100A 1 ; Add the drive to the device list 00100A 1 EE 31 BF inc DeviceCount 00100D 1 AD 31 BF lda DeviceCount -001010 1 A9 50 lda #SlotDrive +001010 1 A0 50 ldy #SlotDrive 001012 1 99 32 BF sta DeviceList,y 001015 1 60 rts 001016 1