Tweak RAS/CRC; Other Misc Tweaks;

This commit is contained in:
lwvmobile
2023-01-19 09:42:42 -05:00
parent 5b994f5129
commit ac752029bd
7 changed files with 93 additions and 75 deletions

View File

@@ -33,11 +33,11 @@ processProVoice (dsd_opts * opts, dsd_state * state)
#ifdef PROVOICE_DUMP
fprintf (stderr," ");
#endif
//init Bits (64)...MI?
//iNitial 64 bits
if (opts->payload == 1)
{
k = 0;
//fprintf (stderr, "\nInit 64 ");
fprintf (stderr, "\n N64: ");
for(i = 0; i < 8; i++)
{
initbyte[i] = 0;
@@ -47,9 +47,10 @@ processProVoice (dsd_opts * opts, dsd_state * state)
initbyte[i] = initbyte[i] | init[k];
k++;
}
//fprintf (stderr, "%02X", initbyte[i]);
fprintf (stderr, "%02X", initbyte[i]);
if (i == 3) fprintf (stderr, "-");
}
//fprintf (stderr, "\n");
fprintf (stderr, "\n");
}
// lid
for (i = 0; i < 16; i++)
@@ -79,7 +80,7 @@ processProVoice (dsd_opts * opts, dsd_state * state)
if (opts->payload == 1)
{
k = 0;
//fprintf (stderr, "LID ");
fprintf (stderr, " LID: ");
for(i = 0; i < 10; i++)
{
lidbyte[i] = 0;
@@ -89,9 +90,10 @@ processProVoice (dsd_opts * opts, dsd_state * state)
lidbyte[i] = lidbyte[i] | lid[k];
k++;
}
//fprintf (stderr, "%02X", lidbyte[i]);
fprintf (stderr, "%02X", lidbyte[i]);
if (i == 3 || i == 7) fprintf (stderr, "-");
}
//fprintf (stderr, "\n");
// fprintf (stderr, "\n");
}
@@ -337,7 +339,7 @@ processProVoice (dsd_opts * opts, dsd_state * state)
if (opts->payload == 1)
{
k = 0;
//fprintf (stderr, "16 bits? ");
fprintf (stderr, "\n 16B: ");
for(i = 0; i < 2; i++)
{
initbyte[i] = 0;
@@ -347,9 +349,9 @@ if (opts->payload == 1)
initbyte[i] = initbyte[i] | init[k];
k++;
}
//fprintf (stderr, "%02X", initbyte[i]);
fprintf (stderr, "%02X", initbyte[i]);
}
//fprintf (stderr, "\n");
// fprintf (stderr, "\n");
}
// imbe frames 3,4 first half
w = pW;