another minor tape cleanup

This commit is contained in:
FeralChild64 committed 2019-12-20 22:11:29 +01:00
1 parent f16aaf015a
commit 72884c2a52
4 files changed
+27 -21

No files matched your search

+25
View File
@@ -0,0 +1,25 @@
//
// Handle tape deck motor
//
#if CONFIG_TAPE_NORMAL || CONFIG_TAPE_TURBO
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