README


FILES:
	convgame.c
		GAME III source format (BINARY <-> TEXT) converter
	pi.gt
		sample source - Calculate PI (GAME III text source)

COMPILE:
	cc convgame.c -o convgame

TEST:
	$ ./convgame -h
	usage: convgame [-g|-b|-t|-m] [file]
		-g: to game binary.
		-b: same as -g.
		-t: to text (default).
		-m: mzt to binary/text.

	$ ./convgame -b pi.gt >pi.g
	$ ./convgame -t pi.g >pi.t
	$ diff -b pi.gt pi.t
	# there is no differences (ignore space change)

	$ ./convgame -m starrynight.mzt | ./convgame >starrtynignt.t

NOTE:
GAME III source format:
	TEXT type: Human readable plain text file.
	BINARY type: Machine readable file.
		Line number is 16bit(BigEndian) binary.
		Line delimiter is 0x00.
		EOF is 0xFF,0x00(as 16bit, BigEndian Negative number).
		BINARY source is used for GAME III interpreter in MC6800 emulator.

CHANGES:
	2016-10-25:	-m (mzt file -> BINARY) option added.
	2006-07-21:	initial version.
