#include "lib.h"
#include <stdio.h>
void main( void )
{
static char os[8+1], rom[8+1];
int key;
resetkey();
printf("\fPress ENT key");
while( 1 )
{
if( (key = getchar()) != EOF)
{
resetkey();
switch( key )
{
case ENT_KEY:
sound( TSTANDARD, VHIGH, SHIGH, 0);
version_rom( rom );
version_os( os );
printf("\nROM = %s", rom);
printf("\nO/S = %s", os);
break;
default:
sound( TCLICK, VHIGH, SLOW, 0);
break;
}
}
idle();
}
}