Eastern Front (1941) Rebuilt from Its Original Source, and a Source-Code Library for FujiNet
In August 2023 Thom Cherryhomes (tschak909), who started the FujiNet project, asked on AtariAge whether anyone had ever assembled and linked Eastern Front (1941) from Chris Crawford's released source code, and then did it himself. Within hours he had a build that ran. The result was a step-by-step procedure and a video of the whole build. It also led to an effort to collect buildable Atari source code in one place on the Internet.
The build
The files are Crawford's version 1.8 modules, EFT18T, EFT18C, EFT18D, EFT18M and EFT18I, plus a font file. Thom used only period tools:
- the Atari Assembler/Editor cartridge;
- DOS 2.0S in D1:, patched for four drives with
POKE 1802,15; - the source disk in D2: and a freshly formatted build disk in D3:.
Each module is assembled with a command of the form ASM #D2:EFT18T.ASM,,#D3:EFT18T.OBJ. The resulting object files are then "linked" by loading them one after another from DOS (menu option L, binary load), followed by D2:FONTS.OBJ. Finally a single executable is written with option K, binary save:
D3:EFT18.OBJ,4700,7C00,,6E00
That saves memory from $4700 to $7C00, with a run address of $6E00.
The first build ran with some player-missile graphics corruption. Rybags suggested why. The game expects to be loaded in one go from a cold start, when RAM is clear, but loading from DUP leaves old data in memory. He noted that the APX version puts the character set at page $60 and PMG memory at page $50, so he proposed adding a final segment that clears RAM from $0700 up to the lowest load address. For a quick test in Altirra, another member gave a recipe: load the file from DOS with /N so it doesn't run, open the debugger, fill $0700–$46FF with zeros (F 700 L4000 00), set the boot flag and point the DOSINI vector at $6E00 (E 9 01, E C 00 6E), and warm-start. The cartridge assembler is very slow. One member suggested turning off screen DMA during assembly, or using the emulator's warp mode, to save a lot of waiting. Thom kept the slow parts in his video "for the sake of authenticity".
A FujiNet twist
The video build used a FujiNet throughout. It produced the full assembler listings, and it served PC-readable copies of the source from a Windows file share on the network. Everything needed to follow along was put on Thom's apps.irata.online TNFS server, and he asked what else could go there. His aim was a public collection of buildable source code plus the tools to build it, as a way to bootstrap and teach Atari programming.
The library grows
The idea came back in January 2025, when Thom published a similar video assembling Tom Hudson's Livewire with the Atari Macro Assembler (AMAC). Both the assembler and the source loaded from the Internet through FujiNet, and a FujiNet virtual disk received the output. He moved the collection to /Atari_8-bit/SourceCode/ on the server and added an ordinary web index (https://apps.irata.online/Atari_8-bit/SourceCode/) after several forum members tried to open the TNFS server in a browser. CharlieChaplin contributed ATR collections of Action!, assembler, BASIC, C, Logo, PILOT, Pascal and Quick sources. Other members pointed out that AtariWiki already keeps a source-code section, and explained how to use FujiNet from Altirra with the FujiNet-PC launcher and its NetSIO device file.
Why it matters
Plenty of classic Atari source code has surfaced over the years, but a listing that actually rebuilds into the shipped program is much more useful to study and fix. Another member in the thread was already reading the source to track down the game's known bugs. Eastern Front, one of the most admired games on the machine, is now a documented, repeatable build using only the tools Crawford's generation had.
Where to get it
With a FujiNet, add apps.irata.online as a TNFS host and browse to the source-code folder. Without one, use the web index above or the FujiNet-PC launcher in Altirra. You'll need the Assembler/Editor cartridge image and DOS 2.0S. Use the DUP binary save line above, and add a RAM-clearing segment (or start from a clean cold boot) to avoid the PMG glitch.
Credits
- Picture: Eastern Front (1941) in its 1982 Atari cartridge edition. The rebuilt source is the earlier APX disk version 1.8. — Eastern Front (1941) screenshot from AtariMania
- AtariAge — Anyone assembled/linked Eastern Front 1941 from the released source code? — AtariAge forum members
- AtariAge — Source Code folder on apps.irata.online. — AtariAge forum members
- AtariAge — Source Code folder on apps.irata.online (page 2: FujiNet-PC in Altirra, source collections) — AtariAge forum members
- AtariAge — Assembling Livewire from Source Code! — AtariAge forum members
- AtariMania — Eastern Front (1941) (screenshot) — Eastern Front (1941) screenshot from AtariMania
