summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* nwztools/upgtools: add real NW-A20 kasAmaury Pouly2017-01-08
| | | | Change-Id: I88fb2aefafbc7820a49847fbf0888de9cf81bd3f
* Makefile cleanupsAmaury Pouly2017-01-08
| | | | Change-Id: I69b8b81d357553c979682d42097eba864c951512
* nwztools/scitool: rework node size, remove relaxed modeAmaury Pouly2017-01-08
| | | | | | | | The cool now takes the database as a hint and will not complain if the device returns less data. The tool also supports user provided size and raw node numbers that are not in the database (advanced usage). Change-Id: I8cec536718d7eff01c7803bea648d6122b82377a
* nwztools: add NW-WM1 kasAmaury Pouly2017-01-08
| | | | | | Like the NW-A30, we don't know how to use it, but record it anyway. Change-Id: Iebd26637253613625a4885afe88695ad3ffb0605
* nwztools: add A35 model and KASAmaury Pouly2017-01-08
| | | | | | | | We don't know the encryption method, the KAS is completely different but it might be useful to record it anyway for future purposes. MID extracted from device, Japanese NW-A35. Change-Id: I4c4bb5b063da99003b5c316061d8c490b77428a4
* nwztool/upgtools: replace NWZ-A10 kas by the real oneAmaury Pouly2017-01-08
| | | | | | Extracted from a target. Change-Id: Ieb4aff15f332a681142a7079c1adf3b1da31de24
* nwztools: rename nwz-a20 to nw-a20, that was a typoAmaury Pouly2017-01-08
| | | | Change-Id: I88ae7391732c6f41c3c4adccce2ddf0a92142067
* Improve the implementation of a couple linked list routines.Michael Sevakis2017-01-07
| | | | | | | ll_insert_next() and ll_remove_next() can be done more elegantly by adding a level of indirection to reference the 'next' pointer. Change-Id: If3ab2bc2a659b517c793749cfa9088938ae08d0d
* Fix track formatting problems in playlist.cMichael Sevakis2017-01-07
| | | | | | | | | | | | | | | | | | | | | | | | | Some changes in behavior were made with filesystem code commit for the sake of compatibility that changed expected behavior. * Restore substitution of drive spec in fully-qualified DOS paths with the playlists's volume spec (or root on univolume targets). Drive-relative paths of the form "c:foo" (no separator after ':') will be treated as purely relative. * Restore old behavior of preserving leading whitespace in the source path and trimming only trailing tabs and spaces. * Multivolume: Volume substition on fully-qualified UNIX/RB paths has NOT been reintroduced (and perhaps wasn't intended in the first place). They will not be modified because there is no ambiguity to resolve. Doing so would prevent a playlist on external storage from referencing a file on main storage without qualifying it with "/<0>...". * Plain relative paths are and always have been interpreted as relative to the location of the playlist. Change-Id: Ic0800cea79c59563b7bac20f8b08abb5051906c7
* nwztools: remove NW-ZX2Amaury Pouly2017-01-07
| | | | | | | It is Android based and despite the fact that Sony wrote an NVP driver for it, experiments suggest it is unused because it returns ff all the time... Change-Id: I37750b659e341b21bed5ebaccf60f9f5fe569f64
* puzzles: add cursor interface to untangleFranklin Wei2017-01-07
| | | | | | | - makes it playable - submitted to upstream Change-Id: Ib672ee374d500a994bc8e78eb01fea529ec5132f
* nwztools: add NW-WM1A/Z model IDsAmaury Pouly2017-01-07
| | | | | | | Also fix code that was supposed to sort things deterministically and was a massive failure. Change-Id: Iedf25f05a94ef51421710a283eb60f33ee977de1
* nwztools/scsitools: use new SCSI libraryAmaury Pouly2017-01-07
| | | | Change-Id: I1b5688ba7ad99c7a22ba4532c8237b4563e4a9e4
* nwztools/scsitool: add relaxed mode for nvpAmaury Pouly2017-01-07
| | | | Change-Id: I0a139eb236f825368ae627fdbb2f75286f747f10
* imxtools: various fixes for WindowsAmaury Pouly2017-01-07
| | | | | | | | Don't use colors since the terminal doesn't support it. Also packing is broken on MinGW so use #pragma pack when compiling for windows, this is also supported by MSCV. Change-Id: I635649d52ed5f2e0af46cb9ca2ec325955b2ddb2
* imxtools: move firmware read/write to libraryAmaury Pouly2017-01-07
| | | | | | | Split the ugly firmware read/write into a API function and a much simplified code. Also the code can now report progress. Change-Id: I3f998eaf0c067c6da42b1d2dd9c5a5bf43c6915d
* imxtools/scsitools: move stmp scsi api to its own fileAmaury Pouly2017-01-07
| | | | | | No code modification code, just moving code around. Change-Id: I30744d3994aa7540f4b5b158f31b51959d5d8586
* imxtools/scsitools: rework stmp scsi APIAmaury Pouly2017-01-07
| | | | | | | | | | Sanitize the whole library by hiding most of the horrible details of the implementation. This means that all logical/drive/table attributes are exported in structures that are internally filled by higher-level API functions. This makes the code much more readable and prepares for a split between scsitool and the stmp scsi library. Change-Id: Id85d450b25cf99cd7c0896c6fc35bcd00babe9e1
* imxtools/scsitools: use new SCSI libraryAmaury Pouly2017-01-07
| | | | | | | The function names and prototypes are also normalized so make subsequent reworks easier. Change-Id: Ifa5d64aa144b11f8c087517ddc904744e3037361
* Add multiplatform library for raw SCSI commandsAmaury Pouly2017-01-07
| | | | | | | | | | | | Several tools need to perform raw SCSI commands, and we need to support Linux, Windows and Mac OS, without pulling tons of dependencies to build it easily. This very simple library has no dependency and supports Linux. TODO: - windows - mac os Change-Id: I496f5ad2490bd3e96ad962d31cce4e511a523c3a
* Midiplay: only boost cpu in sensible code partsSebastian Leonhardt2017-01-06
| | | | Change-Id: I9aaf7f2844e9f90030dbf0a63ebec80db4851e18
* Midi Player: fix premature stopping of audio buffer playbackSebastian Leonhardt2017-01-06
| | | | Change-Id: I3794e8d8837722442b25e2b48db1b5b3c3c2dc51
* Midi Player: fix playback of buffer remains when seekingSebastian Leonhardt2017-01-06
| | | | Change-Id: Iccf4444b9c8ae421b9e44332791a789a767ae411
* Fix red (midi plugin: action rename)Sebastian Leonhardt2017-01-06
| | | | Change-Id: Ie21711cbf98aad1fbfc24924c9281caf39f22af5
* Midi Player: give button actions meaningful namesSebastian Leonhardt2017-01-06
| | | | Change-Id: I53183e024c202f6c35903fc9a74db7e49d4bdc20
* midi: Recalculate (and rename) the note frequency table.Frank Gevaerts2017-01-06
| | | | | | | | | | | | gustable[] contained plain note frequencies in milliHertz, but was named and documented to appear like a table of magic numbers. The values also seemed to be slightly inaccurate (up to about 0.01Hz, so probably irrelevant). This changes the name to freqtable to make the purpose clearer, and uses slightly better values. Change-Id: I6b568d834c8c2c92161bed5290572a29733e28dc
* Fix previous errors for targets with no crossfade.Michael Sevakis2017-01-05
| | | | Change-Id: I1c10f5588f3fe06c7071f3f07b68e3d552c44f05
* Playback: Fix problems with crossfade on short tracks.Michael Sevakis2017-01-05
| | | | | | | | | Addresses issues brought up in this thread: http://forums.rockbox.org/index.php/topic,51605.0.html While we're at it, improve the quality with a sample-level fader. Change-Id: I73dde60d6858a1c9042812e26d490739e3906a1e
* puzzles: fix a minor bug in the configuration screenFranklin Wei2017-01-04
| | | | | | | - when an invalid string setting was entered, the string value would continue to be used after being freed Change-Id: I3a9da016f6f32eac8636b9f55e4e09006bc6059e
* puzzles: minor polishing touches on the user interfaceFranklin Wei2017-01-04
| | | | | | | | - the debug menu has been neatly hidden away in the classic Android style ;) - playback control option added to the pause menu when possible - also fixes a minor redraw issue Change-Id: I00d0186986a8e659991948336b26b4f2e2a0ce66
* puzzles: fix a few thingsFranklin Wei2017-01-04
| | | | | | | | - old acos() function was broken, replaced with a call to atan2(); this fixes "Cube!" - Makefile extended to support building "unfinished games", but not enabled - a backdrop issue fixed in rockbox.c Change-Id: I9393e958d43de32f4ccf18e1cb409f75c2e1ed3c
* nwztools/scsitool: add option to force/specify seriesAmaury Pouly2017-01-04
| | | | | | | | | | | We cannot auto-detect a device if we don't know its model ID, but we can't know the model ID if we haven't decrypted the upgrade which requires the key. The only way to solve this chicken-and-egg problem is to get the NVP table from kernel, create an empty series in the database (no model ID), then get the key using scsitool and forcing the model (using this commit), then decrypt the upgrade and get the model ID list. Change-Id: I8eced486a5f6a1a99028b25fdc4f87a3b11e31a8
* nwztools: cleanup crypto, switch MD5 to Crypto++Amaury Pouly2017-01-04
| | | | | | | We already use Crypto++ for DES anyway, and using OpenSSL is not great because of its incompatible licence. Change-Id: I78771b84c1708795a0c0c30afa5bdfe4885dea4e
* nwztools/upg: move upg handling to its own file, completely rework kas handlingAmaury Pouly2017-01-04
| | | | | | This was a huge mess, the new is much cleaner hopefully. Change-Id: I43663d021dc8bc31662d3923e1c3da22d987ebf9
* nwztools/upgtools: add more brute force algorithmsAmaury Pouly2017-01-04
| | | | | | | Allow to search for hex with upper case and alphanumeric. This is *much* slower of course. Change-Id: I41a2fc63c4b2220c21147b711098ebc37ddb3527
* nwztools: add NW-WM1 nvp table, regenerate databaseAmaury Pouly2017-01-04
| | | | Change-Id: If5781f0a98b3f2fee08a2daed383064cc59f1680
* nwztools: small fixesAmaury Pouly2017-01-04
| | | | | | Make sure scripts use bash, make nwz database generator more deterministic Change-Id: I26812b697abe0406fb3c60d6eb231cb27edc81d5
* puzzles: rename bcopy() to bcopy_wrapper() and make staticFranklin Wei2017-01-03
| | | | | | - fixes a name collision on linux Change-Id: I9f162b5c8a1f319fa6495ff9343fb6007cc20edf
* mkimxboot: add NWZ-E380 firmware 1.00.200Amaury Pouly2017-01-02
| | | | Change-Id: I0c949a464a0e5880d1215db571aac402ca81eae9
* mkimxboot: implement firmware unpatchingAmaury Pouly2017-01-02
| | | | Change-Id: Idfd68c06f89cdef8e95865e3ff177a6daa072c1a
* imxtools: completely rework patching logic to prepare unpatchingAmaury Pouly2017-01-02
| | | | | | | | | | | The old code was working but a mess to maintain. The new code is cleaner and always simpler handling of all the different options. Extraction of the OF is no longer a standalone function but just one particular output type. This commit prepares the ground for firmware "unpatching" (aka OF extraction from patched OF). The patching code itself did not change so this commit should still produce the exact same images as before. Change-Id: I3840793d4b78b8435e38c08f558840925085ead1
* mkimxboot: add the concept of soft MD5 sumAmaury Pouly2017-01-02
| | | | Change-Id: I7e83218ce0dccc1f4c4a7a6bb9c1df00dacf260b
* Fixes and re-sync for puzzlesFranklin Wei2017-01-01
| | | | | | | | - Updates to latest upstream (7cae89fb4b22c305b3fd98b4e1be065ad527a9f7). - Also fixes a bug relating to updating parts of the display. - Adds some docs. Change-Id: Idfcce66e0cf3c59e467bab42eafc161df2e495bb
* imxtools: fix bug aes128 (did not update cbc-macp)Amaury Pouly2017-01-01
| | | | | | | Although this does bug is never triggered because we never decrypt and use the resulting CBC-MAC, it's a major overlook. Change-Id: I3c5d318e6428d528483bf888ea284e9ded3889f0
* mkimxboot: don't forget to pass model if given on command lineAmaury Pouly2016-12-19
| | | | Change-Id: I1d20b38ff5b0f337d9a2eef6e2e1d6c170aabce7
* zenxfistyle: enable dualboot stub apiAmaury Pouly2016-12-19
| | | | | | | The ZEN X-Fi Style doesn't have an updater like the other stmp targets but at least the stub enables rebooting to the OF. Change-Id: I630653a37b94b77210ffdd0d30e1748b13eca96a
* work around little bugs in puzzlesFranklin Wei2016-12-18
| | | | Change-Id: I80d72a6bb0189eb842385aa622506d5efe319053
* Add circle drawing/filling to xlcdFranklin Wei2016-12-18
| | | | Change-Id: I5d28ade42145d9d82babcf62c0db7948927cafec
* add missing file to puzzlesFranklin Wei2016-12-18
| | | | Change-Id: I63b80718f48eede54c3312d9e66c77bfd2472a79
* Port of Simon Tatham's Puzzle CollectionFranklin Wei2016-12-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Original revision: 5123b1bf68777ffa86e651f178046b26a87cf2d9 MIT Licensed. Some games still crash and others are unplayable due to issues with controls. Still need a "real" polygon filling algorithm. Currently builds one plugin per puzzle (about 40 in total, around 100K each on ARM), but can easily be made to build a single monolithic overlay (800K or so on ARM). The following games are at least partially broken for various reasons, and have been disabled on this commit: Cube: failed assertion with "Icosahedron" setting Keen: input issues Mines: weird stuff happens on target Palisade: input issues Solo: input issues, occasional crash on target Towers: input issues Undead: input issues Unequal: input and drawing issues (concave polys) Untangle: input issues Features left to do: - In-game help system - Figure out the weird bugs Change-Id: I7c69b6860ab115f973c8d76799502e9bb3d52368