1202 Commits

Author SHA1 Message Date
joevt
36c7c807a4 display: Add update_window_title and window event.
update_window_title can be used to update statistics about the display (such as display resolution) or about DingusPPC in general (such as "mouse grabbed" status).

A DPPC_WINDOWEVENT_MOUSE_GRAB_CHANGED window event is added so that Display::handle_events can update the "mouse grabbed" indicator in each display window. The event handler doesn't check the window ID because the status should be reflected in all windows.

The SDL_WINDOWEVENT_SIZE_CHANGED event causes the window to update the display resolution indicator.

In the future, we might add indicators for HD and CD and floppy disk activity, etc. They will be handled by a window event handler or a general DPPC event handler.
2025-04-18 07:20:49 -07:00
joevt
2f8e8bf68b videoctrl: Spelling. 2025-04-14 06:40:57 -07:00
joevt
a5e2adefa9 atimach64gx: Add RGB 514 read and CLUT_ADDR_RD. 2025-04-14 06:27:46 -07:00
joevt
16542a09f5 atimach64gx: Add rgb514_write_reg logging. 2025-04-14 06:22:50 -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
Maxim Poliakovski
ab8abf39cc amic: remove deprecated SCSI DMA code. 2025-04-11 19:24:56 +02:00
Maxim Poliakovski
8c84b78804 sc53c94: fix bus reset interrupt generation. 2025-04-11 19:24:56 +02:00
Maxim Poliakovski
4312450b70 sc53c94: preliminary support for CMD_XFER_PAD_BYTES.
MkLinux uses this command during synchronous transfer
negotiation.
2025-04-11 19:24:56 +02:00
Maxim Poliakovski
a75d806108 Better support for SCSI messages. 2025-04-11 19:19:38 +02:00
Maxim Poliakovski
2a830154f9 sc53c94: implement CMD_SELECT_WITH_ATN_AND_STOP command. 2025-04-11 19:07:35 +02:00
Maxim Poliakovski
89d5196e8b sc53c94: implement CMD_RESET_ATN command. 2025-04-11 19:07:35 +02:00
Maxim Poliakovski
842d0f7f70 sc53c94: improve CMD_MSG_ACCEPTED. 2025-04-11 19:04:47 +02:00
Maxim Poliakovski
23ea02b47c sc53c94: replace some magic numbers with constants. 2025-04-11 19:04:47 +02:00
Maxim Poliakovski
5bd1071d10 scsihd: add support for START_STOP_UNIT.
MkLinux won't boot if this command fails.
2025-04-11 19:04:47 +02:00
Rairii
be59ed8304 atapicdrom: Postpone data out phase. 2025-04-09 22:01:15 -07:00
Rairii
e4dedb8c09 atapicdrom: Error if read while xfer in progress. 2025-04-09 22:01:06 -07:00
Rairii
17f2562d13 atapicdrom: Short circuit zero length reads. 2025-04-09 21:56:48 -07:00
Rairii
6adce6b120 atapibasedevice: Extra steps when reading STATUS. 2025-04-09 21:56:46 -07:00
Rairii
aec5aba379 blockstoragedevice: Use 64-bit math. 2025-04-09 21:56:45 -07:00
Rairii
f40ce18bc5 atabasedevice: Postpone data ready signal. 2025-04-09 21:56:44 -07:00
Rairii
e4f0588b56 atabasedevice: Postpone write complete interrupt. 2025-04-09 21:56:43 -07:00
Rairii
7ab54276ad atabasedevice: Postpone read complete interrupt. 2025-04-09 21:56:42 -07:00
Rairii
630755f9e5 atabasedevice: Include timermanager. 2025-04-09 21:56:39 -07:00
Maxim Poliakovski
0efab12699 Rename ScsiMsg to avoid ambiguity. 2025-04-09 13:28:15 +02:00
joevt
2b4962d1ba sc53c94: Add "this" for class members. 2025-04-05 19:06:41 -07:00
joevt
d66c2a39a3 athens: Change pixel clock default.
It should not be 0 MHz because that causes the virtual display to freeze.
Default to 50 MHz so that 800x600 72Hz can work for "control" video output.
2025-04-05 18:59:59 -07:00
Maxim Poliakovski
fe304d9f46 sc53c94: support Synchronous Transfer Period register. 2025-04-05 13:11:06 +02:00
Maxim Poliakovski
3e3eee7ae9 pdmonboard: check framebuffer location on video refresh.
That fixes video for MkLinux.
2025-04-04 18:09:11 +02:00
joevt
41aa8b73e9 cmake: Add USB and FireWire directories. 2025-04-04 06:58:50 -07:00
Rairii
ca55defc55 atabasedevice: Don't attempt command while busy. 2025-04-04 06:40:33 -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
a5dc3bceb9 atirage: Allow up to 8MB of VRAM.
8MB of VRAM is required for 32-bit color at 1600x1200 or 1920x1080. See imacg3 with AtiRagePro.
2025-04-03 07:56:12 -07:00
joevt
25beb13b1b sc53c94: Remove extra space. 2025-04-03 07:42:08 -07:00
joevt
c483a9a615 spdram: Add 512 MB DIMMs. 2025-04-03 07:40:20 -07:00
joevt
4b25da926b sixty6: Default pixel depth should be 8.
At least in one case I tested.
2025-04-02 07:31:47 -07:00
joevt
26db2caadd Move ControlVideo to Chaos. 2025-04-02 07:11:26 -07:00
Maxim Poliakovski
ff6d75f232 sc53c94: remove unused code. 2025-04-01 16:04:18 +02:00
Maxim Poliakovski
f6f11e81e9 Switch AMIC SCSI DMA to the new DMA API. 2025-04-01 04:02:51 +02:00
Maxim Poliakovski
c742beb623 sc53c94: return actual number of bytes transferred
in xfer_to and xfer_from methods.
2025-04-01 04:02:51 +02:00
Maxim Poliakovski
ba030abb3b scsihd: don't return error for DEFAULT VALUES in MODE_SENSE_6.
Page control 2 (DEFAULT VALUES) in MODE_SENSE_6 may not fail.
2025-04-01 04:02:51 +02:00
Maxim Poliakovski
df5c1758d5 sc53c94: don't generate Bus Service int when asserting DREQ.
Generating Bus Service interrupt while asserting DREQ breaks
the Old SCSI API and the applications that depend on it.
2025-04-01 04:02:14 +02:00