platotermClassicMac/main.c

40 lines
788 B
C
Raw Normal View History

2019-01-25 22:09:42 +00:00
#include "protocol.h"
#include "screen.h"
#include "io.h"
#include "terminal.h"
#include "keyboard.h"
#include "touch.h"
#include "splash.h"
#include "help.h"
#define true 1
#define false 0
unsigned char already_started=false;
unsigned char running=false;
void main(void)
{
screen_init();
/* touch_init(); */
/* help_init(); */
/* NoEcho=padT; */
/* ShowPLATO(splash,sizeof(splash)); */
/* NoEcho=padF; */
/* terminal_initial_position(); */
/* io_init(); */
2019-01-25 22:09:42 +00:00
running=true;
/* screen_show_dial(); */
/* screen_greeting(); */
2019-01-25 22:09:42 +00:00
while (running==true)
{
screen_main();
/* keyboard_main(); */
/* io_main(); */
/* touch_main(); */
2019-01-25 22:09:42 +00:00
}
/* io_done(); */
/* touch_done(); */
/* screen_done(); */
2019-01-25 22:09:42 +00:00
}