// Kissaten Yūgure - MSXgl project configuration // MSX2 · SCREEN 5 · ASCII16 MegaROM (see docs/DESIGN.md §5) // ASCII-safe name: used for output filenames (ROM, symbols, intermediates) ProjName = "kissaten"; ProjModules = [ ProjName ]; LibModules = [ "system", "bios", "vdp", "print", "input", "memory", "math" ]; Machine = "2"; // ASCII16 MegaROM from day one: dialogue, portraits and music banks will not // fit in 32KB (DESIGN.md §5). 16KB segments; segments 0-1 are the fixed main // code at 4000h~BFFFh, segments 2+ are banked data (dialogue, art, music). Target = "ROM_ASCII16"; ROMSize = 128; ROMMainSegments = 2; // Enable when banked data/code actually lands (stage 3 dialogue banks); // with it on from day one, RAM globals were getting corrupted at runtime. BankedCall = false; CheckVersion = true; // MSX2 required (SCREEN 5, V9938 commands) AddROMSignature = true; // Required for disk saving. A cartridge's INIT normally runs *during* the BIOS // slot scan and MSXgl never returns from it, so the Disk ROM's own INIT never // happens — NMBDRV stays 0 and the PHYDIO hook is never patched. This option // instead installs an H.STKE hook and returns to the scan, so the game starts // after the disk system is up. Boot takes visibly longer as a result. ROMDelayBoot = true; AppSignature = true; AppCompany = "JL"; AppID = "KY"; Verbose = true;