very experimental head align tool

This commit is contained in:
FeralChild64 committed 2019-12-20 21:54:22 +01:00
1 parent 9392728750
commit 7227370907
15 files changed
+359 -41

No files matched your search

+25
View File
@@ -0,0 +1,25 @@
//
// Handle tape deck motor
//
#if CONFIG_TAPE_NORMAL || CONFIG_TAPE_TURBO || CONFIG_HEAD_FIT_TOOL
tape_motor_off:
lda CPU_R6510
ora #$20
bne !+ // branch always
tape_motor_on:
lda CPU_R6510
and #($FF - $20)
!:
sta CPU_R6510
rts
#endif