;7E:09DC - 7E:09DD    Game time, seconds
;7E:09DE - 7E:09DF    Game time, minutes
;7E:09E0 - 7E:09E1    Game time, hours
Lorom
org $809B4E : JSR $CDC0		
org $80CDC0	
JSR TableLoad
JSR DrawGfx
LDA $09C0 : RTS

Calc:
STA $4204
SEP #$20 : LDA #$64 : STA $4206 
PHA : PLA : PHA : PLA : REP #$20
LDA $4216 : STA $4204
SEP #$20 : LDA #$0A : STA $4206
PHA : PLA : PHA : PLA : REP #$20
LDA $4214 : ASL A : STA $14
LDA $4216 : ASL A : STA $12
RTS

TableLoad:
LDA #$08CB : STA $7FFA50
LDA $09DC : JSR Calc
LDX $14 : LDA StayforeverHey,x : STA $7FFA52
LDX $12 : LDA StayforeverHey,x : STA $7FFA54
LDA $09DE : JSR Calc
LDX $14 : LDA StayforeverHey,x : STA $7FFA4C
LDX $12 : LDA StayforeverHey,x : STA $7FFA4E
JMP DrawGfx

StayforeverHey:
DW $0C09,$0C00,$0C01,$0C02,$0C03,$0C04,$0C05,$0C06,$0C07,$0C08

DrawGfx:
LDX $0330
LDA #$000A : STA $D0,X
LDA #Clock>>8 : STA $D3,X
LDA #Clock : STA $D2,X
LDA #$581A : STA $D5,X					
TXA : CLC : ADC #$0007 : STA $0330
RTS
org $7FFA4C
Clock:

	
	
	
	
