English Amiga Board Amiga Lore


Go Back   English Amiga Board > News

 
 
Thread Tools
Old 07 August 2016, 21:43   #101
pawelek
Registered User

 
Join Date: Aug 2014
Location: Poland
Posts: 38
At what point autodetection checks?
How to check which mode is selected?

My configuration Blizzard scsi kit 1230scsi.device (support TD64, DirectSCSI and NSD, but only after SetPatch-OS3.9)
HDD SCSI 70GB - all partitions PFSaio, the first bootable 1GB.

In what mode will work PFSaio? NSD or TD64?
pawelek is offline  
AdSense AdSense  
Old 08 August 2016, 09:57   #102
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 41
Posts: 18,351
Quote:
Originally Posted by pawelek View Post
At what point autodetection checks?
How to check which mode is selected?

My configuration Blizzard scsi kit 1230scsi.device (support TD64, DirectSCSI and NSD, but only after SetPatch-OS3.9)
HDD SCSI 70GB - all partitions PFSaio, the first bootable 1GB.

In what mode will work PFSaio? NSD or TD64?
Which ROM version? At least latest (8.5) should support TD64 without extra patches and if PFS3AIO really selects not-DS mode and partition is "large", it means NSD or TD64 is supported, at least it appears to be supported (driver responds without errors to read command and it also returns some data. Note that it is impossible to know if returned data is expected data..)

Normal detection order is: standard TD (only if partition is inside first 4G of drive), NSD, TD64, DirectSCSI. Set dostype to PDS\3 (Official PFS3 DS version dostype) to force DirectSCSI test first. Detection is done just before each partition gets mounted. Partition is not mounted if all tests fail. Test is basically attempt to read last block of the partition. (This is also quickly explained in pfs3aio.readme)
Toni Wilen is offline  
Old 21 December 2016, 21:31   #103
Romanujan
Registered User
 
Join Date: Dec 2007
Location: Szczecin/Poland
Posts: 135
OK, I have some time for Amiga again.

Using Linux I have compiled AROS for the m68k-amiga target. Binaries are ELFs, but at least the SYS:C/Echo can be converted using elf2hunk, resulting in a working native m68k AmigaOS executable

Problem - I don't know how to trigger PFS compilation. The configure script doesn't seem to have any option for this, I also couldn't find any target in the generated makefile. I think I have to modify the AROS-source/rom/mmakefile.src to include also the PFS, but I can't figure out how...

[edit] I'm stupid.
Code:
make kernel-fs-pfs3-aio
There were some compilation errors with GCC 6.1, but they were trivial to fix. Worse, I have some linking problems:

Code:
There are undefined symbols in '/root/AROS/compile/bin/amiga-m68k/AROS/L/pfs3_aio-handler':
         U memcmp
         U memcpy       directory.c:0
         U memmove      directory.c:0
         U memset       directory.c:0
         U strcasecmp   directory.c:0
         U strcat
         U strchr       dostohandlerinterface.c:0
         U strcmp
         U strcpy       directory.c:0
         U strlen       directory.c:0
         U strncpy      directory.c:0
         U strrchr      directory.c:0
[edit] Fixed by adding stdc.static lib to the binary. Test compilation (GCC 6.1) in the attachment, together with the files I have modified. Seems to work. No MultiUser included yet - not today. Don't ask me which CPU it is compiled for (I will have to find out how to control it) - previously I have compiled AROS some 15 years ago
Attached Files
File Type: 7z testcompilation.tar.7z (67.7 KB, 8 views)

Last edited by Romanujan; 22 December 2016 at 01:42.
Romanujan is offline  
Old 21 December 2016, 22:58   #104
thomas
Registered User
thomas's Avatar
 
Join Date: Jan 2002
Location: Germany
Posts: 5,378
-lc ?
thomas is offline  
AdSense AdSense  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
PFS3 or PFS3 SCSI Direct xalakibaniou project.ClassicWB 105 27 July 2013 23:08
PFS3 why cant i... zharn support.Apps 9 27 January 2013 07:27
Install PFS3 ? Mr B project.ClassicWB 10 19 August 2012 02:15
PFS3 error: INVALID PFS3 COPY !!! WTF? keropi support.Apps 10 18 March 2008 23:30
Pfs3 Hewitson request.Apps 3 22 December 2007 15:32

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 11:08.


Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Page generated in 0.13148 seconds with 12 queries