2455 Commits

Author SHA1 Message Date
Maxim Poliakovski d19de22540 viacuda: use more appropriate command names. Alpha104 2025-11-30 17:12:45 +01:00
dingusdev e7535eaec5 More compile fixes 2025-11-30 07:52:56 -07:00
dingusdev 7699075377 Cuda code cleanup
* Fix CUDA_SET_DEVICE_LIST
* Add out_count to CUDA_GET_DEVICE_LIST
* Use this in CUDA_SET_REAL_TIME
2025-11-29 15:58:27 -07:00
dingusdev 2bdf79f813 Prepping for another proper build 2025-11-29 07:52:41 -07:00
dingusdev df738e9edc Merge pull request #156 from alicela1n/fix-build-older-macos
main_sdl.m: Add support for macOS versions prior to 10.13
2025-11-29 06:33:29 -07:00
Alice 9656753232 main_sdl.m: Add support for macOS versions prior to 10.13 2025-11-28 19:25:14 -08: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
joevt 678b51ddfb grandcentral: Add comment. 2025-11-28 18:18:00 +01:00
Eric Helgeson a51e740f5a cmake: add warning if no audio libs are detected
User may still want to build and detect at runtime,
but we should let them know it may cause runtime issues.
2025-11-28 18:18:01 +01:00
dingusdev d8f65dafd0 Add missing reads for BigMac 2025-11-23 21:01:45 -07:00
dingusdev ebc6590c8f Start filling up BigMac 2025-11-23 16:57:56 -07:00
Maxim Poliakovski a91481fb4d atahd: add stubs for common settings in SET_FEATURES. 2025-11-19 22:28:56 +01:00
Maxim Poliakovski 87f1a1b553 atadefs: add READ_DMA_NR and WRITE_DMA_NR commands. 2025-11-19 21:53:37 +01:00
Maxim Poliakovski c0d3edbc5d atirage: add AtiRageGW (Rage IIc) device. 2025-11-19 21:46:39 +01:00
Maxim Poliakovski 697ab30992 atimach64defs: add Rage IIc PCI device ID. 2025-11-19 21:46:39 +01:00
dingusdev 490de061f5 Quick header fix 2025-11-17 19:57:08 -07:00
joevt a9b589af86 viacuda: Log SET_POWER_MESSAGES and TIMER_TICKLE.
Maybe these should use error_response instead of response_header?
2025-11-17 19:55:04 -07:00
dingusdev 4efb269c96 Fix typecasting warnings from VS2022 2025-11-17 19:47:55 -07:00
Maxim Poliakovski a7deca1228 maciotwo: add DMA channels for IDE0 and IDE1. 2025-11-16 20:16:30 +01:00
joevt 3639f40eb0 Create machine should clear device map on error. 2025-11-16 08:09:18 -07:00
joevt 47e56614af romidentity: Powerbook 190cs is a 68K ROM. 2025-11-16 08:00:53 -07:00
joevt 6ca2a0a29b romidentity: No ROMRelease for ROMVersion < 0x7A.
ROMRelease 0x6000 is probably a BRA.W instruction.
2025-11-16 07:57:00 -07:00
Maxim Poliakovski c3448e1e7c machinepdm: support for pluggable PDS/VDS devices.
Processor direct slot (PDS) is the only expansion
slot available in PDM. It accepts a few Apple PDS
cards as well as Nubus cards attached using a special
adapter. The attached device is handled as it would
be a standard Nubus device plugged into the pseudo slot $E.

Video direct slot (VDS) in Cold Fusion is the same
thing as the PDS slot in PDM.
VDS usually carries either the HPV or the Planaria
video expansion card.

Virtual Nubus cards can be attached to the PDS/VDS
slot using the "--pds=[DeviceName]" option.
2025-11-15 23:48:26 +01:00
Maxim Poliakovski 9290c897e1 hwcomponent: add NUBUS_DEV type. 2025-11-15 23:48:26 +01:00
Maxim Poliakovski d8461475f2 machinebondi: minor comment fixes. 2025-11-15 21:58:47 +01:00
joevt 0b4487d6b7 Create a HWComponent for each machine.
class Machine (subclass of HWComponent) will serve as the root device of
a machine.
Its sub-device list will take the place of the machine device list.
Its create method will take the place of the machine init function.
Its properties will take the place of the machine properties.
This change removes extra loops for the machine devices and properties.
2025-11-15 21:58:47 +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
joevt c0d5f6df4f main: Make sure gMachineObj gets deleted. 2025-11-15 16:34:37 +01:00
Maxim Poliakovski 7a8f3958c2 atirage: basic rectangle filling (2D acceleration). 2025-11-14 01:35:48 +01:00
Maxim Poliakovski f10c6594e5 atimach64defs.h: correct some field sizes. 2025-11-14 01:34:27 +01:00
dingusdev eb88f94763 Slight manual update 2025-11-12 20:54:44 -07:00
Maxim Poliakovski 5248c31df1 platinum.h: add missing override. 2025-11-10 18:04:52 +01:00
Maxim Poliakovski 8230223440 maciotwo: remove obsolete debugging stuff. 2025-11-10 18:04:52 +01:00
joevt 8db57534d3 Fix spelling of "constants". 2025-11-10 07:48:15 -07:00
joevt 8f3b4ffa05 machinefactory: Output leading zeros of checksum. 2025-11-10 07:41:34 -07:00
joevt 4846f2708f hmc: Add enums for all registers. 2025-11-10 07:40:59 -07:00
joevt c7fbd5ed4a grandcentral: Fix DEVSEL. 2025-11-10 07:40:34 -07:00
Maxim Poliakovski 58fe6e6977 mesh: fix BusFree command logic. 2025-10-24 19:27:13 +02:00
Maxim Poliakovski dc96137c47 scsibusctrl: fix logic to reflect current changes in scsidevice. 2025-10-24 19:27:13 +02:00
Maxim Poliakovski a543d46a10 scsidevice.cpp: fix typo. 2025-10-24 19:27:13 +02:00
dingusdev 550bc8af67 Add further SCSI definitions 2025-09-22 22:09:05 -07:00
Maxim Poliakovski 4d1765dd9a superdrive: remove superfluous track_zero. 2025-09-22 21:35:03 +02:00
Maxim Poliakovski ddd8c21c6d swim3.h: add definition for the INT_ERROR bit.
This bit isn't mentioned in the SWIM3 ERS.
But that's used in the MkLinux and BeOS drivers.
2025-09-22 21:35:03 +02:00
Maxim Poliakovski ee776e41cf dbdma: warn for unexpected amount of data in xfer_from_device. 2025-09-21 00:24:33 +02:00
Maxim Poliakovski ca5989332b sc53c94: fix xfer_from for len < xfer_count. 2025-09-21 00:24:33 +02:00
dingusdev a6b6fc1b61 Add missing returns to mfspr + mtspr 2025-09-15 07:54:15 -07:00
Maxim Poliakovski 049c843891 ppcopcodes: support reading the time base using TBL_S/TBU_S.
This is required by BeOS kernel.
2025-09-15 01:57:13 +02:00
joevt df134894cf displayid: Fix I2C STOP/START comments. 2025-09-07 07:20:41 -07:00