#! /bin/bash

# Public Domain

[ -z "$CONVLIST" ] && CONVLIST=convlist.pl

  echo === Creating kernel trace listing
  (cd src/BIOS/;
  cat MSBIO.LNK |
  grep -Eio '\S+\.obj' |
  sed -re 's/\\/\//g;s/\.obj/\.lst/g;s/\/inc\//\/INC\//g;s/\/dos\//\/DOS\//g' |
  xargs -n 999 -x "$CONVLIST" msbiow.map > msbio.tls)
