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