This commit is contained in:
Kamila Szewczyk 2023-11-12 18:51:03 +01:00
parent 5f3ed30ba4
commit f337457b94
Signed by: Palaiologos
GPG Key ID: E34D7BADA3DACC14
2 changed files with 8693 additions and 2 deletions

8691
3rd/ehbasic.asm Normal file

File diff suppressed because it is too large Load Diff

View File

@ -29,7 +29,7 @@ function do_stat {
bz_stat=$(cat ref_$1 $src | head -c 20000000 | bzip3 -eb $size | wc -c)
bz_ref=$(cat ref_$1 | bzip3 -eb $size | wc -c)
bz_sim=$(python3 -c "print(100*($ss/$abs)*(1-($bz_stat - min($bz_ref, $bz3)) / (max($bz_ref, $bz3))))")
bz_sim=$(python3 -c "print(1/((($bz_stat - min($bz_ref, $bz3)) / (max($bz_ref, $bz3)))-1))")
lz_stat=$(cat ref_$1 $src | head -c 20000000 | lz4 -1c | wc -c)
lz_ref=$(cat ref_$1 | lz4 -1c | wc -c)
@ -46,4 +46,4 @@ echo "Z80: $(do_stat z80)"
echo "APL: $(do_stat apl)"
echo "x86: $(do_stat x86)"
echo "x64: $(do_stat x64)"
echo "Shell: $(do_stat sh)"
echo "Shell: $(do_stat sh)"