diff level1/cmds/error.asm @ 946:5c80e10a5d03

renamed variable that was clashing with one in systype
author boisy
date Tue, 21 Jan 2003 21:17:37 +0000
parents cef89b8a4241
children 84ea83668304
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