more complete disassembly
authornotaz <notasas@gmail.com>
Sun, 17 Nov 2013 00:07:32 +0000 (02:07 +0200)
committernotaz <notasas@gmail.com>
Sun, 17 Nov 2013 00:07:32 +0000 (02:07 +0200)
run_mkpubinc.sh

index 669a17b..a3d085f 100755 (executable)
@@ -6,5 +6,13 @@ cat StarCraft.asm | fromdos | sed -e \
 '1,/^_rdata.*segment/d;/^_data_last/q;/^[[:blank:];]/d;/^;/d;/^_r\?data\>/d;' | awk '{print $1}' | \
 while read a; do
   test -z "$a" && continue
+  case $a in
+  __IMPORT_DESCRIPTOR*)
+    continue
+    ;;
+  *)
+    ;;
+  esac
+
   echo "PUBLIC $a" >> public.inc
 done