Tim Jarzombek
ad4515721b
amic: Emulate SCC receive DMA registers instead of returning random values.
...
The SCC DMA Receive control registers previously returned std::rand(),
a workaround to unblock Mac OS 8.5/8.5.1 boot which polls these
registers expecting specific bit patterns. This caused non-deterministic
bimodal boot times (~10s vs ~18s) on Power Mac 6100 as the guest would
sometimes enter a ~7s polling loop depending on the random value.
Add AmicSerialRcvDma to properly track the control register and byte
count state for both SCC receive channels. Writes now update the status
byte using the same bit manipulation as the transmit DMA channels, and
reads return the tracked state. Also wire up the RX byte count registers
(SCC_RXA/B_Byte_Cnt_Hi/Lo) which were previously ignored on write.
2026-03-08 18:34:00 -07:00
joevt
16117e6c60
escc: Add channel and direction enums.
...
Also fix dma_ch index in dma_out_tx, dma_flush_tx.
2026-03-08 10:54:09 -07:00
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
joevt
d693b0f443
maciotwo: Fix IDE read/write mask again.
...
Use the entire 4K range.
2026-01-20 07:07:11 -07:00
joevt
5c646e8270
maciotwo: Add methods to override OHARE_ID ids.
2026-01-17 08:40:45 -07:00
joevt
65c5d2425e
maciotwo: Fix IDE read/write mask.
2026-01-17 07:02:06 -07:00
joevt
f2676e0324
maciotwo: Make Ide1 optional.
...
Some Macs that use OHare do not have a second ATA bus exposed by Open
Firmware. Allow Ide1 to not be included.
# Conflicts:
# devices/ioctrl/maciotwo.cpp
2026-01-17 06:54:44 -07:00
Maxim Poliakovski
5996358308
maciotwo: initialize and connect IDE DMA channels.
2026-01-02 21:30:21 +01:00
joevt
678b51ddfb
grandcentral: Add comment.
2025-11-28 18:18:00 +01:00
Maxim Poliakovski
a7deca1228
maciotwo: add DMA channels for IDE0 and IDE1.
2025-11-16 20:16:30 +01:00
Maxim Poliakovski
8230223440
maciotwo: remove obsolete debugging stuff.
2025-11-10 18:04:52 +01:00
joevt
c7fbd5ed4a
grandcentral: Fix DEVSEL.
2025-11-10 07:40:34 -07:00
dingusdev
fb5f1ed915
Stub out serial
...
Allows Mac OS 8.x and 9.x to boot from HD on older PCI Power Macs
2025-08-24 13:52:09 -07:00
joevt
d789935a6d
grandcentral: Supports IOBUS_HOST comp type.
2025-08-24 13:46:03 -07:00
joevt
63be7f318e
macio: Add TAM note.
...
Setting this bit for Gazelle causes Twentieth Anniversary Mac startup
chime.
2025-07-07 19:41:52 -07:00
Maxim Poliakovski
91cb5fc6ad
maciotwo: change OHare MESH cell to MeshTnt.
...
It looks like the MESH cell inside OHare reports its version
in the old format, i.e. 0xEY where Y is >= 1.
Returning MESH ID in the new (Heathrow) format causes
the Native SCSI Manager to misrecognize the HW and crash badly.
2025-06-30 01:48:40 +02:00
joevt
5412fbc198
Remove superfluous semicolons.
2025-06-27 19:01:14 -07:00
Maxim Poliakovski
b351b578b7
maciotwo.cpp: remove superfluous mesh_dma checks.
2025-06-22 13:02:28 +02:00
joevt
1fae4d28ac
maciotwo: Standardize log message format.
2025-06-22 12:16:40 +02:00
joevt
881c0f7d4e
maciotwo: Add interrupts for OHare part 2.
2025-06-22 12:16:40 +02:00
joevt
4a824cd9aa
maciotwo: Fix indent part 2.
2025-06-22 12:16:40 +02:00
joevt
33e351926f
maciotwo: Add interrupts for OHare.
2025-06-22 12:16:40 +02:00
joevt
3f57d072ec
maciotwo: Fix indent.
2025-06-22 12:16:40 +02:00
joevt
0f17a04b2f
maciotwo: Fix grammar.
2025-06-20 07:03:04 -07:00
joevt
fbfbfb4b33
grandcentral: Fix grammar.
2025-06-20 07:02:55 -07:00
Maxim Poliakovski
af25d41375
grandcentral: move simple methods to macio.h
2025-06-18 22:59:13 +02:00
Maxim Poliakovski
508c4fa461
macio.h: reorganize, improve comments.
2025-06-17 16:35:33 +02:00
Maxim Poliakovski
20eec5cdc8
Remove ohare.cpp source.
2025-06-17 16:17:11 +02:00
Maxim Poliakovski
6b50f85bfc
Switch to MacIoTwo's OHare.
2025-06-17 16:17:11 +02:00
Maxim Poliakovski
a27ba815e4
Remove heathrow.cpp source.
2025-06-17 16:07:05 +02:00
Maxim Poliakovski
157bd6de88
Switch to MacIoTwo's Heathrow.
2025-06-17 15:52:46 +02:00
Maxim Poliakovski
53eafa5f24
New class MacIoTwo for OHare/Heathrow/Paddington emulation.
2025-06-17 15:27:48 +02:00
Maxim Poliakovski
2701a72598
New class MacIoBase.
...
Contains common building blocks for various MacIO ASICs.
2025-06-17 15:27:48 +02:00
Maxim Poliakovski
5b1c832a05
Remove duplications of INT_TO_IRQ_ID macro.
2025-06-17 15:27:48 +02:00
Maxim Poliakovski
2068803c6b
amic: simplify VIA2_IFR writes.
2025-05-29 15:40:26 +02: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
a8b6a16e1a
Move ScsiCurio to Sc53C94.
2025-05-27 07:56:26 -07:00
joevt
393854dee0
heathrow: Spelling.
2025-05-27 07:52:10 -07:00
joevt
bbbaf00b9a
Move ScsiMesh to MeshTnt and MeshHeathrow.
2025-05-27 07:51:37 -07:00
dingusdev
65d414bd4e
Fixing compile issues
2025-04-28 15:05:40 +02:00
joevt
fa5e8b0bf8
amic: Return random value for SCC DMA Rcv.
...
This allows Mac OS 8.5 and Mac OS 8.5.1 to boot from SCSI of Power Mac 6100.
2025-04-28 15:05:40 +02:00
joevt
24a18f7769
amic: Define local variable in minimum scope.
2025-04-27 07:33:30 -07:00
joevt
a74ad4b1d1
amic: Add some register notes.
...
These are registers used during boot of Mac OS 8.5 from SCSI.
2025-04-27 07:32:33 -07:00
Maxim Poliakovski
ab8abf39cc
amic: remove deprecated SCSI DMA code.
2025-04-11 19:24:56 +02:00
Maxim Poliakovski
f6f11e81e9
Switch AMIC SCSI DMA to the new DMA API.
2025-04-01 04:02:51 +02:00
joevt
1166fda3e0
heathrow: Connect mesh.
2025-03-30 07:58:34 -07:00
joevt
a0edc825fb
macio: Add comment for MIO_OH_FC_IN_USE_LED flag.
2025-03-25 21:44:35 -07:00
joevt
20e7dfb0e1
macio: Log unsupported DMA channels once.
...
For debugging. No need to spam the log.
2025-03-25 21:39:49 -07:00