Commit graph

3161 commits

Author SHA1 Message Date
Andrea Odetti
8fd124e3ae Enable printf warnings. on retro_log_cb.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-11-24 14:01:37 +00:00
Andrea Odetti
759cb5ac64 libretro: ensure game is released *before* shutdown.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-11-22 19:04:48 +00:00
Andrea Odetti
ea828795c3 Merge remote-tracking branch 'upstream/master' 2021-11-22 18:58:44 +00:00
Andrea Odetti
7c81aafad3 libretro: controllers are inserted after the Game has loaded.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-11-22 18:53:39 +00:00
Andrea
0493cade10
Merge pull request #48 from audetto/cmake
Cmake: add ability to select frontends
2021-11-22 18:50:08 +00:00
Andrea Odetti
682916415c Add libretro.h to the git repo.
To ease libretro compilation.

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-11-21 20:23:16 +00:00
Andrea Odetti
7839aa0330 Add ability to select which frontend to build.
cmake .. -DBUILD_SA2=ON

or use cmake-gui.

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-11-21 20:23:06 +00:00
Andrea Odetti
3128fdb449 Ensure the Plug-And-Play works as much as possible.
Reset all the IO handlers every time a card is inserted / removed.

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-11-19 12:39:44 +00:00
Andrea Odetti
3c09d75573 Rewrite the Uthernet2 as Card.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-11-19 12:39:44 +00:00
Andrea
8da9f845a8
Merge pull request #46 from audetto/libretro
The retro core had been broken for a while...
2021-11-19 12:15:49 +00:00
Andrea Odetti
8c36ead724 The retro core had been broken for a while...
https://github.com/audetto/AppleWin/issues/44

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-11-19 12:11:17 +00:00
tomcw
abc631432d HDD: fix edge-case for old save-state m_buf_ptr 2021-11-15 20:26:53 +00:00
TomCh
01f89f88eb
Joystick: Remove buttonlatch & BUTTONTIME (#1002) 2021-11-14 17:40:15 +00:00
Andrea Odetti
1a302935f0 Update from AW.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-11-13 18:28:42 +00:00
Andrea Odetti
09343371d5 Merge remote-tracking branch 'upstream/master' 2021-11-13 18:20:22 +00:00
Andrea
2e04ce348a
Add Card::Update() (PR #1000)
And use it in ContinueExecution()
2021-11-13 18:13:01 +00:00
Andrea Odetti
d72e91dd2a Update from AW.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-11-13 09:31:43 +00:00
Andrea Odetti
8db8423634 Merge remote-tracking branch 'upstream/master' 2021-11-13 09:29:41 +00:00
Andrea
8662a99179
Add InitializeIO() to Card and CardManager (PR #999)
. Card::InitializeIO() is pure virtual
. CardManager::InitializeIO() initialises all cards
2021-11-11 21:45:55 +00:00
tomcw
25caffe7eb Minor comment typo 2021-11-11 21:24:41 +00:00
tomcw
6282790c3d Add comments to both Harddisk.cpp & the firmware code about 'sta abs16,x' false-reads, etc.
Harddisk.cpp: Fix typos and update the notes on the r/w commands' operation.
2021-11-11 21:20:54 +00:00
TomCh
5ed901f720
Slot-independent HDD firmware (#996, PR #998)
. Move the 'read block' command into the emulator - to mirror the write command
. With emulated time to do the DMA for the r/w block command
2021-11-09 21:04:57 +00:00
Andrea Odetti
052ccac8d0 QApple: support yaml drops.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-11-07 16:42:31 +00:00
Andrea Odetti
ca05f42721 HD as a Card from AW.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-11-07 15:23:10 +00:00
Andrea Odetti
b4aa5fff1e Merge branch 'master' into update 2021-11-07 11:43:54 +00:00
Andrea Odetti
b36c17b198 Fix qapple crash due to error in reading config.
Fixes https://github.com/audetto/AppleWin/issues/42

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-11-03 15:49:51 +00:00
Andrea Odetti
94de9e9e00 Merge remote-tracking branch 'upstream/master' 2021-11-02 12:07:38 +00:00
tomcw
d96ed5b8c5 Refactor: move m_slot into Card class 2021-11-01 21:01:28 +00:00
tomcw
67b3c28833 Refactor: remove slot from InitializeIO() calls for card objects 2021-11-01 20:39:26 +00:00
TomCh
ff7c9dc185
Make harddisk a class (#995)
. Add user-protection when unchecking HDD controller (as images aren't restored on a 'cancel')
. Fix possible crash when removing (via Config->Disk) either Disk2 card(s5) or HDD card(s7), then cancelling during emulation
. Fix m_buf[] size
2021-11-01 20:12:42 +00:00
Andrea Odetti
f9c9832262 Fix build.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-11-01 08:41:43 +00:00
Andrea Odetti
78dd08e329 Merge remote-tracking branch 'upstream/master' 2021-11-01 08:36:34 +00:00
Andrea
830030ee05
Simplify logic around CConfigNeedingRestart (PR #955) 2021-10-31 12:14:47 +00:00
Andrea Odetti
70cee11c79 Try with 2 processes.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-10-30 16:08:35 +01:00
Andrea Odetti
ae9e934193 Merge remote-tracking branch 'upstream/master' 2021-10-30 16:02:23 +01:00
Andrea Odetti
ae36dcbe30 Travis, still build master.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-10-30 16:00:21 +01:00
Andrea
783cf233a5
Merge pull request #40 from audetto/geometry
Save load SDL2 window position.
2021-10-30 15:59:02 +01:00
Andrea Odetti
0daa52f9f8 Fix SDLFrame::Destroy().
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-10-30 15:54:13 +01:00
Andrea Odetti
6e872d4bf1 Fix potential sign issue.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-10-30 15:47:49 +01:00
Andrea Odetti
e8bcb72771 Save / load window SDL2 window position.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-10-30 15:24:54 +01:00
Andrea Odetti
c7bf4f5a39 Split registry from Initialisation to make is usable sooner.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-10-30 15:24:06 +01:00
tomcw
992a79075b For the pre-build event (TestCPU6502), don't echo the message for the VS2019 platform toolset.
NB. still needed for v141_xp toolset.
2021-10-30 14:53:21 +01:00
Andrea Odetti
b349ec405d Allow Uthernet card in Slot 3.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-10-30 14:16:20 +01:00
Andrea Odetti
4eb070c653 Make ImGui the default SDL2 implementation.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-10-30 14:10:14 +01:00
Andrea Odetti
b81c3c78b3 Minor changes to readme files.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-10-30 13:52:02 +01:00
Andrea Odetti
48e2668bbc Cosmetic changes to cpack generated packages.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-10-30 13:41:42 +01:00
Andrea Odetti
35452965c8 Merge remote-tracking branch 'upstream/master' 2021-10-30 11:32:32 +01:00
Andrea Odetti
60878c5a4f Small fixes to build and generate RPMs.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-10-30 11:25:00 +01:00
tomcw
4d14d719b9 1.30.6.0: Update History.txt 2021-10-29 21:14:13 +01:00
Andrea Odetti
448de8f6c7 Detect hardware changes and show it in gui.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-10-29 12:09:23 +01:00