Function Name: CINT

Purpose: Initialize screen editor and devices
Call address: $FF81 (hex) 65409 (decimal)

	Registers:	none
	Memory:		system map
	Flags:		none
	Calls		none
	Registers:	.A used
			.X used
			.Y used
	Memory:		init Editor RAM
			init Editor I/O
	Flags:		none

Description: CINT is the Editor's initialization routine. Both 40- and 80-column display modes are prepared, editor indirect vectors installed, programmable key definitions asigned, and the 40/80 key scanned for default display determination. CINT sets the VIC bank and VIC nybble bank, enables the character ROM, resets SID volume, places both 40- and 80-column screens and clears them. The only thing it does not do that pertains to the Editor is I/O initialization, which is needed for IRQ's (keyscan, VIC cursor blink, split screen modes), key lines, screen background colors, etc. (see IOINIT). Because CINT updates Editor indirect vectors that are used during IRQ processing, you should disable IRQ's prior to callint it. CINT utilizes the status byte INIT_STATUS ($A04) as follows:

$A04 bit 6 = 0 -> Full initialization. (set INIT_STATUS bit 6)
             1 -> Partial initialization. (not key matrix pointers) and (not program key definitions)
CINT is also an Editor jump table entry ($C00).


	JSR $FF81	;initialize screen editor