#include <avr/interrupt.h>
#include <util/delay.h>
#include <stdlib.h>
+#include <avr/pgmspace.h>
#include "video_properties.h"
#include "render.h"
#include "draw.h"
+#include "font.h"
void (*line_handler)( void );
// Enable interrupts globally.
sei();
+/*
// Do some static drawing :P
set_pixel(28, 8, 1);
set_pixel(92, 82, 1);
}
Delay_ms(250);
}
+*/
+
+ for (int q = 0; q < font_height; q++ )
+ {
+ //for (int r = 0; r < font_width; r++ )
+ //{
+ uint8_t t = pgm_read_byte(&(font[0][q]));
+ screen_buffer[q*hres_bytes+3+hres_bytes] |= t;
+
+ t = pgm_read_byte(&(font[1][q]));
+ screen_buffer[q*hres_bytes+5+hres_bytes] |= t;
+
+ t = pgm_read_byte(&(font[2][q]));
+ screen_buffer[q*hres_bytes+6+hres_bytes] |= t;
+
+ //}
+ }
+
+ for (;;)
+ {
+
+ }
}