joevt
11e0bd79b0
debugger: Work around Xcode Terminal.app issue.
...
If debugging with Xcode using Terminal.app for the console, Terminal.app may send empty lines to the dingusppc debugger while resizing the Terminal.app window and it will do this forever.
As a workaround, use std::cin.clear() to clear the input buffer before getline and loop until the terminal window size is not changing or the input line is not empty.
2024-03-01 06:56:20 -07:00
Mihai Parparita
bfbf4cb453
Add a basic mouse grab mode
...
Take 2 of 587eb48f61
. We now implement
this at the SDL level, which works cross-platform and allows us to
ensure that the guest never gets the Control-G event.
2024-02-29 22:58:50 -08:00
dingusdev
229509a067
Add help for mregs
2024-02-29 21:48:04 -07:00
joevt
ff5c43e6cb
debugger: Add mregs command.
...
To dump more registers.
2024-02-29 21:46:44 -07:00
joevt
7cd3aae753
debugger: Fix repeated until.
...
The loop needs to be do while instead of while do.
2024-02-29 18:57:11 -07:00
joevt
fe05b1de12
Fix compiler warnings.
...
Xcode build has compiler warnings involving loss of precision. Remove them by adding type casts. Check results in some cases for overflow.
2024-02-29 18:49:14 -07:00
joevt
1903c8b557
debugger: Fix reg_op for floating point registers.
2024-02-29 18:48:59 -07:00
joevt
456a96042f
debugger: Shorten try catch in reg_op.
...
Because SPGR0 matches SPR but stoul causes an exception.
2024-02-29 07:55:09 -07:00
joevt
888df0ac53
debugger: Add more register names for reg_op.
...
So the debugger can output their values.
2024-02-29 07:46:16 -07:00
joevt
18afe91a82
atirage: Use convert frame big-endian methods.
2024-02-26 14:46:31 +01:00
Maxim Poliakovski
b8d0ed39d9
atirage: fix FB pitch calculation.
2024-02-26 14:21:53 +01:00
Maxim Poliakovski
0c3f399de3
poweropcodes: fix compiler warning.
2024-02-24 22:51:05 +01:00
Maxim Poliakovski
45ccabb11d
poweropcodes: improve lscbx emulation.
2024-02-24 22:46:54 +01:00
dingusdev
d71a213c4b
Continued clean-up, part 3
2024-02-22 19:46:34 -07:00
dingusdev
8e9123bdce
Slightly less clumsy check for compiler
2024-02-21 07:14:21 -07:00
dingusdev
2e3e65f3e7
Moving vid_enable_seq
...
Visual C complains about this being in the wrong place
2024-02-21 07:07:18 -07:00
dingusdev
9db53a4e3f
Updating CMakeLists file
2024-02-21 06:32:24 -07:00
joevt
c2e098e535
zdocs: Add Open Firmware $find bug description.
2024-02-20 18:28:59 -07:00
joevt
a6de2c2b44
zdocs: Fix Open Firmware startvec notes.
...
Fields 488 to 48c are not part of the startvec struct. They are for the fcode file struct used by byte-load-file.
2024-02-20 18:28:51 -07:00
dingusdev
9dad9ea38b
Revert Memory exceptions use mmu handler.
2024-02-20 18:22:55 -07:00
dingusdev
1d938c93b6
Mask fixes for sr(*)
2024-02-20 18:15:08 -07:00
joevt
35bc1bcb44
poweropcodes: Fix sriq.
2024-02-20 18:07:38 -07:00
joevt
1438ebc12a
poweropcodes: Fix compiler warnings.
2024-02-20 18:07:26 -07:00
joevt
61b29f6fab
ppcexceptions: Memory exceptions use mmu handler.
2024-02-20 18:07:04 -07:00
dingusdev
fb9b6886fa
Add stdio for Windows serial
2024-02-20 18:05:11 -07:00
joevt
0e3eaf724b
ppcfpopcodes: Fix stfs*, attempt #2 .
2024-02-20 02:04:02 +01:00
joevt
2a05ccbee1
ppcfpopcodes: Fix fres.
...
Don't convert to float until the end.
2024-02-20 02:03:41 +01:00
joevt
59bee01c0a
ppcfpopcodes: Fix fmsubs inf nan check.
...
There's probably still an issue with the inf_nan check
using reg_a for the first value instead of reg_a * reg_c.
This will probably need rewriting anyway.
2024-02-20 02:02:58 +01:00
joevt
4e4c8d71be
ppcfpopcodes: Fix fadds inf nan check.
2024-02-20 02:01:55 +01:00
joevt
c7ae31dfce
ppcfpopcodes: Spaces.
2024-02-20 02:01:37 +01:00
joevt
2ea80b0aab
ppcopcodes: Cleanup.
2024-02-20 01:59:54 +01:00
joevt
5bbf5ee3af
ppcopcodes: Fix divw overflow result.
2024-02-20 01:59:40 +01:00
joevt
748e9c5d86
ppcopcodes: Write protect XER zero bits.
2024-02-20 01:59:01 +01:00
joevt
8764beba39
ppcopcodes: Fix lswx.
...
- Remove invalid form check unless you know for sure it's supposed to cause an exception.
- Add register skip for 601 CPU. This needs testing.
2024-02-20 01:57:00 +01:00
joevt
1fc551fae0
Fix yosemite machine description name.
2024-02-20 01:54:03 +01:00
joevt
8baf722343
Spelling.
2024-02-20 01:53:32 +01:00
joevt
cf4ce01ddd
ppcopcodes: set DSISR for alignment exception.
2024-02-20 01:22:55 +01:00
joevt
57d919e424
appleramdac: HW cursor fixes.
...
- Add mask so that hardware cursor cannot be drawn beyond the right edge of the frame buffer.
- Add invert pixels. Invert pixels are used in the I-beam cursor and the Watch cursor.
2024-02-20 01:00:50 +01:00
joevt
b0dc893a05
dma: Add name to dma classes.
...
For logging purposes, each DMA channel should have a name.
2024-02-19 15:30:20 +01:00
Maxim Poliakovski
f5bb484226
sc53c94: fix interrupt reporting.
2024-02-19 15:30:20 +01:00
dingusdev
29f3ffd474
Continued clean-up, part 2
2024-02-18 07:06:27 -07:00
dingusdev
b160e38f8f
Continued code clean-up
2024-02-16 06:55:13 -07:00
Maxim Poliakovski
bc2714ab2a
platinum: handle non-DWORD register accesses.
2024-02-15 15:35:17 +01:00
dingusdev
38d94e509f
Further code cleanup
2024-02-14 22:19:08 -07:00
dingusdev
ec23a532f6
Minor clean-up for branching instructions
2024-02-12 20:59:04 -07:00
joevt
8a800062dd
grandcentral: Add DMA channel enum.
2024-02-12 14:06:19 +01:00
Maxim Poliakovski
cf14144d5b
machinetnt: add Power Macintosh 7300.
2024-02-12 02:45:29 +01:00
Maxim Poliakovski
28e7a806b4
grandcentral: use MeshStub on machines without MESH.
2024-02-12 02:38:38 +01:00
Maxim Poliakovski
a0e56aa4cf
grandcentral: connect external SCSI HW.
2024-02-12 02:17:09 +01:00
Maxim Poliakovski
b3e3b73159
grandcentral: connect MESH HW.
2024-02-12 02:17:09 +01:00