Added a cbm510 lightpen driver.

It's similar to the current c64 and c128 lightpen drivers.
This commit is contained in:
Greg King
2013-09-09 17:03:40 -04:00
parent edc5ed4f54
commit e0c8c7dcb1
4 changed files with 544 additions and 1 deletions

View File

@@ -23,6 +23,9 @@ YSIZE = 25
;-----------------------------------------------------------------------------
; I/O Definitions
; Note: These numbers aren't addresses. They are offsets from the start of
; each chip's register set. They are used in the indirect indexed addressing
; mode.
; I/O $d800: VIC-II
@@ -66,6 +69,9 @@ VIC_CTRL2 = $16
VIC_HLINE = $12
VIC_LPEN_X = $13
VIC_LPEN_Y = $14
VIC_VIDEO_ADR = $18
VIC_IRR = $19 ; Interrupt request register