ref: d9d02c1e3bfea2805a241fec8f6036389da47fb1 dir: /utils/jvc2pal/
#!/bin/rc awk ' NR==3{ print "pal 256" } NR>3{ x = $1*65536 + $2*256 + $3 printf "0x%06x\n", x }' $*