1
0
mirror of https://github.com/raphnet/dreamcast_usb synced 2024-11-18 15:05:02 -05:00
dreamcast_usb/generate_rxcode.sh
Raphaël Assénat c0ea2489c0 Initial revision
2013-10-13 21:01:08 +00:00

13 lines
281 B
Bash
Executable File

#!/bin/bash
NSAMPLES=640
echo "// Generated by generate_rxcode.sh"
echo "// Number of samples: $NSAMPLES"
for i in `seq 0 $NSAMPLES`
do
echo "\" in r16, %1\n st z+, r16 \n\" // sample $i "
#echo "\" in r16, %1\n sbi 0x5, 4\ncbi 0x5, 4 \n\" // sample $i "
done