6834 Commits

Author SHA1 Message Date
Dimitris Panokostas
a896962cb5
Update README.md (#1433) 2024-09-23 20:00:53 +02:00
Dimitris Panokostas
37d573ec5b
Merge branch 'master' into preview 2024-09-23 19:46:33 +02:00
Dimitris Panokostas
d659f23de0
Sync final diffs from preview 2024-09-23 19:46:23 +02:00
Dimitris Panokostas
d0056f77cd
Merge Preview v6.x to master
V5 now lives in a separate repo: https://github.com/BlitterStudio/amiberry-lite
2024-09-23 19:42:29 +02:00
Dimitris Panokostas
22bf8e8804
Cmake packaging (#1431)
* modify CMakeLists.txt to be able to build packages for MacOS and Linux

* Moved pull request template to .github dir

* Moved code of conduct file under .github directory

* Removed gitmodules file

* Moved install extra dirs to only if we're not building an Apple bundle

* Added first version of a Deb package option to CPack

* Fixed double directory creation during installation/packaging

* Remove debian directory

We won't be using this, going for CPack instead

* Fixed package version

* Clean up contents of packages

* Fix dependencies and filename of .deb package

* Bump version to 6.3.5

* Add desktop file for Deb package

* Remove archive generator, the DEB one is good enough

* Change pipeline to use CMake for Linux targets

Let's generate some .deb files!
This is most likely missing stuff, like the distro name...

* Fix incorrect architecture names in cross-compiler

* Fix 32-bit arm package architecture

* ci: Allow 32-bit arm builds

* ci: disable the bullseye builds for now

Until we figure out a solution with Bullseye + CMake + SDL2_image/SDL2_ttf

* ci: fix expected targets

* ci: bring back bullseye builds

* Remove path from desktop shortcut

* Fixed typo in comment

* Set the version in the Project, use that for CPack

* Updated compiled and linker flags with no-pie properly

- There were some differences between the Makefile flags and CMake. Now they are identical
- Updated the Findmpg123.cmake file with the latest one from upstream

* Include bullseye build targets again
2024-09-23 18:20:16 +02:00
Solskogen
f2b173ac75 Yet another fix for CMake that will help both OSX and Debian Bullseye 2024-09-21 21:33:04 +02:00
Solskogen
38530178a8 First imports of toolchain files for cross-compiling 2024-09-20 12:02:21 +02:00
Solskogen
26c172c475 Remove unnecessary architecture detection 2024-09-20 12:00:55 +02:00
Dimitris Panokostas
bbbff9a8a9
Update make-bundle.sh 2024-09-19 18:40:54 +02:00
Dimitris Panokostas
3e33ae1699
ci: Fix capsimg filename for MacOS 2024-09-19 18:28:59 +02:00
Dimitris Panokostas
0176babbd3
ci: remove autoconf from macos homebrew runner as well 2024-09-19 18:12:24 +02:00
Dimitris Panokostas
1856743386
ci: Remove cmake and wget from MacOS homebrew runner
these are already installed in the runner environment anyway
2024-09-19 18:11:38 +02:00
Dimitris Panokostas
8da4f0374a
chore: make it clear that these flags are for ARM builds only 2024-09-19 18:05:15 +02:00
Dimitris Panokostas
5704c61681
ci: Fixed typo 2024-09-19 18:03:24 +02:00
Dimitris Panokostas
bc5b401fd2
ci: MacOS Makefile fixes: link to iconv 2024-09-19 17:57:49 +02:00
Dimitris Panokostas
fa4f6b8abb
ci: MacOS fixes - Remove one more lib from the linker in the Makefile 2024-09-19 17:53:08 +02:00
Dimitris Panokostas
d3a09489ac
ci: MacOS fix - remove rt lib from linker in Makefile 2024-09-19 17:47:06 +02:00
Dimitris Panokostas
b048dca7a7
ci: more macos Makefile fixes 2024-09-19 17:37:50 +02:00
Dimitris Panokostas
5fb7738bc8
ci: fix cmake linker flags for macos 2024-09-19 17:32:37 +02:00
Dimitris Panokostas
f68a735510
ci: fix macos apple silicon flags 2024-09-19 17:32:25 +02:00
Dimitris Panokostas
7c0f35fdfe
ci: cleanup makefile macos targets 2024-09-19 17:27:28 +02:00
Dimitris Panokostas
75744d3b8a
ci: macos fixes, guisan should be static 2024-09-19 17:07:23 +02:00
Dimitris Panokostas
4060ecce12
ci: more Cmake files for MacOS 2024-09-19 16:33:39 +02:00
Dimitris Panokostas
ab03f586da
ci: ensure Apple ARM builds don't detect both arm32 and arm64 defines 2024-09-19 16:00:15 +02:00
Dimitris Panokostas
b382b083f7
bugfix: Editing entries in HD GUI panel was broken 2024-09-19 15:03:47 +02:00
Dimitris Panokostas
c20b2d34da
bugfix: Editing entries in HD GUI panel was broken 2024-09-19 15:03:15 +02:00
Dimitris Panokostas
2f64ca3c00
Revert "build: set the compiler standard higher in the Makefile"
This reverts commit e822fe8c7cc85b2deb11ef46af2c9750e0ebd545.
2024-09-19 14:46:44 +02:00
Dimitris Panokostas
2ed4086307
chore: fix compiler warnings in calc
Well, most of them anyway
2024-09-19 14:37:14 +02:00
Dimitris Panokostas
32dafceed5
ci: Cmake builds would fail if started under a subdir (#1430)
* ci: Cmake builds would fail if started under a subdir

* ci: add cmake files needed for bullseye

* ci: updated macOS include directories

* ci: fix compiler error under clang/macOS

* ci: remove unused linker flag

* ci: add cmake in macOS homebrew
2024-09-18 22:50:42 +02:00
Dimitris Panokostas
6ce8923383
ci: updated more SDL includes in guisan 2024-09-17 22:56:16 +02:00
Dimitris Panokostas
be2b552026
ci: change SDL_ttf include in sdltruetypefont.hpp 2024-09-17 22:45:48 +02:00
Dimitris Panokostas
dbd85a3714
ci: upgrade the minimum CMake version for capsimage
Get rid of a warning about older CMake versions being deprecated soon
2024-09-17 22:25:52 +02:00
Dimitris Panokostas
89c2c69e29
ci: fixed one more file with named initializers 2024-09-17 21:41:00 +02:00
Dimitris Panokostas
2efd753f7f
ci: fixed voodo file as well (see previous commit reason) 2024-09-17 21:36:31 +02:00
Dimitris Panokostas
785ed29f97
ci: avoid using named initializers in file, otherwise we run into a GCC bug
This code won't compile with older GCC versions, due to a known bug:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55227
2024-09-17 21:31:37 +02:00
Dimitris Panokostas
8cf8388b75
bugfix: fix ambiguous variable names 2024-09-17 21:18:26 +02:00
Dimitris Panokostas
e822fe8c7c
build: set the compiler standard higher in the Makefile 2024-09-17 21:11:38 +02:00
Dimitris Panokostas
2bd584115c
Big bang winuae merge (#1428)
* enhancement: Merge more WinUAE code

- Added PPC
- Added PCEM
- Added PCI
- Added MAME (A2410 and TM34010)
- Added QEMU (various gfx cards, network cards, SCSI, etc)
- Enabled relevant ifdefs

* enhancement: Added luascript, slirp_uae

- Removed unused ersatz
- Added luascript (disabled for now, needs an extra library)
- Added slirp_uae (disabled for now)
- Added sources for separate tool "uaeunp"

* enhancement: Added DSP emulation

- Added DSP emulation files from WinUAE, with slight modifications (disabled for now)

* enhancement: Enabled TabletLibrary, DSP, Draco

Not implemented on the GUI yet, but enabled related ifdefs in the code

* enhancement: Added SANA2 support

Not visible on the GUI yet

* enhancement: sync includes and other details with WinUAE

* enhancement: added support for more RTG boards

* bugfix: added missing arm/arm64 headers for pcem codegen_backend

WinUAE didn't have these, so let's grab them from PCem v16 directly

* enhancement: Fixed defines in picasso96.cpp

* bugfix: Maybe we should actually sleep for a few ms in sleep_millis2

* enhancement: P96 - added ifdefs where Amiberry-specific pieces are added

* chore: sync time/rpt headers with WinUAE

* chore: reduce the lines of ifdefs in ahi_v2

* enhancement: use SDL_Delay instead of waiting for the cpu_wakeup_event

* perf: only call init_row_map if the pixels have changed

* enhancement: Added GVP T-Rex II

Merged from WinUAE

* enhancement: Added DKB WildFire v1.0 and Masoboshi v2.197

Merged from WinUAE

* enhancement: Flush trap queues during reset.

* bugfix: Added missing S3 Virge PCI byteswap mode

Merged from WinUAE

* perf: Do not unnecessarily call SetCursor() continuously.

* bugfix: Fixed uae_sem_unpost

This should be SemPost, not SemWait

* enhancement: Allow 16-bit only if D3D9 is selected.

Merged from WinUAE - Amiberry uses gfx_api value 2 anyway.

* bugfix: Fix SPRxPOS modification just before horizontal match if sprite had lowest horizontal bit set.

Merged from WinUAE

* enhancement: Both COPxJMP strobe emulation update

Merged from WinUAE

* enhancement: Serial emulation updates, more accurate transmit timing, receive timing is not anymore instant except in direct mode.

Merged from WinUAE

* enhancement: OpalVision undocumented horizontal panning emulation

address load was ignored if it was included in second control line.

* perf: Reduce amount of read_processor_time() calls.

Merged from WinUAE

* build: updated makefile with new files

* enhancement: added PPC options to GUI

* enhancement: added MapROM option in GUI

* bugfix: GUI RAM Panel did not highlight selected items properly

* enhancement: added label in Input panel for Parallel Port joystick adapter

The label should make it more clear that the last two ports are for the emulated parallel port joystick adapter

* enhancement: GUI listbox inactive color improvement

The guisan listbox would use an inactive color of a fixed value.
It should use something from the color scheme, instead.

* enhancement: added more models and configs in Quickstart
2024-09-17 20:56:46 +02:00
Dimitris Panokostas
a71da28ff1
chore: remove unneeded ifdef 2024-09-13 19:44:03 +02:00
Dimitris Panokostas
e0e6606f6e
bugfix: Refresh RTG panel when CPU changes are modified
- The 24-bit addressing option blocks RTG cards from being used. When it's disabled, the RTG panel should refresh, to enable any relevant widgets
- Fixed navigation in RTG panel (the VRAM slider could not be accessed)
2024-09-13 15:41:12 +02:00
Dimitris Panokostas
e315c20a66
bugfix: Refresh RTG panel when CPU changes are modified
- The 24-bit addressing option blocks RTG cards from being used. When it's disabled, the RTG panel should refresh, to enable any relevant widgets
- Fixed navigation in RTG panel (the VRAM slider could not be accessed)
2024-09-13 15:40:58 +02:00
Dimitris Panokostas
2eab647ed2
enhancement: Gracefully handle iconv failures
If iconv_open() fails for some reason, do not fail completely but instead try to copy the entries verbatim.
2024-09-13 15:28:14 +02:00
Dimitris Panokostas
f08c48eb75
enhancement: Gracefully handle iconv failures
If iconv_open() fails for some reason, do not fail completely but instead try to copy the entries verbatim.
2024-09-13 15:26:51 +02:00
Dimitris Panokostas
996c275517
enhancement: add support for XDG_CONFIG_HOME (fixes #1425)
Added logic to pick up the config directory, from the first match of the following:
- $AMIBERY_CONFIG_DIR
- $XDG_CONFIG_HOME/amiberry
- $HOME/.config/amiberry
- $HOME/.amiberry/conf

if none of the above is found, the fallback is the current logic (portable mode, <current dir>/conf)
2024-09-12 21:16:45 +02:00
Dimitris Panokostas
3294cc12a5
enhancement: add support for XDG_CONFIG_HOME (fixes #1425)
Added logic to pick up the config directory, from the first match of the following:
- $AMIBERY_CONFIG_DIR
- $XDG_CONFIG_HOME/amiberry
- $HOME/.config/amiberry
- $HOME/.amiberry/conf

if none of the above is found, the fallback is the current logic (portable mode, <current dir>/conf)
2024-09-12 21:11:24 +02:00
Dimitris Panokostas
891cc7caf4
bugfix: Fixed navigation in Sound panel
It wasn't possible to navigate into the Sound panel, since the first control (dropdown at the top) was disabled by default.
2024-09-12 19:36:09 +02:00
Dimitris Panokostas
4c3763f8c3
bugfix: Fixed navigation in Sound panel
It wasn't possible to navigate into the Sound panel, since the first control (dropdown at the top) was disabled by default.
2024-09-12 19:35:59 +02:00
Dimitris Panokostas
ff8c6b3377
enhancement: guisan: clang tidy, use const when possible 2024-09-12 19:34:11 +02:00
Dimitris Panokostas
f9a99daa99
enhancement: guisan: fix remaining widgets colors
These widgets were also missing their disabled color
2024-09-12 19:34:11 +02:00
Dimitris Panokostas
1e768b157f
enhancement: guisan: radiobutton and togglebutton fixes
These widgets didn't use the proper disabled color
2024-09-12 19:34:10 +02:00