changeset 2274:8db854421dc8

Clear out D.DWStat pointer in Term to fix a bug
author boisy
date Mon, 28 Dec 2009 22:56:27 +0000
parents db65aeb5c335
children 8452d3ceb811
files level1/modules/scdwt.asm
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/level1/modules/scdwt.asm	Mon Dec 28 21:43:46 2009 +0000
+++ b/level1/modules/scdwt.asm	Mon Dec 28 22:56:27 2009 +0000
@@ -154,6 +154,12 @@
 			ENDC
 			ldd     #$0100
 			os9     F$SRtMem
+			ldd     #$0000
+			IFGT    Level-1
+			std   	<D.DWStat
+			ELSE
+			std   	>D.DWStat
+			ENDC
 Term.Err    rts