dos33fsprogs/megademo
2018-10-25 17:08:20 -04:00
..
disk
images
music megademo: music, effects are sorta right 2018-10-25 17:08:20 -04:00
writeup
apple_40_96.inc
arrival.png
arrival.s
bg_scroll.s
bird_mountain.s
c64_opener.s megademo: finish getting starring_people looking nice 2018-10-23 00:27:18 -04:00
c64_updated.png
c64.png
check_email.s megademo: update e-mail message 2018-10-24 00:30:57 -04:00
d_hgr.bmp
deater_hgr.bmp
deater_hgr.png
deater.png megademo: make starring pictures use tengwar 2018-10-22 20:15:18 -04:00
delay_a.s
email_40_96.png megademo: add susie to email scene 2018-10-22 00:19:34 -04:00
falling_apple.s megademo: falling_apple: auto-timeout 2018-10-21 14:56:43 -04:00
FAQ megademo: add susie to email scene 2018-10-22 00:19:34 -04:00
fireworks.s
fs_hgr.bmp
fs_hgr.png
fs.png megademo: make starring pictures use tengwar 2018-10-22 20:15:18 -04:00
fw_background.inc
fw_state_machine.s
fw.s
gr_copy.s
gr_fast_clear.s
gr_hlin_double.s
gr_hline.s
gr_offsets.s
gr_pageflip.s
gr_putsprite.s
gr_scroll.s
gr_setpage.s
gr_unrle.s megademo: move some more stuff to main file 2018-10-21 14:22:27 -04:00
hardware.inc
hgr.s
KATC.BIN.lz4 fireworks: merge in the bird_mountain sequence 2018-09-26 23:52:36 -04:00
leaving.png
leaving.s
letters.s megademo: update credits 2018-10-24 00:04:31 -04:00
lg_hgr.bmp
lg_hgr.png
lg.png megademo: make starring pictures use tengwar 2018-10-22 20:15:18 -04:00
lz4_decode.s
Makefile megademo: finish getting starring_people looking nice 2018-10-23 00:27:18 -04:00
megademo.dsk megademo: update e-mail message 2018-10-24 00:30:57 -04:00
megademo.s megademo: takeoff: run at useful speed 2018-10-24 22:47:24 -04:00
megaload.s megaload: RTS code had a lo/hi swap that made > 30k files not load 2018-10-22 16:41:59 -04:00
mode7_sprites.inc
mode7_zp.inc megademo: add bird escape scene to takeoff 2018-10-25 00:55:12 -04:00
mode7.s
move_letters.s
multiply_fast.s
random16.s
README
SB_BACKGROUNDC.BIN.lz4
screen_split.s
SIZE megademo: update e-mail message 2018-10-24 00:30:57 -04:00
sp_names.png megademo: finish getting starring_people looking nice 2018-10-23 00:27:18 -04:00
space_bars.s megademo: we now have a demo! 2018-10-22 12:34:08 -04:00
starring_1.png megademo: finish the starring animation 2018-10-21 20:44:59 -04:00
starring_2.png megademo: finish the starring animation 2018-10-21 20:44:59 -04:00
starring_3_hgr.png megademo: finish the starring animation 2018-10-21 20:44:59 -04:00
starring_3.png
starring_people.s megademo: finish getting starring_people looking nice 2018-10-23 00:27:18 -04:00
starring.s megademo: starring_people: timeout 2018-10-21 23:12:49 -04:00
starry_sky.scroll
takeoff_hgr.png
takeoff.png
takeoff.s megademo: add bird escape scene to takeoff 2018-10-25 00:55:12 -04:00
text_print.s
tfv_sprites.inc megademo: add bird escape scene to takeoff 2018-10-25 00:55:12 -04:00
TODO megademo: takeoff: run at useful speed 2018-10-24 22:47:24 -04:00
vapor_lock.s
wait_keypress.s
waterfall_page1.inc
waterfall_page2.inc
waterfall.s
zp.inc megademo: add bird escape scene to takeoff 2018-10-25 00:55:12 -04:00


Memory Map:
	$0000-$0100 = ZERO PAGE
	$0100-$0200 = STACK
	$0400-$0800 = TEXT/GR PAGE0
	$0800-$0C00 = TEXT/GR PAGE1
	$0C00-$0fff = we use this as TEXT/GR offscreen buffer
	$1000-$1fff = 4k free
	$2000-$3fFF = HGR1 page	; note we never use HGR2 ($4000-$6000)
	$4000-$9600 = roughly 20k(?)
	$9600-$BFFF = DOS3.3
	$C000-$FFFF = peripherals/ROM

	Largest can load from $4000 to $9600 = 22,016
	Largest can load from $1000 to $9600 = 34,304
	$4000-$C000 = 32768


C64:
Apple II:
Starring:
	Three pages page flipping.  Hires colors subset of Lores so
	can replicate a blocky color image.  Could in theory animate this
	at 60Hz.  Also could flip between 4 pages, but need the 8k of
	HGR page2.

	For cycle-counting timing, jmp one into a bit $C055 instruction
	which is EOR $C0,X (4 cycles)

	Note, discover that the LORES and HIRES pages aren't exact matches
	for each other, even when using same color.  Half-pixel off?

E-mail:
	Half screen text, half 40x96 lores.
	Text is also interlaced top/bottom to create new chars (including
	some lowercase) on Apple II+ and before w/o lower case.
	Trouble as the built-in font is offset a frame on II vs IIe?
	Also annoyance, my GR compressor uses Grey2 (color $a) as encoding,
	which means can't use a GR image to hold plain black spaces (char $a0)