#include <cpctelera.h>
#include "Interrupt.h"
#include "Menu.h"

void main(void) 
{
    // Disable the firmware to prevent it from interfering with setVideoMode.
    cpct_disableFirmware(); 

    // Set video mode to mode 0.
    cpct_setVideoMode(0);
    
    // Setup interruptHandler for keyboard scanning.
    cpct_setInterruptHandler(interruptHandler);

    // Loop forever.
    while (1)
    {
        runMenu();
    }
}