Commodore Disk Drive Acceleration Software

Let's talk about anything related to the 6502 microprocessor.
kc5tja
Posts: 1706
Joined: 04 Jan 2003

Post by kc5tja »

Quote:
To the "edge detection" poster. You can't do edge detection on the lines, so timing is all you have.
Never tell a hardware hacker something isn't possible.

You absolutely can do edge detection in software.

Code: Select all

1$: LDA portA
    AND #bitmask
    BEQ 1$
    ; edge 1 happened here.
2$: LDA portA
    AND #bitmask
    BNE 2$
    ; edge 2 happened here.
I've used this style of synchronization numerous times and with good effect.
Post Reply