Commit graph

1994 commits

Author SHA1 Message Date
Andrea Odetti
35a81f8009 applen: add --log, --ntsc, and log time till first $C000 access. 2019-11-23 20:34:24 +00:00
Andrea Odetti
7529f5c659 Reworked the entire wondows.h replacement.
wincompat.h is a stripped down version coming from linapple-pie with the bare minimum common types.
Each group of functions in its own file.

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2019-11-23 18:17:44 +00:00
Andrea
725510f238
Update linux.md 2019-11-22 20:50:02 +00:00
Andrea Odetti
6f0a71a330 Merge remote-tracking branch 'upstream/master' into ntsc 2019-11-22 20:33:27 +00:00
Andrea Odetti
4792c2eeed Remove custon video processor in favour of AppleWin's.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2019-11-22 20:32:32 +00:00
Andrea Odetti
d18269fb2d First (succesful) attempt at using NTSC code in Linux.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2019-11-20 21:23:27 +00:00
tomcw
37db160bd5 Addition to History.txt 2019-11-18 16:45:35 +00:00
tomcw
91f1294220 1.29.6.0: Updated version and History.txt 2019-11-18 15:11:55 +00:00
tomcw
7d38b1ba38 CPU save-state: added 'Defer IRQ By 1 Opcode' (v5) and comments for why the other state doesn't need saving 2019-11-18 15:08:59 +00:00
Andrea Odetti
9c7abcab91 Compile NTSC * NTSC_CharSet from AppleWin.
Video is still duplicated.

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2019-11-17 13:57:34 +00:00
tomcw
b82de931a1 Fixed 6522 timer interrupt which was occurring 1 cycle late (#711) 2019-11-17 12:26:14 +00:00
TomCh
d1b595f7bd
Fix for "Mad Effect 1&2" demos (PR #725)
. 6502 interrupt delays 1 opcode when interrupt occurs on last cycle of opcode (#724).
. Only 1-cycle delay for VF_TEXT & VF_MIXED mode changes (#656).
NB. Mad Effect 1 still has a bit of flicker on Space Invader (left edge)
2019-11-16 23:49:21 +00:00
Andrea Odetti
add4e526a9 Split dummies into duplicates of AppleWin files.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2019-11-16 17:01:11 +00:00
Andrea Odetti
4d0af5d3ca Added a custom version of QPainter which seems to perform much better 20%->11% CPU.
It only works if all images involved have the same format.
Using some typedefs, one can revert to the old QPixmap behaviour.

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2019-11-16 17:00:35 +00:00
Andrea Odetti
54d418725e Add a few correct card names, so the snapshot loading does not fail.
But, these cards are still ignored.

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2019-11-13 21:01:28 +00:00
Andrea Odetti
1da46e89e1 Small cosmetic improvements.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2019-11-13 21:00:43 +00:00
Andrea Odetti
342697e983 Merge branch 'audio2' 2019-11-11 20:59:32 +00:00
Andrea Odetti
e638f63f6e Add safety check that ZeroMemory is never called on a c++ complex class.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2019-11-11 20:57:39 +00:00
Andrea Odetti
7d7e46f7ec Merge remote-tracking branch 'upstream/master' 2019-11-11 20:56:30 +00:00
tomcw
97e73c632d Full-speed: new VideoGetVblBarEx() required when called from main loop 2019-11-11 19:55:46 +00:00
tomcw
8aff6addff History.txt updated 2019-11-11 18:44:24 +00:00
tomcw
3c6d5d1e76 Phasor: fixed noisy playback for AE's player. (Fixes #659) 2019-11-11 17:35:10 +00:00
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
tomcw
dd3ecf738f 1.29.5.0: Updated version and History.txt 2019-11-10 22:08:24 +00:00
Andrea
60ef2c5d26
Update linux.md 2019-11-10 19:39:09 +00:00
Andrea
d481b3c534
Update linux.md 2019-11-10 19:38:42 +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
a73d216fae Help (troubleshooting): Added an item for no Apple II speaker sound. (Fixes #716) 2019-11-10 16:56:30 +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
Andrea Odetti
f139a88cdb Untested list of packages required on Raspbian.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2019-11-03 09:36:16 +00:00
Andrea
98b8e6841f Update linux.md
Mention list of required packages in Fedora.
2019-11-03 09:36:16 +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