;*************
;* Menu Test *
;*************

; The Menu system for the carts is a simple linked list
; of addresses. This 'Program' has no function other
; than to test & display the Bally menu system.
;
; You can make enteries for 5 items. Plus the original 4
; gives a total of 9 items. Any more and the menu bumpes
; into the Bally (c) message. Also you run out of digits.

; To Compile:
; zmac -i -m -o menutest.bin -x menutest.lst menutest.asm

; Lance F. Squire 2002


BALMNU	EQU	0218H		;LINK POINT TO BALLY
				;STANDARD MENU.

	ORG	2000H		;Start of Cart memory

	DEFB	55H		;NORMAL (MENUED) CART 'SENTENAL'
	DEFW	NEXT		;NEXT NODE IN MENU CHAIN
	DEFW	LABEL		;ADDRESS OF MENU TEXT
	DEFW	2008H		;WHERE TO GO IF SELECTED.
NEXT	DEFW	NEXT2		
	DEFW	LABEL2		;MENU TEXT
	DEFW	2008H
NEXT2	DEFW	NEXT3
	DEFW	LABEL3
	DEFW	2008H
NEXT3	DEFW	NEXT4
	DEFW	LABEL4
	DEFW	2008H
NEXT4	DEFW	BALMNU		;(START OF ONBOARD MENU)
	DEFW	LABEL5
	DEFW	2008H

LABEL	DEFB	'ITEM 1',0	;NULL DELIMITED STRINGS
LABEL2	DEFB	'2ND ITEM',0
LABEL3	DEFB	'ITEM 3',0
LABEL4	DEFB	'4TH ITEM',0
LABEL5	DEFB	'LAST MENU ITEM!',0	

