|
Subject: [stella] A7800 From: Keith W Gerdes <kwg@xxxxxxxxxxxxxxxxxx> Date: Thu, 7 Jan 1999 12:20:44 -0600 (CST) |
For a possible 7800 game test down the road, I am looking
for someone with all of the following:
- 7800
- eprom burner
- 7800 cartridge which accepts a 16K or 32K eprom
Reply to
kwg@xxxxxxxxx
Thanks.
----
I'm sure nobody's really interested but here's a quick
status report of my "factor Z" attempt...
Several weeks ago I started at sqroot(Z) and I am working
backwards checking for a remainder.
Z=
9CAC9C6B412081B6058814B8601D8BFD925A07BD
C3279843B7CBC2FE2E2FA8D0A003BC5ECAF2D8AC
D06936AA5144677C46AB25336EF8CCE0CA26871D
373E8F76D06B520EF23470C5155C8FEF458C43F2
0A76738B076E2C4D80563F83C583B2D22CC88B37
18F1D800A87BDA15923E970E2D3EC4668804239
sqroot(Z)=
32115DB0F678F24664C823ACBFF478CFB3B2D096
8EB0339348514BBE727A33AE6339D4E6A737E3F5
C1CAC751C3323526E0536ABF80C05250329B0F5F
current=
32115DB0F678F24664C823ACBFF478CFB3B2D096
8EB0339348514BBE727A33AE6339D4E6A737E3F5
C1CAC751C3323526E0536ABF80C0524B8E1864BD
diff=
4A482AAA2 (hex)
19,939,895,970 (dec)
remainder=
A5F8E3D12449F7B051CE46B13AEDEBFF50D69841
FAE3B7083BDF9AA6AE45A48AC4D35F6555A0CCA7
986AA33EF3F5E930B6B1C262DE2BCCF4E8FFFE
As you can see, I haven't made much of a dent but this is
running in the background so no biggie.
And FWIW here's my bruteforce code using the Miracl library...
val = getdig(NEWZ,0);
loop: copy(Z,TEMP1); // TEMP1 = Z
divide(TEMP1,NEWZ,NEWZ); // TEMP1 = Z %
NEWZ
if ( size(TEMP1) )
{
val -= 2;
if (val<0) // skip 15
{
val = 13;
subtract(NEWZ,FOUR,NEWZ); // NEWZ = NEWZ - 4
}
else if (val==5) // skip 5
{
val = 3;
goto ahead;
}
else
{
ahead: putdig(val,NEWZ,0);
}
goto loop;
}
/*
1,3,5,7,9,11,13,15
x,x,-,x,x, x, x, -
*/
--
Archives (includes files) at http://www.biglist.com/lists/stella/archives/
Unsub & more at http://www.biglist.com/lists/stella/
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [stella] Hello from Square One, Eckhard Stolberg | Thread | [stella] Supercharger ROM, bwmott |
| Re: [stella] 7800 Docs, John Saeger | Date | Re: [stella] 7800 Docs, Dan Boris |
| Month |