Partition Manager feedback

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

Re: Partition Manager feedback

Post by IanJeffray »

JonAbbott wrote: Fri Nov 11, 2022 12:42 pm
IanJeffray wrote: Fri Nov 11, 2022 11:42 am 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.
Looks good now. Yes, the last partition really is a bit smaller. Still need to allow an increased window width!
a3010.png
a3010.png (9.64 KiB) Viewed 4977 times

Code: Select all

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

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   .....p.P.@.p...@?...
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 : 5E 00 80 0E 09 FF FF 00 0F 0A 00 02 01 7E 20 00   ^............. .
&000010 : FD 02 00 00 00 00 30 1F 3E 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=&002810000
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
BASIC END=45234
JonAbbott
Posts: 3132
Joined: Thu Apr 11, 2013 12:13 pm
Location: Essex
Contact:

Re: Partition Manager feedback

Post by JonAbbott »

IanJeffray wrote: Fri Nov 11, 2022 7:48 pm No apparent change in behaviour with Unipod...
Try the attached.

It's failing to validate the FileCore area because it has a boot DiscRec that doesn't quite comply with the FileCore documentation. I've turned some of the validation off for Simtec drives.
User avatar
IanJeffray
Posts: 163
Joined: Mon Jan 18, 2021 1:51 pm

Re: Partition Manager feedback

Post by IanJeffray »

JonAbbott wrote: Fri Nov 11, 2022 11:30 pm
IanJeffray wrote: Fri Nov 11, 2022 7:48 pm No apparent change in behaviour with Unipod...
Try the attached.

It's failing to validate the FileCore area because it has a boot DiscRec that doesn't quite comply with the FileCore documentation. I've turned some of the validation off for Simtec drives.
That disc was formatted with the exact same version of IDETool as the test one in the other machine (with the two 50MB partitions).

This latest iteration is slightly improved but still got the capacity wrong:
unipod.png
unipod.png (33.14 KiB) Viewed 4971 times

Code: Select all

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

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...

                                              ^^ ^^ ^^
Non-ADFS partition found at cylinder &FFFF / LBA &FEFF01 type 2

 discop_Simtec(0,1,&FEFF01,&0,..,&200)
Address :        0        4        8        C
&000000 : 00000000 00000000 00000000 00000000   ................
&000010 : 00000000 00000000 00000000 00000000   ................
&000020 : 00000000 00000000 00000000 00000000   ................
&000030 : 00000000 00000000 00000000 00000000   ................
&000040 : 00000000 00000000 00000000 00000000   ................
&000050 : 00000000 00000000 00000000 00000000   ................
&000060 : 00000000 00000000 00000000 00000000   ................
&000070 : 00000000 00000000 00000000 00000000   ................
&000080 : 00000000 00000000 00000000 00000000   ................
&000090 : 00000000 00000000 00000000 00000000   ................
&0000A0 : 00000000 00000000 00000000 00000000   ................

Invalid RISC iX partition table

Full DiscRec is in Zone 480 at LBA &1DC2200
LBA size in bits=4096 Log2=9
Zone spare bits=32
DiscRec size in bits=480
Log2 bytes per map bit=13

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

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

Searching for mounted drive IDEFS::RiscPC
Matching FileCore disc found as IDEFS::4
Free=&165916000
OS Size in LBA=&003B93800
 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=465D4
JonAbbott
Posts: 3132
Joined: Thu Apr 11, 2013 12:13 pm
Location: Essex
Contact:

Re: Partition Manager feedback

Post by JonAbbott »

IanJeffray wrote: Fri Nov 11, 2022 11:37 pm That disc was formatted with the exact same version of IDETool as the test one in the other machine (with the two 50MB partitions).

This latest iteration is slightly improved but still got the capacity wrong:
There's a subtle difference in the Boot DiscRec between the test drive with the two 50MB partitions and the 32GB drive:
Image

Code: Select all

Boot DiscRec:
Address :  0  1  2  3  4  5  6  7  8  9  A  B  C  D  E  F
&000000 : 09 3F 10 00 0F 0A 00 00 01 0D 20 00 1B 02 00 00   .?........ .....
&000010 : 00 00 20 03 00 00 4F 6E 65 0D 00 00 00 00 00 00   .. ...One.......
&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 42 CB 00 18   ............B...
                                  ^^ ^^ ^^ ^^
The word I've highlighted at 38 is 0, which matches the FileCore documentation as its a reserved word. The word after should only contain the checksum byte @ 3F (18) as 3C/3D/3E define the non-ADFS partition start cylinder.

On the 32GB however..

Code: Select all

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...
                                  ^^ ^^ ^^ ^^
..it has the partition size at 38. I'm not sure why they're different if you used the same !IDEtool on both drives. I'm also wondering if the value at 38 is the partition size I should be using if its set.

Try the attached. I've removed the check for non-ADFS partitions on Simtec to avoid a potential misdetection and rewritten the partition trawler to support OS partitions >2GB.
User avatar
IanJeffray
Posts: 163
Joined: Mon Jan 18, 2021 1:51 pm

Re: Partition Manager feedback

Post by IanJeffray »

JonAbbott wrote: Sat Nov 12, 2022 11:07 am I'm also wondering if the value at 38 is the partition size I should be using if its set.
Maybe it only gets set for things > 512MB or something like that? This is the only machine we've tried that has a 3.5+-only partition size on Simtec. I'll try some bigger partitions on the "two 50MB partitions" machine.

Anyway, today's version of version 0.90 is no improvement. Zero MB now on Unipod?
unipod.png
unipod.png (28.29 KiB) Viewed 4953 times

Code: Select all

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

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
====================
IDEFS discop_Simtec(0,1,&6,&0,..,&200)
IDEFS 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...

Full DiscRec is in Zone 480 at LBA &1DC2200
LBA size in bits=4096 Log2=9
Zone spare bits=32
DiscRec size in bits=480
Log2 bytes per map bit=13

IDEFS discop_Simtec(0,1,&1DC2200,&0,..,&40)

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

Searching for mounted drive IDEFS::RiscPC
Matching FileCore disc found as IDEFS::4
Free=&165916000
OS Size in LBA=&003B93800
IDEFS discop_Simtec(0,1,&3B93806,&0,..,&200)

Unallocated block
-----------------
P_Start_LBA_Low%=&3B93800
P_Start_LBA_High%=&0
P_Size_In_LBA_Low%=&10670
P_Size_In_LBA_High%=&0

BASIC END=46614
User avatar
IanJeffray
Posts: 163
Joined: Mon Jan 18, 2021 1:51 pm

Re: Partition Manager feedback

Post by IanJeffray »

Definite regression with today's version of version 0.90. I'd created two more partitions on the test machine, which looked ok with yesterday's build...
090_11_11.png
090_11_11.png (17.97 KiB) Viewed 4950 times
But today's version ... uh oh ... sizes all zero....
090_12_11.png
090_12_11.png (16.26 KiB) Viewed 4950 times
(The unallocated space is correct BTW)
JonAbbott
Posts: 3132
Joined: Thu Apr 11, 2013 12:13 pm
Location: Essex
Contact:

Re: Partition Manager feedback

Post by JonAbbott »

IanJeffray wrote: Sat Nov 12, 2022 12:24 pm But today's version ... uh oh ... sizes all zero....
In my rewrite I managed to delete the line that sets the partition size.
User avatar
IanJeffray
Posts: 163
Joined: Mon Jan 18, 2021 1:51 pm

Re: Partition Manager feedback

Post by IanJeffray »

JonAbbott wrote: Sat Nov 12, 2022 2:08 pm Try the attached.
Looks good on both Unipod and test Simtec podule machine. I added a 5th partition - seems fine.
five.png
five.png (30.01 KiB) Viewed 4917 times
JonAbbott
Posts: 3132
Joined: Thu Apr 11, 2013 12:13 pm
Location: Essex
Contact:

Re: Partition Manager feedback

Post by JonAbbott »

IanJeffray wrote: Sat Nov 12, 2022 6:53 pm Looks good on both Unipod and test Simtec podule machine. I added a 5th partition - seems fine.
Got there in the end. I'll add formatting/partitioning on Simtec next, then window resizing.
JonAbbott
Posts: 3132
Joined: Thu Apr 11, 2013 12:13 pm
Location: Essex
Contact:

Re: Partition Manager feedback

Post by JonAbbott »

IanJeffray wrote: Sat Nov 12, 2022 6:53 pm Looks good on both Unipod and test Simtec podule machine. I added a 5th partition - seems fine.
Could you upload a debug log from the attached against a Simtec please.

Having tried formatting partitions on my HCCS, there's more to their partition detection than simply checking for "andy" in the boot block. I need to compare a Simtec against an HCCS to see what they're putting at 1B4-1BC, so have added some additional debug output.
Post Reply