;**************************************************************************
;
; Filename : JP.ASM
; -----------------
;
;
; Jackophone V5.00
; ----------------
; OBJ: $7000-$7FFF
;      $F000-$FFFF
;
;
;
; Assembler: AS65xx AMIGA Cross-Assembler V1.01, (c) 1989/90 by Thomas Lehmann
;
; Neuentwicklung Start : 12.02.1990
; Softwarestand        : 03.05.1990
;
;
; (c) 1990 by:
; ------------
; Thomas Lehmann
; Waldnielerstraße 250
; 4050 Mönchengladbach 1
; Tel.:02161/38617
;
;
; Assembler Aufruf-File
;
;***************************************************************************


	; ***********************
	; Assembler Einstellungen
	; ***********************

	.pro R65C02
	.sernr TLS_A0002
;	.warnoff
;	.showsym f
	.tabsize 3
	.showpc $100
	.setout "RAM:"

;===========================================================================



	; ************
	; Header Files
	; ************


	; Macros
	; ------
	.include d/macros.d

	; Configuration
	; -------------
	.include d/config.d

	; allgemeine Defines
	; ------------------
	.include d/defs.d

	; Timer Defines
	; -------------
	.include d/timer.d

	; Tastatur und LED Defines
	; ------------------------
	.include d/tast_led.d

	; Textnummern
	; -----------
	.include d/text_nr.d

	; I/O Adressen
	; ------------
	.include d/io.d

	; Display Defines
	; ---------------
	.include d/display.d

	; RAM-Zuweisungen
	; ---------------
	.include d/memory.d




	; **************
	; Programm Files
	; **************


	*= PAGE1	; Start Eprom Page1

	; Prg.-Version
	; ------------
	.include s/version.asm

	; Main Routine
	; ------------
	.include s/main.asm

	; Initialisierung
	; ---------------
	.include s/init.asm

	; Interrupt Routine
	; -----------------
	.include s/irq.asm

	; LED Routinen
	; ------------
	.include s/led.asm

	; zyklisches Update der LED Matrix
	; --------------------------------
	.include s/led_update.asm

	; Display Handling
	; ----------------
	.include s/display.asm

	; Tastaturabfrage
	; ---------------
	.include s/tast_abfr.asm

	; Programmverteiler für Tasten
	; ----------------------------
	.include s/tast_ausw.asm

	; Routinen für Funktions Tasten
	; -----------------------------
	.include s/funktast.asm

	; Wahl auf Leitung
	; ----------------
	.include s/wahl.asm

	; BTA Programm
	; ------------
	.include s/bta.asm

	; Uhr Programm
	; ------------
	.include s/uhr.asm

	; Leitungs Routinen
	; -----------------
	.include s/leitung.asm

	; Namentasten Handling
	; --------------------
	.include s/namtast.asm

	; Speicher Funktionen
	; -------------------
	.include s/speicher.asm

	; Kontroll Funktionen
	; -------------------
	.include s/kontrolle.asm

	; Ende Taste auswerten
	; --------------------
	.include s/key_ende.asm

	; Schlüsselschalter Routinen
	; --------------------------
	.include s/ss.asm

	; Summer Routinen
	; ---------------
	.include s/summer.asm

	; Relais ein/ausschalten
	; ----------------------
	.include s/relais.asm

	; Utility Routinen
	; ----------------
	.include s/util.asm


HLP	.set	*
USED_PAGE1	.equ	HLP-PAGE1		; benutzer Bereich in PAGE1

	*=  END_PAGE1		; Ende Eprom Page1
	*!= PAGE2		; Startadr. Eprom Page2


	; Termineinrichtung
	; -----------------
	.include s/termin.asm

	; Löschtaste
	; ----------
	.include s/key_lösch.asm

	; GU Zustand einlesen
	; -------------------
	.include s/gu.asm



HLP	.set	*
USED_PAGE2	.equ	HLP-PAGE2		; benutzer Bereich in PAGE2


	; Reset und IRQ-Vektoren
	; ----------------------
	*= INIT_VEKT
	.include s/reset_vekt.asm






