Commit graph

23 commits

Author SHA1 Message Date
Jools Wills
9e8362a98c Convert modules to using variable comparisons in flags
Replace GCC version checks in depends_* functions with variable comparisons in flags.
2024-05-21 21:20:32 +01:00
Jools Wills
d1148075a9
Merge pull request #3663 from joolswills/ti99sim_fix
Fix building of ti99sim / ti99sim-sdl1 on recent g++
2023-03-07 14:36:42 +00:00
Jools Wills
d519e79e89 ti99sim - include patch to fix building on recent g++
src/core/device-support.cpp was missing a cstring include which throws an error on recent g++
2023-03-05 15:01:28 +00:00
Jools Wills
90d535028b Don't use compareVersions for GCC version comparisons
gcc -dumpversion on GCC >= 7 seems to provide the major version but the documentation suggests this depends on how it's configured.
We only need to test the major version so using compareVersions isn't required.

https://gcc.gnu.org/onlinedocs/gcc/Developer-Options.html states:
>Print the compiler version (for example, 3.0, 6.3.0 or 7)—and don’t do anything else. This is the compiler
>version used in filesystem paths and specs. Depending on how the compiler has been configured it can be
>just a single number (major version), two numbers separated by a dot (major and minor version) or three
>numbers separated by dots (major, minor and patchlevel version).

Ensure __gcc_version only contains the major version just in case in system.sh
2023-03-05 14:09:26 +00:00
Jools Wills
2cfcdc4765 emulators - added rp_module_repo for emulators using source archives 2021-02-15 23:54:13 +00:00
cmitu
87a601542b ti99sim: use an older version to fix installation with older gcc,
Latest version (0.16) needs `gcc` 8 for C++20 features (`--std=c++2a`). This breaks the module for systems with older `gcc` (ex. Debian Stretch).
Added a new scriptmodule based on the previous version (0.15), which used SDL1 instead of SDL2, and keep the module flags from before a50179093.
Added a check for the `gcc` version in the SDL2 scriptmodule.
2020-08-17 18:53:08 +00:00
Jools Wills
d2827ec4e8 ti99sim - fix typo in sdl2-dev dependency 2020-07-14 05:34:10 +01:00
cmitu
f6284bc0a0 ti99sim: update to version 0.16.0, switch to SDL2
Update the emulator to the latest version, which is now using SDL2, so `dispmanx` is no longer required.

Modified the installation to include some utilities (might be useful for disc/cartridge manipulation) and to include the docs and license.
2020-07-14 05:24:28 +01:00
Jools Wills
9fb86fde4a ti99sim - enable for kms and enable dispmnx backend by default
* create a launch script for switching folder for compatibility with runcommand setting SDL1_VIDEODRIVER
 * reorder configuration and add logic to avoid running install code on removal
2020-02-05 05:52:36 +00:00
Jools Wills
f22f92d13e helpers / downloadAndExtract - allow additional parameters for both tar and unzip
* change existing calls which used --strip-components
 * use multiple parameters for arguments which should allow additional arguments with spaces
 * implements #2630
2019-02-27 06:36:28 +00:00
Jools Wills
518b888eab disable some modules (rpi1 / sdl1 etc) from the kms platform 2017-11-02 19:49:59 +00:00
Jools Wills
42fd198875 helpers - added downloadAndExtract function for use in modules
* replace many of the existing wget | tar commands with the new function
 * include error logging in the function via runCmd, to trap download/unpacking issues
2017-08-10 20:45:49 +01:00
Jools Wills
5926524aff added licences to modules 2017-03-01 13:51:12 +00:00
Jools Wills
87c8b439f6 roms -> games in module help for machines that generally don't run games from rom (the term rom is horribly misused online). 2017-01-28 00:06:08 +00:00
Jools Wills
e64e27d79e exts/name are addSystem parameters - move to platforms.cfg also / fix some typos 2017-01-06 00:57:37 +00:00
Jools Wills
eda4f61136 updated all modules to use addEmulator / addSystem 2016-12-31 02:49:04 +00:00
HerbFargus
771184ae6b fix paths so bios actually goes in bios folder 2016-12-26 14:08:42 -08:00
Jools Wills
e385457a7b cosmetic - remove trailing spaces in copyright 2016-08-11 03:23:30 +01:00
HerbFargus
86da2c00bc finish docs for the rest of the emulators 2016-06-11 00:14:31 -06:00
HerbFargus
ae97909192 Add help docs to emulator and libretro modules 2016-06-10 14:54:23 -06:00
Jools Wills
a7c0a6103b help improvements
* get rid of _INFMSGS and instead have a rp_module_help field with information in.
   this can then be displayed in the setup menus, and not just after configuring.
2016-06-10 17:32:47 +01:00
Jools Wills
4e062f1923 ti99 - move archive / fix config dir and cleanup 2016-06-09 18:08:55 +01:00
HerbFargus
ae6b3766f0 add ti-99/4A 2016-06-07 21:07:09 -06:00