Skip to content

Instantly share code, notes, and snippets.

@mbamac
Created May 3, 2017 19:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mbamac/fed1cf86eb5e5b2b6cd7d1cfef4b7253 to your computer and use it in GitHub Desktop.
Save mbamac/fed1cf86eb5e5b2b6cd7d1cfef4b7253 to your computer and use it in GitHub Desktop.
; VIA registers mapping for homebrew computer
; by M. Bartosiak
; decoder A15..A8
via1_iorb = $DC00
via1_iora = $DC01
via1_ddrb = $DC02
via1_ddra = $DC03
via1_t1c_l = $DC04
via1_t1c_h = $DC05
via1_t1l_l = $DC06
via1_t1l_h = $DC07
via1_t2c_l = $DC08
via1_t2c_h = $DC09
via1_sr = $DC0A
via1_acr = $DC0B
via1_pcr = $DC0C
via1_ifr = $DC0D
via1_ier = $DC0E
via1_iora_nh = $DC0F
via2_iorb = $DD00
via2_iora = $DD01
via2_ddrb = $DD02
via2_ddra = $DD03
via2_t1c_l = $DD04
via2_t1c_h = $DD05
via2_t1l_l = $DD06
via2_t1l_h = $DD07
via2_t2c_l = $DD08
via2_t2c_h = $DD09
via2_sr = $DD0A
via2_acr = $DD0B
via2_pcr = $DD0C
via2_ifr = $DD0D
via2_ier = $DD0E
via2_iora_nh = $DD0F
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment