Commit Graph

7 Commits

Author SHA1 Message Date
nmlgc fdaf261931 [Translation unit catch-up] [th02] HUUHI.DAT: Default data
Technically not bloat if we imagine a development setting where ZUN
ran ZUN_RES.COM once and then repeatedly deleted HUUHI.DAT while
leaving ZUN_RES.COM resident.

Part of P0285, funded by [Anonymous] and iruleatgames.
2024-07-09 08:47:02 +02:00
nmlgc 620d9cedcf [Build] Merge the research code into the Tupfile
I considered disabling it by default and only enabling it through an
optional `CONFIG_RESEARCH` variable, but that turned out to be too
annoying and inconsistent when `build_dumb.bat` generation came into
play.

Part of P0004, funded by GhostPhanom.
2024-07-09 08:38:39 +02:00
nmlgc 528a63a42e [Build] Merge the entire 16-bit build part into the Tupfile
Part of P0004, funded by GhostPhanom.
2024-07-09 08:38:39 +02:00
nmlgc 0109bc6aa3 [Build] Compile bmp2arr with Turbo C++, using MS-DOS Player on 64-bit systems
Yup, no more 32-bit C++ compiler required!

Part of P0004, funded by GhostPhanom.
2024-07-09 08:38:39 +02:00
nmlgc 056085b478 [Build] Rules: Batch TCC invocations with identical command lines
Compiling as many source files as possible within a single TCC process
is the single most important build time optimization we can do. Sadly,
it won't work with Tup's parallel nature, but it can really shine in a
dumb batch build. This is the reason why Windows 9x can compile this
entire codebase on a single core in half the time it takes MS-DOS
Player to do the same on 64-bit Windows, on the same hardware.

That weird double-spacing, however, is the most ridiculous workaround
for a bug I have seen in a long while…

Completes P0282, funded by [Anonymous].
2024-07-09 02:46:55 +02:00
nmlgc 6842b64f5c [Build] Reimplement `tup generate` in Lua and Batch
Part of P0282, funded by [Anonymous].
2024-07-09 02:46:55 +02:00
nmlgc 5a79ea574c [Build] 32-bit: Refactor the Tupfile into Lua
A perfect `tup refactor`, already featuring most of the structure we're
going to use for the merged 32-bit and 16-bit build.
Also, inlining all the BCC32 stuff because we're no longer going to use
this compiler anyway.

Part of P0003, funded by GhostPhanom.
2024-07-06 18:33:24 +02:00