Commit graph

83 commits

Author SHA1 Message Date
Andrea Odetti
c3e8bb94a2 Expose speed setting.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-06-07 18:54:52 +01:00
Andrea Odetti
0b3e57d934 Rewrite the way full speed works.
This is more and more similar to AppleWin's logic.

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-06-07 18:34:17 +01:00
Andrea Odetti
24971328ba Make sure Mockingboard slots are conistent.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-06-05 18:04:46 +01:00
Andrea Odetti
abc4a4e1d3 Safer check that Uthernet is active.
Unfortunately we cannot force a hot-activation as this will cause SegFaults in the TFE code.
It does not check if the pcap handle is good, but relies on the initialisation to have succeeded.

Unfortunately, visual feedback on the settings is lost.

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-06-05 16:57:12 +01:00
Andrea Odetti
087f0f7942 More correct visualisation of virtual and physical memory.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-06-05 16:40:06 +01:00
Andrea Odetti
d68b503d0d Fix mouse relative calculation to ensure pointer goes from minX to maxX (and Y) included.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-06-05 14:35:05 +01:00
Andrea Odetti
db71bb1a4c sa2 & mouse: fix dead y zone used to draw the menu.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-06-05 13:51:07 +01:00
Andrea Odetti
dcae60dede Update ImGui.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-06-01 17:25:49 +01:00
Andrea Odetti
46333f06e7 Add filename to the tape info.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-05-30 20:25:34 +01:00
Andrea Odetti
4adde75a13 Tidy up cassette code.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-05-30 19:57:27 +01:00
Andrea Odetti
e2634210ca Fix various warnings.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-05-29 21:50:33 +01:00
Andrea Odetti
8d26fdb2b8 Update ImGui.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-05-29 21:25:06 +01:00
Andrea Odetti
a8c41b79fb Move FPS to the About window.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-05-29 18:22:10 +01:00
Andrea Odetti
cfab12cd6f Fix compilation with gcc 8.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-05-29 06:53:42 +01:00
Andrea Odetti
9b3a3e7913 Debugger: add ability to reset cycles in the debugger.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-05-28 19:25:29 +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
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
8a14c7e974 Minor tfe interface change.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-05-20 11:57:44 +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
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
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
22a9c64010 Uthernet 2: add settings.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-05-05 15:56:10 +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
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 Odetti
b56ccf8eb4 Add Reset(s) buttons.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-03-27 20:11:47 +00:00
Andrea Odetti
3e03e3ba57 Add more audio settings / diagnostics.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-03-27 14:45:40 +00:00
Andrea Odetti
5b24df0fc9 More fancy disk drive information in settings.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-03-21 20:07:27 +00:00
Andrea Odetti
3d8ac1bee3 Add support for drag & drop in Drive 1.
And add disk names in the setting window.

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-03-21 16:32:48 +00:00
Andrea Odetti
a583fd75f3 Add debugger color scheme choice.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-03-20 19:39:25 +00:00