Changes the CMakeLists.txt to enable the creation of macOS app bundles via cmake --build build --target install including all necessary dylibs for a functioning macOS compile.
- Fix the broken itemindex of ComboBox in the Settings dialog
- Change from LCID to uint32_t
- Rewrite the headers of the lang related functions (can handle the whole LCID as input)
- Add dummy functions to unix.c
- Add proper combobox handling in win_settings.c
- Added a lot of debug calls temporarily
- Reactivate every disabled option related to language changes
- Move lang_id to 86box.h from win.h
- Implement on-fly resource switch as discussed with OBattler
- Reimplement everything language related in the initialization section of the program
- Implemented the ladder of three points
1, what is the --lang?
2, what are definied in the config? (to be implemented)
3, what is the system language
This change removes timespec_get() from Unix systems and makes it also possible to cross-compile binaries on macOS Big Sur or macOS Monterrey that target macOS Mojave at minimum since Mojave lacks support for timespec_get().
According to documentation obtained here:
https://www.win3x.org/uh19/public/motherboard/manual/30218.pdf
The ASUS ISA-386C in addition to supporting 32MB onboard, supports an additional 32MB through a proprietary RAM card using an extended ISA connector marked "S1" on the board.
I have no idea on implementation details of this, but the manual seems to imply it just ends up mapped directly into RAM banks 2 and 3. So I'm not sure if raising the RAM limit here is the correct fix, but... yeah. Up to y'all. I won't be offended if you reject this PR out of hand :)
Bit 1 is of 0x3DA (read only) is apparently required to make the OS/2 Tseng ET4000W32/i drivers work fine, fixes hangs upon reaching the GUI with said drivers.
Avoid division by zero in the blitter of the ET4000W32/i under OS/2.
Video changes (PVGA):
Fixes mode changes of the PVGA1a, including the built-in video card of the Amstrad 2086/3086.