load-rom* ( seq cpu -- )


Vocabulary
cpu.8080.emulator

Inputs
seqa sequence
cpua cpu


Outputs
None

Word description
Loads one or more ROM files into the cpu's memory. Each file is loaded at a particular starting address. 'seq' is a sequence of 2 element arrays. The first element is the address and the second element is the file to load at that address.

The filenames are relative to the path stored in the rom-root variable. An exception is thrown if this variable is not set.

Examples

{ { 0x0000 "invaders.rom" } } <cpu> load-rom*



See also
load-rom

Definition