Commit graph

2226 commits

Author SHA1 Message Date
Andrea Odetti
450c2e3622 Merge remote-tracking branch 'upstream/master' 2020-08-03 08:35:47 +01:00
TomCh
d92635ffde
Update README.md 2020-07-29 21:41:12 +01:00
Wayne Arthurton
267de478d2
Bumping version in README (#816)
Updated download links to new and previous versions.
2020-07-29 21:39:07 +01:00
tomcw
b93de29ff1 Fixed the 6502/65C02 false-read of 6522 issue for Willy Byte! (fixes #52) 2020-07-24 19:39:31 +01:00
tomcw
52ff9d5b99 Fixed MB looping sound after 'OK' in Configuration (#813) 2020-07-17 22:53:17 +01:00
Andrea Odetti
7010d9f6e1 Remove WCHAR not needed and change TCHAR to a define.
This helps QTCreator to show the string in the debugger.
Otherwise it would show just an array of bytes.

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-07-13 08:20:21 +01:00
Andrea Odetti
60beb9aa58 Add installation and packaging in cmake.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-07-12 15:53:53 +01:00
Andrea Odetti
2ebcb856a3 dirname cant return null.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-07-12 10:29:45 +01:00
Andrea Odetti
ce0db1f74f Use a dynamic relative path to locate resources.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-07-12 10:26:17 +01:00
Andrea Odetti
a310d50da4 applen: partially better way to locate resources if application is launched from different folder.
When loading snapshot, chdir so relative paths can be found.
Ensure endwin() is called.
Use an "int" to exit the process rather than a exit().

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-07-12 10:24:27 +01:00
Andrea Odetti
9515e7de2d Set window icon.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-07-11 18:46:09 +01:00
Andrea Odetti
5e2025d36c Dummy load options for joystick and serial card to avoid warning on the screen.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-07-11 18:42:11 +01:00
Andrea Odetti
9afb9c631f Save absolute path of the snapshot filename.
Otherwise if one starts qapple with --load-state with a relative path it does not work
(as we have cd'ed to allow loading disks).

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-07-11 18:41:09 +01:00
Andrea Odetti
b7fb13576f Merge remote-tracking branch 'upstream/master' 2020-07-08 16:56:40 +01:00
Andrea Odetti
9c442468f5 Compile AW's Speaker.cpp and remove custom implementation.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-07-08 16:52:00 +01:00
tomcw
b35ba0b04a RESET: reset annunciators for //e and Base64A 2020-07-07 20:54:46 +01:00
Andrea Odetti
22125c9566 Add support for Base64A.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-07-07 20:13:43 +01:00
Andrea Odetti
40d3e822e9 Make resource interface based on "char *" as it is easier to detect a nullptr.
Can't change the return type to std::string.

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-07-07 20:13:26 +01:00
Andrea Odetti
a5eaf8a011 Merge remote-tracking branch 'upstream/master' 2020-07-07 08:50:51 +01:00
tomcw
f1f16d4fc2 Minor tweaks for previous Base64A merge:
. added dedicated IsCopamBase64A() function
. added comments to identify Copam Base64A specific vars
. added some missing const keywords
2020-07-06 20:52:31 +01:00
Andrea Odetti
ac6bc48f60 Fix wrong list of preferences in Slot5.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-07-06 20:30:37 +01:00
Iván Izaguirre
36e318e344
Support 'Copam Base 64A' - a Taiwanese Apple II clone (#806) (PR #807)
. It's an Apple II plus clone.
. The 48K bank-switched Rom is controlled with AN0 and AN1.
. The character generation video Rom has two full character sets: English and German (F10 to switch).
NB. At the prompt, "TEST" runs the ROM self-test.
2020-07-06 20:24:16 +01:00
Andrea
7204abce03
Merge pull request #7 from audetto/mockingboard
Mockingboard
2020-07-06 19:39:08 +01:00
Andrea Odetti
c9b4eb9aab Fix the call to SetCurrentImageDir to be a path rather than a filename.
Load the path of the save state first as disks are relative to it.

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-07-06 19:32:10 +01:00
Andrea Odetti
86ad2130a9 Make sure configuration is saved when a snapshot is loaded.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-07-06 19:29:18 +01:00
Andrea Odetti
ad1b6774ae Fix Mockingboard in applen.
(not playing, but not crashing)

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-07-05 19:10:24 +01:00
Andrea Odetti
a29e781de0 Reduce calls to chdir() and only do it before loading a snapshot as it helps with relative disk locations.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-07-05 18:07:13 +01:00
Andrea
fb776b3c7f
Update linux.md 2020-07-05 14:54:31 +01:00
Andrea Odetti
16d17a3ab3 Partially revert memory leak fix(ed upstream).
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-07-05 14:51:51 +01:00
Andrea Odetti
df01fafd06 Merge branch 'master' into mockingboard 2020-07-05 14:48:48 +01:00
Andrea Odetti
0c0ed92164 Merge remote-tracking branch 'upstream/master' 2020-07-05 14:47:40 +01:00
Andrea Odetti
36e774ab6e Merge branch 'master' into mockingboard 2020-07-05 14:43:42 +01:00
Andrea Odetti
38908c7d6d Fix memory leak.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-07-05 14:42:56 +01:00
Andrea Odetti
74cab50cee Remove dependency on std::filesystem and fix a compilation error. 2020-07-05 13:20:03 +01:00
tomcw
6dd129532f Fixed mem leak after a VM restart. (Fixes #809) 2020-07-04 21:39:56 +01:00
Andrea Odetti
0539fd9a69 Simplify initialisation.
Just reinitialise everything on soft reboot.
Make sure audio is stopped when emulator is reinitialised.
Stop timers while reinitialising.
2020-07-04 19:59:20 +01:00
Andrea Odetti
3cfea2da07 Add some safety around IDirectSoundBuffer::Release().
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-07-04 19:57:15 +01:00
Andrea Odetti
5dee29fbf9 Make Mockingboard voice actually play.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-07-02 11:02:57 +01:00
Andrea
82c09abd54
Minor fixes (#805)
* Add missing Riff.h include and fix const correctness of arguments.
* Cosmetic improvements to Perf breakdown in LogPerfTimings().
* Logging - removed unnecessary cast.
2020-07-01 21:08:18 +01:00
Andrea Odetti
04ef0bf377 Compile SoundCore from AW.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-07-01 18:48:41 +01:00
Andrea Odetti
259428a946 Add support for a (munte) mockingboard.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-06-30 15:43:06 +01:00
Andrea Odetti
fd9b2184bf Merge remote-tracking branch 'origin/minor_fixes' 2020-06-30 14:03:28 +01:00
Andrea Odetti
5536050b71 Use c++ sleep_for rather than usleep.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-06-30 14:02:39 +01:00
Andrea Odetti
ebfa58293d No need to cast, it is already of the right size (void *). 2020-06-30 12:09:01 +01:00
Andrea Odetti
98d1f74fba Cosmetic improvements to Perf breakdown. 2020-06-30 10:39:01 +01:00
Andrea Odetti
ca96fa232f Add missing Riff.h include and fix constness of arguments. 2020-06-30 09:56:29 +01:00
tomcw
951f7f5258 Minor: added missing static keywords 2020-06-28 10:25:59 +01:00
tomcw
9bf0cf98d4 Fixed crash in debugger's PrintGlyph() when restarting AppleII virtual machine
Fixed mem leaks for debugger's Font & Mem frame buffers
2020-06-28 10:18:59 +01:00
tomcw
60d54d6f3b Fix for 'IRQ occurring on last cycle of opcode' not always true. (Fixes #796)
. FT demo MAD2.DSK - original version now correctly crashes at start of full-screen scroller
. FT demo MADEF.DSK - graphics glitch on vertical edge where it transitions from GR to HGR mode
2020-06-27 19:29:29 +01:00
Andrea Odetti
a2e7191604 Merge remote-tracking branch 'upstream/master' 2020-06-27 18:34:58 +01:00