more cleanups and granularity improvements

This commit is contained in:
FeralChild64 committed 2019-12-20 22:57:24 +01:00
1 parent d62f193c88
commit 9b2638f739
7 files changed
+109 -54

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