Commit graph

3251 commits

Author SHA1 Message Date
tomcw
1670e0dbc0 Fix for AppleWin-Test:
. don't load floppy/harddisk images (in Registry's Config) if also loading a save-state via cmd-line.
. done to prevent MessageBox alerts when deleted disk images can't be found.
Info: Registry contains refs to disk images, but on test clean-up, the images get deleted.
2021-12-11 18:01:46 +00:00
Andrea Odetti
49d0b7535d Set SHR Alpha to 255 for maximum compatibility.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-12-11 17:14:57 +00:00
Andrea Odetti
aa7f3277d1 SDL: reset hardware in Begin, not Initialize.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-12-11 17:14:09 +00:00
Andrea
177c9fec05
Make Slot 0 more consistent with other slots. (PR #1006) 2021-12-11 15:26:09 +00:00
tomcw
010d3525d3 HDD read: error if reading block to ROM (#1007) 2021-12-11 15:11:13 +00:00
tomcw
2de04b35c5 Help: Update debugger info for 'brk' cmd 2021-12-11 14:32:00 +00:00
tomcw
0ac210b132 Debugger: Extend 'brk' cmd:
. brk all <on|off>
Fix 'brk' cmd for invalid opcodes of length 2 & 3
2021-12-11 13:41:34 +00:00
tomcw
1ab0d56558 HDD: remove magic numbers & add GH ref (#1007) 2021-12-10 19:37:58 +00:00
tomcw
bb6fa80335 HDD r/w: error if r/w overlaps with I/O memory
. break to debugger if single-stepping
HDD write: support memory accesses across 64KiB boundary
2021-12-09 21:22:13 +00:00
tomcw
c594d6e101 VidHD: Fix SHIFT+PRINTSCRN for 320x200 2021-12-07 21:59:05 +00:00
Andrea Odetti
36e1c5a135 Move ExpansionCard utility to separate file.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-12-04 13:36:33 +00:00
Andrea Odetti
b740255979 Fix VidHD card insertion.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-12-04 12:47:09 +00:00
Andrea Odetti
ad6ca9c940 Move Initialise/Destroy Emulator to LinuxFrame.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-12-04 12:42:02 +00:00
Andrea Odetti
6e42274033 Uthernet2 as a Card.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-12-03 19:42:53 +00:00
Andrea Odetti
9439b1b400 Incorporate VidHD fro AW.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-12-03 18:46:23 +00:00
Andrea Odetti
79668e49e1 Merge remote-tracking branch 'upstream/master' into hd
# Conflicts:
#	source/Card.h
2021-12-03 10:15:27 +00:00
TomCh
443545b0f6
Support SHR video modes with a VidHD card (#997, PR #1004)
Support VidHD in slot 3 (via Config GUI or '-s3 vidhd') for SHR video modes only.
- AppleWin window is slightly enlarged when VidHD card is inserted.
Support IIgs 320x200 (and fill mode) and 640x200 video modes.
Debugger: add 'shr' command to view video
CUI: Allow user to specify width & height (for full-screen); and allow separate x,y scaling in full-screen mode.
2021-11-30 21:41:02 +00:00
Andrea Odetti
0ae58c5815 libretro: include DiscControl in save state.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-11-30 09:23:33 +00:00
Andrea Odetti
a6eea044af Update 3rd party repos.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-11-29 20:46:16 +00:00
Andrea Odetti
36ab6a8b4f cmake changes:
1) always build libappleii as static
2) expose OpenGL as a cmake variable
2021-11-29 09:59:34 +00:00
Andrea Odetti
1f1ef6c8a3 libretro: remove poor function.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-11-28 19:35:19 +00:00
Andrea Odetti
97c3472e6e libretro: support relative paths in m3u playlists.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-11-28 19:18:38 +00:00
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 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