1
0
mirror of https://github.com/aap/pdp6.git synced 2026-01-11 23:53:31 +00:00

emu: fixed stupid FSC bug

This commit is contained in:
aap 2019-03-25 04:05:39 +01:00
parent 6dba7a1b87
commit 6e2eb547ca
5 changed files with 6093 additions and 4330 deletions

View File

@ -2011,8 +2011,8 @@ defpulse_(fst0a)
apr->fsf1 = 0; // 6-19
if(!AR0_EQ_SC0)
SET_OVERFLOW; // 6-17
apr->n.ar |= apr->n.ar&0400777777777 | ((word)apr->sc&0377)<<27; // 6-4, 6-9
pulse(apr, &et10, 0); // 5-5
apr->n.ar = apr->n.ar&0400777777777 | ((word)apr->sc&0377)<<27; // 6-4, 6-9
pulse(apr, &et10, 1); // 5-5
}
defpulse(fst0)

View File

@ -592,8 +592,9 @@ sblk:
}
goto format;
end:
w = readwits(fp);
if(left(w) != 0324000)
/* use the first JRST, not the second */
// w = readwits(fp);
if(left(w) != 0324000 && left(w) != 0254000)
goto format;
getapr()->pc = right(w);
return;

View File

@ -1013,7 +1013,8 @@ makedis(int argc, char *argv[])
dis->dev.type = dis_ident;
/* dunno about the frequency here */
t = (Task){ nil, discycle, dis, 50, 0 };
// t = (Task){ nil, discycle, dis, 50, 0 };
t = (Task){ nil, discycle, dis, 20, 0 };
addtask(t);
/* There's a race somewhere here */

View File

@ -43,6 +43,8 @@ mount ptr ../code/ptp.out
#mount dx1 ../test/out.dt6
#mount dx1 ../test/test.dt6
mount dx1 ../files/sys6.dtr
mount dx2 ../test/spcwar.dtr
#mount dx2 ../test/stuff.dtr
#mount dx2 ../test/spcwar.dtr
mount dx2 ../test/foo.dtr
#load -b ../maint/pdp6.part1

10407
emu/mem_0

File diff suppressed because it is too large Load Diff