|
Subject: Re: [stella] 7800 development From: Keith Gerdes <kwg@xxxxxxxxxxxx> Date: Wed, 08 Aug 2001 16:34:08 -0500 |
Okay, here are the preliminary formulas:
get Csum from MungeCart()
Cartsum = ( ((Csum/P)^PEXP * AP)/N + ((Csum/Q)^QEXP * AQ)/N ) mod N
if ( (Cartsum^2)/N == Csum )
{
// copy Cartsum to $FF80-$FFF7
}
There may be some missing shifts since some values occupy indexone [1].
e.g. byte acc[120];
copy 119 byte value to acc[1]
acc[0] = 0;
For "bignums", we have the following covered:
multiply
divide
add
We need:
mod (simplmod)
power
I'll start with miracl and see if I can get something working...
-
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] 7800 development, Keith Gerdes | Thread | Re: [stella] 7800 development, Frank Palazzolo |
| [stella] Gunfight 2600: The final K, Manuel Polik | Date | Re: [stella] vcs net play A0?=, Erik Mooney |
| Month |