16 Commits

Author SHA1 Message Date
Konrad Beckmann
5e2b8ec10c linux/snes: Don't require nes rom file 2021-08-07 22:46:55 +02:00
Konrad Beckmann
7f57f94a2f snes9x: Basic bringup on device 2021-08-07 20:15:13 +02:00
Konrad Beckmann
f4730eb1eb linux/gb: Don't include a period in the rom extension 2021-07-15 23:18:27 +02:00
Konrad Beckmann
0f7ed40544 linux/gb: Initialize joystick struct 2021-07-15 23:08:47 +02:00
Konrad Beckmann
d62c0144a8 linux: Make it build again 2021-07-12 08:32:53 +02:00
Brian Pugh
013083f827 have rom manager expose the rom extension 2021-07-08 20:06:43 +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
172b1079bc linux: Adapt gb emulator to new submodule 2021-01-16 00:50:10 +01:00
Konrad Beckmann
1f4dee743d linux: Adapt nes emulator to new submodule 2021-01-16 00:47:08 +01:00
Konrad Beckmann
efa8e37a8e linux: Add basic gb integration 2021-01-09 16:34:21 +01:00
Konrad Beckmann
20565d7cb1 linux: Don't generate unused file 2021-01-04 16:41:18 +01:00
Konrad Beckmann
afe58c548c linux: Build with -Og -ggdb3 2021-01-04 16:41:01 +01:00
Konrad Beckmann
68031940af linux: Mark roms as const, helps to find emulator bugs 2021-01-04 15:39:35 +01:00
Konrad Beckmann
9ce955b16d linux: Fix emulator_framebuffer size 2021-01-04 15:07:51 +01:00
Konrad Beckmann
ec4535d5db Fix the Linux nes emulator 2021-01-04 08:05:39 +01:00
Konrad Beckmann
e0d7623d58 Add initial nofrendo port for GW and Linux 2020-11-29 18:25:32 +01:00