mirror of
https://github.com/Michaelangel007/apple2_mockingboard.git
synced 2025-01-02 07:30:15 +00:00
Add decimal output
This commit is contained in:
parent
27cd60c59b
commit
8b364f3e7f
4
freq.c
4
freq.c
@ -340,12 +340,14 @@ if( is_asm )
|
||||
, actual
|
||||
);
|
||||
else
|
||||
printf( "%c%d%c %8.3f Hz -> $%04X ~%8.3f Hz (%5.3f %%)\n"
|
||||
printf( "%c%d%c %8.3f Hz -> $%04X (%3d %3d) ~%8.3f Hz (%5.3f %%)\n"
|
||||
, names[ half_step ][0]
|
||||
, octave + (half_step > 2)
|
||||
, names[ half_step ][1]
|
||||
, actual
|
||||
, tone
|
||||
, (tone >> 8) & 0xFF
|
||||
, (tone >> 0) & 0xFF
|
||||
, measure
|
||||
, rel_err
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user