#include "rpi.h"
#include "contty.h"
#include "serial.h"
+#include "timer.h"
#include "video.h"
+#include "intr.h"
void dbgled(int x);
printf("Main RAM base: %x, size: %u bytes\n", rpi_mem_base, rpi_mem_size);
printf("Video RAM base: %x, size: %u bytes\n", rpi_vmem_base, rpi_vmem_size);
+ timer_init();
video_init();
+ enable_intr();
+
printf("Going interactive\n");
+
for(;;) {
while(ser_pending()) {
int c = getchar();
cur_y -= 10;
video_scroll(cur_x, cur_y);
+ } else if(strcmp(cmd, "ticks") == 0) {
+ printf("%lu\n", num_ticks);
+
} else if(strcmp(cmd, "help") == 0) {
printf("help not implemented yet\n");
} else if(strcmp(cmd, "ver") == 0) {