Index

Function Name: RAMTAS

Purpose: Init RAM and buffers
Call address: $FF87 (hex) 65415 (decimal)
Preparation:

	Registers:	none
	Memory:		system map
	Flags:		none
	Calls:		none
Results:
	Registers:	.A used
			.X used
			.Y used
	Memory:		initializes RAM
	Flags:		none

Description: RAMTAS clears all page-zero RAM, allocates the cassette and RS-232 buffers, sets pointers to the top and bottom of system RAM (RAM 0) and points the SYSTEM_VECTOR ($A00) to BASIC cold start ($4000). Finally, it sets a flag, DEJAVU ($A02), to indicate to other routines that system RAM has been initialized and that the SYSTEM_VECTOR is valid. It should be noted that the C128 RAMTAS routine does not in any way test RAM.

EXAMPLE:

	JSR $FF87	;initialize system RAM