Gunfright - Atari 8bit version

Files:
gunfright_6502.asm			main game, contains 6502 implementation of Gunfright, created with Z80 -> 6502 recompiler and then optimized
gunfright_atari.asm			Atari-specific portions of Gunfright, title screen, game over screen, PMG overlays
gunfright_sprites.asm		Gunfright sprites, extracted from original game and reformatted
gf.asm						Driver file to assemble a game
spectrum_atari.asm			Atari specific implementation of ZX Spectrum hardware: screen, keyboard, joystick, interrupts
z80.asm						Definitions and subroutines used by Z80 translated code
atari.hea					Atari hardware equates
rmtplayr.a65				RMT player
rmt_feat.a65				RMT definitions file
gunfright.rmt				RMT music module (created by Saul Cross)
gunfright_spectrum.asm		Partial disassembly of Spectrum version of Gunfright used as a source for Z80 -> 6502 recompiler
rom_page_0.bin				Snapshot of ZX Spectrum rom, area $0000 - $00ff, used by Gunfright for sound effects

loading
	loading.g2f				Loading screen in g2f format (created by Jose)
	loading.asm				Loading screen code
	loading.raw				Bitmap data of loading screen

overlays
	*.g2f					PMG Overlays for screens in Gunfright, created by Jose
	
Building game image:
1. Build main game: mads -t -l pg.asm
2. Build loading screen: mads -t -l loading\loading.asm
3. Compress main game: exomizer.exe sfx sys -t168 -x1 -s"lda #0 sta $22f sta $d400 sta $d40e sta $d20e sta $d01d sta $d000 sta $d001 sta $d002 sta $d003 sta $d004 sta $d005 sta $d006 sta $d007 lda #$fe sta $d301" -Di_table_addr=$C000 gf.obx
4. Create xex image: copy /b .\loading\loading.obx+a.out pg.xex
5. Create ATR of final game: dir2atr.exe -md -B xboot.obx pg.atr pg

Tools needed:
MADS: MAD Assembler http://mads.atari8.info/
Altirra: http://www.virtualdub.org/altirra.html
Exomizer 2: http://hem.bredband.net/magli143/exo/
XBios: http://xxl.atari.pl/ (xboot.obx)
Dir2Atr: http://www.horus.com/~hias/atari/#tools-win32