// This file is generated from ../games/lib8/game.c by n1preprocess.py

#include "nekot1/game_prelude.h"

#define  TextScreen  ((gbyte*)0x3e00)  // 2 pages
#define  _nPRE_SCREENS   0x3e00
#define  _nPRE_REGIONS   (_nPRE_SCREENS)



#line 1 "../games/lib8/game.c"
gSCREEN(TextScreen, 2);

#include "games/lib8/platform-keyboard.h"
#include "games/lib8/platform-text.h"

#include "games/lib8/platform-keyboard.c"
#include "games/lib8/platform-text.c"

void setup() {
    gTextScreen(TextScreen, 0);

    Text_Init();
    Printf("Hello LIB8\n");
}

void loop() {
    int c = getchar();
    if (c) {
        // PutDec(c);
        PutChar(c);
    }

    ++ TextScreen[511];
}




#include "nekot1/game_postlude.h"

// END by n1preprocess.py
