dingusdev
31323e7bf1
Fix compiling errors for MON_ID_SENSE (platinum)
2024-12-04 07:48:38 -07:00
joevt
05658ad5c5
platinum: Fix MON_ID_SENSE read/write.
2024-12-04 07:38:53 -07:00
joevt
a593a4a73e
platinum: Implement VRAM_REFRESH read.
2024-12-04 07:36:59 -07:00
joevt
99972307dc
platinum: Implement FB_TEST read/write.
2024-12-04 07:36:48 -07:00
joevt
0bca7bc743
platinum: Make some FB_CONFIG_1 bits read only.
2024-12-04 07:16:45 -07:00
dingusdev
10a3fa5984
Tweak logging for main branch
2024-12-04 07:11:43 -07:00
joevt
d98929f24c
platinum: Registers affect display immediately.
2024-12-04 07:11:07 -07:00
joevt
2ab6a94795
Ignore zero sized DIMM.
2024-12-04 07:10:40 -07:00
Mihai Parparita
4479387580
Remove using namespace std
from remaining header files
...
It's somewhat of an anti-pattern, and can lead to conflicts with
other symbols (e.g. the Windows build failure in https://github.com/dingusdev/dingusppc/actions/runs/11762906342/job/32766290288 ,
I removed `using namespace std` from timermanager.h to fix that one).
2024-11-30 20:01:09 -08:00
joevt
ffc7de4715
platinum: Handle read 4 bytes with offset.
2024-11-10 21:05:05 -07:00
joevt
97339e4ce4
platinum: Add disable_display.
...
To mirror enable_display.
2024-11-10 21:03:53 -07:00
joevt
3036f4676d
Use default window size in constructor.
...
The window size should be changed later by the mon_id property.
2024-04-23 07:27:52 -07:00
joevt
bd63d1dcda
platinum: Validity check before enable display.
2024-04-10 20:56:51 -07:00
Maxim Poliakovski
54ce23d0a8
platinum: cleanup non-DWORD register reads.
2024-03-12 17:29:19 +01:00
Maxim Poliakovski
2d68b72dbd
platinum: use meaningful name for 'register _4B'.
2024-03-12 17:05:47 +01:00
joevt
6e4544450e
platinum: Add register _4B.
2024-03-12 07:07:43 -07:00
joevt
d4922beefe
platinum: Don't ignore read/write of size != 4.
...
For reading, we'll return values such that dumping bytes or words or longs in Open Firmware will produce the same info in all cases.
2024-03-12 07:07:36 -07:00
joevt
6f37ff9ea3
platinum: Convert register offset to index.
...
Same as control.
2024-03-12 07:06:05 -07:00
joevt
6f231f3367
grandcentral: IOBus changes.
...
- Add IOBusDevice (nvram_addr_hi_dev) for NVRAM addr hi.
- Add IOBusDevice (nvram_dev) for NVRAM data.
- Make all IOBusDevices use the same code.
- Log error if 4 least significant bits of offset are not zero.
- Correctly byte swap the value before passing it to the IOBusDevice.
- When reading, duplicate the bytes in a word or dword like a real Power Mac does.
2024-03-09 06:02:23 -07:00
joevt
97f08f21b7
appleramdac: Add get_clut_entry_cb.
2024-03-08 21:02:41 -07:00
joevt
7a3a661e2a
platinum: Allow reading swatch registers.
2024-03-03 11:47:03 -07:00
joevt
f0949d296d
platinum: Don't abort.
2024-03-03 11:46:40 -07:00
joevt
d2ebcb24b9
platinum: Use calculated fb_ptr for HW cursor.
2024-03-03 10:43:57 -07:00
joevt
644087b592
platinum: Fix fb_ptr calculation.
2024-03-03 10:43:40 -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
Maxim Poliakovski
bc2714ab2a
platinum: handle non-DWORD register accesses.
2024-02-15 15:35:17 +01:00
Maxim Poliakovski
98d661eda1
Wire PLATINUM interrupt.
2024-02-12 01:46:21 +01:00
Maxim Poliakovski
8d30fea63b
platinum: implement video emulation.
2024-02-11 22:59:43 +01:00
Mihai Parparita
35c86ad6bf
Clean up #includes
...
Result of running IWYU (https://include-what-you-use.org/ ) and
applying most of the suggestions about unncessary includes and
forward declarations.
Was motivated by observing that <thread> was being included in
ppcopcodes.cpp even though it was unused (found while researching
the use of threads), but seems generally good to help with build
times and correctness.
2023-11-03 00:33:47 -07:00
joevt
3ee2ea1871
Fix read/write argument names
...
base class uses reg_start so derived classes should do the same.
Some derived class already uses reg_start for read method.
2022-08-22 17:16:22 -07:00
Maxim Poliakovski
5f8a927846
platinum: self-registration with the device registry.
2022-07-18 20:27:34 +02:00
Maxim Poliakovski
913944c607
platinum: implement video controller registers.
2022-06-09 23:16:03 +02:00
Maxim Poliakovski
ac5078f133
Platinum: implement memory controller registers.
2022-03-28 18:26:47 +02:00
Maxim Poliakovski
a7e4dc9d83
Initial emulation of the Platinum Memory controller.
2022-03-14 18:13:47 +01:00