OXYGENHUB
◆ main x16-emulator / rom_symbols.sh
227 B · Bourne Again Shell (bash) · last changed chore(): initial commit 15 days ago source blame history raw
1
#!/bin/sh
2
for i in ndx keyd; do
3
	echo "#define" `echo $i | tr '[:lower:]' '[:upper:]'` 0x`cat ../x16-rom/build/x16/kernal.sym ../x16-rom/build/x16/basic.sym | grep -w $i | head -n 1 | cut -d " " -f 2`;
4
done > src/rom_symbols.h