Initial commit of files

This commit is contained in:
2021-01-22 10:16:20 -05:00
parent 32d165ec8f
commit ed92211680
534 changed files with 68563 additions and 19 deletions

13
utils/picrate/20.mhz Normal file
View File

@ -0,0 +1,13 @@
4 = 250000, 12.00
9 = 125000, 24.00
14 = 83333, 36.00
19 = 62500, 48.00
24 = 50000, 60.00
29 = 41666, 72.00
34 = 35714, 84.00
39 = 31250, 96.00
44 = 27777, 108.00
49 = 25000, 120.00
54 = 22727, 132.00
59 = 20833, 144.00
64 = 19230, 156.01

13
utils/picrate/40.mhz Normal file
View File

@ -0,0 +1,13 @@
4 = 500000, 6.00
9 = 250000, 12.00
14 = 166666, 18.00
19 = 125000, 24.00
24 = 100000, 30.00
29 = 83333, 36.00
34 = 71428, 42.00
39 = 62500, 48.00
44 = 55555, 54.00
49 = 50000, 60.00
54 = 45454, 66.00
59 = 41666, 72.00
64 = 38461, 78.00

20
utils/picrate/picrate.c Normal file
View File

@ -0,0 +1,20 @@
#include <stdio.h>
int main()
{
int pic;
int rate;
double usb;
int div;
for ( pic=1; pic<=64 ; pic++ )
{
rate = 40000000 / ((pic+1)*16);
usb = 3000000.0 / (double)rate;
div = (int)usb;
if ( usb - (double)div < .01 )
printf( "%d = %d, %.2f\n", pic, rate, usb );
}
}