04 June 2020, 16:00 | #1 |
Registered User
Join Date: Nov 2019
Location: Melbourne, Australia
Posts: 193
|
PFS memorymask error after installing TF534
Hi,
Just added a TF534 to my A500 and while the 4MB of RAM is successfully being added to the 8MB on the SCRAM500 (giving 12MB), the disk is now reporting that the memory mask no longer matches the memory type. The mask on both my PFS partitions is 0xfffffe and I can’t change it while it’s in this mode (machine freezes when I hit save), so I’ll need to remove the TF534 and make the change, but I suspect I’ll only get one shot at it otherwise I lose the partition - so, what do I set the mask to? 0x7ffffffe? Cheers! |
04 June 2020, 19:49 | #2 |
Registered User
Join Date: Jan 2002
Location: Germany
Posts: 7,020
|
You should be able to disable the partition in the early startup menu and boot from floppy disk. Then you can change the value without removing the accelerator.
Mask normally only affects DMA controllers. So if your controller does not do DMA you should set Mask to 0xffffffff. 0x7ffffffe should be safe, too. You won't ever see memory allocations at odd addresses and the high-order bit is used by AmigaOS internally, so you won't see memory there, too. |
05 June 2020, 11:49 | #3 |
Registered User
Join Date: Nov 2019
Location: Melbourne, Australia
Posts: 193
|
Thanks thomas,
Interesting - I set the Mask to 0xffffffff (which adjusted itself to 0xfffffffe) and the machine started up without complaining about the memory mask... but as soon as WB loaded, it froze. Same spot every time. I tried with a WB floppy - same scenario. Unplugged the TF - working fine again. If I disconnected my SCSI HDD and just had my ZIP drive connected (with an FFS partition), it would work fine, so I converted my SCSI HDD partitions to FFS. It too freezes, even a tad earlier than with PFS. Not sure if the TF534 IDE is clashing with the scram device driver, or the SCRAM is just incompatible with the 32-bit RAM (but then... why does the ZIP drive work?!?), but it's not giving me a lot of love at the moment! |
05 June 2020, 15:01 | #4 |
Registered User
Join Date: Nov 2019
Location: Melbourne, Australia
Posts: 193
|
Update: when I copy the System files onto the ZIP drive and boot off it, I get that freezing too. Super weird!!
|
05 June 2020, 20:54 | #5 |
Registered User
Join Date: Jan 2002
Location: Germany
Posts: 7,020
|
I could reproduce the Mask error in WinUAE. IMHO PFS is misbehaving here. Thor some time ago explained how FFS handles Mask and it sounded quite logical: it checks the buffer it gets from the application against the Mask, if it matches, ok, if it does not match it allocates a new buffer using BufMemType and copies the data over. This is a slight performance impact but it assures that the right type of memory is used for DMA.
In WinUAE it does not matter if I change the Mask to 0xFFFFFFFE, it does not freeze. But on your real machine obviously the scram freezes if memory on the TF board is used. So for you Mask = 0x00FFFFFE is the right one and BufMemType = MEMF_24BITDMA would be right, too. Unfortunately HDToolbox does not allow to edit BufMemType. However, I tried Mask = 0x00FFFFE and BufMemType = MEMF_24BITDMA in WinUAE and PFS still did not accept it. So I conclude that PFS does it wrong. BTW, you can boot with the PFS partition active if you hold down Left-Amiga + B. This is the shortcut for Ok in the requester and by holding the keys down you can bypass many of these requesters in short time |
06 June 2020, 05:16 | #6 |
Registered User
Join Date: Nov 2019
Location: Melbourne, Australia
Posts: 193
|
Ahah, thanks for the tip on that So it seems like it's only on writes that it freezes as when it boots with a mismatched memory mapping, it marks the disks as read only and the machine is (partially) usable.
Been playing around with it in FFS. No luck here either... still freezes irrespective of Mask *and* I've tried a few different settings on BufMemType (any, chip and fast). I think straight up, the SCRAM SCSI just won't work with the TF534 - I'll see if I load up an IDE disk whether the SCRAM still works for the ZIP drive and CD-ROM at least... otherwise I need to make a decision as to what to keep. Chances are it'll be the SCRAM as 4MB isn't enough for WHDLoad. |
06 June 2020, 10:05 | #7 |
-
Join Date: Jul 2003
Location: Helsinki / Finland
Age: 43
Posts: 9,882
|
Good to hear that you also think that it shouldn't behave this way. This feature of PFS3 has always annoyed me, basically forcing me to go back to FFS in the rare situations when limiting the mask is the only way to get the drive working in a non-optimal combination of expansions.
|
06 June 2020, 10:14 | #8 |
Registered User
Join Date: Nov 2019
Location: Melbourne, Australia
Posts: 193
|
Turns out the 8MB in the SCRAM doesn't work well with the 4MB in the TF534 anyway. Pretty much every game I launched caused a reset or Guru so... I'm keeping the SCRAM.
|
06 June 2020, 10:21 | #9 | |
-
Join Date: Jul 2003
Location: Helsinki / Finland
Age: 43
Posts: 9,882
|
Quote:
|
|
06 June 2020, 10:59 | #10 |
Registered User
Join Date: Jan 2002
Location: Germany
Posts: 7,020
|
Actually the warning is not about the mask but about the memory used. A file system is not in the position to have an opinion about what a good mask is. The HDD controller defines which kind of memory it can use for DMA. The mask is a means for the file system to check the memory.
IMHO the warning should be moved a bit. It should check the memory again after allocating a new buffer and if it still not matches the mask then it should issue the warning because then there is a real issue. |
06 June 2020, 11:33 | #11 | ||
-
Join Date: Jul 2003
Location: Helsinki / Finland
Age: 43
Posts: 9,882
|
Quote:
Quote:
|
||
06 June 2020, 13:07 | #12 |
Registered User
Join Date: Nov 2019
Location: Melbourne, Australia
Posts: 193
|
I'll just re-iterate that when the warning comes up, the disk goes into read-only mode so it's more than a nuisance... it actually renders this disk unusable as a system disk.
|
06 June 2020, 13:47 | #13 | ||
Registered User
Join Date: Jan 2002
Location: Germany
Posts: 7,020
|
Quote:
Everything else is for DOS. An entry in the partition table basically is a mountlist stored in binary rather than text. The hardware driver knows the hardware, that's its purpose. It does not need to be instructed to do anything. Quote:
|
||
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
PFS Error with Next v4.0 (Multiview type util) | paul1981 | support.Apps | 6 | 31 July 2020 13:10 |
Installing PFS III on Amiga with a Vampire V2 + | Seblington | support.Hardware | 12 | 21 January 2018 19:49 |
error installing boingbag1 | _ThEcRoW | support.Apps | 1 | 09 December 2007 17:53 |
PFS error message during copy. | Tony Landais | support.Apps | 0 | 04 May 2006 19:17 |
PFS 5.3 or PFS 5.1 CD with valid Key ?? | ruliovega | request.Apps | 1 | 30 December 2005 23:54 |
|
|