	icl "system.inc"
	icl "globalConstants.inc"

	org $0040

	icl "globalVariables.asm"

	org startAdr

	icl "main.asm"
	icl "interruptHandler.asm"
	icl "vBlkIntHandler.asm"
	icl "displayList.asm"
	icl "displayData.asm"
	icl "handleKeyboard.asm"
	icl "nibbleToHex.asm"
	icl "screenRefreshers.asm"
.IFDEF syncMethod2
	icl "playAndSync2.asm"
	icl "pokeyDistortionCSynchronizationConstants2.asm"
	icl "pokeyDistortionCSynchronizationTables2.asm"
.ELSEIF .DEF syncMethod1b
	icl "playAndSync1b.asm"
	icl "pokeyDistortionCSynchronizationConstants1b.asm"
	icl "pokeyDistortionCSynchronizationTables.asm"
.ELSE
	icl "playAndSync1a.asm"
	icl "pokeyDistortionCSynchronizationConstants1a.asm"
	icl "pokeyDistortionCSynchronizationTables.asm"
.ENDIF
	icl "delayAccuratePhase.asm"
	icl "noteData.asm"

	run startAdr
