dos33fsprogs/ootw
2019-03-20 22:46:18 -04:00
..
intro_graphics ootw: intro: clean up the mess that accumulated when getting things to fit 2019-03-03 11:36:51 -05:00
ootw_graphics ootw: can sorta walk around level2 now 2019-03-20 22:46:18 -04:00
compress_test.s ootw: more lz4 work 2019-02-25 21:01:06 -05:00
cutscene_beast.s ootw: add support for "overlay" on top of background 2019-02-03 00:55:45 -05:00
cutscene_slug.s ootw: add beginnings of beast cutscene 2019-01-24 16:55:53 -05:00
earthquake.s ootw: move earthquake framebuffer really high 2019-03-18 21:29:32 -04:00
FAQ ootw: start adding code to handle end of level 2019-03-19 12:06:36 -04:00
gr_copy.s ootw: intro: split out gr_make_quake 2019-03-01 11:53:56 -05:00
gr_fast_clear.s ootw: intro: remove more extraneous code 2019-03-01 12:04:29 -05:00
gr_make_quake.s ootw: move earthquake framebuffer really high 2019-03-18 21:29:32 -04:00
gr_offsets.s ootw: actually draw sprite 2019-01-13 23:37:49 -05:00
gr_overlay.s ootw: intro: initial DNA support 2019-02-17 13:37:24 -05:00
gr_pageflip.s ootw: add another demake 2019-01-13 01:10:44 -05:00
gr_plot.s ootw: intro, lots of elevator work 2019-02-05 23:46:31 -05:00
gr_putsprite_flipped.s ootw: intro: remove more extraneous code 2019-03-01 12:04:29 -05:00
gr_putsprite.s ootw: intro: remove more extraneous code 2019-03-01 12:04:29 -05:00
gr_run_sequence.s ootw: intro2 working 2019-03-20 14:41:31 -04:00
gr_unrle.s ootw: add support for "overlay" on top of background 2019-02-03 00:55:45 -05:00
gr_vlin.s ootw: intro, lots of elevator work 2019-02-05 23:46:31 -05:00
hardware.inc ootw: more lz4 work 2019-02-25 21:01:06 -05:00
hello.bas ootw: update loading basic program 2019-03-15 13:08:56 -04:00
intro_data_01.s ootw: intro: segments 1-3 going 2019-03-02 11:10:41 -05:00
intro_data_04.s ootw: intro: fine tuning a bit 2019-03-02 11:42:59 -05:00
intro_data_06.s ootw: intro: looking good, up to the storm 2019-03-02 12:07:03 -05:00
intro_data_08.s ootw: intro: success! 2019-03-02 13:37:17 -05:00
intro_data_09.s ootw: intro: success! 2019-03-02 13:37:17 -05:00
intro.s ootw: intro2 working 2019-03-20 14:41:31 -04:00
keyboard.s ootw: swinging sorta works 2019-03-17 01:28:42 -04:00
loader.s ootw: intro: more squishing 2019-03-01 14:03:20 -05:00
lz4_decode.s ootw: intro: drastic times call for drastic measures 2019-03-02 10:02:46 -05:00
Makefile ootw: can sorta walk around level2 now 2019-03-20 22:46:18 -04:00
ootw_c2_cage.s ootw: can sorta walk around level2 now 2019-03-20 22:46:18 -04:00
ootw_c2_intro.s ootw: intro2 working 2019-03-20 14:41:31 -04:00
ootw_c2_jail.s ootw: can sorta walk around level2 now 2019-03-20 22:46:18 -04:00
ootw_c2.s ootw: can sorta walk around level2 now 2019-03-20 22:46:18 -04:00
ootw_cavern.s ootw: move earthquake framebuffer really high 2019-03-18 21:29:32 -04:00
ootw_mesa.s ootw: possible to end level1 and progress to level2 2019-03-20 11:53:13 -04:00
ootw_pool.s ootw: split out room edge detection 2019-03-16 14:17:20 -04:00
ootw_rope.s ootw: use overlays for rope swinging 2019-03-19 00:31:18 -04:00
ootw.dsk ootw: intro: allow continuing to game 2019-03-03 14:05:00 -05:00
ootw.s ootw: possible to end level1 and progress to level2 2019-03-20 11:53:13 -04:00
physicist.s ootw: swinging sorta works 2019-03-17 01:28:42 -04:00
random16.s ootw: add earthquake 2019-01-18 00:18:06 -05:00
README ootw: intro2 working 2019-03-20 14:41:31 -04:00
sluggy.s ootw: move collapsing in with the general physicist movement 2019-03-15 13:47:41 -04:00
sprites_beast.inc ootw: add beast sprites 2019-01-26 14:24:56 -05:00
sprites_ootw.inc ootw: split up the sprites file 2019-01-22 23:00:59 -05:00
sprites_slugs.inc ootw: we not have ceiling slugs 2019-01-24 22:58:21 -05:00
text_print.s ootw: intro: a lot of accelerator text there 2019-02-18 12:18:46 -05:00
TODO ootw: possible to end level1 and progress to level2 2019-03-20 11:53:13 -04:00
zp.inc ootw: can sorta walk around level2 now 2019-03-20 22:46:18 -04:00

Another / Out-of-This World Demake for Apple II+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
	by Vince "Deater" Weaver (vince@deater.net) 
		http://www.deater.net/weave/vmwprod/ootw/
	Disk and LZ4 routines by qkumba

+ The game "Another World" was released in 1991.
	Written by Eric Chahi.
  It was eventually ported to many systems (I played it on IBM PC).

  It even got an Apple IIgs port (the IIgs is 16-bit with fancy
	graphics and sound).  However you couldn't play it on
	earlier Apple II systems... until now.

+ I was inspired to do this by this amazing PICO-8 version of:
	https://liquidream.itch.io/another-world-survival

  and thought the Apple II lo-res palette (15 colors, 40x48 graphics)
  might be just barely enough to do it justice.

==================
Game controls:
==================
  Keyboard:
	Note, Apple II has simplistic keyboard support.
	In general it's not possible to read more than one key at a time.
	Additionally, on older models there's no auto-repeat unless you
		hold down the REPT key, which makes running difficult.
	This means it's really not possible to use the keyboard the
		same way as the original game.

	Q/E		- walk left/right
	A/D <-/->	- run left/right
	W up		- jump
	S down		- crouch
	space		- kick

  During the intro, you can press R to make it repeat forever.

  Joystick support: none yet?


==================
Development notes:
==================

Ootw Memory map:
	00	zero page
	01	stack
	02	????
	03	nibble table/disk data
	04-07	GR page0
	08-0b	GR page1
	0c-0f	background  ($c00 = disk load buffer)
	10-13	background overlay
	14-16	loader
	17-bf	program-data (41.25k)
	bc-bf   earthquake background (shifted)
	c0-cf	I/O
	d0-ff	ROM


Intro Memory map:
	00	zero page
	01	stack
	02	????
	03	nibble table/disk data
	04-07	GR page0
	08-0b	GR page1
	0c-0f	offscreen data  ($c00 = disk load buffer)
	10-13	offscreen data2
	14-16	loader
	17-89	program/compressed-data (30.25k)
	90-bf	currently decompressed level data (12k)
	c0-cf	I/O
	d0-ff	ROM


Intro Memory squeeze!

	10,748 over	all graphics in
	10,734 over	remove extraneous blank bg image
	 8,658 over	re-arrange memory map, 42k avail now
	 8,562 over	move gr_make_quake out of common code
	 8,374 over	remove extraneous code (mostly put_sprite_flipped)
	 5,469 over     allow changing bg on fly in sequence
	 4,122 over	modify cyan frames to be on fly
	 2,749 over	do same for zappo routines
	 2,493 over	squish disk loader vars to page 3
	 2,165 over	horrible hack to auto-go to next image in sequence
	 2,114 over	move bg loading into seq
	 2,053 over	make elevator indicator a loop
	 1,347 over	use LZ4 instead of RLE

Gave up, see if we can compress in chunks and decompress, sort of like
my chiptune player does.


Let's take a 12k region of memory = $3000
	$C000 - $3000 = starting at $9000


ID1 =	1461		2143\
ID2 =   1759		2687|--- together in 01
ID3 =	1195		1879/
ID4 =   2514		8280\--- in 04
ID5 =	1947		3492/
ID6 =	2584		3610\ --- in 06
ID7 =   2834		3606/
ID8 =	3705		4918 | -- in 08
ID9 =	4494		5901\  -- in 09
ID10 =	3397		5558/
	=====          ======
	25890             12k


ootw memory squeeze:
	after full rope sequence in:	23065
	make transparent overlays:	13971
	add end-of-l1 cutscene:		26464
	make transparent overlays:	17821
	add in rest of end cutscene	23906
	make those transparent		21236


ootw2 memory squeeze:
	before intro			3872
	after intro			9234