/*
     KITTEN hello world example program
     Version optimized (bummed even) for size
     Run file size: 991 bytes.
*/

// Make sure no additional procedures are included
? parsecommandline			FALSE
? resize				FALSE
? ctrl_c				FALSE
? argc					FALSE

// Skip the initial jump and use code optimized for size and 486+
? jumptomain				NONE
? codesize
? use80486

// Turn off all code/data alignment
? aligncode				FALSE
? alignword				FALSE

// Insert all (smaller) procedures instead of calling
? define insertFOPEN			TRUE
? define insertFREAD			TRUE
? define insertFCLOSE			TRUE
? define insertSTRCAT			TRUE
? define insertADVANCEDSTRCPYFAR	TRUE
? define insertADVANCEDSTRCPYNEAR	TRUE

? include "KITTEN.H--"
? include "WRITE.H--"

main()
{
KITTENOPEN("HELLO");
WRITESTR(KITTENGETS(1,1,"\nHello world"));
WRITESTR(KITTENGETS(1,2,"\nHello once more\n"));
@KITTENCLOSE();
}
