View Single Post
Old 2016-11-04, 05:35   #35
Batalov
 
Batalov's Avatar
 
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2

9,257 Posts
Default

The only change needed to build the mmff-gfn7.exe and mmff-gfn11.exe is:

append the following to mmffgfn-0.28/src/tf_gfn.h :
Code:
#if (BASE == 7)
#define BASE_n1 4
#define BASE_preinit a.d2 = 0; a.d1 = 0x1E39; a.d0 = 0xA5057D81
#define BASE_n2 5
#define BASE_preinit2 a.d4 = a.d3 = 0; a.d2 = 0x3918FA8; a.d1 = 0x303C3358; a.d0 = 0x6E913B01
#define BASE_n3 6
#define BASE_preinit3 a.d7 = a.d6 = 0; a.d5 = 0xCBC21; a.d4 = 0xFE4561C8; a.d3 = 0xD63B78E7; a.d2 = 0x80E1341E; a.d1 = 0x199417C8; a.d0 = 0xC0BB7601
#endif

#if (BASE == 11)
#define BASE_n1 4
#define BASE_preinit a.d2 = 0; a.d1 = 0xA33F09; a.d0 = 0x2E0B1AC1
#define BASE_n2 5
#define BASE_preinit2 a.d4 = 0; a.d3 = 0x6819; a.d2 = 0x55362721; a.d1 = 0xCE00DDAA; a.d0 = 0xAB61C581
#define BASE_n3 6
#define BASE_preinit3 a.d7 = 0; a.d6 = 0x2A5497BD; a.d5 = 0xC0BC1D6B; a.d4 = 0xEB50C360; a.d3 = 0xC8E92890; a.d2 = 0x618FB0CC; a.d1 = 0x7B96CC85; a.d0 = 0x9A21CB01
#endif

Last fiddled with by Batalov on 2016-11-05 at 16:28
Batalov is offline   Reply With Quote