/***************************************************************************** * @(#) Ndless - * *****************************************************************************/ #include #include "utils.h" asm(".string \"PRG\"\n"); int main(void) { int ans; char text[0x200]; strcpy(text,"None"); TCT_Local_Control_Interrupts(0); ans = showEntrydialogBox( "dummy", "dummy", text ); TCT_Local_Control_Interrupts(0xc0); if (ans == 0x13f1){ _showSimpleDialogBox( "--- Entry Dialog demo ----", text ); } if (ans == 0x13f0) { showSimpleDialogBox( "--- Entry Dialog demo ----", "-----------------------------------\n" "You Cancelled the entry\n" "-----------------------------------" );} return 0; }