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