Last active
June 18, 2021 09:53
-
-
Save erique/e74f607efa369cc0c34d77179dce825a to your computer and use it in GitHub Desktop.
split a 512kb kickstart, and flash via minipro, from bash
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
xxd -c 4 -g 1 kick.rom | awk '{printf $5 $4 "\n"}' | xxd -p -r > test-lo.rom && cat test-lo.rom test-lo.rom > test-lo.bin | |
xxd -c 4 -g 1 kick.rom | awk '{printf $3 $2 "\n"}' | xxd -p -r > test-hi.rom && cat test-hi.rom test-hi.rom > test-hi.bin | |
minipro -y -p "AM29F400BB@TSOP48" --write test-hi.bin | |
minipro -y -p "AM29F400BB@TSOP48" --write test-lo.bin |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment