dingusdev
213dd4c16e
Update copyright info further
2026-01-30 08:12:04 -07:00
Maxim Poliakovski
e75ee8d32a
Update copyright year.
2026-01-30 12:15:00 +01:00
Paper
77f1f72122
devices/memctrl/psx: fixed build fail on linux/libstdc++
2025-12-06 13:00:46 -05:00
joevt
e569e7ea05
machinegazelle: Specify RAM slots instead of banks.
...
Slot 0 is built in RAM which is usually 0 MB but can be 32 MB.
RAM slots can have up to 64 MB of RAM, but those use two 32 MB banks.
2025-11-28 18:18:00 +01:00
joevt
59abb96caa
machinegazelle: Use specified DIMM sizes.
...
Previously, only the total size of all DIMMs was used. For example, four
8 MB DIMMs would behave as a single 32 MB DIMM.
This change forces handling of the individual DIMM sizes.
We currently do not emulate shuffling of 4MB pages. For example, the
data of the first page of bank 1 does not move if you move it to a
different page.
The important parts of this algorithm are:
1) DIMM sizes can be determined.
2) The final memory allocation will be a single contiguous block.
2025-11-28 18:18:00 +01:00
Maxim Poliakovski
40c82785c9
mpc106.cpp: disable pci_GPU property to avoid duplication.
2025-11-15 21:58:47 +01:00
Maxim Poliakovski
d6db6c9d7c
Cleanup I2C stuff.
2025-11-15 16:35:06 +01:00
Maxim Poliakovski
5248c31df1
platinum.h: add missing override.
2025-11-10 18:04:52 +01:00
joevt
8db57534d3
Fix spelling of "constants".
2025-11-10 07:48:15 -07:00
joevt
4846f2708f
hmc: Add enums for all registers.
2025-11-10 07:40:59 -07:00
joevt
5412fbc198
Remove superfluous semicolons.
2025-06-27 19:01:14 -07:00
joevt
60558ebf71
videoctrl: Template endianness.
...
The methods don't need to be virtual.
2025-06-02 05:55:28 -07:00
joevt
35f2ce14f1
Add type and description to device descriptors.
...
Add supports_types to device descriptors so that we can determine
supported types without having to create the hardware device.
Add description so that each device can have an optional description.
2025-05-28 17:58:08 +02:00
joevt
6f00113554
Move MeshTnt to GrandCentralTnt.
...
Also create GrandCentralCatalyst which doesn't include Mesh.
2025-05-27 07:57:16 -07:00
joevt
fa865a79fc
memctrlbase: Log mirror range.
...
Because it may differ from the range of the region it points to.
2025-04-14 06:06:42 -07:00
joevt
fa7fb5bb1f
hammerhead: Define some bits.
...
From xnu-344/osfmk/ppc/POWERMAC/mp/MPPlugIn.h
2025-04-12 10:20:54 -07:00
joevt
0899d84019
hammerhead: Cleanup.
...
Replace all occurrences of offset >> 1 with bank.
2025-04-12 08:38:38 -07:00
joevt
3e88c161c1
platinum: Fix PAL/NTSC interlaced display.
2025-04-12 08:38:36 -07:00
joevt
2253e6c595
platinum: Remove spaces.
2025-04-12 08:38:35 -07:00
joevt
86a09a9d3c
platinum: Add RAM.
2025-04-12 08:38:33 -07:00
joevt
71990129f3
memctrlbase: Remove region by entry.
2025-04-12 08:38:32 -07:00
joevt
1565d21176
mpc106: Handle overlapping banks.
2025-04-04 06:27:32 -07:00
joevt
986fc22fd4
mpc106: Fix RAM allocation again.
...
For greater than 4 banks.
2025-04-04 06:27:13 -07:00
joevt
1046baf11d
spdram: Add 8 MB DIMMs.
2025-04-03 18:16:44 -07:00
Rairii
c4906d1f15
spdram: Add 16 MB DIMMs.
2025-04-03 18:16:38 -07:00
joevt
c483a9a615
spdram: Add 512 MB DIMMs.
2025-04-03 07:40:20 -07:00
Maxim Poliakovski
2a3e46eab4
memctrlbase: overload add_ram_region()
...
to accept externally allocated memory.
2025-04-01 03:05:46 +02:00
joevt
83066bbf5f
memctrlbase: Return entry instead of bool.
2025-03-24 07:29:31 -07:00
joevt
392f6cdcd3
mpc106: Document flash ROM related registers.
2025-03-21 07:30:18 -07:00
dingusdev
08f67c010c
Add get_type_str + get_entry+str
...
Co-Authored-By: joevt <950609+joevt@users.noreply.github.com >
2025-03-14 10:43:37 -07:00
joevt
cf0d78fe98
debugger: add regions command.
...
To dump the list of memory regions.
2025-03-14 10:31:57 -07:00
joevt
98925a39b9
Code clean-up part 2.
2025-03-13 06:14:35 -07:00
dingusdev
77503df677
Code clean-up
2025-03-12 07:58:32 -07:00
joevt
3da972ddc9
Add missing this.
2025-03-10 06:49:37 -07:00
joevt
394fdd00f0
machinegazelle: Support 160 MB RAM.
2024-12-10 18:22:02 -07:00
joevt
3124b10eaa
Implement DIMM properties.
2024-12-08 12:26:14 -07:00
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
d7fb49166f
platinum: Add comments and enums for registers.
2024-12-04 07:16:47 -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
6c093e141b
Add missing override statements.
2024-11-15 10:03:57 -07:00
joevt
e7eb1c8a66
Fix PCI interrupts and add devices.
...
- Use interrupt source instead of IRQ ID in the IrqMap.
- Add a get_interrupt_controller method to mirror the set_interrupt_controller method.
- Have PCI hosts use pcihost_device_postinit to add PCI devices. This was moved from bandit's device_postinit and allows for duplicate devices by appending the slot to the registered device name.
- Fix interrupts of Pippin.
Fix interrupts of cmd646
- Make it work like other PCI devices.
- IntDetails is built into the pcibase base class.
- IntDetails is initialized by calling pci_interrupt.
- pci_interrupt checks the "enable interrupts" flag before doing an interrupt.
2024-11-12 07:04:55 -07: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