implemented spec change: now cell 127 always return 1
This commit is contained in:
@@ -76,6 +76,7 @@ void ilexec(ushort lno, ushort cmd, ushort x, ushort y, ushort z) {
|
||||
while(halt == 0) {
|
||||
if(traceflag) printf("PC: %hu INSTR: %hu %hu %hu %hu" NLC, lno, cmd, x, y, z);
|
||||
DMEM[0] = data_override = 0; /* force the value at 0 to be always 0 */
|
||||
DMEM[127] = 1; /* force the value at 127 to always be 1 */
|
||||
bcheck = (x < MEMLIMIT) && (y < MEMLIMIT) && (z < MEMLIMIT);
|
||||
if(bcheck) {
|
||||
v1 = DMEM[x]; v2 = DMEM[y]; v3 = DMEM[z]; /* prefetch the memory values */
|
||||
|
||||
Reference in New Issue
Block a user