;fixpower.asm
;Willard Goosey
;9/4/2011

;$Id: fixpower.asm,v 1.3 2011/09/05 00:06:47 goosey Exp goosey $

;requires m100.def

;when a .co file is running, the power-off timer doesn't
;get reset.
;fix timer before the .co exits so the m100 doesn't
;shut itself off immediately after.
;from John R. Hogerhuis

fixpower:  call RSTDOG
	xra a
	sta POWERFLAG
	ret

;end of fixpower.asm
