389 Commits

Author SHA1 Message Date
Brian Pugh
3306ccf11b update retro-go-stm32 to get new miniz files 2021-07-08 20:06:43 +02:00
Brian Pugh
ba092b7b16 Update parse_roms.py help strings 2021-07-08 20:06:43 +02:00
Brian Pugh
04f969f67f fix endian order of uncompressed deflate data 2021-07-08 20:06:43 +02:00
Brian Pugh
79ec35c9cd Fix space in makefile before MINIZ macros 2021-07-08 20:06:43 +02:00
Brian Pugh
fcb786a7dc parse_roms.py linting 2021-07-08 20:06:43 +02:00
Brian Pugh
864c488c3e Initial attempt at deflate nes support 2021-07-08 20:06:43 +02:00
Brian Pugh
f2f754e81e remove lupng from the build 2021-07-08 20:06:43 +02:00
Brian Pugh
013083f827 have rom manager expose the rom extension 2021-07-08 20:06:43 +02:00
Brian Pugh
e2bb399642 initial zopfli support in parse_roms.py 2021-07-08 20:06:43 +02:00
Brian Pugh
9449bdb092 Add pre-commit config and lint rules for python 2021-07-07 08:58:33 +02:00
Brian Pugh
e1bdee743f Add semi-optional requirements.txt 2021-07-07 08:36:21 +02:00
Brian Pugh
3ff11840d8 fix exception when attempting to compress non-nes/gb games 2021-07-07 08:36:21 +02:00
Brian Pugh
804612a685 Change lz4 python parameters to match cli 2021-07-07 08:36:21 +02:00
Brian Pugh
e39ede61a2 refactor parse_roms.py to use pathlib and be easily expandable for future compression algorithms 2021-07-07 08:36:21 +02:00
Konrad Beckmann
e03ec09db9 ci: Add placeholder roms for untested emulators
Closes #104
2021-07-05 22:45:16 +02:00
Konrad Beckmann
95f93b6772 Revert "ci: Build PRs as well"
This reverts commit 3bcc8f9caf.
2021-07-04 18:27:29 +02:00
Konrad Beckmann
3bcc8f9caf ci: Build PRs as well 2021-07-04 12:55:36 +02:00
Konrad Beckmann
4fc0a3c424 Update submodule
coleco: Store BIOS in extflash only (no copy to RAM)

Fixes #97
2021-07-04 12:20:02 +02:00
Konrad Beckmann
5218701947 ld: Assert that BSS doesn't use too much RAM 2021-07-04 11:45:25 +02:00
Konrad Beckmann
e63e2317ed readme: Simplify the rom copying step 2021-07-03 23:46:29 +02:00
Konrad Beckmann
1b3bd7c608 makefile: Remove accidental overrides
These overrides were accidentally pulled in from a feature merge.
2021-07-03 22:25:22 +02:00
Konrad Beckmann
52442187ee Remove TODO 2021-07-03 01:54:40 +02:00
Konrad Beckmann
e20419fd99 Ensure that the main menu will be entered after resetting. 2021-07-03 01:52:51 +02:00
Konrad Beckmann
c73bd95d74 Suspend after idling in the main menu
Default timeout is 10 minutes.

Also adds a configurable timeout for this.

Closes #80
2021-07-03 01:45:02 +02:00
Konrad Beckmann
e79c4fab0b Commit settings when going to sleep 2021-07-03 00:42:02 +02:00
Konrad Beckmann
e4ec6ce857 Set TIM1 frequency to 1Hz and add an uptime counter 2021-07-03 00:23:51 +02:00
Konrad Beckmann
b9f8d23d76 Lower the default volume to avoid brown outs when powered through USB 2021-07-02 12:36:23 +02:00
Konrad Beckmann
4be407159f emulators: Render frames and pause on power resume
When the user presses the power button from the off
state, the last played game will load. A few frames
will be rendered and the emulator will be paused.

Closes #10
2021-07-01 21:02:16 +02:00
Konrad Beckmann
1b1c5afb24 update submodule and match odroid_settings_StartupFile_get/set 2021-07-01 00:55:21 +02:00
Konrad Beckmann
c45445cf81 Skip loading last played game if user holds down any extra button 2021-07-01 00:31:58 +02:00
Konrad Beckmann
559e2fc6ec Resume last played game when booting
Closes #38
2021-07-01 00:24:01 +02:00
Konrad Beckmann
95520b8cd2 odroid: Fix FPS/skip/busy counters 2021-06-30 23:22:11 +02:00
Konrad Beckmann
19ca0f312a readme: Update supported emulators 2021-06-30 00:35:10 +02:00
Konrad Beckmann
1fdbb47321 gitignore: Ignore col_roms.c and sg1000_roms.c 2021-06-30 00:31:12 +02:00
Konrad Beckmann
35bfa1fed7 parse_roms.py: Allocate save space for sg1000 2021-06-30 00:29:37 +02:00
ludo
24df24d082 - Remove generated file 2021-06-30 00:21:18 +02:00
ludo
00dd5bb3ed - Add all coleco keys using gw combo keys
GW Key       : Coleco
 Game         : 1
 Game + Up    : 2
 Game + Left  : 3
 Game + Down  : 4
 Game + Right : 5
 Game + A     : 6
 Game + B     : 0
 Time         : #
 Time + Up    : *
 Time + Left  : 9
 Time + Down  : 8
 Time + Right : 7
 Time + A     : 6
 Time + B     : 5
2021-06-30 00:21:15 +02:00
ludo
711052daf7 - Add SG-1000 support 2021-06-30 00:21:12 +02:00
ludo
d15fe877f5 - Add support of SG-1000 2021-06-30 00:21:08 +02:00
ludo
c01ee42360 Add support of Colecovision 2021-06-30 00:21:05 +02:00
ludo
f67d762bb3 - Add support of Colecovision 2021-06-30 00:21:00 +02:00
Brian Pugh
f4f1cd2f82 use gsplit if on mac 2021-06-26 00:20:49 +02:00
Konrad Beckmann
7da8b4bd37 readme: Inform about lz4 2021-06-25 09:53:37 +02:00
bzhxx
b30d09365c GB/GBC : add LZ4 ROM compressed support (#91)
* add LZ4 decompression support

* NES: add support for LZ4 compressed ROM. Example : lz4 --best --content-size --no-frame-crc my_rom.nes my_compressed_rom.nes

* fix Makefile

* nes: Expose a buffer with unused ram

* nes: Fix indentation in osd_getromdata

* nes: Use _NES_ROM_UNPACK_BUFFER for LZ4 unpacking

* parse_roms: Compress NES ROMs with LZ4

* fix python typing for backward compatibility 3.6

* NES LZ4 support : add LZ4 format parsing

* Update parse_roms.py

remove unecessary line.

* Update lz4_depack.c

reorder the source code. The notice is now at the top.

* Update parse_roms.py

clean up.

* Update lz4_depack.c

remove  <string.h>.

* change submodule link

* typo comment fix

* GB/GBC add LZ4 ROM compression

* LZ4 library can be shared between emulators

* Add GB SRAM buffer setup using linker

* GB/GBC add LZ4 ROM support with bank switching

* add LZ4 decompress function in assembler for fun and test

* Remove static SRAM memory allocation used by the save function to increase the bank switching cache (14 > 26). The SRAM cache is stolen during save and reloaded right after

* add support for Mix compression and alternative compression statregy to limite cache swapping. By default (--compress), all the banks are compressed except bank#0. Using (--compress_gb_speed), the ROM banks are lightly compressed by selecting the larger banks to fill the cache and by trimming the empty banks. The option (--compress_gb_speed) can be used when a game speed is affected by the compression by default (--compress).

* update LZ4 loader with increased SRAM cache size and support for mixing compressed/uncompressed banks

* Fix to support MBC5 8MB ROM size (256 banks)Fix to support MBC5 8MB ROM size (256 banks)

* Linux emulator NES and GB start checked

* module update.

* Update parse_roms.py

remove print.

* update submodule. fix. LZ4 GB for roms size > 2MB

* LZ4 change compression args --best replaced by -9. Fix typo in new args

* Revert "Merge remote-tracking branch 'upstream/main' into main"

This reverts commit 487606760c, reversing
changes made to d9ab8c2870.

* Revert "Revert "Merge remote-tracking branch 'upstream/main' into main""

This reverts commit 6882de3955.

* GB/GBC: fix LCD glitch at the start by cleaning up the buffer emulator

Co-authored-by: Konrad Beckmann <konrad.beckmann@gmail.com>
Co-authored-by: brice <brice.lehouerou@free.fr>
2021-06-25 09:10:30 +02:00
Konrad Beckmann
a55120d69e debug: Disable action on a menu item 2021-06-17 12:28:27 +02:00
Konrad Beckmann
0459feb40a debug: Add more flash debug features 2021-06-17 12:22:46 +02:00
Konrad Beckmann
b250e5c555 Add debug menu to show flash jdec id 2021-06-17 10:30:58 +02:00
Konrad Beckmann
c11d240016 Update submodule 2021-06-07 09:05:37 +02:00
Konrad Beckmann
d8b19c8809 Update submodule 2021-06-06 23:55:06 +02:00
Konrad Beckmann
44ea3678dc Cleanup readme 2021-06-06 15:04:22 +02:00