implemented spec change: now cell 127 always return 1
This commit is contained in:
@@ -62,6 +62,7 @@ def ilexec(lno:int, cmd:int=0, x:int=0, y:int=0, z:int=0):
|
||||
if traceflag:
|
||||
print(f'PC: {lno} INSTR: {cmd} {x} {y} {z}')
|
||||
DMEM[0] = 0.0 # force the value at 0 to always be 0
|
||||
DMEM[127] = 1.0 # force the value at 127 to always be 1
|
||||
data_override = False
|
||||
# perform a boundary check and prefetch the memory values
|
||||
bcheck = True
|
||||
|
||||
Reference in New Issue
Block a user