;AutoVIDC module source - variable definitions
;---------------------------------------------
;
;VIDC Enhancer software control
;For software controlled VIDC Enhancers
;
;Author: Andreas Barth (1995)
;Author: Paul Vernon (Retro-Kit) (2012-2013)
;   www: http://www.retro-kit.co.uk

; NOTE: Values in here need to be initialised in "init" as these are virtual values

; ---------------------------------------------------------------------------
; Various flags to indicate properties of the VIDC Enhancer fitted to
; the machine.

.internal_flags
	DCB	0

.EnhancerType
	DCB	0		; What type of Enhancer are we using?

; ---------------------------------------------------------------------------
; Control flags set by the user

.VIDCEnable
	DCB	1		; Set whether AutoVIDC is enabled or not.

.OCdisable
	DCB	1		; Set whether we can overclock or not.

; ---------------------------------------------------------------------------
; Watford Electronics specific vars
.WEIICAddress
	DCB	0		; This will either be &40 or &70 once detected

;NOTE: Ensure its aligned here by DCB, as ALIGN doesn't work in virtual variable blocks
DCB 0,0,0

.buffer
	DBB	16		; allocate 64 bytes for IIC commands and string conversion

; ---------------------------------------------------------------------------
; Clock detection variables

; Set up the clock speeds with sensible defaults
.detectedClockSpeeds       	;4 words for tested clocks, 1 for the clock when loaded
	DBD	5
.dmacount
	DCD	0
.T1ticks
	DCD	0,0
.lastT1ticks
	DCD	0
