From: uz Date: Sun, 28 Feb 2010 09:47:32 +0000 (+0000) Subject: Added definitions for the 6522 VIA. X-Git-Tag: V2.13.2~5 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=2469af49d78a3a85a238f5c1e56da2852dfba0bc;p=cc65 Added definitions for the 6522 VIA. git-svn-id: svn://svn.cc65.org/cc65/trunk@4601 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/asminc/pet.inc b/asminc/pet.inc index 524e83511..f685c00b8 100644 --- a/asminc/pet.inc +++ b/asminc/pet.inc @@ -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 + +