change direction into 4 bit number equal to bits in controller input? it would save much logic time...
- Done. 11.2.2004

Change the map structure. Level address should be held in r33-r34.
- Done. 11.4.2004

The level data should first contain a number for each virtual tile, 10x7 (70 bytes). After that (or the level address + 70 bytes) should follow the pellet map for the level, two bits for each one (0 = none, 1 = pellet, 2 = power pellet), in a 20x14 grid (70 bytes).

Virtual tiles should be in a tile array, with three bytes to each tile. The first two would be the graphic address of the tile, and the last should have the boundaries for the tile in the lower four bits. 

Tiles themselves should be 8 bytes of graphical data, each bit representing one pixel.
- Done. 11.4.2004

necessary bytes:
Pac-man Position	(2 bytes)
Ghosts Position		(8 bytes)
Map Address		(2 bytes)
animation counter	(1 byte)
Pellets			(35 bytes)
score			(2 bytes)
hi-score		(2 bytes)
lives			(1 byte)
fruits			(1 byte)
power pellet		(1 byte)
--------------------------------
			(55 bytes)
K stack			(5 bytes)
--------------------------------
			(60 bytes)
			(64 bytes total)

1234657812345678123456
1100101101110110111000