# HG changeset patch # User boisy # Date 1043097300 0 # Node ID c04528763543aac5c3455d994a0d703a241ad71e # Parent 82f525c3a7894ebf9125d25e8d606e7b4dc711c6 stack/parameter size increased to prevent collisions with memory diff -r 82f525c3a789 -r c04528763543 level1/cmds/copy.asm --- a/level1/cmds/copy.asm Mon Jan 20 04:02:57 2003 +0000 +++ b/level1/cmds/copy.asm Mon Jan 20 21:15:00 2003 +0000 @@ -26,7 +26,8 @@ mod eom,name,tylg,atrv,start,size -STCKSIZE equ 64 our stack size +STACKSZ equ 128 estimated stack size +PARMSZ equ 256 estimated parameter size DDIRBSIZ equ 64 destination directory buffer size org 0 @@ -62,7 +63,7 @@ ELSE copybuff rmb 512 512 byte default buffer for Level 1 ENDC -stack rmb STCKSIZE + rmb STACKSZ+PARMSZ size equ . name fcs /Copy/ @@ -139,7 +140,7 @@ tfr s,d place top of stack in D pshs y save Y on stack subd ,s++ get size of space between copybuf and X - subd #STCKSIZE subtract out our stack + subd #STACKSZ+PARMSZ subtract out our stack std