Pentagram - Atari 8bit version

Files:
pentagram_6502.asm			main game, contains 6502 implementation of Pentagram, created with Z80 -> 6502 recompiler and then optimized
pentagram_atari.asm			Atari-specific portions of Pentagram, title screen, game over screen, PMG overlays
pentagram_sprites.asm		Pentagram sprites, extracted from original game and reformatted
pg.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
pentagram.rmt				RMT music module (created by Miker)
pg_disassembly.txt			Partial disassembly of Spectrum version of Pentagram, taken from Neil Walker website (http://retrospec.sgn.net/users/nwalker/filmation/), used as a source for Z80 -> 6502 recompiler
rom_page_0.bin				Snapshot of ZX Spectrum rom, area $0000 - $00ff, used by Pentagram for generating random numbers

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

overlays
	*.g2f					PMG Overlays for screens in Pentagram, created by Jose
	
Building game image:
1. Build main game: mads -t -l pg.asm
2. Build loading screen: mads -t -l loading\pgloading.asm
3. Compress main game: exomizer sfx sys -t168 -x1 -s"lda #0 sta $22f sta $d400 sta $d000 sta $d001 sta $d004 sta $d005" -Di_table_addr=$0400 pg.obx
4. Create xex image: copy /b .\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