Commit graph

121 commits

Author SHA1 Message Date
Andrea Odetti
825cb59e62 Since a DialogBox stops the emulator, we need to reset the speed.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-05-28 19:23:51 +01:00
Andrea Odetti
83ab755144 Expose setting for Enhanced Speed.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-05-28 19:14:28 +01:00
Andrea Odetti
db2f9be009 sa2: add some logic to implement Full Speed.
Because we run a frame at a time, this is a bit different than in AppleWin.
Run up to 5 extra frames.

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-05-28 19:07:58 +01:00
Andrea Odetti
96e3f37b76 Add support for Cassette Tapes.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-05-28 18:10:09 +01:00
Andrea Odetti
a059fad539 Add support for custom ROMs.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-05-27 13:40:57 +01:00
Andrea Odetti
1c94fd7150 Debugger: add registers & flags.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-05-27 11:33:07 +01:00
Andrea Odetti
d8ebc8dc9f Add cycle information to the Disassembly output.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-05-26 17:48:44 +01:00
Andrea Odetti
919fe84cfe QEMU - Fedora 34. SDL_GL_SwapInterval always fails.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-05-24 16:35:37 +01:00
Andrea Odetti
bde3eb92b0 Improve symmetry of Constructor/Destructor functions.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-05-24 09:22:01 +01:00
Andrea Odetti
7b09bacb01 Initialisation: some fixes.
Ensure log file is created before it is used the first time.
Only close the log file once at the end.

https://github.com/audetto/AppleWin/issues/30

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-05-23 20:06:36 +01:00
Andrea Odetti
9af407a089 Add support to copy text to clipboard.
Fix \n handling in paste from clipboard.

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-05-22 17:55:51 +01:00
Andrea Odetti
16c70e4cde Fix https://github.com/audetto/AppleWin/issues/29
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-05-22 15:23:25 +01:00
Andrea Odetti
8a14c7e974 Minor tfe interface change.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-05-20 11:57:44 +01:00
Andrea Odetti
283a74d7e7 Separate dropped file processing.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-05-19 11:22:08 +01:00
Andrea Odetti
1ac7710b07 Fix bug about debuggerCommand().
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-05-18 21:05:14 +01:00
Andrea Odetti
b65e67ed67 Ensure adaptive speed is reset before a (potential) restart.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-05-18 18:56:37 +01:00
Andrea Odetti
54403f74c6 Ensure the speed is reset every time the mode might change.
So we avoid that the next adaptive clock is way off.

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-05-17 20:19:58 +01:00
Andrea Odetti
8d21b68af0 Better support for Debugger.
Add ability to set breakpoints with mouse.


Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-05-16 18:53:38 +01:00
Andrea Odetti
329c19c8d9 Handle MODE_DEBUG in main loop.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-05-16 18:44:16 +01:00
Andrea Odetti
9d4f293a3c More Debugger related work.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-05-15 13:32:34 +01:00
Andrea Odetti
8ab76a9235 Update ImGui.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-05-12 16:00:24 +01:00
Andrea Odetti
8852154a6d Debugger: add ability to type in location of reference address.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-05-12 15:57:35 +01:00
Andrea Odetti
c01487d0f4 Debugger: minor format improvements.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-05-12 15:33:14 +01:00
Andrea Odetti
1f14d06790 Keyboard: rationalise logging.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-05-12 14:00:21 +01:00
Andrea Odetti
87f232d990 Shift-Insert to paste from clipboard.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-05-09 19:44:28 +01:00
Andrea Odetti
22a9c64010 Uthernet 2: add settings.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-05-05 15:56:10 +01:00
Andrea Odetti
80222caa0d Comments about Uthernet II.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-05-01 19:42:54 +01:00
Andrea Odetti
df0d6bdb95 Uthernet 2: new implementation based on libslirp which does not require extra capabilities.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-04-30 20:10:30 +01:00
Andrea Odetti
1c9beb246b Uthernet2: move to separate folder.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-04-28 20:32:01 +01:00
Andrea Odetti
e3c4fe6ebf Fix segfault when selecting a different iface.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-04-23 20:09:00 +01:00
Andrea Odetti
5dd8e39787 Add support for the Uthernet 2 card.
Just enough to run contiki and A2osX.

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-04-23 11:49:19 +01:00
Andrea Odetti
f1b9232933 Add Uthernet configuration.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-04-18 19:03:44 +01:00
Andrea Odetti
6a75299826 Add About dialog.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-04-04 19:21:04 +01:00
Andrea Odetti
4c8b74332c Update ImGui.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-04-04 18:59:10 +01:00
Andrea Odetti
7a8a162d78 AutoSave configuration for ease of use.
Add option to load .ini file from different location.

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-04-04 18:56:53 +01:00
Andrea Odetti
f144cb037f SDL: Support Mouse.
In ImGui there are a couple of issues:
1) it ignores the menu area when computing relative motion
2) does not work well with windowed video

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-04-04 16:44:04 +01:00
Andrea Odetti
dd683e8e48 ImGui: display all current registry settings.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-04-04 14:33:04 +01:00
Andrea Odetti
da1648706d Update info in README.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-04-03 10:03:26 +01:00
Andrea Odetti
783ccb9060 Add 50/60 Hz switch.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-04-03 09:55:05 +01:00
Andrea Odetti
362c9877d4 ImGui settings: add video.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-04-03 09:46:56 +01:00
Andrea Odetti
29821c9e7c Disk Status: make it more readable.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-04-03 08:47:29 +01:00
Andrea Odetti
25dc50d83c Add settings / diagnostics about disks.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-04-01 16:04:50 +01:00
Andrea Odetti
953571a433 Better way to display non editable options.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-03-29 14:14:57 +01:00
Andrea Odetti
cdf5ca8419 Update ImGui.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-03-28 20:06:51 +01:00
Andrea Odetti
f44428352c Add few more options to the setting window.
Apple 2 Type and Slots.

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-03-28 20:05:30 +01:00
Andrea
90cc5732f9
Update README.md 2021-03-27 20:19:03 +00:00
Andrea Odetti
341f1aaac1 Fix uninitialised value.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-03-27 20:11:54 +00:00
Andrea Odetti
a2f89c78db Fix adaptive speed on snapshot load.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-03-27 20:11:54 +00:00
Andrea Odetti
b56ccf8eb4 Add Reset(s) buttons.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-03-27 20:11:47 +00:00
Andrea Odetti
11c44233b4 Revisit initialisation to drive it all from the FrameBase.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-03-27 18:48:05 +00:00