Andrea
d6d76ae6bc
Memory fix for struct ImageInfo (PR #715 )
...
ImageInfo is not a POD and cannot simply be initialised with ZeroMemory()
. the std::string constructor must be called.
. ImageInfo: simplify code using new / delete vs VirtualAlloc
Also fixed mismatching new / delete [] reported by valgrind
2019-11-11 14:09:29 +00:00
tomcw
20b8515b7b
Full-speed: Only redraw video screen during VBl (support VBl in full-speed)
2019-11-10 23:52:29 +00:00
Andrea Odetti
ced20877c2
Audio: rename physical -> volume.
...
Fix issue with settings not being propagated.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2019-11-10 19:05:46 +00:00
Andrea Odetti
8fc3747229
Move qhexedit files in their folder.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2019-11-10 18:54:43 +00:00
Andrea Odetti
c4a03e0434
Rename audio -> audiogenerator
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2019-11-10 18:48:02 +00:00
Andrea Odetti
5166731e5a
Audio: add a few settings to the option menu.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2019-11-10 18:44:28 +00:00
tomcw
d4e01643fa
Mockingboard: improved sound-buffer updating
...
. Changed to 6522.TIMER underflowing at 0x0000 -> 0xFFFF (#652 )
. Changed MB_Update() to be based on cycle delta (was TIMER1 interval)
. this improves support for small 6522.T1C interval
. removed MB_GetFramePeriod()
. removed overly-complex dual-timer support
. Replaced MB_EndOfVideoFrame() with MB_PeriodicUpdate()
2019-11-10 15:52:07 +00:00
Andrea Odetti
0778812560
First decent implementation of Audio Output.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2019-11-09 21:43:35 +00:00
Andrea Odetti
54a1bb4991
This is probably a better way to schedule execution.
...
One step ahead rather than one step behind.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2019-11-07 21:30:05 +00:00
Andrea Odetti
730e35150a
Remove some warnings.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2019-11-06 22:56:08 +00:00
Andrea Odetti
fe63225065
Simplify fps count and repainting decision.
...
Just run @ 60 fps and repaint all the times.
Previous algorithm had a startup issue and ended up doing exactly the same.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2019-11-06 22:53:44 +00:00
Andrea Odetti
5572f937f0
Merge remote-tracking branch 'upstream/master'
2019-11-06 22:32:11 +00:00
tomcw
eb59c52dc4
Mockingboard: Fix initial fast (weird) music playback issue ( #711 )
2019-11-03 21:37:55 +00:00
Andrea Odetti
7c65e0f972
Add option to run without screen update in ncurses.
...
Useful to profile core.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2019-11-03 16:22:28 +00:00
tomcw
4ad0923399
Fix video tearing by only updating during the Apple II VBL ( #711 )
2019-11-03 15:05:28 +00:00
tomcw
d92eca5068
Cmd line: -m and -no-mb: fix crash
2019-11-03 14:23:47 +00:00
Andrea Odetti
92c257d1e5
Improve error handling in applen and ability to build outside the source tree.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2019-11-03 10:21:02 +00:00
Andrea Odetti
3632a06c4b
Merge remote-tracking branch 'upstream/master'
2019-11-03 09:42:36 +00:00
tomcw
5792107dce
Debugger: fixed help for 'videoinfo' cmd
2019-11-03 09:36:33 +00:00
tomcw
8a90b15a36
SSC: Get initial modem status when COM port is first opened
2019-11-03 09:36:16 +00:00
tomcw
2529309e9e
SSC: Support COM ports greater than 9 ( #707 )
2019-11-03 09:36:16 +00:00
Kelvin Lee
41a0b2f5d5
Debugger: Symbol loading: Fix random crash upon start up. (PR #694 )
2019-11-03 09:36:16 +00:00
tomcw
250e481104
Fixed out-of-bounds global buffer access
...
. detected using VS2019 asan support
2019-11-03 09:36:16 +00:00
TomCh
bb573c63ef
Debugger: BPMR & BPMW (PR #710 )
...
Extended BPM to also support BPMR and BPMW
Fixed BPM[R|W] 0:FFFF (ie. support a range of 0x10000)
2019-11-03 09:36:16 +00:00
Andrea Odetti
d44bc6c019
Improve cmake detection of required libraries.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2019-11-03 09:36:16 +00:00
Andrea Odetti
0aad738d0e
Tiny cleanup.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2019-11-03 09:36:16 +00:00
tomcw
74d49aebbc
Debugger display: minor refactor
2019-11-03 09:36:16 +00:00
tomcw
dcea8cde98
Debugger display ( #666 , #702 ):
...
. Video-scanner: when invisible use yellow (instead of red) (fixes #666 )
. Soft-switches: row "80:" show a red 'x' when AltZP is set (#702 )
2019-11-03 09:36:16 +00:00
tomcw
906d28117c
Disk: minor refactor
2019-11-03 09:36:16 +00:00
tomcw
715321ad4a
Save-state: show an error MsgBox if old HDD v1 save-state and PC is in $Cnss HDD firmware
2019-11-03 09:36:16 +00:00
TomCh
3d4691e9bd
ADTPro not working ( #707 ) (PR #714 )
...
. Wrap m_vbTxEmpty in a mutex
. Check WriteFile() result & log error
2019-11-02 19:53:00 +00:00
tomcw
5edd8ac32b
SSC: Get initial modem status when COM port is first opened
2019-10-27 16:53:24 +00:00
tomcw
d23d091caa
SSC: Support COM ports greater than 9 ( #707 )
2019-10-24 21:43:00 +01:00
Kelvin Lee
cb007df40b
Debugger: Symbol loading: Fix random crash upon start up. (PR #694 )
2019-10-25 04:25:07 +09:00
tomcw
07aeadc23f
Fixed out-of-bounds global buffer access
...
. detected using VS2019 asan support
2019-10-23 18:17:38 +01:00
TomCh
2f64795e2e
Debugger: BPMR & BPMW (PR #710 )
...
Extended BPM to also support BPMR and BPMW
Fixed BPM[R|W] 0:FFFF (ie. support a range of 0x10000)
2019-10-23 05:31:53 +09:00
tomcw
13588165ff
Debugger display: minor refactor
2019-10-20 21:17:40 +01:00
tomcw
52376fd664
Debugger display ( #666 , #702 ):
...
. Video-scanner: when invisible use yellow (instead of red) (fixes #666 )
. Soft-switches: row "80:" show a red 'x' when AltZP is set (#702 )
2019-10-20 11:30:31 +01:00
tomcw
3cd4ead90d
Disk: minor refactor
2019-10-13 16:01:00 +01:00
tomcw
1472f25bad
Save-state: show an error MsgBox if old HDD v1 save-state and PC is in $Cnss HDD firmware
2019-10-13 15:48:07 +01:00
Andrea Odetti
9ce6592c5e
Merge remote-tracking branch 'upstream/master'
2019-10-13 11:31:20 +01:00
tomcw
2a06f32bf6
Disk: Fixed write/disk-format issue (regression at 25496d3a52
)
2019-10-13 10:25:33 +01:00
tomcw
d39ba32e8a
LC: Support write-enabling LC via single 'INC abs,X' opcode for 6502 & 65C02. ( #404 , #700 )
2019-10-12 22:34:35 +01:00
tomcw
8a55e35e2d
LC: fixed INC to only write-enable LC for 65C02 ( #700 )
2019-10-12 18:17:11 +01:00
tomcw
df4ed7b964
Added new cmd-line switch: -model <apple2|apple2p|apple2e|apple2ee>. ( Fixes #689 )
2019-10-12 18:07:51 +01:00
tomcw
ad9dd28942
Added new cmd-line switch: -clock-multiplier.
2019-10-12 16:40:36 +01:00
tomcw
dc8a22169e
Added new cmd-line switch: -s7-empty-on-exit. ( Fixes #692 )
2019-10-12 16:01:55 +01:00
Andrea Odetti
6c28c71e7f
Merge remote-tracking branch 'upstream/master'
2019-10-12 14:29:08 +01:00
Andrea Odetti
c669c101e2
minizip 2.9.0 fixes the bug.
...
No need for the workaround.
2019-10-12 14:28:54 +01:00
Andrea Odetti
ba801e4e13
Avoid RAND_MAX overflow.
2019-10-12 14:26:52 +01:00