Login
Back to forumSee the full topicGo to last reply

Posted By

Csabo
on 2005-03-08
23:21:30
 Re: Drive model detecting

Detecting value changes on $FEF0 can tell you if a 1551 is connected. Credits go to Gaia. This works well for me:

LDA #$FF
STA $FEF2
;
LDA #$55
STA $FEF0
;
LDA $FEF0
CMP #$55
BNE no_1551
;
LDA #$AA
STA $FEF0
;
LDA $FEF0
CMP #$AA
BNE no_1551




Back to top


Copyright © Plus/4 World Team, 2001-2024