Fix device list with y instead of a

This commit is contained in:
Terence Boldt
2020-12-10 03:32:21 +00:00
parent c034314e7a
commit f14d09c142
2 changed files with 2 additions and 2 deletions

View File

@@ -33,7 +33,7 @@ NibbleStorage = $1d
; Add the drive to the device list ; Add the drive to the device list
inc DeviceCount inc DeviceCount
lda DeviceCount lda DeviceCount
lda #SlotDrive ldy #SlotDrive
sta DeviceList,y sta DeviceList,y
rts rts

View File

@@ -37,7 +37,7 @@ Current file: Driver.asm
00100A 1 ; Add the drive to the device list 00100A 1 ; Add the drive to the device list
00100A 1 EE 31 BF inc DeviceCount 00100A 1 EE 31 BF inc DeviceCount
00100D 1 AD 31 BF lda 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 001012 1 99 32 BF sta DeviceList,y
001015 1 60 rts 001015 1 60 rts
001016 1 001016 1