139 Commits

Author SHA1 Message Date
Konrad Beckmann
1b1c5afb24 update submodule and match odroid_settings_StartupFile_get/set 2021-07-01 00:55:21 +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
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
c01ee42360 Add support of Colecovision 2021-06-30 00:21:05 +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
a3149424f5 pce: Convert to spaces 2021-05-24 14:11:58 +02:00
Konrad Beckmann
5db4adc40f Increase audio level with a factor 2
Sound will be twice as loud now.

This may lead to a brownout if the battery isn't connected.
2021-05-24 14:09:43 +02:00
bzhxx
8a4ede05c1 nes: Add LZ4 compression support (#86)
Co-authored-by: Konrad Beckmann <konrad.beckmann@gmail.com>
2021-04-26 21:12:29 +02:00
GaryZ88
3df1e0a0c0 Adding PC Engine (TurboGrafx-16) Emulation (#78)
Adding PC Engine (TurboGrafx-16) Emulation
2021-02-18 08:16:32 +01:00
Konrad Beckmann
4b0444b7b4 Add menu entry to power off the unit 2021-02-15 15:24:21 +01:00
Scorp0rX0r
0e2edb09d2 Fix LCD init and merge resume support 2021-02-07 16:36:09 +01:00
Jan Dumon
c8c7c6cb35 Increase speed of keeping keys pressed 2021-01-22 17:43:03 +01:00
Jan Dumon
aab0a71eb9 When keeping pressed repeat directional keys in menus 2021-01-21 06:36:35 +01:00
Jan Dumon
eecbcd6a0a smsplusgx: fix indentation and remove obsolete code 2021-01-21 06:36:06 +01:00
Jan Dumon
cfd1a4cc37 smsplusgx: use correct blit function 2021-01-21 06:36:06 +01:00
Konrad Beckmann
a4a0602527 smsplusgx: Divide volume factor by 2 to prevent overflow in stereo mixing 2021-01-19 09:42:52 +01:00
Konrad Beckmann
6932a5f341 Improve audio volume calculation 2021-01-18 21:31:34 +01:00
Konrad Beckmann
7ce42520d6 Move headers to more sensible places 2021-01-12 23:49:30 +01:00
Jan Dumon
81e3822edf odroid_input: implement odroid_input_wait_for_key() 2021-01-12 09:52:54 +01:00
Konrad Beckmann
c6014e0bd9 retro-go: Update submodule (gb, nes fixes) and fixup 2021-01-11 12:10:05 +01:00
Konrad Beckmann
0d9d7605e7 nes: Update submodule and adjust integration 2021-01-11 11:22:26 +01:00
Franz Levin
bc61c642b1 battery: Added battery status 2021-01-11 02:30:22 +01:00
Jan Dumon
b656959c4d Integrate smsplusgx 2021-01-08 16:27:21 +01:00
Jan Dumon
00e5d9a25c Added a watchdog to avoid power-cycles when things go wrong 2021-01-08 14:28:48 +01:00
Jan Dumon
0b553b87da Load emulators from flash into memory
This was originally written by Thomas Roth <code@stacksmashing.net> to
make it possible to support more emulators than what fits into memory at
the same time (commit c13aa09b).

Instead of generating a monolithic binary, the different emulators are
stored in flash and loaded into ram right before they are launched.

This is the basis for adding more emulators e.g. smsplusgx.
2021-01-04 17:20:48 +01:00
Raúl Mora
5ef7292aa5 GUI updated similar to the Famicom Classic Mini title selection screen 2021-01-04 14:02:45 +01:00
Konrad Beckmann
f91e20153b Add unaligned mempcy fix 2021-01-02 21:28:28 +01:00
Konrad Beckmann
98954634b1 Fix warnings 2020-12-29 14:04:11 +01:00
Konrad Beckmann
29451a18c1 gb: Support GBC 2020-12-29 03:41:26 +01:00
Konrad Beckmann
c1efeecc23 Correctly specify the audio buffer size to handle 50/60 Hz 2020-12-29 03:05:15 +01:00
Konrad Beckmann
d34667cae4 gb: Store actual number of bytes of state save 2020-12-29 00:12:22 +01:00
Konrad Beckmann
59b841ac7a Include region in rom parsing 2020-12-28 21:59:47 +01:00
Konrad Beckmann
e4add4a4a4 nes: Support PAL and NTSC 2020-12-28 21:21:06 +01:00
Franz Levin
84e74f5b1c cleanup 2020-12-28 01:44:42 +01:00
Jan Dumon
000bffde95 gb: use screen_blit_v3to5 2020-12-27 22:09:29 +01:00
Konrad Beckmann
bd02b964fe Fix some additional warnings 2020-12-27 22:01:33 +01:00
Jan Dumon
e618b0d8ef fixed compiler warnings 2020-12-27 19:54:48 +01:00
Konrad Beckmann
09148a16f6 Fix rendering bug, support changing palettes 2020-12-27 16:34:33 +01:00
Konrad Beckmann
83e169b307 Improved performance 2020-12-27 16:28:48 +01:00
Konrad Beckmann
69c8bb9ad3 Fix padding 2020-12-27 16:28:41 +01:00
Konrad Beckmann
9c9a9d8c7f Fancy upscaling 2020-12-27 16:28:36 +01:00
Konrad Beckmann
c9904a37a3 Improve blit/scaling performance 2020-12-27 16:28:30 +01:00
Konrad Beckmann
26b9c90c39 Optimize blitting 2020-12-27 16:24:40 +01:00
Konrad Beckmann
c01f51ff57 Finalize state save/load for gb and nes 2020-12-27 16:21:59 +01:00
Konrad Beckmann
0a93f7752f Control volume correctly 2020-12-27 16:21:48 +01:00
Konrad Beckmann
04b704a1d4 Improve menus 2020-12-27 16:21:44 +01:00
Konrad Beckmann
2cabf8a6d8 Clear audio buffer while OSD menu is showing 2020-12-27 16:21:40 +01:00
Konrad Beckmann
97058dd5ef nes: Enable OSD menu 2020-12-27 16:21:36 +01:00