Commit Graph

53 Commits

Author SHA1 Message Date
Stefan `Sec` Zehl f1b4da67c0 Do not store signed value in unsigned variable. Took me an hour to find :-/ 2012-04-18 00:46:26 +02:00
Stefan `Sec` Zehl b9e054c08c Better start l0dable with no keys pressed. Most don't like it. 2012-01-31 17:49:20 +01:00
Ralf Jung 76b87e26ff keep scrolling when the button keeps being pressed
(cherry picked from commit dcb720ac223304e6c0b238403dda3ca851c15ef0)

Signed-off-by: Stefan `Sec` Zehl <sec@42.org>
2012-01-28 18:27:55 +01:00
Hagen Fritsch d75bc7c953 Merge runmpletux': file select cursor wrap around
Conflicts:

	firmware/filesystem/select.c
2012-01-28 17:55:53 +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
schneider fa1d207bfe format: erase more sectors to be on the safe side 2011-12-22 15:17:00 +01:00
schneider 328e2b1163 filesystem: use word access 2011-12-21 19:45:36 +01:00
schneider c301baa98f made format work again 2011-12-19 20:58:08 +01:00
Stefan `Sec` Zehl d64c2b51a4 Fix ./release-all for our new single-binary process.
Also do l0dable/mktable automatically so nobody forgets it.
Set "TABLE=NO" to avoid it
2011-12-19 18:26:41 +01:00
schneider ee7e928634 found 32 bytes in formatDF 2011-12-18 22:25:10 +01:00
schneider e183491413 disable mkfs by default 2011-12-18 02:39:01 +01:00
schneider db6a4166f8 on format display help message and enter MSC 2011-12-17 22:39:01 +01:00
schneider 2876766a87 speed up for format 2011-12-17 22:32:49 +01:00
schneider 859f2d9591 format fs when filesystem is broken 2011-12-17 22:25:21 +01:00
schneider 64d08e8e74 added function to format data flash 2011-12-17 21:50:36 +01:00
bsx 0e0f2439be create proper header for filesystem util functions 2011-12-17 20:07:31 +01:00
Stefan `Sec` Zehl 01dd639c1c Fix half-exploit: do not allow 0-byte loadables (padded to 16 bytes for MAC) 2011-08-22 22:04:12 +02:00
Stefan `Sec` Zehl 0b51bdbd42 Fix the black pixels at the top left in lcdLoadImage.
readFile was originally inteded as a string read function. Fix it to read binary, and add readTextFile for the other case.
2011-08-21 19:10:08 +02:00
schneider 03b632648d save 9 bytes 2011-08-05 22:44:16 +02:00
schneider 8a5c93be66 l0dables: check file size 2011-08-05 22:32:00 +02:00
schneider 0fada18915 executor: fail better :) 2011-08-05 19:57:47 +02:00
Stefan `Sec` Zehl b1b5516b42 Move ramcode to clean address. Also sort exported symbols and add a few 2011-08-05 18:53:40 +02:00
schneider 05fc825df8 added encryption keys for l0dables 2011-08-05 17:39:00 +02:00
Stefan `Sec` Zehl f810a9c5b6 Add clean ffconf.h for final 2011-08-05 03:46:15 +02:00
Stefan `Sec` Zehl b48bb42f36 Big warning cleanup in firmware. 2011-08-05 01:33:48 +02:00
Stefan `Sec` Zehl 16da194336 Support l0dable nickname display. 2011-08-04 16:57:18 +02:00
Stefan `Sec` Zehl 9b115fea4c File selector now omits extension for display. 2011-08-04 13:52:36 +02:00
Stefan `Sec` Zehl 44802d4b28 More ram size for loadables 2011-08-03 21:59:47 +02:00
schneider b07eb7c577 executor: made encryption work 2011-08-03 08:59:55 +02:00
Stefan `Sec` Zehl f176bed03f Truncate file on writing, or we keep garbage at the end... 2011-08-02 23:54:07 +02:00
Stefan `Sec` Zehl 162fd9775c Whoops. Remove debugging info :) 2011-08-01 23:53:09 +02:00
Stefan `Sec` Zehl 60e31bbfaf Add ReInit to be used after msc mode 2011-08-01 23:51:41 +02:00
Stefan `Sec` Zehl 4ed86ed5bc Fix fileselect0r (no files, down-scroll) 2011-08-01 23:51:08 +02:00
Stefan `Sec` Zehl 61c1293611 Add Timestamp support for filesystem. This took me 3h to debug :-/ 2011-08-01 05:11:56 +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 13df9eec9d select: wait for key release 2011-08-01 02:18:36 +02:00
Stefan `Sec` Zehl f2c5d53cb9 Oops. We need to close the files, too. 2011-08-01 01:55:04 +02:00
Stefan `Sec` Zehl 6299286348 Two utility functions to read/write small files 2011-08-01 01:12:58 +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 535b635b0e First draft of the new global config system
Sorry if your display is mirrored again %)
2011-07-27 00:57:36 +02:00
schneider 8daf823d98 fs: improved file selector 2011-07-25 00:32:36 +02:00
Stefan `Sec` Zehl f79d3b49f4 More powersaving/queue-working 2011-07-24 16:29:14 +02:00
Stefan `Sec` Zehl abfe5342c9 Rename inconveniently-named select() to more correct mmc_select() 2011-07-24 10:26:04 +02:00
schneider b49a49f31c filesystem: add option to decode loadables 2011-07-19 01:21:05 +02:00
schneider 43eddd123b filesystem: check signature of loadables with cbc-mc 2011-07-19 01:12:53 +02:00
Stefan `Sec` Zehl fcf3ec22c5 Fix includes to remove unneccessary dependencies on <allfonts.h> 2011-07-18 18:19:22 +02:00
Stefan `Sec` Zehl f98c33d49b Remove more unnecessary depends 2011-07-17 15:13:59 +02:00
Stefan `Sec` Zehl 0fb18e7991 Remove unneeded dependency 2011-07-17 12:26:06 +02:00
schneider 5967575ef3 moved file execution code into filesystem lib 2011-07-17 02:02:45 +02:00
schneider 6c3fdd3d5d select files to execute 2011-07-17 01:45:00 +02:00