joevt
ee45291533
superdrive: Make sure track remains in range.
2024-12-17 07:16:13 -07:00
joevt
f813aed1ce
superdrive: One exit path for status.
2024-12-17 07:11:01 -07:00
joevt
a62954d1a7
superdrive: Separate function for set_motor_stat.
2024-12-17 07:10:22 -07:00
Maxim Poliakovski
749e296796
scsihd: use legacy vendor name
...
supported by legacy low-level disk initialization SW.
2024-12-14 22:33:22 +01: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
joevt
f42b239713
heathrow: Use mask, not minus, for address decode.
2024-12-07 10:12:01 -07:00
joevt
bfc51b8967
heathrow: Add missing this.
2024-12-07 10:04:15 -07:00
joevt
9c66a56a65
heathrow: Replace res with value.
2024-12-07 09:58:55 -07:00
joevt
78696aa822
chario: Use "this" for class fields.
2024-12-06 07:25:14 -07:00
joevt
1f8a76e534
escc: Remove unused variable.
2024-12-06 07:22:04 -07:00
dingusdev
1c95619aa4
Assign ESCC B RCV DMA
2024-12-06 05:47:06 -07:00
dingusdev
81ebc40158
Add ESCC B RCV DMA
...
Diagnosing issues in booting up Mac OS 9.0.4 for Beige G3
2024-12-04 21:11:47 -07:00
joevt
1bf4073fa7
macio: Range check scc compatible register index.
...
Also, non-compatible registers don't begin until 0x60 for SCC compatible addressing.
2024-12-04 21:03:09 -07:00
joevt
ab59a34604
bandit: Modify address ranges.
...
- Increase I/O space from 22 bits (4 MB) to 23 bits (8 MB).
- Add Special Cycles and Interrupt Acknowledge Cycles at 14 MB offset.
- Pass Through range at 16 MB offset is 16 MB size. VGA and 24 bit physical addresses can go here.
- Bandit is 32 MB except for pci1 which has GrandCentral at Bandit's 16 MB offset.
2024-12-04 20:47:22 -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
joevt
818f982c75
swim3: Create separate reset method.
...
And set defaults for some class fields.
2024-12-03 18:20:13 -07:00
joevt
e72b571069
swim3: Add enums and use them.
2024-12-03 18:19:23 -07:00
dingusdev
2a92ce78f5
Removed unneeded test code
...
Was trying to see what was causing Mac OS X's menu bar to sag 96 pixels
2024-12-03 07:46:13 -07:00
Maxim Poliakovski
85d5b10f61
sc53c94: switch to the new DMA API.
2024-12-03 11:37:18 +01:00
Maxim Poliakovski
5057792d4d
dbdma: implement xfer_to_device method.
2024-12-03 11:37:18 +01: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
Maxim Poliakovski
04899d6528
dbdma: prevent STOP from updating xferStatus.
2024-11-30 12:12:32 +01:00
Maxim Poliakovski
bd7c424989
dmacore: add xfer_to method.
2024-11-30 11:55:16 +01:00
Maxim Poliakovski
6d2872a07f
superdrive: add missing break.
2024-11-30 11:55:16 +01:00
Maxim Poliakovski
7e93d2d169
scsihd: add missing phase switch to write().
2024-11-29 17:47:29 +01:00
Rairii
2bb35dc613
pcihost: Add machine check exception.
...
A machine check exception happens when attempting to read from an unmapped I/O address.
2024-11-29 07:41:57 -07:00
dingusdev
26aa452c57
Fix benchmark compiling, again
2024-11-29 07:41:45 -07:00
joevt
7a55a81186
pcihost: Fix pci_unregister_device.
...
Remove the device from the hosts dev_map.
Remove the device from the Machine object.
2024-11-29 07:31:23 -07:00
joevt
c9359592d7
pcihost: Modify name of attached PCI devices.
...
In case multiple PCI devices of the same type are added, make sure each has a different name for logging.
2024-11-29 07:31:16 -07:00
dingusdev
f4b5ac2d16
Minor fix to page 0x31
2024-11-25 08:11:11 -07:00
dingusdev
f6dc704aff
Add MODE_SENSE_6 to ATAPI CD-ROM emulation
2024-11-24 15:23:38 -07:00
dingusdev
ad44ce8ce4
Merge pull request #121 from mihaip/upstream-settings
...
Add support for specifying properties of dynamically-registered devices via the command line
2024-11-22 07:59:37 -07:00
joevt
4b13af6691
atirage: Change BAR 0 size calculation.
...
We only need up to BE_FB_OFFSET + this->vram_size.
If vram_size is 8MB, then make sure the last 4K is not mapped to BAR 0 because the macOS driver likes to map BAR 2 at that location.
2024-11-22 07:58:21 -07:00
Mihai Parparita
a941836a4d
Add support for specifying properties of dynamically-registered devices via the command line
...
The previous approach of traversing the machine and its device tree
at startup to register CLI11 options was not working for dynamically
registered devices like PCI cards. This meant that options like
gfxmem_size or mon_id from the video cards could not be set.
Switch to instead registering in MachineFactory a hook function that
provides CLI flag values. We can call it when registering any property,
whether at startup or dynamically.
2024-11-21 22:58:36 -08:00
dingusdev
d279ada718
Revert "dbdma: Schedule interpret_cmd."
...
This reverts commit e1849a2bfd2ad7140873a95377f806c79ad8eb4e.
2024-11-17 06:49:43 -07:00
joevt
e1849a2bfd
dbdma: Schedule interpret_cmd.
...
Have the entire dbdma program executed by scheduling each iteration in the CPU loop.
This is done only for devices that use the dbdma program to drive data input/output (has_data_callbacks) rather than have the device drive the dbdma program.
2024-11-16 10:30:20 -07:00
joevt
362cfcbc83
atahd: Rename descriptors.
2024-11-15 12:05:50 -07:00
joevt
6c093e141b
Add missing override statements.
2024-11-15 10:03:57 -07:00
joevt
ef6f2a40c8
atimach64defs: Add some bits.
2024-11-13 07:52:34 -07:00
joevt
3fbf0ddaa4
atimach64defs: Don't need L for unsigned constants.
2024-11-13 07:52:25 -07:00
joevt
6572bf8ce3
atirage: Fix Apple monitor extended sense codes.
...
Now multi-sync displays should be usable with Beige G3.
2024-11-13 07:51:49 -07:00