Maxim Poliakovski
92c558f44b
Initial Yosemite emulation.
2023-02-15 02:36:40 +01:00
Maxim Poliakovski
299f0d3a9f
Accept 1MB New World Boot ROMs.
2023-02-15 02:36:40 +01:00
joevt
b472123746
Standardize PCIDevice slot_id for PCIHost.
...
PCIHost
- PCIHosts (bandit and grackle) now use device number and function number for identifying attached PCIDevices. A macro DEV_FUN is added to calculate this new slot_id. Bandit no longer uses IDSEL. Grackle no longer uses only device number.
machinecatalyst, machinegossamer, machinetnt
- Use DEV_FUN to attach PCI devices by device number and function number.
2023-02-05 06:57:04 -08:00
Maxim Poliakovski
bcd443779a
machinegossamer: add internal SCSI bus.
2023-01-25 20:56:51 +01:00
Maxim Poliakovski
136aeca8f2
Fix Gossamer system register.
2023-01-11 23:49:20 +01:00
Maxim Poliakovski
8d01440558
Improve previous (cosmetics & code duplication).
2023-01-11 23:36:16 +01:00
joevt
64fec88436
Fix compiler warnings: cast loses precision.
...
Use explicit cast when converting large integer types to smaller integer types when it is known that the most significant bytes are not required.
For pcidevice, check the ROM file size before casting to int. We'll allow expansion ROM sizes up to 4MB but usually they are 64K, sometimes 128K, rarely 256K.
for machinefactory, change the type to size_t so that it can correctly get the size of files that are larger than 4GB; it already checks the file size is 4MB before we need to cast to uint32_t.
For floppyimg, check the image size before casting to int. For raw images, only allow files up to 2MB. For DiskCopy42 images, it already checks the file size, so do the cast after that.
2023-01-11 01:17:12 -08:00
joevt
b61a7c4aea
Log something from machine initialization.
...
The machine type and its corresponding source file name should appear once in the log output.
2023-01-11 01:17:12 -08:00
joevt
2f08a0b327
Fix Gossamer machineID allocation size.
...
When the allocation is logged, it will look appear like this:
Added mmio region 0xFF000004..0xFF000FFF (Machine-id)
instead of like this:
Added mmio region 0xFF000004..0xFF001003 (Machine-id)
2023-01-11 00:05:23 -08:00
Maxim Poliakovski
101a8d33b0
Manage Windows build dependencies with vcpkg.
2023-01-08 22:27:13 +01:00
Maxim Poliakovski
9ea4a465f4
machinegazelle: tiny comment improvement.
2022-12-23 23:45:26 +01:00
Maxim Poliakovski
41a34ffab6
Basic Gazelle (PM 6500) emulation.
2022-12-23 17:19:46 +01:00
Maxim Poliakovski
a189c94980
scsihd: fix READ_CAPACITY_10 command.
...
Also bump internal buffer size to 2 MB
to temporarily fix buffer overflows.
2022-12-14 16:14:53 +01:00
dingusdev
58908621e6
IDE refinements
2022-12-05 08:42:51 -07:00
dingusdev
311538b81d
Fix IDE functionality
2022-11-26 21:34:54 -07:00
Maxim Poliakovski
447941abe0
machinetnt: fix default RAM allocation.
2022-11-17 18:03:18 +01:00
Maxim Poliakovski
585c5fd4ca
Guess low-level floppy disk format based on image size.
...
Also add fdd_fmt property for manually specifying disk
format.
2022-11-17 18:03:18 +01:00
Maxim Poliakovski
5f0358a347
Implement basic SCSI CD-ROM emulation.
2022-11-14 00:55:05 +01:00
Maxim Poliakovski
db17e19699
scsi_hd: cosmetic improvements.
2022-11-10 18:22:44 +01:00
Maxim Poliakovski
8abefb8f8d
machinepdm: properly insert SCSI hard disk image.
...
Skip SCSI hard disk registration if no disk image was given.
2022-11-01 01:17:50 +01:00
Maxim Poliakovski
eeb576a927
Improve ScsiDevice class.
2022-10-25 02:53:21 +02:00
Maxim Poliakovski
a085d55d13
machinepdm: attach SCSI HD to the main bus, ID 0.
2022-10-22 23:42:37 +02:00
dingusdev
ee9573327c
Reorganized hard disk code
...
Not compiling yet.
2022-10-08 16:51:54 -07:00
joevt
fca6cb11b6
Add info for possible grackle PCI devices
...
Devices that are not probed by Open Firmware might still be usable by Mac OS X or Linux if they can enumerate PCI devices without using Open Firmware's device tree.
A patch in nvramrc can make Open Firmware probe all the devices.
The point is that the emulation does not need to be limited to 5 slots.
2022-08-22 17:07:50 -07:00
Maxim Poliakovski
336ea14422
machinefactory: don't crash when property help is missing.
2022-08-19 19:44:10 +02:00
Maxim Poliakovski
c5ecdb840d
machinegossamer: proper system & clocks configuration.
2022-08-15 14:51:37 +02:00
Maxim Poliakovski
0dbcda5710
machinegossamer: system register definitions.
2022-08-15 14:50:49 +02:00
joevt
93fae1ee68
Merge remote-tracking branch 'upstream/master'
2022-08-14 16:38:51 -07:00
Maxim Poliakovski
3f3af68582
machinegossamer: add Whisper ID PROM.
2022-08-14 23:01:55 +02:00
joevt
b76bfedf4b
Remove unnecessary linefeeds from log
...
To remove blank lines in the dingusppc.log file or in the console output when -d is used.
2022-08-14 05:26:56 -07:00
Maxim Poliakovski
eecb5a0f42
machinegossamer: add Athens I2C device.
2022-08-11 01:45:32 +02:00
Maxim Poliakovski
fd41cafc4b
New machine: Power Macintosh 7500.
2022-08-07 15:25:58 +02:00
Maxim Poliakovski
9a6336adb9
Move DRAM capacity constants to memctrlbase.h
2022-08-07 15:25:58 +02:00
Maxim Poliakovski
c3939e3b25
Gossamer: factory test control.
2022-07-20 20:08:37 +02:00
Maxim Poliakovski
f0553720d6
Catalyst: factory test control.
2022-07-20 01:36:45 +02:00
Maxim Poliakovski
3c062443f6
PDM: factory test control.
2022-07-20 01:36:05 +02:00
Maxim Poliakovski
b9fb0b9c5f
Switch fdd_wr_prot to BinProperty.
2022-07-19 23:48:17 +02:00
Maxim Poliakovski
65512dc434
New property type: BinProperty.
2022-07-19 23:45:41 +02:00
Maxim Poliakovski
c0078ce97d
Refactor MachineBase and MachineFactory classes.
...
Adding new machines is much easier now.
A significant amount of duplicated code has been reduced.
2022-07-18 20:27:34 +02:00
Maxim Poliakovski
5668fc161f
macio: fix SWIM3 register space accesses.
2022-06-13 23:15:48 +02:00
Maxim Poliakovski
913944c607
platinum: implement video controller registers.
2022-06-09 23:16:03 +02:00
Maxim Poliakovski
22988f9e28
machinecatalyst: disable ATI Mach64 card hack.
2022-05-20 09:26:04 +02:00
Maxim Poliakovski
e0b94e0b47
ESCC: connect NULL and STDIO backends.
2022-05-07 21:47:22 +02:00
Maxim Poliakovski
be4f835e6c
New machine: Catalyst (PM7200).
2022-05-07 21:47:14 +02:00
Maxim Poliakovski
1d86375061
Implement MPC601 style RTC.
2022-03-28 18:26:47 +02:00
dingusdev
36fa53e8c1
MSVC compilation fixes
2022-03-12 15:43:45 -07:00
dingusdev
8d3427c475
Proper write protection settings
2022-02-27 22:41:59 -07:00
dingusdev
80a4864a92
Floppy disk write protection
2022-02-24 07:33:30 -07:00
Maxim Poliakovski
689fe51d80
Add required includes for gcc.
2022-02-17 00:50:37 +01:00
Maxim Poliakovski
5e2f2b12e4
Properly connect Superdrive to SWIM3 and machines.
2022-02-06 15:23:30 +01:00