changeset 2453:3bb4f67bc934

Load V$STAT properly
author boisy
date Sat, 27 Feb 2010 00:18:06 +0000
parents ed77cceb175c
children 790eee2f8ad6
files level1/modules/rfm.asm
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/level1/modules/rfm.asm	Fri Feb 26 23:21:40 2010 +0000
+++ b/level1/modules/rfm.asm	Sat Feb 27 00:18:06 2010 +0000
@@ -58,7 +58,8 @@
 
 open           ldb       #DW.open
 create1        
-               ldx       PD.DEV,y            ; get ptr to our static storage
+               ldx       PD.DEV,y            ; get ptr to our device memory
+               ldx       V$STAT,x            ; get ptr to our static storage
                pshs      x,y,u               ; save all on stack
                stb       V.DWCMD,x
                
@@ -73,8 +74,6 @@
                ldu       4,s                 ; get pointer to caller's registers
                ldy       R$X,u
                sty       V.PATHNAME,x
-* MOVE THIS UP ONE LINE AND NO CRASH ON 'list /y0/test'
- lbra openerr
                tfr       y,x
 prsloop        os9       F$PrsNam
                bcs       open2