Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/AlexGyver/Arduino_Ambilight.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'Библиотеки/FastLED-master/extras/AppleII.s65')
-rw-r--r--Библиотеки/FastLED-master/extras/AppleII.s6540
1 files changed, 40 insertions, 0 deletions
diff --git a/Библиотеки/FastLED-master/extras/AppleII.s65 b/Библиотеки/FastLED-master/extras/AppleII.s65
new file mode 100644
index 0000000..98e4e4b
--- /dev/null
+++ b/Библиотеки/FastLED-master/extras/AppleII.s65
@@ -0,0 +1,40 @@
+KBD = $C000 ;Read keydown
+KBDSTRB = $C010 ;Reset keybd
+
+SPKR = $C030 ;Toggle speaker
+
+; TTL digital output pins on
+; 16-pin DIP game connector
+SETAN0 = $C058
+CLRAN0 = $C059
+SETAN1 = $C05A
+CLRAN1 = $C05B
+SETAN2 = $C05C
+CLRAN2 = $C05D
+SETAN3 = $C05E
+CLRAN3 = $C05F
+
+PIN12ON = CLRAN3
+PIN12OFF= SETAN3
+PIN13ON = CLRAN2
+PIN13OFF= SETAN2
+PIN14ON = CLRAN1
+PIN14OFF= SETAN1
+PIN15ON = CLRAN0
+PIN15OFF= SETAN0
+
+;Special for pin 5, except on //gs
+C040STROBE = $C040
+PIN5STROBE = C040STROBE
+
+SolidApple = $C062 ; read SW1 or SA
+OpenApple = $C061 ; read SW0 or OA
+
+VBL = $C019 ; vertical blanking
+
+WAIT = $FCA8 ; wait a little while
+
+CROUT = $FD8E ; print a CR
+PRBYTE = $FDDA ; print a hex byte
+
+