#!/bin/bash
cd "$(dirname "$0")"
mkdir -p build
cd build
  if [[ ! -f Irvine16.inc || $(stat -c%s Irvine16.inc) -lt 2500 ]]; then
    curl -LO https://github.com/Eazybright/Irvine32/raw/refs/heads/master/Irvine16.inc
  fi
uasm -mz ../Pixel1.asm
uasm -mz ../ColorStr.asm
uasm -mz ../ColorSt2.asm
uasm -mz ../Model3.asm
uasm -mz ../PZ_25_6.asm
