This takes an assembly soutce file in my preferred format (.MAC), preprocesses if for the assembler, assembles, reformats the listing .LUG (Listing, UGly) file, builds a rom image file from the uP code and three FPGA config files, adds the checksum, and splits the rom image into high and low byte things. There's a readme.txt file with each release, too, discussing who/what/why/when.
REM - GO.BAT : BATCH FILE TO BUILD THE V375 PROGRAM FILE 22376D.ROM REM - REM - V375 FIRMWARE RELEASE 'D' REM - (22376 FOR ASSEMBLY REV B, C) REM - REM - REV A MW JULY 2, 2003 REM - REV B MW AUG 21, 2003 REM - REV C SP OCT 01, 2004 REM - REV D JL JAN 12, 2005
ECHO OFF CLS
PREP32 22376D C32C 22376D.ASM -L 22376D.LUG -H 22376D.HEX > 0.ERR POST32 22376D /N
DEL 22376D.ASM DEL 22376D.LUG
BRICK 22376D.ROM/2M = 22376D.HEX 22377C.RBT/14000 22378E.RBT/20000
22379C.RBT/32000 /C:3F004
SPLIT 22376D.ROM
TYPE 0.ERR