Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Basic ¶
type Basic []byte
Basic is an in-memory implementation of the Space Invaders memory.
The Space Invaders memory is mapped as follows:
$0000-$1FFF -> 8K ROM $2000-$23FF -> 1K RAM $2400-$3FFF -> 7K Video RAM $4000 -> RAM mirror
For more details on the ROM structure see machine.LoadROM.
func (Basic) LoadROM ¶
LoadROM loads the Space Invaders ROM into memory.
The ROM itself is broken down into 4 parts with the following address ranges:
$0000-$07ff: invaders.h $0800-$0fff: invaders.g $1000-$17ff: invaders.f $1800-$1fff: invaders.e
Click to show internal directories.
Click to hide internal directories.