93 Commits

Author SHA1 Message Date
Franz Levin
bc61c642b1 battery: Added battery status 2021-01-11 02:30:22 +01:00
Konrad Beckmann
3b50f7a1cd Generate emulator configuration based on roms
Closes #57
2021-01-09 06:35:26 +01:00
Konrad Beckmann
274399a4bd makefile: Remove unused targets 2021-01-09 06:10:56 +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
Konrad Beckmann
1246574036 Revert "linux: Build with -O0"
This reverts commit ab682fbd9d.
2021-01-04 16:41:28 +01:00
Konrad Beckmann
ab682fbd9d linux: Build with -O0 2021-01-04 15:42:43 +01:00
Franz Levin
3e7e0d1361 makefile: update rom_manager.c 2021-01-04 14:01:28 +01:00
Konrad Beckmann
0d36bf2f86 make: Improve old submodule warning 2021-01-04 07:55:00 +01:00
Konrad Beckmann
9830937d10 Simplify handling of updated files. 2021-01-04 03:33:14 +01:00
Franz Levin
f3669c57d4 makefile: only update rom list when needed 2021-01-03 23:55:54 +01:00
Konrad Beckmann
909d60f685 Move parse_roms.py artifacts into build/ 2021-01-03 16:30:31 +01:00
Konrad Beckmann
f91e20153b Add unaligned mempcy fix 2021-01-02 21:28:28 +01:00
Konrad Beckmann
a2b9a1cb97 Rename build folder to build 2020-12-31 04:01:12 +01:00
Konrad Beckmann
70a21a2388 makefile: Suppress uninteresting stderr messages 2020-12-31 03:46:23 +01:00
Konrad Beckmann
1e463b560d makefile: Only run parse_roms.py when needed 2020-12-31 03:43:48 +01:00
Konrad Beckmann
7ee7001dce Make external flash size configurable 2020-12-30 16:07:28 +01:00
al3x10m
1b1f082ce8 use flashloader's interface config files 2020-12-30 14:55:02 +01:00
Konrad Beckmann
cf8e032921 makefile: Use /usr/bin/env 2020-12-30 14:11:20 +01:00
Konrad Beckmann
9e781c5d59 makefile: Run parse_roms.py from the makefile 2020-12-30 02:51:12 +01:00
Konrad Beckmann
2c8283aae9 Enable large flash when building with LARGE_FLASH=1 2020-12-29 19:30:56 +01:00
Konrad Beckmann
98954634b1 Fix warnings 2020-12-29 14:04:11 +01:00
Konrad Beckmann
fe85be396e makefile: Check for dirty submodules when building 2020-12-29 12:43:49 +01:00
Franz Levin
e47c06e11d make readable output 2020-12-28 01:11:27 +01:00
Konrad Beckmann
ec2fe6b548 Fix dependency issues for githash.h 2020-12-28 00:56:31 +01:00
Konrad Beckmann
896b14f9cc Update githash correctly
closes #20
2020-12-27 22:16:02 +01:00
Konrad Beckmann
bd02b964fe Fix some additional warnings 2020-12-27 22:01:33 +01:00
Konrad Beckmann
92f73530dd Remove Makefile variants 2020-12-27 16:48:54 +01:00
Konrad Beckmann
7edfa68260 makefile: use flash_multi.sh 2020-12-27 16:34:36 +01:00
Konrad Beckmann
179ba9bc6b Fix loading of nes roms 2020-12-27 16:20:44 +01:00
Thomas Roth
003c1eeb62 Fix build issues 2020-12-27 16:20:38 +01:00
Thomas Roth
8bb62c2af8 Working NES and GB switching 2020-12-27 16:20:14 +01:00
Konrad Beckmann
4b3ab433f5 Backlight support using DAC 2020-12-27 16:19:57 +01:00
Konrad Beckmann
b12048899e Generate and include git hash in BSOD 2020-12-27 16:19:50 +01:00
Konrad Beckmann
c8b70b33d3 Implement _sbrk, allocate 16KB heap in RAM 2020-12-27 16:19:08 +01:00
Konrad Beckmann
b400da4967 Add rg_alloc tracker and enable it by default 2020-12-27 16:19:02 +01:00
Thomas Roth
da2df65684 Working GB ROM selection 2020-12-27 16:18:04 +01:00
Konrad Beckmann
d4854c7310 Add initial GUI hack 2020-12-27 16:17:27 +01:00
Konrad Beckmann
181ce5b894 Build with D_FORTIFY_SOURCE=1
This also adds a naive memcpy implementation to work around
bounds checks. This is done because of symbols coming from
the ld script that don't have the correct length.

If anyone knows how to fix this properly, PRs are always welcome!

This is an alternate solution to #13
2020-12-12 13:38:17 +01:00
Konrad Beckmann
b5a14a7726 Makefile: Add -DIS_LITTLE_ENDIAN
This fixes the nes state saves
2020-12-11 03:22:52 +01:00
Konrad Beckmann
67c17ab870 Makefile: Run size.sh, depend on ldscript 2020-12-11 02:12:12 +01:00
Konrad Beckmann
d410a84d9f Refactor makefiles 2020-12-10 21:30:21 +01:00