Commit graph

3027 commits

Author SHA1 Message Date
Andrea Odetti
e08363f141 libretro: ignore RetroArch request to re-insert the previous image.
The idea is that on a multigame floppy, only the first is bootable.
This seems the most common use case.

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-11-28 18:52:40 +00:00
Andrea Odetti
24a135e042 libretro: add m3u as supported extension.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-11-28 18:51:42 +00:00
Andrea Odetti
76317c2df1 libwindows: a very tiny step towards compilation of libretro with VS.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-11-28 18:49:17 +00:00
Andrea Odetti
d46c90a82c libretro: cosmetic changes.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-11-28 14:52:58 +00:00
Andrea Odetti
a16b2b2d35 More elegant serialisation data structure.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-11-28 14:29:16 +00:00
Andrea Odetti
02740cee80 libretro: handle m3u format as gamepath.
Implement retro_set_initial_image.

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-11-28 14:15:17 +00:00
Andrea Odetti
30dbfad59c libretro: implement retro_reset().
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-11-28 13:24:25 +00:00
Andrea Odetti
7037e20c0f libretro: implement save/load state.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-11-27 21:27:46 +00:00
Andrea Odetti
741849a026 Implement 2nd version of the Disc Control interface.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-11-27 13:45:34 +00:00
Andrea Odetti
117502b774 Implement base Disc Control interface.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-11-27 11:39:55 +00:00
Andrea Odetti
cca65baf97 Reduce verbosity of key logger.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-11-27 11:38:40 +00:00
Andrea Odetti
eb74e28585 libretro: fix meaning of memory ids.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-11-27 10:33:44 +00:00
Andrea Odetti
34a0baa65e Update 3rd party repos.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-11-26 21:09:16 +00:00
Andrea Odetti
fad9da0ec2 Fix for recent AW.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-11-26 20:54:28 +00:00
Andrea Odetti
f61d2073e5 Merge remote-tracking branch 'upstream/master' 2021-11-26 20:51:34 +00:00
Andrea
0b2104cc89
Card::Save/LoadSnapshot (PR #1003)
Add 2 virtual methods to Card to load and save snapshots.
2021-11-25 20:23:21 +00:00
Andrea Odetti
f080599718 libretro: support mouse retropad. 2021-11-24 18:02:27 +00:00
Andrea Odetti
6175dc8a55 Add support for memory / achievements.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-11-24 14:08:14 +00:00
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
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