;AutoVIDC module source - make file
;----------------------------------
;
;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
;
; With contributions from Jon Abbott
; for RISC OS 2 compatibility and 26/32-bit neutrality
; and Steve Harrison for base mode sync. polarity
; derivation.
;
; v2.14 overhauled by Jon Abbott (JASPP)
;
;NOTES:
; RISC OS 2.01 added support for multiple VIDC clocks (introduced on the A540)
; A3xx/A4x0/A30x0 natively support 24MHz only
; A5x0/A4000/A5000 natively support 24MHz and 36MHz
; A6xx ???

#set Debug = 0

#strset AutoVIDC_version_string = "2.14"
#strset AutoVIDC_date_string = "(" + MID$(TIME$, 5, 11) + ")"
#strset AutoVIDC_copyright_string = " " + CHR$(&A9) + " Andreas Barth 1995, Paul Vernon 2012-2015"

#base 0
#name "<Tmp$Dir>.Module.AutoVIDC"
#type &FFA

RELATIVE R12,virtual
{
.VARS_START	DCD 0				; pointer to vars, so recursive LDR R12,[R12,#0] work
#include "<Tmp$Dir>.AutoVIDC.vars"
#include "<Tmp$Dir>.AutoVIDC.modeLists"
.VARS_END
}

#include "<Tmp$Dir>.riscos.constants"
#include "<Tmp$Dir>.AutoVIDC.constants"

;Module header / code
#include "<Tmp$Dir>.AutoVIDC.header"

#area readonly_text .readonly
 #include "<Tmp$Dir>.AutoVIDC.cmdTable"
 #include "<Tmp$Dir>.AutoVIDC.cmdHelp"
 #include "<Tmp$Dir>.AutoVIDC.SWI_Names"
#end

ALIGN
#include "<Tmp$Dir>.AutoVIDC.SWI_Table"
#include "<Tmp$Dir>.AutoVIDC.init"
#include "<Tmp$Dir>.AutoVIDC.strings"
#include "<Tmp$Dir>.AutoVIDC.cmdEntry"
#include "<Tmp$Dir>.AutoVIDC.utils.clkDetect"
#include "<Tmp$Dir>.AutoVIDC.utils.funcs"
#include "<Tmp$Dir>.AutoVIDC.SWI_Funcs"
#include "<Tmp$Dir>.AutoVIDC.svcEntry"
