21 April 2017, 16:16 | #81 |
Registered User
Join Date: Aug 2004
Location:
Posts: 3,343
|
Yep, the .scp file is completely broken; just doing Dir in a CLI gives a disk error requester. The DMS might be OK; at least all files on it copy without errors.
|
21 April 2017, 18:21 | #82 |
Registered User
Join Date: Jun 2012
Location: Toronto / Canada
Posts: 232
|
The DMS file is OK, That's the source I used to update the Installer, I'll recreate the SCP image.
|
21 April 2017, 20:39 | #83 |
Banned
Join Date: Aug 2005
Location: London / Sydney
Age: 47
Posts: 20,420
|
|
22 April 2017, 05:06 | #84 |
Registered User
Join Date: Jun 2012
Location: Toronto / Canada
Posts: 232
|
I did upload the DMS image, the SCP file contains a newer Hard Drive Table
|
22 April 2017, 09:14 | #85 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,517
|
DMS works (emulation is nearly done) but it seems it does not have A1000 kickdisk install support.
|
22 April 2017, 13:17 | #86 |
Registered User
Join Date: Aug 2004
Location:
Posts: 3,343
|
After quickly looking at the Comspec SetClock program and ComspecSCSI.device...
The SA1000 can have an optional real-time clock. The SetClock program expects bit 0 of er_SerialNumber (in the ExpansionRom structure) to be zero for RTC to be present. ComspecSCSI.device command numbers 12 and 13 respectively are used to read and set the RTC time . (Those command numbers are TD_REMOVE and TD_CHANGENUM for "normal" trackdisk-like devices... but probably ComspecSCSI.device isn't supposed to be trackdisk-like, that job is for ComspecHD.device?) Hopefully the pattern of register accesses could allow you to figure out which type of RTC chip it uses. |
22 April 2017, 13:46 | #87 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,517
|
Not going to happen without knowing type of the chip in advance. Clocks are too boring.
|
22 April 2017, 14:17 | #88 |
Registered User
Join Date: Aug 2004
Location:
Posts: 3,343
|
|
22 April 2017, 15:41 | #89 |
Registered User
Join Date: Jun 2012
Location: Toronto / Canada
Posts: 232
|
The Clock Chip is OKI 6242B. I/O Space and ROM Space sit in Expansion Space ($E8000) and Cartridge Space ($F00000). The SCSI chip is WD33C93.
IF you require it I will scan the Schematic and Memory Map But they are very old copies. Shaf |
22 April 2017, 17:23 | #90 |
Registered User
Join Date: Aug 2004
Location:
Posts: 3,343
|
They could still be useful for emulation, also maybe to someone with the real hardware, if they want to repair their unit. So please do upload them!
|
22 April 2017, 19:53 | #91 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,517
|
http://www.winuae.net/files/b/winuae_3410b7.7z
http://www.winuae.net/files/b/winuae64_3410b7.7z Beta 7: - Accessing accelerator board SCSI IO region without any added SCSI device caused crash. - winlaunch.lib native code use attempts are now internally "emulated". Library is not used or needed anymore. - Old style 0xf00000 boot rom is automatically mapped (if memory is not already in use and "new" rom mode) if it looks like program is directly jumping to boot rom trap space instead of using uae.resource. - AGA FMODE>0 unaligned bitplane and sprite pointer behavior should be now accurately emulated. (It is not simple masking). Sprites not tested (too boring) but both should use same DMA hardware. [I saw some comments somewhere, I'd recommend contacting me for faster response ] - Added A590 v4.6 boot ROM to ROM scanner. - Fixed A590 XT mode request sense handling (for example if out of bounds read). - 68040/060 without FPU or 68060 with FPU disabled exception had wrong PC OF FAULTED INSTRUCTION field in exception stack frame. - Comspec SA-1000 controller emulation remaining features implemented. |
22 April 2017, 21:20 | #92 |
Registered User
Join Date: May 2013
Location: Grimstad / Norway
Posts: 839
|
Is that Comspec controller the one that Dragon's Lair supported?
|
23 April 2017, 14:15 | #93 |
Registered User
Join Date: Aug 2004
Location:
Posts: 3,343
|
The Comspec SA1000 RTC registers are at even bytes starting at board offset $80A0.
|
24 April 2017, 19:25 | #94 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,517
|
Comspec RTC emulation and enable/disable option added. Uses already existing MSM emulation = writing to clock registers (except config registers) are not supported. Current date is always returned.
Boot disk returns "Date is unreadable" so either something is wrong or it does not like >=2000 dates (which is more likely..). |
24 April 2017, 20:55 | #95 |
Registered User
Join Date: Aug 2004
Location:
Posts: 3,343
|
How do you emulate >=2000 years in the MSM6242B? ComspecSCSI.device seems to treat year <78 as meaning 2000+year. In other words, for 2017 you'd need to have 17 in the year registers. So 7 in 1-year digit register, 1 in 10-year digit register. And it requires 10×(10-year reg) + (1-year reg) be <= 99.
cf. this in the 2.5.0b20 changelog entry: Code:
- RTC year value is saved differently depending on OS version, Pre-2.0: RTC year value = current year - 1900, 2.0+: year value = last 2 digits. Both methods supported when reading. WinUAE now uses pre-2.0 method if MSM clock chip (because this is the only type that KS1.x supports), 2.0+ if RF clock chip, previously always used -1900 method. Last edited by mark_k; 24 April 2017 at 21:04. |
24 April 2017, 21:07 | #96 | |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,517
|
Quote:
Surprisingly Comspec accepts the date (and it even is printed correctly) if year value is 17 (instead of 117). So Comspec now uses different method. |
|
24 April 2017, 21:20 | #97 |
Registered User
Join Date: Aug 2004
Location:
Posts: 3,343
|
Also, the function in ComspecSCSI.device to set the RTC always sets the 24/12 bit (i.e. 24-hour mode) in control register F.
|
26 April 2017, 17:47 | #98 |
Registered User
Join Date: Aug 2004
Location:
Posts: 3,343
|
Do you have a user manual too? I've been reverse-engineering ComspecSCSI.device out of curiosity, but maybe I'm wasting my time if its command set is already documented in the manual.
|
27 April 2017, 17:34 | #99 |
Registered User
Join Date: Aug 2004
Location:
Posts: 3,343
|
Some more info about the Comspec RTC. Not sure whether you already emulate this, but bit 0 of the write-only register at board offset $8080 seems to be an enable for the RTC. The RTC probably only appears on the bus when that bit is set.
The ComspecSCSI.device commands for both reading and setting the RTC set that bit before accessing the RTC, and clear it afterwards. I guess protecting the RTC that way reduces the likelihood of a crashing program affecting the stored time/date. |
07 May 2017, 16:01 | #100 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,517
|
http://www.winuae.net/files/b/winuae_3410b8.7z
http://www.winuae.net/files/b/winuae64_3410b8.7z Beta 8: - Blitter BDAT register's old content was not preserved and shifted in when BDAT was rewritten with CPU or copper and current B-shift was non-zero. (Probably never used by purpose but emulation still should be always correct) - 68010+ RTE didn't generate format error exception if frame was not supported by selected CPU but it was supported by other 680x0 model and CPU emulation mode was not MMU or more compatible. - Added Comspec SA-1000 RTC emulation. Always returns current host time, time registers are not writable. - Built-in HRTMon 2.37 update. - Added two A2088T BIOS 4.0 (390657-01) ROM versions with different internal date (09/11/89 and 14/11/89). - Added A2386SX 1.00.03 ROM. - PC bridgeboard NE2000 boot crash fix. (Introduced when NIC specific MAC setting was added) - Adjusted windowed mode mouse clipping so that when winuae window is partially under taskbar (including auto hide taskbar or partially outside of monitor, Amiga mouse won't randomly hit hidden borders (if Windows Mouse mode) or become unexpectedly uncaptured (any mode, window partially under taskbar). - Do not delay SCSI/ATAPI emulation audio CD play state change from startup to playing. Only CD32/CDTV require it. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
WinUAE 2.5.0 Beta series (Was 2.4.2) | Toni Wilen | support.WinUAE | 310 | 01 December 2012 18:02 |
WinUAE 2.2.0 beta series | Toni Wilen | support.WinUAE | 119 | 28 June 2010 02:35 |
WinUAE 1.5.1 beta series | Toni Wilen | support.WinUAE | 242 | 12 August 2008 12:42 |
WinUAE 1.5.0 beta series | Toni Wilen | support.WinUAE | 453 | 19 June 2008 09:05 |
|
|