shithub: sce

ref: 57d547f1bbfca33c49e10bcf4d55e6fba2e47067
dir: sce/utils/jvc2pal

View raw version
#!/bin/rc
awk '
NR==3{
	print "pal 256"
}
NR>3{
	x = $1*65536 + $2*256 + $3
	printf "0x%06x\n", x
}' $*