repo2/firmware_eclairexl/linux/main.c
183 | markw | #include <stdio.h>
|
|
#include "curses_screen.h"
|
|||
#include "linux_helper.h"
|
|||
#include "linux_memory.h"
|
|||
803 | markw | #include "integer.h"
|
|
#include "regs.h"
|
|||
183 | markw | ||
int zpu_main(void);
|
|||
extern char* sdcard_filename;
|
|||
int main(int argc, char** argv)
|
|||
{
|
|||
if (argc > 1) {
|
|||
sdcard_filename = argv[1];
|
|||
}
|
|||
if (init_curses_screen()) {
|
|||
return 1;
|
|||
}
|
|||
init_memory();
|
|||
803 | markw | *zpu_uart_rx_fifo = 0x100;
|
|
183 | markw | ||
275 | markw | print_log("starting zpu_main\n");
|
|
zpu_main();
|
|||
183 | markw | ||
deinit_curses_screen();
|
|||
return 0;
|
|||
}
|