Commit Graph

77 Commits

Author SHA1 Message Date
Stefan `Sec` Zehl 524dbf1b91 Fix a typo in a comment 2012-04-18 00:47:37 +02:00
Stefan `Sec` Zehl 3f1567823d Revert "Refactor to make the LCD initialization be data driven code"
This reverts commit ab0c2ab4e7.

I didn't want to merge this one. Turns out my fears were correct and it did
break the b/w display code.

Conflicts:

	firmware/lcd/display.c
2012-02-06 21:01:37 +01:00
Stefan `Sec` Zehl a3091ff683 Revert "Remove unnecessary commands from N1600 initialization; refactor display memory write setup to use macros"
This reverts commit e66910638d.
2012-02-06 21:00:37 +01:00
Henryk Plötz 2fdab582be Refactor (to clarify) foreground/background/frame color handling for N1600 display 2012-02-01 06:27:15 +01:00
Henryk Plötz e66910638d Remove unnecessary commands from N1600 initialization; refactor display memory write setup to use macros 2012-02-01 06:15:07 +01:00
Henryk Plötz ab0c2ab4e7 Refactor to make the LCD initialization be data driven code 2012-02-01 05:53:33 +01:00
Henryk Plötz e1de1b4167 Add comments based on my understanding of the PCF8814 controller datasheet 2012-02-01 05:08:24 +01:00
Henryk Plötz b4bf07decd Add comments based on my understanding of the PCF8833 controller datasheet 2012-02-01 04:55:27 +01:00
Stefan `Sec` Zehl 1083f8aa4f Save 70 more bytes!
(realized this due to the memcpy-inserting cross-gcc :-)
2012-01-28 20:05:19 +01:00
Stefan `Sec` Zehl d69199e563 Fix all warnings (except table.c and ff.c). Turn off "unused function" warnings 2011-12-23 01:07:48 +01:00
Stefan `Sec` Zehl b10f12ba1f Fix color lcd detection (only check ID3 byte).
Also: some cleanup of the lcd code. Sorry, I felt compelled.
2011-12-20 01:21:31 +01:00
schneider 129c17b0d2 found 12 bytes in nihilants code 2011-12-18 22:05:00 +01:00
schneider 3fe091a31f added nokia 1600 code from the_nihilant 2011-12-18 21:57:17 +01:00
schneider 0ce2fca5a3 found 4 bytes in lcdInit 2011-12-18 03:59:52 +01:00
Stefan `Sec` Zehl a22c2dd60b Fix lcdRead().
reading ID1/ID2/ID3/VM appears to work. reading ID4 or TEMP hangs/crashes the display. Currently no idea why.
2011-08-22 01:19:42 +02:00
Stefan `Sec` Zehl dbc8bb287a Change default back to default display 2011-08-12 15:58:19 +02:00
the_nihilant ea4f163658 add basic Nokia 1600 color display support 2011-08-12 15:56:52 +02:00
Hagen Fritsch 77fb7a388a fix buffer overflow in font handler 2011-08-12 14:21:05 +02:00
Stefan `Sec` Zehl 9c5aaf715f Disable some code to save space 2011-08-11 09:16:31 +02:00
Stefan `Sec` Zehl a659245364 improve vector lib 2011-08-06 02:37:43 +02:00
Stefan `Sec` Zehl 6bf6f3de96 Commit of pippin vector/graphics lib. Yay! 2011-08-05 19:17:31 +02:00
Stefan `Sec` Zehl b48bb42f36 Big warning cleanup in firmware. 2011-08-05 01:33:48 +02:00
Stefan `Sec` Zehl 09eb3b0ea1 Make exiting easier 2011-08-05 00:26:39 +02:00
Stefan `Sec` Zehl f6ec40de2f Add image helper functions 2011-08-04 23:50:44 +02:00
Stefan `Sec` Zehl d8371af9ab Revert "Revert "lcd/render.c: save 56 bytes""
This reverts commit a5f8a9b04f.
2011-08-04 10:56:02 +02:00
Stefan `Sec` Zehl 3b7f41bb58 Revert "Revert "save 4 bytes by making internal function static""
This reverts commit 8875fc8d8b.
2011-08-04 10:55:41 +02:00
Stefan `Sec` Zehl 4cd445ad02 Fix DoIntX - compiler fails on dynmic-sized-arrays? 2011-08-04 00:23:53 +02:00
Stefan `Sec` Zehl 8875fc8d8b Revert "save 4 bytes by making internal function static"
This reverts commit 81294835ec.
2011-08-03 22:33:14 +02:00
Stefan `Sec` Zehl a5f8a9b04f Revert "lcd/render.c: save 56 bytes"
This reverts commit ad0c993136.
2011-08-03 22:31:46 +02:00
Stefan `Sec` Zehl 99ce5e362d save space by telling the compiler that lcdRefresh is actually lcdDisplay 2011-08-03 19:08:44 +02:00
Øyvind Kolås ad0c993136 lcd/render.c: save 56 bytes
Introduce a utility function that reads a single byte from the current position
in the font file.
2011-08-03 18:49:28 +02:00
Øyvind Kolås 81294835ec save 4 bytes by making internal function static 2011-08-03 18:49:28 +02:00
Stefan `Sec` Zehl b23caed454 add static to local-only stuff 2011-08-03 18:37:41 +02:00
Stefan `Sec` Zehl 623582bbb4 Saner code. 2011-08-02 00:03:37 +02:00
Stefan `Sec` Zehl 99f3095b46 Fix invader font 2011-08-01 20:03:12 +02:00
iggy f82cb8382a spaceinvaders improved 2011-08-01 18:29:50 +02:00
Stefan `Sec` Zehl 6bd703f006 fix new font setting for internal fonts 2011-08-01 05:11:04 +02:00
Stefan `Sec` Zehl d5e93a1fca Merge branch 'master' of github.com:r0ket/r0ket
Conflicts:
	firmware/basic/config.c
2011-08-01 05:05:47 +02:00
schneider 2a632870fd added 32 level contrast 2011-08-01 02:18:03 +02:00
Stefan `Sec` Zehl 5d0887be71 Move config stuff into own include. Iggy said its better :-) 2011-08-01 01:12:21 +02:00
Stefan `Sec` Zehl aa821fca3f Fix a few things. 2011-07-31 22:13:06 +02:00
Stefan `Sec` Zehl cfe6e328e5 You will probably hate me, but commit new, global config framework
hopefully it will be stable now. Sorry for breaking your stuff
2011-07-31 18:15:44 +02:00
Stefan `Sec` Zehl 6c95119e38 do lcd_mirror command by default. (so schneider can test it) 2011-07-30 03:27:53 +02:00
Stefan `Sec` Zehl 838f04505c Add small lcd documentation :) 2011-07-27 17:19:29 +02:00
Stefan `Sec` Zehl 250ea3213f Make backlight and lcd-state config vars actually work 2011-07-27 01:15:52 +02:00
Stefan `Sec` Zehl 235cadaa89 remove unused variable 2011-07-24 15:38:28 +02:00
Stefan `Sec` Zehl ea3b4f3337 another "select()" function renamed. This time its lcd_select() 2011-07-24 14:08:52 +02:00
Stefan `Sec` Zehl 30d3089cc8 Allow fonts from dataflash. use "setExtFont(filename)". for flash fonts use "setIntFont(&font)". 2011-07-23 14:39:50 +02:00
Stefan `Sec` Zehl bb3dc0044c Add scrolling to lcdPrint() & co. 2011-07-21 22:31:26 +02:00
Stefan `Sec` Zehl c69431c085 Whoops. lcdShiftV8 had up/down swapped :) 2011-07-21 22:27:08 +02:00