mirror of
https://github.com/aap/pdp6.git
synced 2026-05-05 15:43:42 +00:00
emu: fixed stupid FSC bug
This commit is contained in:
@@ -2011,8 +2011,8 @@ defpulse_(fst0a)
|
|||||||
apr->fsf1 = 0; // 6-19
|
apr->fsf1 = 0; // 6-19
|
||||||
if(!AR0_EQ_SC0)
|
if(!AR0_EQ_SC0)
|
||||||
SET_OVERFLOW; // 6-17
|
SET_OVERFLOW; // 6-17
|
||||||
apr->n.ar |= apr->n.ar&0400777777777 | ((word)apr->sc&0377)<<27; // 6-4, 6-9
|
apr->n.ar = apr->n.ar&0400777777777 | ((word)apr->sc&0377)<<27; // 6-4, 6-9
|
||||||
pulse(apr, &et10, 0); // 5-5
|
pulse(apr, &et10, 1); // 5-5
|
||||||
}
|
}
|
||||||
|
|
||||||
defpulse(fst0)
|
defpulse(fst0)
|
||||||
|
|||||||
@@ -592,8 +592,9 @@ sblk:
|
|||||||
}
|
}
|
||||||
goto format;
|
goto format;
|
||||||
end:
|
end:
|
||||||
w = readwits(fp);
|
/* use the first JRST, not the second */
|
||||||
if(left(w) != 0324000)
|
// w = readwits(fp);
|
||||||
|
if(left(w) != 0324000 && left(w) != 0254000)
|
||||||
goto format;
|
goto format;
|
||||||
getapr()->pc = right(w);
|
getapr()->pc = right(w);
|
||||||
return;
|
return;
|
||||||
|
|||||||
@@ -1013,7 +1013,8 @@ makedis(int argc, char *argv[])
|
|||||||
dis->dev.type = dis_ident;
|
dis->dev.type = dis_ident;
|
||||||
|
|
||||||
/* dunno about the frequency here */
|
/* 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);
|
addtask(t);
|
||||||
|
|
||||||
/* There's a race somewhere here */
|
/* There's a race somewhere here */
|
||||||
|
|||||||
@@ -43,6 +43,8 @@ mount ptr ../code/ptp.out
|
|||||||
#mount dx1 ../test/out.dt6
|
#mount dx1 ../test/out.dt6
|
||||||
#mount dx1 ../test/test.dt6
|
#mount dx1 ../test/test.dt6
|
||||||
mount dx1 ../files/sys6.dtr
|
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
|
#load -b ../maint/pdp6.part1
|
||||||
|
|||||||
Reference in New Issue
Block a user