]> git.sur5r.net Git - cc65/commitdiff
Added definitions for the 6522 VIA.
authoruz <uz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Sun, 28 Feb 2010 09:47:32 +0000 (09:47 +0000)
committeruz <uz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Sun, 28 Feb 2010 09:47:32 +0000 (09:47 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@4601 b7a2c559-68d2-44c3-8de9-860c34a00d81

asminc/pet.inc

index 524e8351124796c31e8c9ed9d008dc580b4bda54..f685c00b8fbebedc9d0df11ad99788d361adb560 100644 (file)
@@ -7,3 +7,16 @@
 ; Zero page, Commodore stuff
 
 DEVNUM                 := $D4          ; Device number
+
+
+
+; ---------------------------------------------------------------------------
+; I/O: 6522 VIA2
+
+VIA            := $E840
+VIA_PRB         := $E840
+VIA_PRA         := $E841
+VIA_DDRB       := $E842
+VIA_DDRA       := $E843
+
+