Function Name
InitRam
Purpose
Uses a table to set various memory locations in a uniform manner.
Call Address
$C181
Input
R0 - $02-$03 - Address of a data table.
Table format:
- 2 bytes - Address to start storing a sequence of values at. An address of $0000 ends the table.
- 1 byte - Number of values in the sequence.
- X bytes - The sequence of values to be stored.
- Definitions are repeated until an address of $0000 is encountered.
Description
This routine allows many memory locations to be specified and set in an orderly manner. The format of the data table is a list of sequences terminated by $0000 as the starting address.


