Permalink
Browse files

update all fot stuff

  • Loading branch information...
1 parent 0a97dfe commit f20e63c86d61821b12de1f2a42c78f6e61b1f195 @cnlohr committed Jun 1, 2013
Showing with 68 additions and 66 deletions.
  1. +1 −1 ntsc/Makefile
  2. BIN ntsc/fonter/font.ppm
  3. +64 −64 ntsc/ntscfont.h
  4. +3 −1 ntsc/video.c
View
@@ -27,7 +27,7 @@ program.hex : program.elf
# avr-gcc -c -g -Wa,-a,-ad $(CFLAGS) $^ > $@
burn : program.hex
- sudo avrdude -c usbtiny -p $(PROGRAMCODE) -U flash:w:program.hex
+ sudo avrdude -c usbtiny -p $(PROGRAMCODE) -V -U flash:w:program.hex
readfuses :
View
Binary file not shown.
View
@@ -3,75 +3,75 @@
const unsigned char font_8x8_data[] PROGMEM = {
- 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
- 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
- 0x00, 0x10, 0x28, 0x28, 0x10, 0x00, 0x18, 0x10, 0x20, 0x08, 0x10, 0x10, 0x00, 0x00, 0x00, 0x80,
- 0x38, 0x10, 0x38, 0x38, 0x30, 0x7c, 0x38, 0x7c, 0x38, 0x38, 0x00, 0x00, 0x20, 0x00, 0x04, 0x38,
- 0x38, 0x38, 0x3c, 0x38, 0x3c, 0x7c, 0x7c, 0x38, 0x44, 0x38, 0x70, 0x44, 0x08, 0x82, 0x44, 0x38,
- 0x38, 0x38, 0x3c, 0x38, 0x7c, 0x44, 0x44, 0x82, 0x44, 0x44, 0x7c, 0x38, 0x02, 0x38, 0x10, 0x00,
- 0x08, 0x00, 0x08, 0x00, 0x40, 0x00, 0x30, 0x00, 0x04, 0x00, 0x00, 0x04, 0x18, 0x00, 0x00, 0x00,
- 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0x10, 0x0c, 0x00, 0x00,
+ 0x00, 0x3e, 0x3e, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x7c, 0xf8, 0xff, 0x1f,
+ 0xf8, 0x00, 0x00, 0x00, 0x00, 0x18, 0x18, 0x00, 0x18, 0xff, 0xdd, 0xaa, 0x44, 0x00, 0x00, 0x00,
+ 0x00, 0x08, 0x14, 0x14, 0x08, 0x00, 0x0c, 0x08, 0x10, 0x04, 0x08, 0x08, 0x00, 0x00, 0x00, 0x40,
+ 0x1c, 0x08, 0x1c, 0x1c, 0x18, 0x3e, 0x1c, 0x3e, 0x1c, 0x1c, 0x00, 0x00, 0x10, 0x00, 0x02, 0x1c,
+ 0x1c, 0x1c, 0x1e, 0x1c, 0x1e, 0x3e, 0x3e, 0x1c, 0x22, 0x1c, 0x38, 0x22, 0x04, 0x41, 0x22, 0x1c,
+ 0x1c, 0x1c, 0x1e, 0x1c, 0x3e, 0x22, 0x22, 0x41, 0x22, 0x22, 0x3e, 0x1c, 0x01, 0x1c, 0x08, 0x00,
+ 0x04, 0x00, 0x04, 0x00, 0x20, 0x00, 0x18, 0x00, 0x02, 0x00, 0x00, 0x02, 0x0c, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x18, 0x08, 0x06, 0x00, 0x00,
- 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
- 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
- 0x00, 0x10, 0x28, 0x28, 0x78, 0x4c, 0x14, 0x10, 0x10, 0x10, 0x92, 0x10, 0x00, 0x00, 0x00, 0x40,
- 0x44, 0x18, 0x44, 0x44, 0x28, 0x04, 0x44, 0x40, 0x44, 0x44, 0x30, 0x30, 0x10, 0x00, 0x08, 0x44,
- 0x44, 0x44, 0x44, 0x44, 0x44, 0x04, 0x04, 0x44, 0x44, 0x10, 0x20, 0x44, 0x08, 0xc6, 0x4c, 0x44,
- 0x48, 0x44, 0x44, 0x44, 0x10, 0x44, 0x44, 0x82, 0x44, 0x44, 0x40, 0x08, 0x04, 0x20, 0x28, 0x00,
- 0x10, 0x38, 0x08, 0x00, 0x40, 0x00, 0x48, 0x00, 0x04, 0x10, 0x10, 0x04, 0x10, 0x00, 0x00, 0x00,
- 0x00, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x10, 0x10, 0x00, 0x00,
+ 0x00, 0x41, 0x7f, 0x36, 0x08, 0x18, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x7c, 0xf8, 0xff, 0x1f,
+ 0xf8, 0x08, 0x20, 0x00, 0x00, 0x18, 0x18, 0x00, 0x18, 0xff, 0x77, 0x55, 0x11, 0x44, 0x00, 0x00,
+ 0x00, 0x08, 0x14, 0x14, 0x3c, 0x26, 0x0a, 0x08, 0x08, 0x08, 0x49, 0x08, 0x00, 0x00, 0x00, 0x20,
+ 0x22, 0x0c, 0x22, 0x22, 0x14, 0x02, 0x22, 0x20, 0x22, 0x22, 0x18, 0x18, 0x08, 0x00, 0x04, 0x22,
+ 0x22, 0x22, 0x22, 0x22, 0x22, 0x02, 0x02, 0x22, 0x22, 0x08, 0x10, 0x22, 0x04, 0x63, 0x26, 0x22,
+ 0x24, 0x22, 0x22, 0x22, 0x08, 0x22, 0x22, 0x41, 0x22, 0x22, 0x20, 0x04, 0x02, 0x10, 0x14, 0x00,
+ 0x08, 0x1c, 0x04, 0x00, 0x20, 0x00, 0x24, 0x00, 0x02, 0x08, 0x08, 0x02, 0x08, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x04, 0x08, 0x08, 0x00, 0x00,
- 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
- 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
- 0x00, 0x10, 0x00, 0xfe, 0x14, 0x2c, 0x08, 0x00, 0x08, 0x20, 0x54, 0x10, 0x00, 0x00, 0x00, 0x20,
- 0x44, 0x10, 0x40, 0x40, 0x24, 0x04, 0x04, 0x20, 0x44, 0x44, 0x30, 0x30, 0x08, 0xfe, 0x10, 0x40,
- 0x74, 0x44, 0x44, 0x04, 0x44, 0x04, 0x04, 0x04, 0x44, 0x10, 0x20, 0x24, 0x08, 0xaa, 0x54, 0x44,
- 0x48, 0x44, 0x44, 0x04, 0x10, 0x44, 0x44, 0x82, 0x28, 0x28, 0x20, 0x08, 0x08, 0x20, 0x44, 0x00,
- 0x00, 0x40, 0x38, 0x38, 0x70, 0x38, 0x08, 0xb8, 0x34, 0x00, 0x00, 0x24, 0x10, 0x6d, 0x34, 0x38,
- 0x34, 0x58, 0x34, 0x38, 0x38, 0x24, 0x44, 0x82, 0x44, 0x48, 0x3c, 0x08, 0x10, 0x10, 0x0c, 0x00,
+ 0x00, 0x55, 0x6b, 0x7f, 0x1c, 0x18, 0x1c, 0x00, 0x00, 0x00, 0x00, 0x00, 0x7c, 0xf8, 0xff, 0x1f,
+ 0xf8, 0x18, 0x30, 0x00, 0x00, 0x18, 0x18, 0x00, 0x18, 0xff, 0xdd, 0xaa, 0x44, 0x00, 0x08, 0x7f,
+ 0x00, 0x08, 0x00, 0x7f, 0x0a, 0x16, 0x04, 0x00, 0x04, 0x10, 0x2a, 0x08, 0x00, 0x00, 0x00, 0x10,
+ 0x22, 0x08, 0x20, 0x20, 0x12, 0x02, 0x02, 0x10, 0x22, 0x22, 0x18, 0x18, 0x04, 0x7f, 0x08, 0x20,
+ 0x3a, 0x22, 0x22, 0x02, 0x22, 0x02, 0x02, 0x02, 0x22, 0x08, 0x10, 0x12, 0x04, 0x55, 0x2a, 0x22,
+ 0x24, 0x22, 0x22, 0x02, 0x08, 0x22, 0x22, 0x41, 0x14, 0x14, 0x10, 0x04, 0x04, 0x10, 0x22, 0x00,
+ 0x00, 0x20, 0x1c, 0x1c, 0x38, 0x1c, 0x04, 0x5c, 0x1a, 0x00, 0x00, 0x12, 0x88, 0x36, 0x1a, 0x1c,
+ 0x1a, 0x2c, 0x1a, 0x1c, 0x1c, 0x12, 0x22, 0x41, 0x22, 0x24, 0x1e, 0x04, 0x08, 0x08, 0x06, 0x00,
- 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
- 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
- 0x00, 0x10, 0x00, 0x28, 0x38, 0x10, 0x14, 0x00, 0x08, 0x20, 0x38, 0xfe, 0x00, 0xfe, 0x00, 0x10,
- 0x54, 0x10, 0x20, 0x30, 0x7c, 0x3c, 0x3c, 0x10, 0x38, 0x78, 0x00, 0x00, 0x04, 0x00, 0x20, 0x20,
- 0x54, 0x7c, 0x3c, 0x04, 0x44, 0x3c, 0x7c, 0x74, 0x7c, 0x10, 0x20, 0x1c, 0x08, 0x92, 0x54, 0x44,
- 0x38, 0x44, 0x3c, 0x38, 0x10, 0x44, 0x28, 0x54, 0x10, 0x10, 0x10, 0x08, 0x10, 0x20, 0x00, 0x00,
- 0x00, 0x78, 0x48, 0x04, 0x48, 0x44, 0x1c, 0x44, 0x4c, 0x10, 0x10, 0x14, 0x10, 0x92, 0x48, 0x44,
- 0x48, 0x24, 0x0c, 0x04, 0x10, 0x24, 0x44, 0x82, 0x28, 0x48, 0x20, 0x04, 0x10, 0x20, 0x92, 0x00,
+ 0x00, 0x41, 0x7f, 0x7f, 0x3e, 0x66, 0x3e, 0x00, 0x00, 0x00, 0x00, 0x00, 0x7c, 0xf8, 0xff, 0x1f,
+ 0xf8, 0x38, 0x38, 0xf8, 0x1f, 0xf8, 0x1f, 0xff, 0x18, 0xff, 0x77, 0x55, 0x11, 0x11, 0x1c, 0x3e,
+ 0x00, 0x08, 0x00, 0x14, 0x1c, 0x08, 0x0a, 0x00, 0x04, 0x10, 0x1c, 0x7f, 0x00, 0x7f, 0x00, 0x08,
+ 0x2a, 0x08, 0x10, 0x18, 0x3e, 0x1e, 0x1e, 0x08, 0x1c, 0x3c, 0x00, 0x00, 0x02, 0x00, 0x10, 0x10,
+ 0x2a, 0x3e, 0x1e, 0x02, 0x22, 0x1e, 0x3e, 0x3a, 0x3e, 0x08, 0x10, 0x0e, 0x04, 0x49, 0x2a, 0x22,
+ 0x1c, 0x22, 0x1e, 0x1c, 0x08, 0x22, 0x14, 0x2a, 0x08, 0x08, 0x08, 0x04, 0x08, 0x10, 0x00, 0x00,
+ 0x00, 0x3c, 0x24, 0x02, 0x24, 0x22, 0x0e, 0x22, 0x26, 0x08, 0x08, 0x0a, 0x08, 0x49, 0x24, 0x22,
+ 0x24, 0x12, 0x06, 0x02, 0x08, 0x12, 0x22, 0x41, 0x14, 0x24, 0x10, 0x02, 0x08, 0x10, 0x49, 0x00,
- 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
- 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
- 0x00, 0x10, 0x00, 0xfe, 0x50, 0x68, 0x62, 0x00, 0x08, 0x20, 0x54, 0x10, 0x30, 0x00, 0x00, 0x08,
- 0x44, 0x10, 0x10, 0x40, 0x20, 0x40, 0x44, 0x08, 0x44, 0x40, 0x30, 0x30, 0x08, 0xfe, 0x10, 0x10,
- 0x74, 0x44, 0x44, 0x04, 0x44, 0x04, 0x04, 0x44, 0x44, 0x10, 0x24, 0x24, 0x08, 0x82, 0x64, 0x44,
- 0x08, 0x44, 0x14, 0x40, 0x10, 0x44, 0x28, 0x54, 0x28, 0x10, 0x08, 0x08, 0x20, 0x20, 0x00, 0x00,
- 0x00, 0x44, 0x48, 0x04, 0x48, 0x7c, 0x08, 0x44, 0x44, 0x10, 0x10, 0x0c, 0x10, 0x92, 0x48, 0x44,
- 0x48, 0x24, 0x04, 0x18, 0x10, 0x24, 0x44, 0x92, 0x10, 0x48, 0x10, 0x08, 0x10, 0x10, 0x60, 0x00,
+ 0x00, 0x5d, 0x63, 0x3e, 0x3e, 0x66, 0x3e, 0x00, 0x00, 0x00, 0x00, 0x00, 0x7c, 0xf8, 0xff, 0x1f,
+ 0xf8, 0x78, 0x3c, 0xf8, 0x1f, 0xf8, 0x1f, 0xff, 0x18, 0xff, 0xdd, 0xaa, 0x44, 0x00, 0x3e, 0x1c,
+ 0x00, 0x08, 0x00, 0x7f, 0x28, 0x34, 0x31, 0x00, 0x04, 0x10, 0x2a, 0x08, 0x18, 0x00, 0x00, 0x04,
+ 0x22, 0x08, 0x08, 0x20, 0x10, 0x20, 0x22, 0x04, 0x22, 0x20, 0x18, 0x18, 0x04, 0x7f, 0x08, 0x08,
+ 0x3a, 0x22, 0x22, 0x02, 0x22, 0x02, 0x02, 0x22, 0x22, 0x08, 0x12, 0x12, 0x04, 0x41, 0x32, 0x22,
+ 0x04, 0x22, 0x0a, 0x20, 0x08, 0x22, 0x14, 0x2a, 0x14, 0x08, 0x04, 0x04, 0x10, 0x10, 0x00, 0x00,
+ 0x00, 0x22, 0x24, 0x02, 0x24, 0x3e, 0x04, 0x22, 0x22, 0x08, 0x08, 0x06, 0x08, 0x49, 0x24, 0x22,
+ 0x24, 0x12, 0x02, 0x0c, 0x08, 0x12, 0x22, 0x49, 0x08, 0x24, 0x08, 0x04, 0x08, 0x08, 0x30, 0x00,
- 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
- 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
- 0x00, 0x00, 0x00, 0x28, 0x3c, 0x64, 0x22, 0x00, 0x10, 0x10, 0x92, 0x10, 0x30, 0x00, 0x30, 0x04,
- 0x44, 0x10, 0x08, 0x44, 0x20, 0x44, 0x44, 0x08, 0x44, 0x44, 0x30, 0x30, 0x10, 0x00, 0x08, 0x00,
- 0x04, 0x44, 0x44, 0x44, 0x44, 0x04, 0x04, 0x44, 0x44, 0x10, 0x24, 0x44, 0x08, 0x82, 0x44, 0x44,
- 0x08, 0x44, 0x24, 0x44, 0x10, 0x44, 0x10, 0x28, 0x44, 0x10, 0x04, 0x08, 0x40, 0x20, 0x00, 0x00,
- 0x00, 0x44, 0x48, 0x04, 0x48, 0x04, 0x08, 0x78, 0x44, 0x10, 0x10, 0x14, 0x10, 0x82, 0x48, 0x44,
- 0x38, 0x38, 0x04, 0x20, 0x10, 0x24, 0x28, 0xaa, 0x28, 0x70, 0x08, 0x08, 0x10, 0x10, 0x00, 0x00,
+ 0x00, 0x49, 0x77, 0x1c, 0x1c, 0x18, 0x1c, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x1f,
+ 0xf8, 0x38, 0x38, 0x18, 0x18, 0x00, 0x00, 0x00, 0x18, 0xff, 0x77, 0x55, 0x11, 0x44, 0x7f, 0x08,
+ 0x00, 0x00, 0x00, 0x14, 0x1e, 0x32, 0x11, 0x00, 0x08, 0x08, 0x49, 0x08, 0x18, 0x00, 0x18, 0x02,
+ 0x22, 0x08, 0x04, 0x22, 0x10, 0x22, 0x22, 0x04, 0x22, 0x22, 0x18, 0x18, 0x08, 0x00, 0x04, 0x00,
+ 0x02, 0x22, 0x22, 0x22, 0x22, 0x02, 0x02, 0x22, 0x22, 0x08, 0x12, 0x22, 0x04, 0x41, 0x22, 0x22,
+ 0x04, 0x22, 0x12, 0x22, 0x08, 0x22, 0x08, 0x14, 0x22, 0x08, 0x02, 0x04, 0x20, 0x10, 0x00, 0x00,
+ 0x00, 0x22, 0x24, 0x02, 0x24, 0x02, 0x04, 0x3c, 0x22, 0x08, 0x08, 0x0a, 0x08, 0x41, 0x24, 0x22,
+ 0x1c, 0x1c, 0x02, 0x10, 0x08, 0x12, 0x14, 0x55, 0x14, 0x38, 0x04, 0x04, 0x08, 0x08, 0x00, 0x00,
- 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
- 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
- 0x00, 0x10, 0x00, 0x28, 0x10, 0x00, 0x5c, 0x00, 0x20, 0x08, 0x10, 0x10, 0x20, 0x00, 0x30, 0x02,
- 0x38, 0x38, 0x7c, 0x38, 0x70, 0x38, 0x38, 0x08, 0x38, 0x38, 0x00, 0x20, 0x20, 0x00, 0x04, 0x10,
- 0x38, 0x44, 0x3c, 0x38, 0x3c, 0x7c, 0x04, 0x38, 0x44, 0x38, 0x18, 0x44, 0x78, 0x82, 0x44, 0x38,
- 0x08, 0x38, 0x44, 0x38, 0x10, 0x38, 0x10, 0x28, 0x44, 0x10, 0x7c, 0x38, 0x80, 0x38, 0x00, 0x00,
- 0x00, 0xb8, 0x34, 0x38, 0xb0, 0x38, 0x08, 0x40, 0x44, 0x10, 0x10, 0x24, 0x10, 0x82, 0x48, 0x38,
- 0x08, 0x20, 0x04, 0x1c, 0x10, 0x58, 0x10, 0x44, 0x44, 0x40, 0x3c, 0x30, 0x10, 0x0c, 0x00, 0x00,
+ 0x00, 0x41, 0x7f, 0x08, 0x08, 0x18, 0x1c, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x1f,
+ 0xf8, 0x18, 0x30, 0x18, 0x18, 0x00, 0x00, 0x00, 0x18, 0xff, 0xdd, 0xaa, 0x44, 0x00, 0x00, 0x00,
+ 0x00, 0x08, 0x00, 0x14, 0x08, 0x00, 0x2e, 0x00, 0x10, 0x04, 0x08, 0x08, 0x10, 0x00, 0x18, 0x01,
+ 0x1c, 0x1c, 0x3e, 0x1c, 0x38, 0x1c, 0x1c, 0x04, 0x1c, 0x1c, 0x00, 0x10, 0x10, 0x00, 0x02, 0x08,
+ 0x1c, 0x22, 0x1e, 0x1c, 0x1e, 0x3e, 0x02, 0x1c, 0x22, 0x1c, 0x0c, 0x22, 0x3c, 0x41, 0x22, 0x1c,
+ 0x04, 0x1c, 0x22, 0x1c, 0x08, 0x1c, 0x08, 0x14, 0x22, 0x08, 0x3e, 0x1c, 0x40, 0x1c, 0x00, 0x00,
+ 0x00, 0x5c, 0x1a, 0x1c, 0x58, 0x1c, 0x04, 0x20, 0x22, 0x08, 0x08, 0x12, 0x08, 0x41, 0x24, 0x1c,
+ 0x04, 0x10, 0x02, 0x0e, 0x08, 0x2c, 0x08, 0x22, 0x22, 0x20, 0x1e, 0x18, 0x08, 0x06, 0x00, 0x00,
- 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
- 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
- 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00,
- 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x00,
- 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
- 0x00, 0x60, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xfe,
- 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x00, 0x00, 0x0c, 0x00, 0x00, 0x00, 0x00, 0x00,
- 0x08, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x3e, 0x3e, 0x00, 0x00, 0x7e, 0x7f, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x1f,
+ 0xf8, 0x08, 0x20, 0x18, 0x18, 0x00, 0x00, 0x00, 0x18, 0xff, 0x77, 0x55, 0x11, 0x11, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x30, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x7f,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x1c, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x04, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x1c, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
};
View
@@ -37,7 +37,7 @@ void VideoLine( )
_delay_us(.5);
// PORTB |= _BV(3);
// SPDR = 0x00;
- SPCR |= _BV(SPE) | _BV(MSTR) | _BV(DORD);// | _BV(SPR0);
+ SPCR |= _BV(SPE) | _BV(MSTR) | _BV(DORD) | _BV(CPHA) | _BV(CPOL);// | _BV(SPR0);
#ifdef DO_2X
SPSR |= _BV(SPI2X);
#endif
@@ -57,6 +57,8 @@ SPSR |= _BV(SPI2X);
SPDR = 0x00;
+//\n\t sbrs r17, 7 \
+
#ifdef STUPID_FAST_ASM
asm volatile( "\
\n\tLMainLoop: \

0 comments on commit f20e63c

Please sign in to comment.