getadow$	db	LF.asc
		db	"Day of week (1-7) you want to change RTC to."
		db	ETX.asc

cngdowverify	db	LF.asc
		db	"Verify changes by sending a CONTROL^D now or ESC to ABORT.",CR.asc
cngdowverify1	db	"Any other key prompts for day again",CR.asc
cngdowverify2	db	"Press ESC to ABORT.",CR.asc
		db	ETX.asc

dowprompt	db	"Currently, day of week is set to             ",CR.asc
		db	ETX.asc
dowbuff		equ	$-14

savcntr		db	0				
downew		db	LF.asc,LF.asc,"Change day of week to: ",ETX.asc
editbuffer	db	20h,20h,20h
		db	LF.asc,CR.asc,ETX.asc

screenbuf	db	"             eZ80 BIOS clock / calander settings"
		db	CR.asc,LF.asc
		db	"                  "
DOWBUF		db	"         "
		db	20h			; Space.
DATEBUF		db	"        "		; Place holder of 8 bytes.
		DB	20h			; Space.		
TIMEBUF		db	"        "		; Place holder of 8 bytes.
		db	CR.asc,LF.asc
		db	CR.asc
		db	LF.asc
		db	"1. Change DATE.",CR.asc
		db	"2. Change DAY of WEEK.",CR.asc
		db	"3. Change TIME.",CR.asc
		db	LF.asc,LF.asc
		db	"Item to change or ESC aborts. ",ETX.asc

edtdatscn	db	"             >- Change BIOS calander DATE -<",CR.asc,LF.asc
		db	"Clock/Calander chip date set to:            ",CR.asc,LF.asc,ETX.asc
cdat		equ	$-14
cngcomplete	db	CR.asc,LF.asc,"Changes complete, press ENTER to continue.",ETX.asc


inbuff		db	3,32
gtmon		db	"Input MONTH (1-12): ",ETX.asc
gtday		db	"Input DAY of month (1-31): ",ETX.asc
gtcen		db	"Input CENTURY (00-99): ",ETX.asc
gtyear		db	"Input YEAR (00-99): ",ETX.asc
doweq		db	"DOW="	

; Following bytes are written to RTC when updateing date/time etc.

savyr		db	0		; When editing this byte will hold in binary YEAR.
savmon		db	0		; When editing this byte will hold in binary MONTH.
savday		db	0		; When editing this byte will hold in binary DAY.
savcen		db	0		; When editing this byte will hold in binary CENTURY.
savdow		db	0		; When editing this byte will hold in binary DAY OF WEEK.
savhrs		db	0		; When editing this byte will hold in binary HOURS.
savmin		db	0		; When editing this byte will hold in binary MINUTES.
savsec		db	0		; When editing this byte will hold in binary SECONDS.


DOWTABLE	equ	$
		dw	dow1st
		dw	dow2nd
		dw	dow3rd
		dw	dow4th
		dw	dow5th
		dw	dow6th
		dw	dow7th
		
dow1st		dw	6
		db	"Sunday"
dow2nd		dw	6
		db	"Monday"
dow3rd		dw	7
		db	"Tuesday"
dow4th		dw	9
		db	"Wednesday"
dow5th		dw	8
		db	"Thursday"
dow6th		dw	6
		db	"Friday"
dow7th		dw	8
		db	"Saturday"

cngmsg		db	CR.asc,CR.asc
		db	"Month="
cngmo		db	"     ",CR.asc
		db	"Day="
cngdy		db	"     ",CR.asc
		db	"Century="
cngcn		db	"     ",CR.asc
		db	"Year="
cngyr		db	"     ",CR.asc
		db	"You have elected to change calander.",CR.asc
		db	CR.asc
		db	"ESC will return to previous menu, losing changes.",CR.asc
		db	CR.asc
		db	CR.asc
		db	"Sending ^D from your terminal (CONTROL D), verifys making changes.",CR.asc
		db	LF.asc
		db	"Verifying changes to take place will:",CR.asc
		db	LF.asc
		db	"> Stop and unlock clock.",CR.asc
		db	"> Clock will be updated to new values.",CR.asc
		db	"> Clock will lock.",CR.asc
		db	"> Clock will start counting from new setting.",CR.asc
		db	LF.asc
		db	LF.asc
		db	" ^D to verify changes or ESC to discard."
		db	ETX.asc

cnghrsprompt	db	"Enter hours (0-23):",ETX.asc
cngminprompt	db	"Enter minutes (0-59):",ETX.asc			
cngtimscrn	db	"Change time.",CR.asc
		db	CR.asc
		db	"Enter a time 1 minute ahead of current time but do not confirm.",CR.asc
		db	CR.asc
		db	"Enter minutes & hours in military. You will be prompted to confirm clock update.",CR.asc
		db	CR.asc
		db	"If you wish to save changes do a ^D @ stroke real time matches = entered time.",CR.asc
		db	CR.asc
		db	"Changes will take effect within milliseconds of ^D.",CR.asc
		db	LF.asc
		db	LF.asc
		db	ETX.asc

cnghrsnew	db	"New hours:      ",CR.asc
cnghr		equ	$-6
cngminnew	db	"New minutes:      ",LF.asc,CR.asc
cngmin		equ	$-7
		db	"^D to update clock or ESC to discard changes.",CR.asc
CR$		db	CR.asc
		db	ETX.asc