User Tools

Site Tools


docs:dinsync

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
docs:dinsync [2016/04/15 17:30]
ftc Added description of how to control the interface from code
docs:dinsync [2016/04/15 19:36]
ftc
Line 36: Line 36:
  ;PLAY:  Bit 2 = start and stop  ;PLAY:  Bit 2 = start and stop
  ;SYNC:  Bit 3 = clock pulses  ;SYNC:  Bit 3 = clock pulses
- lda #%00001100 ;New appr + lda #%00001100 
- sta $dd01 ;Set pulse on+ sta $dd01 ;Set SYNC pulse on
  
  ;Call your C64 music player code here  ;Call your C64 music player code here
Line 43: Line 43:
  
  ;Now clear the SYNC bit (but not the PLAY bit)  ;Now clear the SYNC bit (but not the PLAY bit)
- lda #%00000100 ;PLAY SIGNAL ON, but sync pulse off.. + lda #%00000100 
- sta $dd01 ;Always set pulse off directly+ sta $dd01
 </code> </code>
  
docs/dinsync.txt · Last modified: 2016/04/15 19:36 by ftc