508 Commits

Author SHA1 Message Date
Konrad Beckmann
0651fdf138 makefile: Improve help 2021-11-08 23:01:46 +01:00
Konrad Beckmann
2a9bf6d719 ci: Remove --http1.1 flag 2021-11-06 13:09:49 +01:00
Konrad Beckmann
babe99a378 Improve the Docker flow
By mounting the current directory and preserving the uid/gid,
the docker container doesn't have to include the source code,
roms etc.
2021-11-06 13:04:49 +01:00
Konrad Beckmann
8daa749dda makefile: Remove elf dependency from dump_screenshot 2021-11-02 22:56:41 +01:00
Konrad Beckmann
c3b282a67f Mute audio while saving screenshot 2021-11-02 22:52:11 +01:00
Konrad Beckmann
9066b2d1d2 Add pyelftools to requirements.txt 2021-11-02 22:32:19 +01:00
Konrad Beckmann
0d2a7da11a Use correct number of entries for app settings
Fixes garbage text and crashes in settings for
PCE and GW.
2021-11-02 22:10:37 +01:00
Konrad Beckmann
086f50e8d2 Use a global enum definition for appids 2021-11-02 22:09:00 +01:00
Konrad Beckmann
0190ed45ad screenshot: Fix incorrect 565->888 conversion 2021-10-31 02:45:48 +02:00
Konrad Beckmann
ee3cb5e9b5 Add screenshot support
Closes #163
2021-10-31 02:30:13 +02:00
wzhy90
a9d68f3cf8 gb: Add original resolution
Added:
- Off + any -> 160x144 resolution
2021-10-30 00:27:04 +02:00
Konrad Beckmann
748d994ad0 gw_flash: Assert on JEDEC ID 00 00 00 as well 2021-10-25 23:32:36 +02:00
Konrad Beckmann
017e2c7183 gb: Add more scaling options
Added:
- Fit + Soft -> bilinear scaling
- Full + Off -> NN scaling
2021-10-23 23:34:00 +02:00
Konrad Beckmann
bc8aec84a3 Add note about attached files 2021-10-18 10:44:53 +02:00
Konrad Beckmann
b51f0f99d5 nes/gb: Add support for scale and filter algorithms
Partial solution for #95
2021-10-17 19:58:52 +02:00
Konrad Beckmann
d483651abd Make it possible to build with COMPRESS=0 2021-10-15 00:00:38 +02:00
Konrad Beckmann
9c48cc2b4a Fix indentation 2021-10-10 23:30:55 +02:00
Konrad Beckmann
11b1dd2dd7 Don't load state when resuming from sleep if STATE_SAVING is 0 2021-10-10 23:30:26 +02:00
Konrad Beckmann
290a9402c4 Add option to disable save state support (STATE_SAVING=0) 2021-10-10 15:28:18 +02:00
Konrad Beckmann
76313eff72 makefile: Add python version check (>= 3.6) 2021-10-09 21:51:59 +02:00
Konrad Beckmann
69143ebe91 readme: Add note about EXTFLASH_FORCE_SPI=1 2021-10-05 12:46:58 +02:00
Konrad Beckmann
4b443a1bc5 readme: Add bash code flavor 2021-09-30 19:44:27 +02:00
Konrad Beckmann
c931f538c0 readme: Cleanup, clarify, add ToC 2021-09-30 19:26:19 +02:00
Brian Pugh
335b3f6d10 Update README to remove compression section and to update CFW section to point to game-and-watch-patch isntead of tim's 2021-09-30 18:26:35 +02:00
Brian Pugh
daff3addc4 Make lzma the default ROM compression method 2021-09-30 18:26:35 +02:00
Konrad Beckmann
4867b664b8 Bump settings version
When important changes happen in the
settings struct or handling, the version
field should be increased.

Doing so will cause the settings to reset
to the default (a lazy migration, but better
than nothing).

After we added more backlight levels, it was
possible to end up with a very dark screen when
having an old config from a previous build.
2021-09-18 17:27:44 +02:00
Brian Pugh
3e9ec78a11 LZMA ROM compression (#148)
* lzma initial commit

* Save 13 bytes per lzma compression

* initial lzma support

* update readme

* Update submodule

* linux: Fix gb makefile

Co-authored-by: Konrad Beckmann <konrad.beckmann@gmail.com>
2021-09-18 17:09:28 +02:00
Brian Pugh
2ac8ff2e17 extflash_erase target (#143)
* extflash_erase target

* cleanup extflash_erase target script per PR comments

* remove verbosity in extflash_erase.sh

* fix syntax error in extflash_erase.sh. added flash_intflash as target dependency
2021-09-06 18:41:46 +02:00
Konrad Beckmann
823b4ea41e Name variables more accurately
FLASHAPP = scripts/flashapp.sh
FLASH_MULTI = scripts/flash_multi.sh
2021-09-06 18:34:27 +02:00
Brian Pugh
bfd9f79fff change startup gui override macro to just the TIME button 2021-09-06 17:52:25 +02:00
Konrad Beckmann
b9c0414f93 readme: Add note about unlocking before changing the external flash 2021-09-05 16:29:09 +02:00
Christian Unhold
38dcc2dc0e makefile: add COMPRESS to help 2021-09-03 22:47:00 +02:00
Christian Unhold
e4011d8bf9 flashapp: 64-bit percent calculation
This avoids an overflow with big progress values.
Previously, the Flash erase percentage was jumping back to 0%
after 41 MiB erased.
2021-09-03 22:47:00 +02:00
Konrad Beckmann
28130acd8f Add NULL-checks for load and save state functions
Fixes a bug where it would crash if the power button is pressed
while an overlay is active in the ROM selection menu.
2021-09-01 15:33:46 +02:00
unhold
54275de64e flashapp: 64-bit progress calculation (#145)
This avoids an overflow with big progress values.
Previously, the Flash erase status bar was jumping back to start
after every 16 MiB erased.
2021-08-31 22:36:07 +02:00
unhold
67312e82bf gw_flash: Add MX25U51245G-54 (#144) 2021-08-27 09:52:59 +02:00
Konrad Beckmann
bfaaff6b50 ci: Enable CI for PRs 2021-08-25 17:48:07 +02:00
Konrad Beckmann
f8ae6ee682 Remove accidentally added submodule 2021-08-25 17:44:11 +02:00
Brian Pugh
c1cddb4769 Increase number of brightness levels to 10 (#141) 2021-08-25 17:42:06 +02:00
Konrad Beckmann
ef7cc2d09e Update submodule 2021-08-25 17:41:42 +02:00
bzhxx
f80ef35fc4 Fix G&W keys abstraction issue #130 (#138)
Closes #130
2021-08-22 23:03:03 +02:00
Konrad Beckmann
ac73c47398 makefile: Use /usr/bin/env 2021-08-18 11:29:10 +02:00
Konrad Beckmann
c8b3e3955f makefile: Improve error messages for toolchain detection 2021-08-18 11:23:53 +02:00
Brian Pugh
278616969e fix savestates from saving/loading from the wrong location when __EXFLASH_OFFSET__ is specified (#136) 2021-08-17 20:13:39 +02:00
bzhxx
7ba5232828 add gw to saves restore script (#135) 2021-08-16 21:12:04 +02:00
bzhxx
48a30f75f0 add gw to save backup script (#134) 2021-08-16 21:11:52 +02:00
viral_dna
1bc9ff8e5d Add gw to list of supported emulators (#133) 2021-08-16 10:25:49 +02:00
Brian Pugh
dbc2253023 Working Bank2 Flashapp (#131)
* set intflash address when programming

* Allow flashapp to work when flashing bank 2

* update readme

* Add tim bootloader SRAM magic-byte

* move boot stuff around to more appropriate locations
2021-08-15 21:42:57 +02:00
viral_dna
4a303e492c readme: Add missing make option (#132) 2021-08-15 21:41:25 +02:00
Konrad Beckmann
8a641f844a Add EXTFLASH_FORCE_SPI to force legacy SPI mode for the flash driver 2021-08-15 02:22:25 +02:00