changeset 946:5c80e10a5d03

renamed variable that was clashing with one in systype
author boisy
date Tue, 21 Jan 2003 21:17:37 +0000
parents 707940712718
children 10fa04d30a71
files level1/cmds/error.asm level1/cmds/help.asm
diffstat 2 files changed, 8 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/level1/cmds/error.asm	Tue Jan 21 20:46:49 2003 +0000
+++ b/level1/cmds/error.asm	Tue Jan 21 21:17:37 2003 +0000
@@ -33,7 +33,7 @@
 path    rmb     1
 same    rmb     1
 prmptr  rmb     2
-endptr  rmb     2
+prmend  rmb     2
 length  rmb     2
 parbuff rmb     256
 filbuff rmb     256
@@ -59,7 +59,7 @@
         clr     ,u
         tfr     u,y
         puls    u
-        sty     <endptr        store end of all parameters
+        sty     <prmend        store end of all parameters
         leax    parbuff,u       load address of parbuff into X
         stx     <prmptr        save parameter pointer
 entry2  lda     ,x
@@ -81,7 +81,7 @@
         leax    d,x            add length to it
         leax    1,x            increment past null byte
 rered2  clrb
-        cmpx    <endptr
+        cmpx    <prmend
         bge     exit
         stx     <prmptr        store it
         lbsr    seek0          rewind the file
@@ -158,7 +158,7 @@
         leax    d,x            add to X
         leax    1,x            increment past null byte
         clrb
-        cmpx    endptr
+        cmpx    prmend
         lbge    exit
         stx     <prmptr        store X
         bsr     seek0          rewind file
--- a/level1/cmds/help.asm	Tue Jan 21 20:46:49 2003 +0000
+++ b/level1/cmds/help.asm	Tue Jan 21 21:17:37 2003 +0000
@@ -34,7 +34,7 @@
 path    rmb     1
 same    rmb     1
 prmptr  rmb     2
-endptr  rmb     2
+prmend  rmb     2
 length  rmb     2
 colbuff rmb     128
 userbuf rmb     128
@@ -166,7 +166,7 @@
         clr     ,u
         tfr     u,y
         puls    u
-        sty     <endptr        store end of all parameters
+        sty     <prmend        store end of all parameters
         leax    parbuff,u       load address of parbuff into X
         stx     <prmptr        save parameter pointer
 entry2  lda     ,x
@@ -198,7 +198,7 @@
         leax    d,x            add length to it
         leax    1,x            increment past null byte
 rered2  clrb
-        cmpx    <endptr
+        cmpx    <prmend
         blt     rered25
         jmp     [exitvec,u]
 rered25 stx     <prmptr        store it
@@ -286,7 +286,7 @@
         leax    d,x            add to X
         leax    1,x            increment past null byte
         clrb
-        cmpx    endptr
+        cmpx    prmend
         lblt    unk2
         jmp     [exitvec,u]
 unk2    stx     <prmptr        store X