Partition Manager feedback

General development discussion not covered by a specific forum
User avatar
IanJeffray
Posts: 165
Joined: Mon Jan 18, 2021

Re: Partition Manager feedback

Post by IanJeffray »

JonAbbott wrote: Thu Nov 10, 2022

Code: Select all

SYS "IDEFS_Enumerate",-1 TO A%
PRINT ~A%
Zero. Boo.
JonAbbott
Posts: 3311
Joined: Thu Apr 11, 2013
Location: Essex
Contact:

Re: Partition Manager feedback

Post by JonAbbott »

IanJeffray wrote: Thu Nov 10, 2022 Zero. Boo.
Could you dump the IDEFS Module please. It's being reported as IDEFS 1.30 but given IDEFS_Enumerate failed, its possibly different to the IDEFS 1.30 I have.

EDIT: You may have already given it to me as I do have a Unipod 1.30 - which I'll check for differences.
I'm assuming by "Zero" you mean it errored?

EDIT2: They're identical and it uses IDEFS_Enumerate internally to perform the initial drive scan!
User avatar
IanJeffray
Posts: 165
Joined: Mon Jan 18, 2021

Re: Partition Manager feedback

Post by IanJeffray »

JonAbbott wrote: Thu Nov 10, 2022 I'm assuming by "Zero" you mean it errored?
No. It printed 0. A% was zero. nil. Nada. Zilch.
JonAbbott
Posts: 3311
Joined: Thu Apr 11, 2013
Location: Essex
Contact:

Re: Partition Manager feedback

Post by JonAbbott »

IanJeffray wrote: Thu Nov 10, 2022 It printed 0
In that case please try:

Code: Select all

SYS "IDEFS_Enumerate",0 TO A%
PRINT ~A%
FOR Z%=&10000 TO &11000 STEP 4:!Z%=-1:NEXT
SWI "IDEFS_Enquire",0,&10000
*MEMORY B 10000+200
User avatar
IanJeffray
Posts: 165
Joined: Mon Jan 18, 2021

Re: Partition Manager feedback

Post by IanJeffray »

JonAbbott wrote: Thu Nov 10, 2022
IanJeffray wrote: Thu Nov 10, 2022 It printed 0
In that case please try:

Code: Select all

SYS "IDEFS_Enumerate",0 TO A%
PRINT ~A%
FOR Z%=&10000 TO &11000 STEP 4:!Z%=-1:NEXT
SWI "IDEFS_Enquire",0,&10000
*MEMORY B 10000+200
Fixing SWI/SYS typo, we get:

Code: Select all

  FFFFFFFF

Address  : 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F :            ASCII Data
00010000 : 8A 84 59 F2 00 00 10 00 00 00 00 00 3F 00 BA 03 70 3E 00 00 20 20 20 20 43 20 5A 41 33 30 38 31 : ▒▒Y▒........?.▒.p>..    C ZA3081
00010020 : 30 32 35 31 35 35 38 30 02 00 02 00 04 00 44 48 31 58 2E 36 31 30 44 53 46 43 53 58 30 2D 32 33 : 02515580......DH1X.610DSFCSX0-23
00010040 : 20 47 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 01 80 :  G                            .▒
00010060 : 00 00 00 0F 00 00 00 02 00 00 07 00 59 F2 10 00 3F 00 70 3E BA 03 00 91 70 3E BA 03 00 00 07 00 : ............Y▒..?.p>▒..▒p>▒.....
00010080 : 03 00 78 00 78 00 78 00 78 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 : ..x.x.x.x.......................
000100A0 : 00 00 00 00 29 70 0C 74 00 40 00 00 00 04 00 40 FF 00 00 00 00 00 00 00 00 00 4F 60 00 00 00 00 : ....)p.t.@.....@▒.........O`....
000100C0 : 00 00 00 00 00 00 00 00 70 3E BA 03 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 : ........p>▒.....................
000100E0 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 : ................................
00010100 : 00 00 46 43 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 : ..FC............................
00010120 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 : ................................
00010140 : F4 81 00 00 00 00 92 00 00 00 00 00 00 00 02 61 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 : ▒....▒........a................
00010160 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 : ................................
00010180 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 : ................................
000101A0 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 : ................................
000101C0 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 : ................................
000101E0 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 : ................................
User avatar
IanJeffray
Posts: 165
Joined: Mon Jan 18, 2021

Re: Partition Manager feedback

Post by IanJeffray »

IanJeffray wrote: Thu Nov 10, 2022 I gave this version a spin on my 'main' RiscPC, with Unipod - Simtec IDEFS with 32GB "HyperDisk" DOM.
And ... NADA? Nothing at all in the window.
And I just tried the latest version on my A3010 with Simtec 8bit podule and 8 logical drives... identical nothingness here too ... debug log similarly useless.
JonAbbott
Posts: 3311
Joined: Thu Apr 11, 2013
Location: Essex
Contact:

Re: Partition Manager feedback

Post by JonAbbott »

IanJeffray wrote: Thu Nov 10, 2022 just tried the latest version on my A3010 with Simtec 8bit podule and 8 logical drives... identical nothingness here too ... debug log similarly useless.
Please try the attached on all your Simtec.

What we've learned from all this is the Simtec uses the same partitioning scheme that HCCS uses. I'm not sure which came first though, Simtec at a guess?

Unfortunately, as there's no partition table it means the partitions can't be altered once created. I can allow an additional partition to be added after the last one on the drive, so will have to add some restrictions to the Wimp side to that end.

I'll make a start on writing partitions next.
User avatar
IanJeffray
Posts: 165
Joined: Mon Jan 18, 2021

Re: Partition Manager feedback

Post by IanJeffray »

JonAbbott wrote: Fri Nov 11, 2022 Please try the attached on all your Simtec.
Well I still say it looks like it's gone wrong for the ADFS. I understand your stance that you're displaying more of the ground truth on the drive, but showing an active 16GB partition with 'Reserved' 16GB partition inside it just seems like confusion to me.

On the A3010, it's improved - but only one partition appears:
a3010.png
a3010.png (6.93 KiB) Viewed 20582 times

Code: Select all

PartMgr v0.90 11/11/22 DEBUG
OS Version=311
ADFS found
IDEFS found
BASIC END=43FF8

read_drives
===========

IDEFS
-----
IDEFS detected as Simtec v111
Potentially 4 physical drives
DiscOp 3/IDENTIFY response:
Word   :    0    1    2    3    4    5    6    7    8    9
000000 : 044A 1E8A 0000 0010 7E00 0200 003F 0078 3F60 0000   J...........?.x.`?..
000010 : 3633 3943 3037 3239 3036 3030 3030 3234 3638 3739   36C97092600000428697
000020 : 0002 0002 0004 5665 7232 2E33 3520 4346 2043 6172   ......eV2r3. 5FCC ra
000030 : 6420 2020 2020 2020 2020 2020 2020 2020 2020 2020    d                  
000040 : 2020 2020 2020 2020 2020 2020 2020 0001 0000 0B00                 ......
000050 : 0000 0200 0000 0007 1E8A 0010 003F 3F60 0078 0101   ............?.`?x...
000060 : 3F60 0078 0000 0407 0003 0078 0078 0078 0078 0000   `?x.......x.x.x.x...
000070 : 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000   ....................
000080 : 0000 0000 7003 5004 4000 7000 1004 4000 003F 001E   [email protected]...@?...
000090 : 001E 0000 FFFE 0000 0000 0000 0000 0000 0000 0000   ....................
000100 : 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000   ....................
000110 : 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000   ....................
000120 : 0000 0000 0000 0000 0000 0000 0000 0000 0021 0000   ................!...
000130 : 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000   ....................
000140 : 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000   ....................
000150 : 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000   ....................
000160 : 1000 0000 0000 0092 0000 0000 0000 0000 0000 0000   ....................
000170 : 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000   ....................
000180 : 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000   ....................
000190 : 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000   ....................
000200 : 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000   ....................
000210 : 0000 0000 0000 0000 0000 0000 0000 0001 0000 0000   ....................
000220 : 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000   ....................
000230 : 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000   ....................
000240 : 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000   ....................
000250 : 0000 0000 0000 0000 0000 CDA5                       ............

Magnetic media drive
Drive supports LBA addressing
Physical drive is IDEFS 0
LBA Size    =512
Size in LBA =&000783F60
D_Removable%=0

add_partitions_IDEFS
====================
 discop_Simtec(0,1,&6,&0,..,&200)
 discop_Simtec(0,1,&6,&0,..,&200)

Boot DiscRec:
Address :  0  1  2  3  4  5  6  7  8  9  A  B  C  D  E  F
&000000 : 09 FF FF 00 0F 0A 00 02 01 7E 20 00 FD 02 00 00   .......... .....
&000010 : 00 00 30 1F 00 00 53 59 53 34 0D 00 00 00 00 00   ..0...SYS4......
&000020 : CD 0F 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
&000030 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 4E   ...............N

Full DiscRec is in Zone 63 at LBA &7CC80
LBA size in bits=4096 Log2=9
Zone spare bits=32
DiscRec size in bits=480
Log2 bytes per map bit=10

 discop_Simtec(0,1,&7CC80,&0,..,&40)

Full DiscRec:
Address :  0  1  2  3  4  5  6  7  8  9  A  B  C  D  E  F
&000000 : 59 00 80 0E 09 FF FF 00 0F 0A 00 02 01 7E 20 00   Y............. .
&000010 : FD 02 00 00 00 00 30 1F 3D 00 41 33 30 31 30 20   ......0.=.A3010 
&000020 : 20 20 20 20 CD 0F 00 00 00 00 00 00 00 00 00 00       ............
&000030 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................

Searching for mounted drive IDEFS::A3010
Matching FileCore disc found as IDEFS::4
OS_FSControl 55 failed, trying 49
Free=&002814000
OS Size in LBA=&0000F9800
 discop_Simtec(0,1,&F9806,&0,..,&200)
 discop_Simtec(0,1,&F9806,&0,..,&200)

Boot DiscRec:
Address :  0  1  2  3  4  5  6  7  8  9  A  B  C  D  E  F
&000000 : 09 FF FF 00 0F 0A 00 00 01 7E 20 00 FD 02 00 00   .......... .....
&000010 : 00 00 30 1F 00 00 41 70 70 73 35 0D 00 00 00 00   ..0...Apps5.....
&000020 : CD 0F 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
&000030 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 E2   ................

Full DiscRec is in Zone 63 at LBA &7CC80
LBA size in bits=4096 Log2=9
Zone spare bits=32
DiscRec size in bits=480
Log2 bytes per map bit=10

 discop_Simtec(0,1,&176480,&0,..,&40)

Full DiscRec:
Address :  0  1  2  3  4  5  6  7  8  9  A  B  C  D  E  F
&000000 : 9D 00 80 02 09 FF FF 00 0F 0A 00 00 01 7E 20 00   .............. .
&000010 : FD 02 00 00 00 00 30 1F 06 00 49 44 45 5F 35 20   ......0...IDE_5 
&000020 : 20 20 20 20 CD 0F 00 00 00 00 00 00 00 00 00 00       ............
&000030 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................

Searching for mounted drive IDEFS::IDE_5
Matching FileCore disc found as IDEFS::5
OS_FSControl 55 failed, trying 49
Free=&001770400
OS Size in LBA=&0000F9800
 discop_Simtec(0,1,&1F3006,&0,..,&200)
 discop_Simtec(0,1,&1F3006,&0,..,&200)

Boot DiscRec:
Address :  0  1  2  3  4  5  6  7  8  9  A  B  C  D  E  F
&000000 : 09 FF FF 00 0F 0A 00 00 01 7E 20 00 FD 02 00 00   .......... .....
&000010 : 00 00 30 1F 00 00 41 70 70 73 36 0D 00 00 00 00   ..0...Apps6.....
&000020 : CD 0F 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
&000030 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 E3   ................

Full DiscRec is in Zone 63 at LBA &7CC80
LBA size in bits=4096 Log2=9
Zone spare bits=32
DiscRec size in bits=480
Log2 bytes per map bit=10

 discop_Simtec(0,1,&26FC80,&0,..,&40)

Full DiscRec:
Address :  0  1  2  3  4  5  6  7  8  9  A  B  C  D  E  F
&000000 : 83 00 80 01 09 FF FF 00 0F 0A 00 00 01 7E 20 00   .............. .
&000010 : FD 02 00 00 00 00 30 1F 04 00 49 44 45 5F 36 20   ......0...IDE_6 
&000020 : 20 20 20 20 CD 0F 00 00 00 00 00 00 00 00 00 00       ............
&000030 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................

Searching for mounted drive IDEFS::IDE_6
Matching FileCore disc found as IDEFS::6
OS_FSControl 55 failed, trying 49
Free=&001312C00
OS Size in LBA=&0000F9800
 discop_Simtec(0,1,&2EC806,&0,..,&200)
 discop_Simtec(0,1,&2EC806,&0,..,&200)

Boot DiscRec:
Address :  0  1  2  3  4  5  6  7  8  9  A  B  C  D  E  F
&000000 : 09 FF FF 00 0F 0A 00 00 01 7E 20 00 FD 02 00 00   .......... .....
&000010 : 00 00 30 1F 00 00 47 61 6D 65 73 37 0D 00 00 00   ..0...Games7....
&000020 : CD 0F 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
&000030 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 3E   ...............>

Full DiscRec is in Zone 63 at LBA &7CC80
LBA size in bits=4096 Log2=9
Zone spare bits=32
DiscRec size in bits=480
Log2 bytes per map bit=10

 discop_Simtec(0,1,&369480,&0,..,&40)

Full DiscRec:
Address :  0  1  2  3  4  5  6  7  8  9  A  B  C  D  E  F
&000000 : A3 00 80 08 09 FF FF 00 0F 0A 00 00 01 7E 20 00   .............. .
&000010 : FD 02 00 00 00 00 30 1F 18 00 49 44 45 5F 37 20   ......0...IDE_7 
&000020 : 20 20 20 20 CD 0F 00 00 00 00 00 00 00 00 00 00       ............
&000030 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................

Searching for mounted drive IDEFS::IDE_7
Matching FileCore disc found as IDEFS::7
OS_FSControl 55 failed, trying 49
Free=&003811400
OS Size in LBA=&0000F9800
 discop_Simtec(0,1,&3E6006,&0,..,&200)
 discop_Simtec(0,1,&3E6006,&0,..,&200)

Boot DiscRec:
Address :  0  1  2  3  4  5  6  7  8  9  A  B  C  D  E  F
&000000 : 09 FF FF 00 0F 0A 00 00 01 7E 20 00 FD 02 00 00   .......... .....
&000010 : 00 00 30 1F 00 00 47 61 6D 65 73 38 0D 00 00 00   ..0...Games8....
&000020 : CD 0F 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
&000030 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 3F   ...............?

Full DiscRec is in Zone 63 at LBA &7CC80
LBA size in bits=4096 Log2=9
Zone spare bits=32
DiscRec size in bits=480
Log2 bytes per map bit=10

 discop_Simtec(0,1,&462C80,&0,..,&40)

Full DiscRec:
Address :  0  1  2  3  4  5  6  7  8  9  A  B  C  D  E  F
&000000 : BB 08 82 01 09 FF FF 00 0F 0A 00 00 01 7E 20 00   .............. .
&000010 : FD 02 00 00 00 00 30 1F 05 00 49 44 45 5F 30 20   ......0...IDE_0 
&000020 : 20 20 20 20 CD 0F 00 00 00 00 00 00 00 00 00 00       ............
&000030 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................

Searching for mounted drive IDEFS::IDE_0
Matching FileCore disc found as IDEFS::0
OS_FSControl 55 failed, trying 49
Free=&00301A000
OS Size in LBA=&0000F9800
 discop_Simtec(0,1,&4DF806,&0,..,&200)
 discop_Simtec(0,1,&4DF806,&0,..,&200)

Boot DiscRec:
Address :  0  1  2  3  4  5  6  7  8  9  A  B  C  D  E  F
&000000 : 09 FF FF 00 0F 0A 00 00 01 7E 20 00 FD 02 00 00   .......... .....
&000010 : 00 00 30 1F 00 00 44 54 50 39 0D 00 00 00 00 00   ..0...DTP9......
&000020 : CD 0F 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
&000030 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 3A   ...............:

Full DiscRec is in Zone 63 at LBA &7CC80
LBA size in bits=4096 Log2=9
Zone spare bits=32
DiscRec size in bits=480
Log2 bytes per map bit=10

 discop_Simtec(0,1,&55C480,&0,..,&40)

Full DiscRec:
Address :  0  1  2  3  4  5  6  7  8  9  A  B  C  D  E  F
&000000 : 80 00 80 02 09 FF FF 00 0F 0A 00 00 01 7E 20 00   .............. .
&000010 : FD 02 00 00 00 00 30 1F 05 00 49 44 45 5F 31 20   ......0...IDE_1 
&000020 : 20 20 20 20 CD 0F 00 00 00 00 00 00 00 00 00 00       ............
&000030 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................

Searching for mounted drive IDEFS::IDE_1
Matching FileCore disc found as IDEFS::1
OS_FSControl 55 failed, trying 49
Free=&00D883000
OS Size in LBA=&0000F9800
 discop_Simtec(0,1,&5D9006,&0,..,&200)
 discop_Simtec(0,1,&5D9006,&0,..,&200)

Boot DiscRec:
Address :  0  1  2  3  4  5  6  7  8  9  A  B  C  D  E  F
&000000 : 09 FF FF 00 0F 0A 00 00 01 7E 20 00 FD 02 00 00   .......... .....
&000010 : 00 00 30 1F 00 00 53 4E 44 4D 55 53 31 30 0D 00   ..0...SNDMUS10..
&000020 : CD 0F 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
&000030 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55   ...............U

Full DiscRec is in Zone 63 at LBA &7CC80
LBA size in bits=4096 Log2=9
Zone spare bits=32
DiscRec size in bits=480
Log2 bytes per map bit=10

 discop_Simtec(0,1,&655C80,&0,..,&40)

Full DiscRec:
Address :  0  1  2  3  4  5  6  7  8  9  A  B  C  D  E  F
&000000 : B9 08 82 01 09 FF FF 00 0F 0A 00 00 01 7E 20 00   .............. .
&000010 : FD 02 00 00 00 00 30 1F 05 00 49 44 45 5F 32 20   ......0...IDE_2 
&000020 : 20 20 20 20 CD 0F 00 00 00 00 00 00 00 00 00 00       ............
&000030 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................

Searching for mounted drive IDEFS::IDE_2
Matching FileCore disc found as IDEFS::2
OS_FSControl 55 failed, trying 49
Free=&0046DA800
OS Size in LBA=&0000F9800
 discop_Simtec(0,1,&6D2806,&0,..,&200)
 discop_Simtec(0,1,&6D2806,&0,..,&200)

Boot DiscRec:
Address :  0  1  2  3  4  5  6  7  8  9  A  B  C  D  E  F
&000000 : 09 FF FF 00 0F 0A 00 00 01 5A 20 00 B5 02 00 00   .........Z .....
&000010 : 00 C0 2E 16 00 00 4D 49 53 43 31 31 0D 00 00 00   ......MISC11....
&000020 : CD 0F 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
&000030 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 F0   ................

Full DiscRec is in Zone 45 at LBA &59100
LBA size in bits=4096 Log2=9
Zone spare bits=32
DiscRec size in bits=480
Log2 bytes per map bit=10

 discop_Simtec(0,1,&72B900,&0,..,&40)

Full DiscRec:
Address :  0  1  2  3  4  5  6  7  8  9  A  B  C  D  E  F
&000000 : 40 00 80 01 09 FF FF 00 0F 0A 00 00 01 5A 20 00   @............Z .
&000010 : B5 02 00 00 00 C0 2E 16 04 00 49 44 45 5F 33 20   ..........IDE_3 
&000020 : 20 20 20 20 CD 0F 00 00 00 00 00 00 00 00 00 00       ............
&000030 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................

Searching for mounted drive IDEFS::IDE_3
Matching FileCore disc found as IDEFS::3
OS_FSControl 55 failed, trying 49
Free=&00145C000
OS Size in LBA=&0000B1760
 discop_Simtec(0,1,&783F66,&0,..,&200)
unpartitioned, trying for a full FileCore

add_partitions_FileCore
=======================
 discop_Simtec(0,1,&6,&0,..,&200)

Boot DiscRec:
Address :  0  1  2  3  4  5  6  7  8  9  A  B  C  D  E  F
&000000 : 09 FF FF 00 0F 0A 00 02 01 7E 20 00 FD 02 00 00   .......... .....
&000010 : 00 00 30 1F 00 00 53 59 53 34 0D 00 00 00 00 00   ..0...SYS4......
&000020 : CD 0F 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
&000030 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 4E   ...............N

Full DiscRec is in Zone 63 at LBA &7CC80
LBA size in bits=4096 Log2=9
Zone spare bits=32
DiscRec size in bits=480
Log2 bytes per map bit=10

 discop_Simtec(0,1,&7CC80,&0,..,&40)

Full DiscRec:
Address :  0  1  2  3  4  5  6  7  8  9  A  B  C  D  E  F
&000000 : 59 00 80 0E 09 FF FF 00 0F 0A 00 02 01 7E 20 00   Y............. .
&000010 : FD 02 00 00 00 00 30 1F 3D 00 41 33 30 31 30 20   ......0.=.A3010 
&000020 : 20 20 20 20 CD 0F 00 00 00 00 00 00 00 00 00 00       ............
&000030 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................

Searching for mounted drive IDEFS::A3010
Matching FileCore disc found as IDEFS::4
OS_FSControl 55 failed, trying 49
Free=&002814000
OS Size in LBA=&0000F9800
BASIC END=450C4

On the RiscPC with Unipod, there's only one partition anyway -- but it doesn't look right:
rpc-unipod.png
rpc-unipod.png (14.7 KiB) Viewed 20582 times

Code: Select all

PartMgr v0.90 11/11/22 DEBUG
OS Version=439
ADFS found
CDFS found
IDEFS found
BASIC END=452C8

read_drives
===========

CDFS
----
CDFS::0 found

IDEFS
-----
IDEFS detected as Simtec v130
Potentially 4 physical drives
DiscOp 3/IDENTIFY response:
Word   :    0    1    2    3    4    5    6    7    8    9
000000 : 848A F259 0000 0010 0000 0000 003F 03BA 3E70 0000   ..Y.........?...p>..
000010 : 2020 2020 2043 415A 3033 3138 3230 3135 3535 3038       C ZA308102515580
000020 : 0002 0002 0004 4844 5831 362E 3031 5344 4346 5853   ......DH1X.610DSFCSX
000030 : 2D30 3332 4720 2020 2020 2020 2020 2020 2020 2020   0-23 G              
000040 : 2020 2020 2020 2020 2020 2020 2020 8001 0000 0F00                 ......
000050 : 0000 0200 0000 0007 F259 0010 003F 3E70 03BA 9100   ........Y...?.p>....
000060 : 3E70 03BA 0000 0007 0003 0078 0078 0078 0078 0000   p>........x.x.x.x...
000070 : 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000   ....................
000080 : 0000 0000 7029 740C 4000 0000 0400 4000 00FF 0000   ....)p.t.@.....@....
000090 : 0000 0000 0000 604F 0000 0000 0000 0000 0000 0000   ......O`............
000100 : 3E70 03BA 0000 0000 0000 0000 0000 0000 0000 0000   p>..................
000110 : 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000   ....................
000120 : 0000 0000 0000 0000 0000 0000 0000 0000 0000 4346   ..................FC
000130 : 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000   ....................
000140 : 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000   ....................
000150 : 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000   ....................
000160 : 81F4 0000 0000 0092 0000 0000 0000 6102 0000 0000   ...............a....
000170 : 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000   ....................
000180 : 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000   ....................
000190 : 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000   ....................
000200 : 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000   ....................
000210 : 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000   ....................
000220 : 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000   ....................
000230 : 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000   ....................
000240 : 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000   ....................
000250 : 0000 0000 0000 0000 0000 0000                       ............

Flash based drive
Drive supports LBA addressing
Physical drive is IDEFS 0
LBA Size    =512
Size in LBA =&003BA3E70
D_Removable%=-1

add_partitions_IDEFS
====================
 discop_Simtec(0,1,&6,&0,..,&200)
 discop_Simtec(0,1,&6,&0,..,&200)

Boot DiscRec:
Address :  0  1  2  3  4  5  6  7  8  9  A  B  C  D  E  F
&000000 : 09 FF FF 00 12 0D 00 02 01 C1 20 00 01 60 8F 01   .......... ..`..
&000010 : 00 00 70 72 00 00 52 69 73 63 50 43 0D 00 00 00   ..pr..RiscPC....
&000020 : CD 0F 00 00 07 00 00 00 01 01 03 00 01 00 00 00   ................
&000030 : 00 08 00 00 00 00 00 00 00 38 B9 03 42 FF FF 9B   .........8..B...

 discop_Simtec(0,1,&393806,&0,..,&200)

Unallocated block
-----------------
P_Start_LBA_Low%=&393800
P_Start_LBA_High%=&0
P_Size_In_LBA_Low%=&3810670
P_Size_In_LBA_High%=&0

BASIC END=4622C
JonAbbott
Posts: 3311
Joined: Thu Apr 11, 2013
Location: Essex
Contact:

Re: Partition Manager feedback

Post by JonAbbott »

IanJeffray wrote: Fri Nov 11, 2022 On the A3010, it's improved - but only one partition appears:
I think the final read went beyond what the Simtec can address, so I've added some bounding checks.
IanJeffray wrote: Fri Nov 11, 2022 On the RiscPC with Unipod, there's only one partition anyway -- but it doesn't look right:
It looks like the discop failed when it tried to read the middle FileCore Zone. I've added some debug output if the discop fails and have also altered the drive ID parameter that's passed to IDEFS_XferData to mirror what IDETool does - it OR's 1<<24 to the drive ID but its not clear why as it's stripped on entry to IDEFS_XferData.
User avatar
IanJeffray
Posts: 165
Joined: Mon Jan 18, 2021

Re: Partition Manager feedback

Post by IanJeffray »

JonAbbott wrote: Fri Nov 11, 2022 It looks like the discop failed when it tried to read the middle FileCore Zone. I've added some debug output if the discop fails and have also altered the drive ID parameter that's passed to IDEFS_XferData to mirror what IDETool does - it OR's 1<<24 to the drive ID but its not clear why as it's stripped on entry to IDEFS_XferData.

Please try the attached.
No apparent change in behaviour with Unipod...

Code: Select all

PartMgr v0.90 11/11/22 DEBUG
OS Version=439
ADFS found
CDFS found
IDEFS found
BASIC END=45438

read_drives
===========

CDFS
----
CDFS::0 found

IDEFS
-----
IDEFS detected as Simtec v130
Potentially 4 physical drives
DiscOp 3/IDENTIFY response:
Word   :    0    1    2    3    4    5    6    7    8    9
000000 : 848A F259 0000 0010 0000 0000 003F 03BA 3E70 0000   ..Y.........?...p>..
000010 : 2020 2020 2043 415A 3033 3138 3230 3135 3535 3038       C ZA308102515580
000020 : 0002 0002 0004 4844 5831 362E 3031 5344 4346 5853   ......DH1X.610DSFCSX
000030 : 2D30 3332 4720 2020 2020 2020 2020 2020 2020 2020   0-23 G              
000040 : 2020 2020 2020 2020 2020 2020 2020 8001 0000 0F00                 ......
000050 : 0000 0200 0000 0007 F259 0010 003F 3E70 03BA 9100   ........Y...?.p>....
000060 : 3E70 03BA 0000 0007 0003 0078 0078 0078 0078 0000   p>........x.x.x.x...
000070 : 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000   ....................
000080 : 0000 0000 7029 740C 4000 0000 0400 4000 00FF 0000   ....)p.t.@.....@....
000090 : 0000 0000 0000 604F 0000 0000 0000 0000 0000 0000   ......O`............
000100 : 3E70 03BA 0000 0000 0000 0000 0000 0000 0000 0000   p>..................
000110 : 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000   ....................
000120 : 0000 0000 0000 0000 0000 0000 0000 0000 0000 4346   ..................FC
000130 : 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000   ....................
000140 : 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000   ....................
000150 : 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000   ....................
000160 : 81F4 0000 0000 0092 0000 0000 0000 6102 0000 0000   ...............a....
000170 : 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000   ....................
000180 : 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000   ....................
000190 : 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000   ....................
000200 : 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000   ....................
000210 : 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000   ....................
000220 : 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000   ....................
000230 : 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000   ....................
000240 : 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000   ....................
000250 : 0000 0000 0000 0000 0000 0000                       ............

Flash based drive
Drive supports LBA addressing
Physical drive is IDEFS 0
LBA Size    =512
Size in LBA =&003BA3E70
D_Removable%=-1

add_partitions_IDEFS
====================
 discop_Simtec(0,1,&6,&0,..,&200)
 discop_Simtec(0,1,&6,&0,..,&200)

Boot DiscRec:
Address :  0  1  2  3  4  5  6  7  8  9  A  B  C  D  E  F
&000000 : 09 FF FF 00 12 0D 00 02 01 C1 20 00 01 60 8F 01   .......... ..`..
&000010 : 00 00 70 72 00 00 52 69 73 63 50 43 0D 00 00 00   ..pr..RiscPC....
&000020 : CD 0F 00 00 07 00 00 00 01 01 03 00 01 00 00 00   ................
&000030 : 00 08 00 00 00 00 00 00 00 38 B9 03 42 FF FF 9B   .........8..B...

 discop_Simtec(0,1,&393806,&0,..,&200)

Unallocated block
-----------------
P_Start_LBA_Low%=&393800
P_Start_LBA_High%=&0
P_Size_In_LBA_Low%=&3810670
P_Size_In_LBA_High%=&0

BASIC END=4639C
Last edited by IanJeffray on Fri Nov 11, 2022, edited 1 time in total.
Post Reply