6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Fri Nov 22, 2024 9:37 am

All times are UTC




Post new topic Reply to topic  [ 16 posts ]  Go to page Previous  1, 2
Author Message
 Post subject:
PostPosted: Sat Aug 22, 2009 2:24 am 
Offline

Joined: Sat Jan 04, 2003 10:03 pm
Posts: 1706
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:
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.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 16 posts ]  Go to page Previous  1, 2

All times are UTC


Who is online

Users browsing this forum: No registered users and 21 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron