source: buchla-68k/misc/flopvbl.sh@ 197ff76

Last change on this file since 197ff76 was 197ff76, checked in by Thomas Lopatic <thomas@…>, 7 years ago

Validate FLOPVBL and FLOCK definitions in ram/timeint.s.

  • Property mode set to 100755
File size: 433 bytes
Line 
1# Check, whether FLOPVBL == flopvbl and FLOCK == flock. If yes, then COUNT == 2.
2
3COUNT=$(m68k-none-elf-objdump --syms bios.elf |
4 grep -i -e flopvbl -e flock |
5 cut -c -8 |
6 sort |
7 uniq |
8 wc -l)
9
10if [ ${COUNT} != 2 ]; then
11 echo "FLOPVBL or FLOCK mismatch. See ram/timeint.s for more information."
12 rm bios.elf
13 exit 1
14fi
15
16echo "symbols match"
17exit 0
Note: See TracBrowser for help on using the repository browser.