Fairlight - Atari 8bit version

Files:
fl.asm				main game
fl.dmp				raw memory image from C64 version, loads at $0800
atari.hea			Atari 8bit hardware equates
flc64.asm			Partial disassembly of C64 version of Fairlight, created with Infiltrator Disassembler
fairlight_ingame_mst.rmt			In-game music (created by Wieczór)
intro				intro, consists of credits screens and title screen created by Jose
	flittle.g2f			g2f picture of title screen
	fltitle.asm			code to display title screen (created by G2F, modified to work with intro)
	flcreditsc64.g2f	g2f picture of C64 credits screen
	flcreditsc64.asm	code to display c64 credits screen (created by G2F, modified to work with intro)
	flcreditsa8.g2f	g2f picture of Atari 8bit credits screen
	flcreditsa8.asm		code to display c64 credits screen (created by G2F, modified to work with intro)
	rmtplayr.asm		RMT music player
	rmt_feat.asm		RMT music player
	flintro.asm			Source code of intro control module
	music.rmt			Title music (created by Wieczór)
loading				loading screen prepared by Jose
	loading.g2f		loading screen in g2f format
	loading.asm		source code for loading screen
	
	
Building game image:
1. Build game intro:
cd intro
mads -t -l flintro.asm
mads -t -l fltitle.asm
mads -t -l flcreditsa8.asm
mads -t -l flcreditsc64.asm
copy /B flintro.obx+fltitle.obx+flcreditsa8.obx+flcreditsc64.obx flintro.xex
2. Prepare intro image:
run Altirra, load flintro.xex and use command: .writemem flintro.raw 2000 L6F00
3. Compress intro image:
7z a -tgzip -mx=9 -so dummy flintro.raw | gzip2deflate >flintro.bin
4. Build loading image:
cd loading
mads -t -l loading.asm
5. Build regular game:
mads -t -l fl.asm
6. Prepare game image:
run Altirra, load fl.obx and use command: .writemem fl.raw 0800 LC800
7. Compress game image:
7z a -tgzip -mx=9 -so dummy fl.raw | gzip2deflate >fl.bin
8. Copy compressed images to game folder (fl.bin and flintro.bin)
9. Create image of final game:
cd game
mads -t -l flgame.asm
copy /B loading.obx+flgame.obx fl.xex
10. Create ATR of final game
dir2atr.exe -md -B xboot.obx fl.atr fl

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



	
