Total Eclipse - Atari 8bit version

Files:
te.asm				main game
te.dmp				raw memory image from C64 version, loads at $0800
atari.hea			Atari 8bit hardware equates
tec64.asm			Partial disassembly of C64 version of Total Eclipse, created with Infiltrator Disassembler
te5.rmt				Music and sound effects (created by stRing)
loading				loading screen prepared by Adam
	loading.g2f		loading screen in g2f format
	loading.asm		source code for loading screen
	
	
Building game image:
1. Build loading image:
cd loading
mads -t -l loading.asm
2. Build regular game:
mads -t -l te.asm
3. Prepare game image:
run Altirra, load te.obx, execute few instructions until ROM gets banked out and use commands: 
.writemem te0400.bin 0400 LBC00
.writemem tec800.bin c800 L0800
.writemem ted800.bin d800 L0E00
.writemem tef300.bin f300 L0D00
4. Compress game image:
lzg -9 te0400.bin te0400.bin.lzg
lzg -9 ted800.bin ted800.bin.lzg
lzg -9 tef300.bin tef300.bin.lzg

5. Copy compressed images to game folder
copy te*.bin.lzg game\

6. Create image of final game:
cd game
mads -t -l tegame.asm
copy /B ..\loading\loading.obx+tegame.obx te.xex
7. Create ATR of final game
dir2atr.exe -md -B xboot.obx te.atr te

Tools needed:
MADS: MAD Assembler http://mads.atari8.info/
Altirra: http://www.virtualdub.org/altirra.html
LZG: https://github.com/mbitsnbites/liblzg
XBios: http://xxl.atari.pl/ (xboot.obx)
Dir2Atr: http://www.horus.com/~hias/atari/#tools-win32



	
