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
tomcw
e48ea095a3
Debugger: PrintGlyph() - removed magic numbers
2020-06-27 15:46:28 +01:00
Andrea
fe62271ef9
Some minor c++ correctness changes. ( #803 )
...
Added const, static forward declaration.
Removed some unneeded header files.
2020-06-27 14:32:09 +01:00
Andrea Odetti
85b1f872f0
Rationalise location of some duplicate code.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-06-24 12:26:47 +01:00
Andrea Odetti
46f056f38e
Move duplicate code to their standard location.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-06-24 07:54:04 +01:00
Andrea Odetti
de24c4e90a
Necessary to avoid crash.
...
Must initialise card type at least.
2020-06-23 20:35:21 +01:00
Andrea Odetti
ee2e80aae4
Fix order of initialisation of global variables.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-06-22 16:43:36 +01:00
Andrea Odetti
507e316dfc
Merge remote-tracking branch 'origin/cppfixes'
2020-06-22 16:09:17 +01:00
Andrea Odetti
aa60179992
Merge remote-tracking branch 'upstream/master'
2020-06-22 15:59:40 +01:00
Andrea Odetti
1d5710151d
Some minor c++ correctness changes.
...
Add const, static forward declaration.
Remove windows.h (already in StdAfx.h) and crtdbg.h (not needed).
2020-06-22 15:24:32 +01:00
tomcw
42d265a25c
Fixed timing for 6502 opcodes: rol abs,x; lsr abs,x; ror abs,x. ( Fixes #801 )
2020-06-19 19:40:23 +01:00
Andrea Odetti
b01bfe8b49
Rework a bit the way keys are processed.
...
Add Ctrl-'-' = 0x1f.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-06-19 18:23:29 +01:00
Andrea Odetti
8502d4b0d9
Use AltGr and Menu to avoid overloading Ctrl keys.
...
Unfortunately Alt does not work: not all key events are triggered.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-06-18 20:13:29 +01:00
Andrea Odetti
9282c5ddb9
Remove some duplication.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-06-18 14:06:14 +01:00
Andrea Odetti
7acac5cd22
Add support for Tab.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-06-18 13:56:24 +01:00
Andrea Odetti
a7e75078bb
Add support for Open/Closed Apple with Left/Right Ctrl.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-06-18 13:56:14 +01:00
Cyril Lambin
af9568cbbf
Improved debugger video performance ( #800 )
...
Removed very slow BitBlt() GDI calls in PrintGlyph() - now 18x faster in Release config!
. Replaced GDI call FillRect() with new FillBackground()
. Added missing bitmap declarations in GetDebuggerMemDC()
Fixed AdditionalIncludeDirectories for Debugger source files
2020-06-17 21:56:35 +01:00
Andrea Odetti
457fc184d9
Save and restore emulator window geometry as well.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-06-16 20:15:58 +01:00
Andrea Odetti
42a3294791
Treat Backspace as Left (same as AW).
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-06-15 10:53:42 +01:00
Andrea Odetti
059820847a
Support Ctrl characters.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-06-15 10:13:16 +01:00
Andrea Odetti
12a4180fc7
Small fixes from latest upstream changes.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-06-14 09:18:18 +01:00
Andrea Odetti
66bb1b9905
Merge remote-tracking branch 'upstream/master'
2020-06-14 09:03:55 +01:00
tomcw
e5ccf26d4f
Help: updated about NSC in save-state, and -no-nsc switch
2020-06-10 21:45:19 +01:00
tomcw
c9ef6ecee1
NoSlotClock:
...
. added to save-state (v6) via a new unit type 'Miscellaneous'
. added cmd line switch '-no-nsc' to configure AppleII without an NSC
2020-06-10 20:56:00 +01:00
tomcw
f491bb19cd
Improved fix for 80eb330
...
. During init: only need to call IoHandlerCardsOut() when loading save-state
. MemInitialize() -> MemReset() -> ResetPaging() which always inits memmode
2020-06-08 22:06:17 +01:00
tomcw
6d85c1b6bd
NSC: Reset NSC on power-cycle. ( Fixes #751 )
2020-06-08 21:11:12 +01:00
tomcw
80eb33012f
Fixed an edge case when switching from IIe to II+, and the Mockingboard wasn't visible in memory.
...
. Due to INTCXROM still being set and it not being excluded when in II+ mode.
. Fix is to reinit memmode on restart and only check INTCXROM if IIe or above.
2020-06-07 18:25:34 +01:00
tomcw
41203f5d2d
Fixes for image loading switches (-d1,-d2,-h1,-h2,-s5d1,-s5d2):
...
. support relative paths (#663 )
. updated the current directory with the path for each loaded image (#663 ) & saving state (#691 )
. added a new switch -current-dir <path>
2020-06-06 16:32:58 +01:00