Yes, that test is for the Simtec.
Partition Manager feedback
Re: Partition Manager feedback
- IanJeffray
- Posts: 163
- Joined: Mon Jan 18, 2021 1:51 pm
Re: Partition Manager feedback
Ok. Swap the "SWI"s for "SYS" and it runs

Code: Select all
*test
2
Address : 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F : ASCII Data
00010000 : 4A 04 FF 3F 37 C8 0F 00 00 00 00 00 3F 00 D1 01 : J.ÿ?7È......?.Ñ.
00010010 : 00 C0 00 00 30 32 39 31 30 30 30 30 31 38 39 30 : .À..029100001890
00010020 : 20 20 20 20 20 20 20 20 02 00 02 00 00 00 30 32 : ......02
00010030 : 35 31 38 30 37 30 59 48 45 50 44 52 53 49 20 4B : 518070YHEPDRSI K
00010040 : 53 20 44 53 20 20 20 20 20 20 20 20 20 20 20 20 : S DS
00010050 : 20 20 20 20 20 20 20 20 20 20 20 20 20 20 01 80 : .€
00010060 : 00 00 00 0F 00 40 00 02 00 00 07 00 FF 3F 0F 00 : .....@......ÿ?..
00010070 : 3F 00 4F 3C EC 00 00 01 00 C0 D1 01 00 00 07 04 : ?.O<ì....ÀÑ.....
00010080 : 03 00 78 00 78 00 78 00 78 00 00 00 00 00 00 00 : ..x.x.x.x.......
00010090 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 : ................
000100A0 : FC 03 00 00 29 70 00 74 00 40 09 70 00 04 00 40 : ü...)p.t.@.p...@
000100B0 : 7F 00 00 00 00 00 00 00 00 00 4F 60 00 00 00 00 : ..........O`....
000100C0 : 00 00 00 00 00 00 00 00 00 C0 D1 01 00 00 00 00 : .........ÀÑ.....
000100D0 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 : ................
000100E0 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 : ................
000100F0 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 : ................
Address : 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F : ASCII Data
00010100 : 00 00 59 48 45 50 44 52 53 49 20 4B 53 20 44 53 : ..YHEPDRSI KS DS
00010110 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 : ................
00010120 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 : ................
00010130 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 : ................
00010140 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 : ................
00010150 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 : ................
00010160 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 : ................
00010170 : 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 : ................
00010190 : 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 : ................
000101B0 : 00 00 01 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 : ................
000101D0 : 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 : ................
000101F0 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 A5 D6 : ..............¥Ö
FFFFFFFF
*

Re: Partition Manager feedback
I'm hoping the attached will detect which drives are valid on the APDL to avoid the lock - you should see the drive(s) and partitions. It should also detect the drives on the Simtec, although currently won't show any partition information.
- IanJeffray
- Posts: 163
- Joined: Mon Jan 18, 2021 1:51 pm
Re: Partition Manager feedback
Simtec (A480) says "Number too big in "Formats.Filecore" at line 95".
debug.txt :
Code: Select all
PartMgr v0.90 30/10/22 DEBUG
OS Version=310
ADFS found
IDEFS found
BASIC END=43558
read_drives
===========
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 : 044A 3FFF C837 000F 0000 0000 003F 01D1 C000 0000 J..?7.......?.......
000010 : 3230 3139 3030 3030 3831 3039 2020 2020 2020 2020 029100001890
000020 : 0002 0002 0000 3230 3135 3038 3037 4859 5045 5244 ......02518070YHEPDR
000030 : 4953 4B20 2053 5344 2020 2020 2020 2020 2020 2020 SI KS DS
000040 : 2020 2020 2020 2020 2020 2020 2020 8001 0000 0F00 ......
000050 : 4000 0200 0000 0007 3FFF 000F 003F 3C4F 00EC 0100 .@.......?..?.O<....
000060 : C000 01D1 0000 0407 0003 0078 0078 0078 0078 0000 ..........x.x.x.x...
000070 : 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 ....................
000080 : 03FC 0000 7029 7400 4000 7009 0400 4000 007F 0000 ....)p.t.@.p...@....
000090 : 0000 0000 0000 604F 0000 0000 0000 0000 0000 0000 ......O`............
000100 : C000 01D1 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 0000 4859 ..................YH
000130 : 5045 5244 4953 4B20 2053 5344 0000 0000 0000 0000 EPDRSI KS DS........
000140 : 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 ....................
000150 : 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 ....................
000160 : 0000 0000 0000 0000 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 D6A5 ............
Magnetic media drive
Drive supports LBA addressing
Physical drive is IDEFS 2
LBA Size =512
Size in LBA =&001D1C000
D_Removable%=0
add_partitions_IDEFS
====================
unpartitioned, trying for a full FileCore
add_partitions_FileCore
=======================
IDEFS discop(0,1,&6,&0,..,&200)
IDEFS_SectorDiscOp,,1,&40000006,..,&200
IDEFS_SectorOp,,1,&40000006,..,&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 34 38 30 5F 32 0D 00 00 00 ..0...A480_2....
&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 C0 7C 00 42 FF FF 07 ............B...
Error: Number too big in "Formats.FileCore" at line 95
Re: Partition Manager feedback
255 heads (@ +2) and 255 sectors (@ +1), with a non-ADFS partition of &42 (@ +3C) at cylinder &FFFF (@ +3D/3E) - no wonder it errored, the Boot DiscRec isn't valid (or the Simtec is using it for partition information?)IanJeffray wrote: ↑Sun Oct 30, 2022 4:24 pmCode: 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 0F 0A 00 00 01 7E 20 00 FD 02 00 00 .......... ..... &000010 : 00 00 30 1F 00 00 41 34 38 30 5F 32 0D 00 00 00 ..0...A480_2.... &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 C0 7C 00 42 FF FF 07 ............B... Error: Number too big in "Formats.FileCore" at line 95
Try the attached, I've put some basic validation on the non-ADFS partition value.
- IanJeffray
- Posts: 163
- Joined: Mon Jan 18, 2021 1:51 pm
Re: Partition Manager feedback
Yep, but the window won't go wide enough to show them all

There's also an "ICS" below the drive icon on the left, which is obviously wrong.
And they all show "Boot" which I'm guessing means you think there's some OPT 4 set, but there isn't on all the partitions. (Maybe I'm wrong about this, but I don't know what "Boot" would mean for every partition, otherwise?)
The sizes and free space is correct - drive :3 really is only 322MB, as that's the 4GB card filled up.
- IanJeffray
- Posts: 163
- Joined: Mon Jan 18, 2021 1:51 pm
Re: Partition Manager feedback
Well it runs now. Only the one partition shows, as you suggested. But ... it's showing as Arc2 / ":2" for some weird reason, which is the 7th partition (of 8).
- Attachments
-
- simtec_a480.png (11.35 KiB) Viewed 7103 times
Re: Partition Manager feedback
That's actually correct, it's the partitioning used on the physical drive.IanJeffray wrote: ↑Sun Oct 30, 2022 4:48 pm There's also an "ICS" below the drive icon on the left, which is obviously wrong.
That comes from byte 7 of the DiscRec.IanJeffray wrote: ↑Sun Oct 30, 2022 4:48 pm And they all show "Boot" which I'm guessing means you think there's some OPT 4 set, but there isn't on all the partitions.
Could you post a debug log please. It currently gets it from the Boot block DiscRec - I might have to switch it to the DiscRec in the middle Filecore Zone
I was expecting it to show as unpartitioned, but it must have found a FileCore structure for "Arc2" at &C00 which is IDEFS::2. If you post the debug/txt I can confirm what it found at &C00.IanJeffray wrote: ↑Sun Oct 30, 2022 4:54 pmWell it runs now. Only the one partition shows, as you suggested. But ... it's showing as Arc2 / ":2" for some weird reason, which is the 7th partition (of 8).
That would imply the Simtec partitioning information is possibly sitting in the FileCore area between 0-&C00. I'll see if I can find anything obvious in the Module that reads that low and failing that, we'll grab the sectors from your drive.
- IanJeffray
- Posts: 163
- Joined: Mon Jan 18, 2021 1:51 pm
Re: Partition Manager feedback
Oh. Well calling it just "ICS" isn't really right then. "ICS/APDL" perhaps. There's nothing to indicate what that text means.JonAbbott wrote: ↑Sun Oct 30, 2022 9:10 pmThat's actually correct, it's the partitioning used on the physical drive.IanJeffray wrote: ↑Sun Oct 30, 2022 4:48 pm There's also an "ICS" below the drive icon on the left, which is obviously wrong.
Here:
Code: Select all
PartMgr v0.90 30/10/22 DEBUG
OS Version=310
ADFS found
IDEFS found
BASIC END=43558
read_drives
===========
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 : 044A 3FFF C837 000F 0000 0000 003F 01D1 C000 0000 J..?7.......?.......
000010 : 3230 3139 3030 3030 3831 3039 2020 2020 2020 2020 029100001890
000020 : 0002 0002 0000 3230 3135 3038 3037 4859 5045 5244 ......02518070YHEPDR
000030 : 4953 4B20 2053 5344 2020 2020 2020 2020 2020 2020 SI KS DS
000040 : 2020 2020 2020 2020 2020 2020 2020 8001 0000 0F00 ......
000050 : 4000 0200 0000 0007 3FFF 000F 003F 3C4F 00EC 0100 .@.......?..?.O<....
000060 : C000 01D1 0000 0407 0003 0078 0078 0078 0078 0000 ..........x.x.x.x...
000070 : 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 ....................
000080 : 03FC 0000 7029 7400 4000 7009 0400 4000 007F 0000 ....)p.t.@.p...@....
000090 : 0000 0000 0000 604F 0000 0000 0000 0000 0000 0000 ......O`............
000100 : C000 01D1 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 0000 4859 ..................YH
000130 : 5045 5244 4953 4B20 2053 5344 0000 0000 0000 0000 EPDRSI KS DS........
000140 : 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 ....................
000150 : 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 ....................
000160 : 0000 0000 0000 0000 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 D6A5 ............
Magnetic media drive
Drive supports LBA addressing
Physical drive is IDEFS 2
LBA Size =512
Size in LBA =&001D1C000
D_Removable%=0
add_partitions_IDEFS
====================
unpartitioned, trying for a full FileCore
add_partitions_FileCore
=======================
IDEFS discop(0,1,&6,&0,..,&200)
IDEFS_SectorDiscOp,,1,&40000006,..,&200
IDEFS_SectorOp,,1,&40000006,..,&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 34 38 30 5F 32 0D 00 00 00 ..0...A480_2....
&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 C0 7C 00 42 FF FF 07 ............B...
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
IDEFS discop(0,1,&7CC80,&0,..,&40)
IDEFS_SectorDiscOp,,1,&4007CC80,..,&40
IDEFS_SectorOp,,1,&4007CC80,..,&40
Full DiscRec:
Address : 0 1 2 3 4 5 6 7 8 9 A B C D E F
&000000 : 18 08 82 FF 09 FF FF 00 0F 0A 00 00 01 7E 20 00 .............. .
&000010 : FD 02 00 00 00 00 30 1F 01 00 41 72 63 32 20 20 ......0...Arc2
&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::Arc2
Matching FileCore disc found as IDEFS::2
OS_FSControl 55 failed, trying 49
Free=&01F2DC000
OS Size in LBA=&0000F9800
BASIC END=444BC
Re: Partition Manager feedback
As I suspected, it fell back to check for a full-disc FileCore drive as I've not implemented the Simtec partitioning. There's a DiscRec @ C00 for an A480_2 drive - possibly from before the drive was partitioned. The size of the FileCore drive pointed it to Zone 63 at LBA &7CC80 for the full DiscRec - which just happened to be the full DiscRec for Arc2.IanJeffray wrote: ↑Sun Oct 30, 2022 9:54 pmCode: Select all
PartMgr v0.90 30/10/22 DEBUG add_partitions_IDEFS ==================== unpartitioned, trying for a full FileCore add_partitions_FileCore ======================= 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 34 38 30 5F 32 0D 00 00 00 ..0...A480_2.... &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 C0 7C 00 42 FF FF 07 ............B... Full DiscRec is in Zone 63 at LBA &7CC80 Full DiscRec: Address : 0 1 2 3 4 5 6 7 8 9 A B C D E F &000000 : 18 08 82 FF 09 FF FF 00 0F 0A 00 00 01 7E 20 00 .............. . &000010 : FD 02 00 00 00 00 30 1F 01 00 41 72 63 32 20 20 ......0...Arc2 &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::Arc2 Matching FileCore disc found as IDEFS::2
To avoid the false-positive, I'll add some additional validation on the Boot DiscRec.