size optimization in BASIC, reordered some code to avoid accidental similarities

This commit is contained in:
FeralChild64 committed 2019-10-05 11:19:38 +02:00
1 parent ab7af621d5
commit 3e221903aa
9 files changed
+14 -11

No files matched your search

+3 -3
View File
@@ -69,11 +69,11 @@ IOINIT:
// XXX: calibrate TOD for both CIA's, see here: https://codebase64.org/doku.php?id=base:efficient_tod_initialisation
// Enable CIA1 IRQ and ~50Hz timer (https://csdb.dk/forums/?roomid=11&topicid=69037)
// First disable IRQ generation for both CIA's
lda #$7F
sta CIA1_ICR // disable all
// Same for CIA2 - it can generate IRQs too, we definitely don't want this
sta CIA2_ICR
sta CIA1_ICR
// Set timer interval to ~1/60th of a second