Commit graph

2088 commits

Author SHA1 Message Date
Andrea Odetti
9ec45b1dab Merge remote-tracking branch 'upstream/master' 2021-12-19 20:18:37 +00:00
tomcw
d342f3a17d Fix for VS2008 2021-12-19 19:26:07 +00:00
Andrea Odetti
e5456916fb Merge remote-tracking branch 'upstream/master' 2021-12-19 15:06:02 +00:00
TomCh
577ffccf8f
VidHD: Support SHR for Apple II/II+ models (#997, PR #1013)
. Support aux writes for II/II+ (6502 emulation, not 65C02)
. Extend VidHD save-state for II/II+ aux memory
2021-12-19 14:17:51 +00:00
tomcw
ff65a9f6bf Save-state: remove ASSERT when saving LC for //e or Enhanced //e 2021-12-18 21:31:17 +00:00
Andrea Odetti
d6aa407076 Fix a couple of warnings / Pi issues.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-12-18 18:26:30 +00:00
Andrea Odetti
86122aa5f5 Update ImGui.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-12-18 16:45:49 +00:00
Andrea Odetti
913081649e Unify exceptions.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-12-18 16:43:23 +00:00
Andrea Odetti
9590d7c4f9 Merge remote-tracking branch 'upstream/master' 2021-12-18 16:38:39 +00:00
Andrea
47f721882e
throw std::runtime_error instead of std::string (PR #1011)
+ add more information about location of yaml parser error.
2021-12-18 16:37:28 +00:00
Andrea Odetti
151ef94382 Merge remote-tracking branch 'upstream/master' 2021-12-12 19:55:51 +00:00
Andrea Odetti
c758e6884c qapple: patch qapple.pro.
Qt Creator is better at debugging qapple.

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-12-12 19:40:41 +00:00
Andrea Odetti
b80f7c5f50 QApple: fix VidHD.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-12-12 19:15:40 +00:00
Andrea Odetti
28e5703ab5 Update ImGui.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-12-12 18:31:53 +00:00
tomcw
651b57fdae HDD: fix for slowdown during r/w block operations
. firmware does busy-wait RMW (rol abs,x)
. the IORead then IOWrite was flipping the LED status each access, with a huge performance penalty!
2021-12-12 11:53:37 +00:00
tomcw
19aadbfb8d Add a top-level catch-handler for std::string 2021-12-11 20:27:39 +00:00
Andrea Odetti
6dd4390c0b libretro: update cards.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-12-11 20:26:38 +00:00
Andrea Odetti
abe7d664c5 Update from AW.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-12-11 20:08:47 +00:00
Andrea Odetti
b5b2958be1 Merge remote-tracking branch 'upstream/master'
# Conflicts:
#	source/CardManager.cpp
2021-12-11 20:08:34 +00:00
tomcw
408f5fe42f Fix for loading save-state - eg. where 'AS-S2_End Credits' & 'OMT-PAL' lost their precise frame cycle 2021-12-11 19:30:54 +00:00
Andrea
a07ba4ade0
Set SHR alpha channel to 255 for consistency with other video modes. (PR #1010) 2021-12-11 18:05:06 +00:00
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
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