397 Commits

Author SHA1 Message Date
Konrad Beckmann
2cfce562e3 Setup flash2, enable PC profiling over SWO 2021-08-08 21:19:39 +02:00
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
051aa0cd6b Add snes9x from retro-go 2021-08-07 20:15:13 +02:00
Konrad Beckmann
26a4c4fc66 snes9x: Boilerplate integration 2021-08-07 20:15:13 +02:00
Brian Pugh
eeffce05c6 Fix slightly incorrect buffer swapping in nes osd_blitscreen 2021-08-07 18:29:09 +02:00
Konrad Beckmann
72da767238 tools: Break out openocd and rewrite screengrabber a bit 2021-08-05 22:20:00 +02:00
Konrad Beckmann
9d56ddc0bc tools: Fix wrapping bug and add halt support for safer data reads 2021-08-05 21:14:00 +02:00
Konrad Beckmann
6241983f53 tools: Add argparse to logpoll and cleanup 2021-08-05 19:55:06 +02:00
Konrad Beckmann
4d44d6835d tools: Add logpoll to poll the stdout log from a running target 2021-08-05 19:36:03 +02:00
Konrad Beckmann
67685edea6 main: Increase max extflash size to 256 MB 2021-08-05 08:49:31 +02:00
Brian Pugh
fbb791b0a6 Fix sms from emulating 5% too fast introduced in b6bbe8e2. Slightly increase target frame period accuracy for all emulators 2021-08-04 19:58:00 +02:00
Konrad Beckmann
9f39efa2ef gw_flash: Assert that JEDEC ID is not FF FF FF 2021-08-04 16:17:32 +02:00
Konrad Beckmann
57601aa086 BSOD: Turn on the backlight
Useful if hitting an assert very early
2021-08-04 16:16:30 +02:00
Konrad Beckmann
6b7e6eeeb6 gw_flash: Add MX66U1G45G and MX66U2G45G 2021-08-04 11:58:46 +02:00
Konrad Beckmann
79636bd7ec makefile: Add make dump_logs to dump callstack and logs 2021-08-04 11:57:59 +02:00
Brian Pugh
a3af61f484 continue drawing frames and don't skip until CPU usage hits 100 percent 2021-08-03 23:58:49 +02:00
Konrad Beckmann
5e9d24ffa5 makefile: Print toolchain variables in help 2021-08-03 23:55:28 +02:00
Konrad Beckmann
ca1c68d0e9 Update submodule 2021-08-03 23:18:20 +02:00
Konrad Beckmann
2817336939 gw_flash: Add a default status poll timeout of 1s
Erase operations will be allowed to run forever.
2021-08-03 20:19:34 +02:00
Konrad Beckmann
399acf57f4 makefile: Print config variables in make help 2021-08-03 20:10:48 +02:00
Konrad Beckmann
bff9f57216 makefile: Reset device in reset_dbgmcu 2021-08-03 20:10:32 +02:00
Konrad Beckmann
ade7cb6fc5 New flash driver and integrated loader 2021-08-03 17:06:54 +02:00
Brian Pugh
1541393509 Long hold pause/set to toggle speedup (#114)
* nes long hold pause/set to toggle speedup

* refactor nes common emu loop; need to fix busyTime

* move odroid_system_tick into common loop, fix cpumon

* nes common_emu_loop

* pce common_emu_loop

* sms common_emu_loop

* fix some warnings

* setup pause/set macros; remove speedup based on long-pressing pause/set

* Update readme. Initial Controls section commit

* linting

* mute while macro save-stating
2021-07-29 20:20:55 +02:00
Brian Pugh
0403b679cb change pce pause_pressed and power_pressed to correct dtypes 2021-07-25 09:17:38 +02:00
Brian Pugh
88c8df2492 change sms pause_pressed and power_pressed to correct dtypes 2021-07-25 09:17:38 +02:00
Brian Pugh
1dedf5986a change gb pause_pressed and power_pressed to correct dtypes 2021-07-25 09:17:38 +02:00
Brian Pugh
1925bcccb5 change nes pause_pressed and power_pressed to correct dtypes 2021-07-25 09:17:38 +02:00
Brian Pugh
836db3157c Have NES use joystick abstraction (matching other emus) rather than directly reading raw gnw buttons 2021-07-25 09:17:38 +02:00
Brian Pugh
2d166d5cb0 Save state and poweroff when power is pressed when in-menu (#112) 2021-07-24 18:12:08 +02:00
Brian Pugh
b6bbe8e2bb Add 0.5x, 0.75x, 1.25x and 1.5x speed options (#111)
* fix GB speedup, add 1.25x and 1.5x options

* Add options for 0.5x and 0.75x in gb

* nes speedup

* pce speedup

* sms speedup

Closes #110
Closes #56
2021-07-21 08:23:46 +02:00
Konrad Beckmann
8276c2d607 Update submodule 2021-07-21 08:15:45 +02:00
Konrad Beckmann
3dce00d594 vscode: Add c_cpp_properties.json 2021-07-19 11:02:16 +02:00
Konrad Beckmann
5ccd71eae8 Update submodule
linux/gb: Fix size calculation of compressed area for linux
change uint32_t to size_t
2021-07-19 10:20:42 +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
Brian Pugh
9d35031e69 replace zopfli with zlib until decompression bug is resolved 2021-07-15 20:05:50 +02:00
Rustam Zinurov
94062c331c Issue 101: Remember the last selected game in the menu after reset (#108)
Remember the last selected game in the menu after reset

Closes #101 

Add two extra variables to odroid settings:
 - main_menu_selected_tab
 - main_menu_cursor

* Reset active tab on power off

* Update retro-go-stm32 submodule to latest main

* Remember the last selected game in the menu on power off
2021-07-14 22:21:52 +02:00
Konrad Beckmann
e7f2e7cf86 scripts: Disable debug based on RESET_DBGMCU 2021-07-13 19:25:30 +02:00
Konrad Beckmann
262ac696a9 scripts: Make the scripts more platform independent
Fixes a loop issue on mac
2021-07-13 19:19:13 +02:00
Konrad Beckmann
ccb7099a93 ci: Add linux integration build job 2021-07-12 22:37:47 +02:00
Konrad Beckmann
a20c590b79 makefile: Add RESET_DBGMCU to control if debug should be disabled 2021-07-12 18:10:45 +02:00
Konrad Beckmann
2e0525565f makefile: Rename disable_debug_block to reset_dbgmcu 2021-07-12 18:10:31 +02:00
Konrad Beckmann
d62c0144a8 linux: Make it build again 2021-07-12 08:32:53 +02:00
Konrad Beckmann
4a9e49bcde scripts: Disable debug block when done for all scripts 2021-07-12 00:06:37 +02:00
Konrad Beckmann
a495618279 scripts: Disable debug block when done 2021-07-12 00:04:16 +02:00
Konrad Beckmann
76b5680df0 makefile: Reset DBGMCU_CR after flashing
This will disable clocks from running when the device
is in standby after being flashed, increasing battery life.
2021-07-11 22:39:08 +02:00
Konrad Beckmann
3bec6c6137 templates: Add feature request, simplyfy bug report 2021-07-11 22:21:12 +02:00
Konrad Beckmann
1bfba9776e Move scripts to a separate directory 2021-07-11 22:07:31 +02:00
Konrad Beckmann
70881218ef ci: Move scripts 2021-07-11 22:07:28 +02:00