Commit Graph

452 Commits

Author SHA1 Message Date
Miran Grča
262f2dc605 Merge pull request #4728 from techomancer/grid1520
Add new machine GRiD GRiDcase 1520
2024-12-05 20:36:18 +01:00
OBattler
1dcd2f8305 Board Revision -> BIOS Revision. 2024-11-10 05:13:03 +01:00
OBattler
b2258f4ae7 BIOS -> BIOS Revision. 2024-11-10 02:45:38 +01:00
OBattler
55b091fb58 Assorted string fixes, mostly for consistency. 2024-11-10 02:23:21 +01:00
RichardG867
a3ad407a21 hdd_image: Enter missing image mode on other open failures as well 2024-11-07 13:02:52 -03:00
RichardG867
558176e454 hdd_image: Don't return read error on out-of-bounds reads 2024-11-03 11:22:27 -03:00
RichardG867
2184a982f8 MiniVHD: Report read/write errors 2024-10-29 15:14:27 -03:00
RichardG867
cc9c48711a hdd_image: Improve I/O error detection 2024-10-29 14:15:08 -03:00
RichardG867
b155c50e96 zip/mo: Report image read/write errors 2024-10-29 13:57:21 -03:00
RichardG867
e95b0d1e01 hdc_xta: Report image read/write errors 2024-10-29 12:53:54 -03:00
RichardG867
5734fd9a55 hdc_st506: Report image read/write errors 2024-10-29 12:49:47 -03:00
RichardG867
ed0c571a8e hdc_esdi_mca: Report image read/write errors 2024-10-29 12:42:59 -03:00
RichardG867
df94563686 hdc_esdi_at: Report image read/write errors 2024-10-29 12:39:35 -03:00
RichardG867
94e5fded31 hdd_image: Populate last sector for failed images 2024-10-29 12:12:01 -03:00
RichardG867
d5b0ba9511 hdc_ide: Report image read/write errors 2024-10-29 11:47:47 -03:00
RichardG867
416125390b hdd_image: Add framework for reporting I/O errors, and stop removing drives with locked images 2024-10-29 11:41:59 -03:00
OBattler
9c1d9e2d82 MO and ZIP. 2024-09-24 04:37:26 +02:00
OBattler
8c705b4ad1 Flush on writes to hard disk images, fixes partition creation on the Samsung SPC7700LP-W. 2024-09-24 04:32:46 +02:00
OBattler
3556232c21 IDE: Status now once again returns 0x00 on an absent slave with a present master, fixes #4843. 2024-09-22 05:44:25 +02:00
OBattler
1c03839965 IDE: Restore RAM disk timings to how they were before the timings support was are (non-RAM disk timings are not affected), allows OS/2 Warp 3 to successfully install. 2024-09-21 12:00:05 +02:00
technomancer
5bfbc8352d Add new machine GRiD GRiDcase 1520
AT/286 based early (1988) laptop with indestructible magnesium case.

Also add emulation of 3 specific Conner HDDs as required by stock 1520 BIOS.
It only works with these particular drives and requires them to be somewhat
slow or reads will hang. The alternative is to use RomBuster to patch your
BIOS.

The machine had 3 display options (640x480 plasma or 2 different LCDs).
For now we need to use stock CGA with mono amber monitor to get some of
the plasma feel. Next step is to add Yamaha V6366 video card support.
2024-09-17 20:14:18 -07:00
TC1995
fe5c89785f ESDI MCA changes of the late night (September 18th, 2024)
1. More logs.
2. Placed the required bits in the reset routine to make Xenix 2.3.4q work (at least getting past the reset detection).
3. Some more fixes for OS/2 1.x (proposed by WNT50)
2024-09-18 01:00:19 +02:00
OBattler
7399969f2b MCA ESDI: Implement the PARK HEADS (0x06) command. 2024-09-13 14:04:53 +02:00
Jasmine Iwanek
f4b63caf0b One line per file in CmakeLists.txt 2024-09-04 18:34:06 -04:00
Mike Swanson
00354749f2 Use ftruncate on Unix to create hard disk images quickly
Instead of writing out disk blocks slowly across the entire volume,
just use the ftruncate function to create a file instantly at the
desired size.

Depending on file system, this can either result in identical results
to the old code just faster (eg: ZFS and btrfs with compression
enabled), sparse files (most native Unix file systems without
compression, eg ext4 and UFS), or a full non-sparse file like before
(creating an image on FAT).
2024-09-02 22:52:24 -07:00
TC1995
8c98dcf5e8 Remove the first change. 2024-08-25 23:26:20 +02:00
TC1995
da5757f802 Minor but important changes to minivhd's dynamic/diff vhd handling
1. Changed the first seek_end in create_block to seek_set.
2. Avoid expansion overflow through a check if the block offset is below the total sectors.
2024-08-25 23:05:13 +02:00
OBattler
9da2cef53d Also apply the IRQ 2 fix to the WD1002 family. 2024-08-24 06:24:35 +02:00
OBattler
f81541c8f6 WD1004 family: Fix IRQ 2 flag readout. 2024-08-24 06:19:14 +02:00
Jasmine Iwanek
31f87b873a Compile fix for hdc_ide_w83769f.c logging 2024-08-07 02:23:28 -04:00
Jasmine Iwanek
a6cd293baa Compile fix for hdc_ide_um8673f.c logging 2024-08-07 02:23:28 -04:00
Jasmine Iwanek
68437c22bf Compile fix for hdc_ide_ali5213.c logging 2024-08-07 02:23:28 -04:00
Jasmine Iwanek
2a7d300078 Use a define for max HDC's 2024-07-20 21:48:57 -04:00
Jasmine Iwanek
680f65cf19 Standardize hdc_current into an array 2024-07-20 14:49:24 -04:00
Jasmine Iwanek
27c8bdd57e Less dummy devices 2024-07-19 16:57:11 -04:00
TC1995
0a2fa21f06 SCSI and disk fixes (July 14th, 2024)
All: the icon refresh for the respective storage now works properly across all adapters that use it (especially the aha154x compatibles and spock/tribble).
SCSI CD-ROM: The Sony/Texel/DEC SCSI command 0xC0 (Set Address Format) isn't a command that checks for ready status, however, it is for other vendors like NEC, Matsushita, etc. and I am not wishing to create a duplicate command_flags array duplicate just for vendor unique commands. This fixes the MSF bit of Sony/Texel/DEC CD-ROM drives which don't use the Mode Page equivalent.
Toshiba only: attempt to mark the 3201B as a SCSI-1 only CD-ROM drive properly.
2024-07-14 20:42:50 +02:00
Jasmine Iwanek
215b3253a5 Deal with some magic numbers re hdc_current 2024-07-08 00:40:52 -04:00
OBattler
72ff4501f7 IDE: Hard disks now have a valid default configuration, per ATA-2 and later. 2024-05-09 18:02:27 +02:00
OBattler
4c84cccae7 The Pro Audio Spectrum SCSI controller is now based on the Trantor T128 (which it is considerable closer to), rather than on the 53c400. 2024-05-06 13:09:08 +02:00
OBattler
56f7030c98 IDE clean-ups. 2024-05-03 00:23:08 +02:00
OBattler
ae834c1a2d AT MFM/RLL: The SET DRIVE PARAMETERS and RESTORE commands no longer finish instantly, fixes MFM/RLL drives on the Arche AMA-2010. 2024-04-18 04:21:01 +02:00
OBattler
9947af00d4 Fixed the FORMAT command on almost every emulated hard disk controller. 2024-04-18 03:47:49 +02:00
cold-brewed
bf09f6c9fc Fix gcc warning with use of strncpy 2024-03-27 14:16:21 -04:00
cold-brewed
50a2a479c1 Revert earlier change to zip_load to fix an image load crash 2024-03-23 16:15:35 -04:00
Alexander Babikov
82e6a7a129 Don't recognize no longer used HDD bus types 2024-03-20 20:33:30 +05:00
Alexander Babikov
8e06b5449f Overhaul plat_get_string()
Now takes constants with human-readable names instead of
Win32 string table IDs, language.h is no longer needed

ui_msgbox*() no longer accepts string IDs as arguments directly,
plat_get_string() must be explicitly called to retrieve the string
2024-03-20 20:33:28 +05:00
TC1995
3aa81066d3 Solved the IRQ mess of ESDI MCA.
This should also fix the timing/fatal's on ramdisk speeds using said controller on NT and OS/2 on MCA.
2024-03-11 21:39:16 +01:00
OBattler
10c7ee2aef Fixed some warnings. 2024-03-09 11:38:18 +01:00
OBattler
01d066ce4c MiniVHD: Some initialization sanitizations. 2024-03-08 22:37:18 +01:00
OBattler
a45d268070 LBA Enhancer: Coding style. 2024-03-08 22:36:48 +01:00