| ArchiLudo's !Run file -- assembled into the built !ArchiLudo application
| directory (build/!ArchiLudo/!Run,feb) by the top-level Makefile. See
| docs/BUILDCHAIN.md's "Application directory" section for the full
| writeup, and Steve Fryatt's wimp-prog tutorial, Chapter 17
| ("Creating an Application Directory",
| https://www.stevefryatt.org.uk/risc-os/wimp-prog/creating-an-application-directory,
| local mirror at ~/riscos-dev/wimp-prog-mirror/wimp-prog/
| creating-an-application-directory.html) for the conventions this follows.
|
| Deliberately does NOT include that tutorial's own *RMEnsure block for
| CallASWI/FPEmulator/SharedCLibrary -- those guard against the Acorn DDE's
| runtime dependencies (the shared C library / floating-point emulator
| modules a DDE-compiled program branches directly into), which don't apply
| here: ArchieSDK links its own self-contained libc, confirmed against a
| real ArchieSDK demo's own !Run file
| (examples/bydctc/data/!Run,feb in the ArchieSDK checkout), which has no
| such lines either. The RISC OS version check below is a genuine
| requirement of this project's own real hardware target, not a toolchain
| artefact, so it stays.

RMEnsure UtilityModule 3.10 Error This application requires RISC OS 3.10 or later

Set ArchiLudo$Dir <Obey$Dir>

IconSprites <ArchiLudo$Dir>.!Sprites

| Round 7.60: background music/SFX via QTM (QTheMusic), bundled here
| rather than assumed present -- freeware, see CREDITS.md. RMEnsure only
| loads this copy if a suitable version isn't already resident (e.g. a
| previous ArchiLudo run, or another app), per the reference ArchieSDK
| example's own plain "RMLOAD <Demo$Dir>.QTMModule" (examples/bydctc/
| data/!Run,feb) adapted with the RMEnsure guard a normal desktop app
| (unlike a self-contained demo) should use. lib/qtm.c still checks
| QTM_Load's own SWI is actually resolvable at startup regardless --
| this line failing silently (e.g. a corrupt/missing file) doesn't stop
| the game running, just its music/SFX.
RMEnsure QTM 1.49 RMLoad <ArchiLudo$Dir>.QTMModule

| Round 7.61: -max raised 256K -> 384K -- live testing found SfxWin (the
| largest bundled sample) failing to malloc during lib/qtm.c's startup
| conversion pass, most likely this ceiling being too tight for its
| ~130KB simultaneous temporary buffers (16-bit source + 8-bit
| converted, freed right after) on top of everything else already
| resident. -min stays at 128K -- only the ceiling needed raising, not
| the floor, so a genuinely tight stock 1MB machine still launches;
| WimpSlot's own -max is a growth ceiling, not memory reserved up front.
WimpSlot -min 128K -max 384K
Run <ArchiLudo$Dir>.!RunImage
