Partition Manager feedback
Re: Partition Manager feedback
When I tried v0.86 on my A5000 with just a CF-IDE adapter attached to the IDE port on the motherboard (no podules) running RISC OS 3.1 I got No supported file systems found and it quit. The machine had no other drives or floppy drive fitted, just the one CF card configured as an IDE drive happily mounted with ADFS out of the box (just with the disc error 23 fix from your stardot posting run-time applied to the RMFaster'd ADFS module).
Log file content very brief:
PartMgr v8.86 12/18/22
OS Version=310
ADFS found
BASIC END=3EE88
read_drives
===========
Error: No supported file systems found
Log file content very brief:
PartMgr v8.86 12/18/22
OS Version=310
ADFS found
BASIC END=3EE88
read_drives
===========
Error: No supported file systems found
Re: Partition Manager feedback
I've snipped the log down to the key points. It's an MBR partitioned drive with one FAT partition (which isn't formatted) and an overlayed full-disc FileCore drive.dpsharp wrote: ↑Wed Oct 12, 2022 9:20 pm Zipped log file and screenshot from v0.86 attached. It doesn't show the partition in the panel at the bottom either.Code: Select all
SCSIFS ------ SCSI 0:0 found LBA Size =512 Size in LBA =&0003BBD3F MBR partition table found Partition 0 ----------- Partition type=&4 (FAT16) Start LBA =&00000003F Size in LBA =&0000F45B1 Checking SCSI 0:0 partition 0 for FAT
That was a structure that's a workaround specifically for the Pi as the Firmware bootstrap requires a FAT partition to boot. The reason RISC OS sees a FileCore drive, but Partition Manager doesn't is because RISC OS doesn't yet support partitioning.
Partition Manager's SDFS driver specifically detects that Pi structure, but I've not implemented in other filesystems as it shouldn't really exist there. That said, it is possible with some Pi models to switch them to USB booting, so I'll need to implement it for SCSIFS as well before the FileCore drive will be detected.
Ideally, I need to add specific support for overlayed "full-disc" FileCore drives as they need to be treated separately to the partition table to avoid partition table updates corrupting the FileCore drive.
That's a bug when it finds only 1 filesystem, I'll fix in the next update.
Re: Partition Manager feedback
See if it displays with 0.87. It now shows MBR partitions with an overlayed full-disc FileCore area as embedded within the FileCore area, with a Reserved partition for the FileCore partition. You should see something along the lines of:
Should be fixed in 0.87
Re: Partition Manager feedback
I've attached screenshot and debug log from the Pi.
Also attached where I made modifications on line 5 of !RunImage and 107-109 of the wimp library to force it into debug mode if Alt key is held down on startup and show that in the Window title. If you wanted to add that to your codebase would save a step modifying the code each time in future.
On the A5000 I get div by zero at line 153 in read_drives. Hacking my way to fix that error on the progress bar to get into the app, but no other lines changed, the appearance of the exact same CF card looks fairly different wrt the FAT volume, see attached zip.
A5000:
Pi:
Also attached where I made modifications on line 5 of !RunImage and 107-109 of the wimp library to force it into debug mode if Alt key is held down on startup and show that in the Window title. If you wanted to add that to your codebase would save a step modifying the code each time in future.
On the A5000 I get div by zero at line 153 in read_drives. Hacking my way to fix that error on the progress bar to get into the app, but no other lines changed, the appearance of the exact same CF card looks fairly different wrt the FAT volume, see attached zip.
A5000:
Code: Select all
PartMgr v0.87 14/10/22
OS Version=310
ADFS found
Z%=1
BASIC END=3F490
read_drives
===========
ADFS
----
Potentially 1 drives
ADFS::4 - Legacy IDE drive (Master)
IDENTIFY response:
Word : 0 1 2 3 4 5 6 7 8 9
000000 : 848A 0F2C 0000 0010 0000 0240 003F 003B BD40 0000 ..,.......@.?.;.@...
000010 : 4639 3535 3230 3032 3137 3432 3230 3741 3030 3443 9F550220712402A700C4
000020 : 0002 0002 0004 3230 3131 3034 3037 5453 3247 4346 ......02114070STG2FC
000030 : 3133 3320 2020 2020 2020 2020 2020 2020 2020 2020 31 3
000040 : 2020 2020 2020 2020 2020 2020 2020 8001 0000 0F00 ......
000050 : 0000 0200 0000 0007 0F2C 0010 003F BD40 003B 0100 ........,...?.@.;...
000060 : BD40 003B 0000 0007 0003 0078 0078 0078 0078 0000 @.;.......x.x.x.x...
000070 : 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 ....................
000080 : 0080 0000 702B 500C 4002 0000 0004 4002 001F 0001 ....+p.P.@.....@....
000090 : 0000 0000 FFFE 604F 0000 0000 0000 0000 0000 0000 ......O`............
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 0001 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 : 81F4 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 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 using LBA addressing
Physical drive is ADFS 4
LBA Size =512
Size in LBA=&0003BBD40
Removable =-1
add_partitions_FileCore
=======================
Attempting to link ADFS 4 Partition 0 to a FileCore drive
Checking ADFS::4 is a valid FileCore drive
ADFS discop(0,1,&6,&0,..,&200)
ADFS_DiscOp,,1,&80000C00,..,&200
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 02 01 7C 30 00 F9 02 00 00 .?........0.....
&000010 : 00 E0 8B 1E 00 00 00 00 00 00 00 00 00 00 00 00 ................
&000020 : 00 00 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 6B ...............k
Found ADFS::4
DescribeDisc supported
Address : 0 4 8 C
&000000 : 00103F09 02000A0F 00307C01 800002F9 .?........0.....
&000010 : 1E8BE000 4643E7F6 64726143 20202020 ......CFCard
&000020 : 00000FCD 00000000 00000000 00000000 ................
Checking ADFS::4 is a valid FileCore drive
ADFS discop(0,1,&6,&0,..,&200)
ADFS_DiscOp,,1,&80000C00,..,&200
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 02 01 7C 30 00 F9 02 00 00 .?........0.....
&000010 : 00 E0 8B 1E 00 00 00 00 00 00 00 00 00 00 00 00 ................
&000020 : 00 00 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 6B ...............k
Found ADFS::4
OS_FSControl 55 failed, trying 49
Free=&01DE77800
OS Size in LBA=&0000F45F0
Valid FileCore disc found, disc name is: CFCard
ADFS::4 detected as: E, Boot
Full disc FileCore detected
add_partitions_FileCore
=======================
Checking ADFS::4 is a valid FileCore drive
ADFS discop(0,1,&6,&0,..,&200)
ADFS_DiscOp,,1,&80000C00,..,&200
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 02 01 7C 30 00 F9 02 00 00 .?........0.....
&000010 : 00 E0 8B 1E 00 00 00 00 00 00 00 00 00 00 00 00 ................
&000020 : 00 00 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 6B ...............k
Found ADFS::4
DescribeDisc supported
Address : 0 4 8 C
&000000 : 00103F09 02000A0F 00307C01 800002F9 .?........0.....
&000010 : 1E8BE000 4643E7F6 64726143 20202020 ......CFCard
&000020 : 00000FCD 00000000 00000000 00000000 ................
Checking ADFS::4 is a valid FileCore drive
ADFS discop(0,1,&6,&0,..,&200)
ADFS_DiscOp,,1,&80000C00,..,&200
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 02 01 7C 30 00 F9 02 00 00 .?........0.....
&000010 : 00 E0 8B 1E 00 00 00 00 00 00 00 00 00 00 00 00 ................
&000020 : 00 00 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 6B ...............k
Found ADFS::4
OS_FSControl 55 failed, trying 49
Free=&01DE77800
OS Size in LBA=&0000F45F0
Valid FileCore disc found, disc name is: CFCard
ADFS::4 detected as: E, Boot
Full disc FileCore detected
add_partitions_GPT
==================
ADFS 4 checking for GPT partition table
ADFS discop(0,1,&0,&0,..,&200)
ADFS_DiscOp,,1,&80000000,..,&200
Address : 0 1 2 3 4 5 6 7 8 9 A B C D E F
&000000 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&000010 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&000020 : 00 00 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 00 ................
&000040 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&000050 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&000060 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&000070 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&000080 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&000090 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&0000A0 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&0000B0 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&0000C0 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&0000D0 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&0000E0 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&0000F0 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&000100 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&000110 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&000120 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&000130 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&000140 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&000150 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&000160 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&000170 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&000180 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&000190 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&0001A0 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&0001B0 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 80 01 ................
&0001C0 : 01 00 04 FF FF FF 3F 00 00 00 B1 45 0F 00 00 01 ......?....E....
&0001D0 : 01 00 0B FF FF FF F0 45 0F 00 00 A0 0F 00 00 00 .......E........
&0001E0 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&0001F0 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 AA ..............U.
add_partitions_MBR
==================
ADFS 4 checking for MBR partition table
ADFS discop(0,1,&0,&0,..,&200)
ADFS_DiscOp,,1,&80000000,..,&200
Address : 0 1 2 3 4 5 6 7 8 9 A B C D E F
&000000 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&000010 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&000020 : 00 00 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 00 ................
&000040 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&000050 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&000060 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&000070 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&000080 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&000090 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&0000A0 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&0000B0 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&0000C0 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&0000D0 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&0000E0 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&0000F0 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&000100 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&000110 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&000120 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&000130 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&000140 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&000150 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&000160 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&000170 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&000180 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&000190 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&0001A0 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&0001B0 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 80 01 ................
&0001C0 : 01 00 04 FF FF FF 3F 00 00 00 B1 45 0F 00 00 01 ......?....E....
&0001D0 : 01 00 0B FF FF FF F0 45 0F 00 00 A0 0F 00 00 00 .......E........
&0001E0 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&0001F0 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 AA ..............U.
MBR partition table found
Partition 0
-----------
Partition type=&4
Start LBA =&00000003F
Size in LBA =&0000F45B1
Checking ADFS 4 partition 1 for FAT
ADFS discop(0,1,&3F,&0,..,&200)
ADFS_DiscOp,,1,&80007E00,..,&200
FAT header
----------
Word : 0 1 2 3 4 5 6 7 8 9
000000 : 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 ....................
000010 : 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 ....................
000020 : 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 ....................
000030 : 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 ....................
000040 : 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 ....................
000050 : 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 ....................
000060 : 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 ....................
000070 : 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 ....................
000080 : 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 ....................
000090 : 0000 0000 0000 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 0000 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 : 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 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 ............
Partition 1
-----------
Partition type=&B
Start LBA =&0000F45F0
Size in LBA =&0000FA000
Checking ADFS 4 partition 2 for FAT
ADFS discop(0,1,&F45F0,&0,..,&200)
ADFS_DiscOp,,1,&9E8BE000,..,&200
FAT header
----------
Word : 0 1 2 3 4 5 6 7 8 9
000000 : 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 ....................
000010 : 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 ....................
000020 : 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 ....................
000030 : 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 ....................
000040 : 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 ....................
000050 : 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 ....................
000060 : 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 ....................
000070 : 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 ....................
000080 : 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 ....................
000090 : 0000 0000 0000 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 0000 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 : 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 0000 0000 0000 ....................
000220 : 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 ....................
000230 : 0000 0000 AD00 6187 AA44 6187 7BAC 0001 0000 0000 .......aD..a........
000240 : 0004 0000 BCC8 8187 AD00 4187 D67C 4187 9240 0001 ...........A...A@...
000250 : 0204 0000 00A4 0000 66A3 0003 ........f...
Unallocated block
-----------------
P_Start_LBA_Low%=&1EE5F0
P_Start_LBA_High%=&0
P_Size_In_LBA_Low%=&1CD750
P_Size_In_LBA_High%=&0
Full-disc FileCore overlayed over MBR partitions
BASIC END=4071C
Re: Partition Manager feedback
Thanks, I'll add those changed to the next release.dpsharp wrote: ↑Fri Oct 14, 2022 10:13 pm I made modifications on line 5 of !RunImage and 107-109 of the wimp library to force it into debug mode if Alt key is held down on startup and show that in the Window title. If you wanted to add that to your codebase would save a step modifying the code each time in future.
Thanks, I'll fix that.
It's being displayed correctly on both, the reason it's shown as "<unknown>" on the A5000 is because that version of ADFS can't read beyond 512MB - PM can't read the FAT header to verify it is actually FAT.
I have however spotted an issue in the debug log when it fell back to ADFS_DiscOp - its not checking if the reads are beyond the ADFS_DiscOp addressable limit correctly, it actually wrapped and read from ADFS:5 - I'll fix that. I also need to add some checks to prevent you formatting the partitions on older ADFS as it would end horribly, corrupting both ADFS:4 and ADFS:5
Code: Select all
Checking ADFS 4 partition 2 for FAT
ADFS discop(0,1,&F45F0,&0,..,&200)
ADFS_DiscOp,,1,&9E8BE000,..,&200 <--- eek
Re: Partition Manager feedback
I've withdrawn 0.87 as I forgot to modify the MBR partition write code to take account of full-disc FileCore drives overlayed over an MBR partition table. It will corrupt the MBR partition table if any changes are made to the disc.
If you've downloaded 0.87, do not attempt to format or make partition changes to drives created for the Pi, with FileCore on the left and embedded partitions to the right:
If you've downloaded 0.87, do not attempt to format or make partition changes to drives created for the Pi, with FileCore on the left and embedded partitions to the right:
- IanJeffray
- Posts: 162
- Joined: Mon Jan 18, 2021 1:51 pm
Re: Partition Manager feedback
0.88 gives "Syntax error in FS.ZIDEFS at line 99"
Killing ZIDEFS and leaving ADFS and SCSI gives "Corruption of stack" - debug.txt attached.
Killing ZIDEFS and leaving ADFS and SCSI gives "Corruption of stack" - debug.txt attached.
Code: Select all
PartMgr v0.88 18/10/22 DEBUG
OS Version=311
ADFS found
CDFS found
SCSIFS found
BASIC END=42FE4
read_drives
===========
CDFS
----
SCSIFS
------
SCSI 0:0 found
LBA Size =512
Size in LBA =&0000811A7
D_Removable%=0
SCSI 0:1 found
LBA Size =512
Size in LBA =&00003A088
D_Removable%=0
SCSI 0:2 found
LBA Size =2048
Size in LBA =&00004100B
D_Removable%=128
add_partitions_FileCore
=======================
read_bytes_SCSIFS(0,&6,&0,..,&200)
SCSI_Op,&0,10,READ,&200
Boot DiscRec:
Address : 0 1 2 3 4 5 6 7 8 9 A B C D E F
&000000 : 09 7D 02 00 0D 0A 00 00 00 10 A1 00 21 02 00 00 ............!...
&000010 : 00 50 23 10 00 00 32 35 30 38 5F 30 38 30 37 00 .P#...2508_0807.
&000020 : 00 00 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 02 EC 01 07 ................
^^ ^^ ^^
Non-ADFS partition found at cylinder &1EC / LBA &0
read_bytes_SCSIFS(0,&1E078,&0,..,&200)
SCSI_Op,&0,10,READ,&200
Address : 0 4 8 C
&000000 : 0001E079 00059100 00000001 746F6F52 y...........Root
&000010 : 64656D00 0000003E 00000000 0007717A .med>.......zq..
&000020 : 0000A02C 00000001 746F6F42 64656D00 ,.......Boot.med
&000030 : 0000003E 00000000 00000000 00000000 >...............
&000040 : 00000000 6E6E753C 64656D61 0000003E ....<unnamed>...
&000050 : 00000000 00000000 00000000 00000000 ................
&000060 : 6E6E753C 64656D61 0000003E 00000000 <unnamed>.......
&000070 : 00000000 00000000 00000000 6E6E753C ............<unn
&000080 : 64656D61 0000003E 00000000 00000000 amed>...........
&000090 : 00000000 00000000 6E6E753C 64656D61 ........<unnamed
&0000A0 : 0000003E 00000000 00000000 00000000 >...............
&0000B0 : 00000000 70617753 00000000 00000000 ....Swap........
&0000C0 : 00000000 00000000 000811A8 00000001 ................
Unix partition 0 - Root
start cylinder: 123001 / LBA &1D5362A
size: 364800 / LBA &2B7CD
Unix partition 1 - Boot
start cylinder: 487802 / LBA &744D124
size: 41004 / LBA &4E35
Full DiscRec is in Zone 8 at LBA &F230
LBA size in bits=4096 Log2=9
Zone spare bits=161
DiscRec size in bits=480
Log2 bytes per map bit=10
read_bytes_SCSIFS(0,&F230,&0,..,&40)
SCSI_Op,&0,10,READ,&200
Full DiscRec:
Address : 0 1 2 3 4 5 6 7 8 9 A B C D E F
&000000 : 41 06 82 08 09 7D 02 00 0D 0A 00 00 00 10 A1 00 A...............
&000010 : 21 02 00 00 00 50 23 10 5F 00 52 49 53 43 69 58 !....P#._.RISCiX
&000020 : 20 20 20 20 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 00 ................
Searching for mounted drive SCSI::RISCiX
Matching FileCore disc found as SCSI::4
OS_FSControl 55 failed, trying 49
Free=&003BC1800
OS Size in LBA=&0000811A8
add_partitions_GPT
==================
SCSI 0:0 checking for GPT partition table
read_bytes_SCSIFS(0,&0,&0,..,&200)
SCSI_Op,&0,10,READ,&200
Address : 0 1 2 3 4 5 6 7 8 9 A B C D E F
&000000 : 00 70 00 70 00 70 00 70 00 70 00 70 00 70 00 70 .p.p.p.p.p.p.p.p
...
add_partitions_MBR
==================
SCSI 0:0 checking for MBR partition table
read_bytes_SCSIFS(0,&0,&0,..,&200)
SCSI_Op,&0,10,READ,&200
Address : 0 1 2 3 4 5 6 7 8 9 A B C D E F
&000000 : 00 70 00 70 00 70 00 70 00 70 00 70 00 70 00 70 .p.p.p.p.p.p.p.p
...
add_partitions_FileCore
=======================
read_bytes_SCSIFS(1,&6,&0,..,&200)
SCSI_Op,&1,10,READ,&200
Boot DiscRec:
Address : 0 1 2 3 4 5 6 7 8 9 A B C D E F
&000000 : 09 27 04 00 0C 0A 00 00 00 03 6A 00 07 02 00 00 .'........j.....
&000010 : 00 12 41 07 00 00 30 34 30 33 5F 31 39 34 36 00 ..A...0403_1946.
&000020 : 00 00 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 02 00 00 39 ...............9
^^ ^^ ^^
Non-ADFS partition found at cylinder &0 / LBA &0
read_bytes_SCSIFS(1,&0,&0,..,&200)
SCSI_Op,&1,10,READ,&200
Address : 0 4 8 C
&000000 : 00000000 0003A089 00000000 63736952 ............Risc
&000010 : 003A734F 00000000 00000000 00000000 Os:.............
&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 ................
&0000B0 : 00000000 00000000 00000000 00000000 ................
&0000C0 : 00000000 00000000 00000000 00000000 ................
Full DiscRec is in Zone 1 at LBA &1B6C
LBA size in bits=4096 Log2=9
Zone spare bits=106
DiscRec size in bits=480
Log2 bytes per map bit=10
read_bytes_SCSIFS(1,&1B6C,&0,..,&40)
SCSI_Op,&1,10,READ,&200
Full DiscRec:
Address : 0 1 2 3 4 5 6 7 8 9 A B C D E F
&000000 : 46 F9 8D 01 09 27 04 00 0C 0A 00 02 00 03 6A 00 F....'........j.
&000010 : 07 02 00 00 00 12 41 07 03 00 52 49 53 43 69 58 ......A...RISCiX
&000020 : 31 32 31 20 00 00 00 00 00 00 00 00 00 00 00 00 121 ............
&000030 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
Searching for mounted drive SCSI::RISCiX121
Matching FileCore disc found as SCSI::5
OS_FSControl 55 failed, trying 49
Free=&00029C400
OS Size in LBA=&00003A089
add_partitions_GPT
==================
SCSI 0:1 checking for GPT partition table
read_bytes_SCSIFS(1,&0,&0,..,&200)
SCSI_Op,&1,10,READ,&200
Address : 0 1 2 3 4 5 6 7 8 9 A B C D E F
&000000 : 00 00 00 00 00 00 00 00 00 00 00 00 89 A0 03 00 ................
&000010 : 00 00 00 00 52 69 73 63 4F 73 3A 00 00 00 00 00 ....RiscOs:.....
&000020 : 00 00 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 00 ................
&000040 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&000050 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&000060 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&000070 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&000080 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&000090 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&0000A0 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&0000B0 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&0000C0 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&0000D0 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&0000E0 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&0000F0 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 ................
&000100 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&000110 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&000120 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&000130 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&000140 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&000150 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&000160 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&000170 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&000180 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&000190 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&0001A0 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&0001B0 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&0001C0 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&0001D0 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&0001E0 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&0001F0 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 E4 ................
add_partitions_MBR
==================
SCSI 0:1 checking for MBR partition table
read_bytes_SCSIFS(1,&0,&0,..,&200)
SCSI_Op,&1,10,READ,&200
Address : 0 1 2 3 4 5 6 7 8 9 A B C D E F
&000000 : 00 00 00 00 00 00 00 00 00 00 00 00 89 A0 03 00 ................
&000010 : 00 00 00 00 52 69 73 63 4F 73 3A 00 00 00 00 00 ....RiscOs:.....
&000020 : 00 00 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 00 ................
&000040 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&000050 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&000060 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&000070 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&000080 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&000090 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&0000A0 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&0000B0 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&0000C0 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&0000D0 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&0000E0 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&0000F0 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 ................
&000100 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&000110 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&000120 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&000130 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&000140 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&000150 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&000160 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&000170 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&000180 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&000190 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&0001A0 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&0001B0 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&0001C0 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&0001D0 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&0001E0 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&0001F0 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 E4 ................
add_partitions_FileCore
=======================
read_bytes_SCSIFS(2,&1,&0,..,&200)
SCSI_Op,&2,10,READ,&800
Boot DiscRec:
Address : 0 1 2 3 4 5 6 7 8 9 A B C D E F
&000000 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&000010 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&000020 : 00 00 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 00 ................
Bad (old) defect list
Failed to find a valid FileCore structure
add_partitions_GPT
==================
SCSI 0:2 checking for GPT partition table
read_bytes_SCSIFS(2,&0,&0,..,&200)
SCSI_Op,&2,10,READ,&800
Address : 0 1 2 3 4 5 6 7 8 9 A B C D E F
&000000 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
...
Re: Partition Manager feedback
I've corrected the Syntax error and reposted 0.88.IanJeffray wrote: ↑Tue Oct 18, 2022 5:38 pm 0.88 gives "Syntax error in FS.ZIDEFS at line 99"
Killing ZIDEFS and leaving ADFS and SCSI gives "Corruption of stack" - debug.txt attached.
Not sure about the corrupt stack though, I'll need to try and reproduce it.
EDIT: Could you post the debug log of the Simtec issue please. Simtec doesn't support partitioning - the version I've reverse engineered doesn't support it - that might be why you're seeing an issue
- IanJeffray
- Posts: 162
- Joined: Mon Jan 18, 2021 1:51 pm
Re: Partition Manager feedback
Are you changing the definition of partitioning here or something? Clearly Simtec supports what I call "partitioning" - both 8bit and 16bit podules and the Unipod actually support 8 partitions - 8 logical drives per physical medium. (Viz my screenshot on *. showing 8 drives). I'm confused why you're saying it doesn't support it at all.
Anyhoo, here's the debug.txt from my A540 with an APDL V6C
Code: Select all
PartMgr v0.88 18/10/22 DEBUG
OS Version=311
ADFS found
CDFS found
IDEFS found
SCSIFS found
BASIC END=473C4
read_drives
===========
CDFS
----
IDEFS
-----
Potentially 4 drives
IDEFS detected as APDL
Trying DiscOp 3 against IDEFS:4
DiscOp 3 response: DiscRec
Address : 0 1 2 3 4 5 6 7 8 9 A B C D E F
&000000 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&000010 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&000020 : 00 00 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 00 ................
DiscOp 3 response: ID block
Address : 0 1 2 3 4 5 6 7 8 9 A B C D E F
&000000 : 8A 84 47 1E 00 00 10 00 00 00 40 02 3F 00 77 00 ..G.......@.?.w.
&000010 : 00 38 00 00 20 20 20 20 44 20 5A 43 34 30 33 30 .8.. D ZC4030
&000020 : 32 31 35 31 30 35 34 34 02 00 02 00 04 00 44 48 21510544......DH
&000030 : 20 58 2E 36 32 30 61 53 44 6E 73 69 20 6B 44 53 X.620aSDnsi kDS
&000040 : 46 43 2D 48 30 30 47 34 20 20 20 20 20 20 20 20 FC-H00G4
&000050 : 20 20 20 20 20 20 20 20 20 20 20 20 20 20 01 80 ..
&000060 : 00 00 00 23 00 00 00 02 00 00 07 00 47 1E 10 00 ...#........G...
&000070 : 3F 00 90 37 77 00 00 01 00 38 77 00 00 00 07 00 ?..7w....8w.....
&000080 : 03 00 78 00 78 00 78 00 78 00 20 40 00 00 00 00 ..x.x.x.x. @....
&000090 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&0000A0 : 00 00 00 00 20 70 0C 74 40 40 20 70 04 04 40 40 .... p.t@@ p..@@
&0000B0 : 1F 00 00 00 00 00 00 00 FE FF 00 00 00 00 00 00 ................
&0000C0 : 00 00 00 00 00 00 00 00 00 38 77 00 00 00 00 00 .........8w.....
&0000D0 : 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&0000E0 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&0000F0 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&000100 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&000110 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&000120 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&000130 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&000140 : F4 81 00 00 00 00 82 00 00 00 00 00 00 00 00 50 ...............P
&000150 : 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&000160 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&000170 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&000180 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&000190 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&0001A0 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&0001B0 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&0001C0 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&0001D0 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&0001E0 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&0001F0 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
Flash based drive
Drive supports LBA addressing
Physical drive is IDEFS 4
LBA Size =512
Size in LBA =&000773800
D_Removable%=-1
Trying DiscOp 3 against IDEFS:5
DiscOp 3 response: DiscRec
Address : 0 1 2 3 4 5 6 7 8 9 A B C D E F
&000000 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&000010 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&000020 : 00 00 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 00 ................
DiscOp 3 response: ID block
Address : 0 1 2 3 4 5 6 7 8 9 A B C D E F
&000000 : 8A 84 47 1E 00 00 10 00 00 00 40 02 3F 00 77 00 ..G.......@.?.w.
&000010 : 00 38 00 00 20 20 20 20 44 20 5A 43 34 30 33 30 .8.. D ZC4030
&000020 : 32 31 35 31 30 35 34 34 02 00 02 00 04 00 44 48 21510544......DH
&000030 : 20 58 2E 36 32 30 61 53 44 6E 73 69 20 6B 44 53 X.620aSDnsi kDS
&000040 : 46 43 2D 48 30 30 47 34 20 20 20 20 20 20 20 20 FC-H00G4
&000050 : 20 20 20 20 20 20 20 20 20 20 20 20 20 20 01 80 ..
&000060 : 00 00 00 23 00 00 00 02 00 00 07 00 47 1E 10 00 ...#........G...
&000070 : 3F 00 90 37 77 00 00 01 00 38 77 00 00 00 07 00 ?..7w....8w.....
&000080 : 03 00 78 00 78 00 78 00 78 00 20 40 00 00 00 00 ..x.x.x.x. @....
&000090 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&0000A0 : 00 00 00 00 20 70 0C 74 40 40 20 70 04 04 40 40 .... p.t@@ p..@@
&0000B0 : 1F 00 00 00 00 00 00 00 FE FF 00 00 00 00 00 00 ................
&0000C0 : 00 00 00 00 00 00 00 00 00 38 77 00 00 00 00 00 .........8w.....
&0000D0 : 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&0000E0 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&0000F0 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&000100 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&000110 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&000120 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&000130 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&000140 : F4 81 00 00 00 00 82 00 00 00 00 00 00 00 00 50 ...............P
&000150 : 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&000160 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&000170 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&000180 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&000190 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&0001A0 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&0001B0 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&0001C0 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&0001D0 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&0001E0 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&0001F0 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
Flash based drive
Drive supports LBA addressing
Physical drive is IDEFS 5
LBA Size =512
Size in LBA =&000773800
D_Removable%=-1
Trying DiscOp 3 against IDEFS:6
DiscOp 3 response: DiscRec
Address : 0 1 2 3 4 5 6 7 8 9 A B C D E F
&000000 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&000010 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&000020 : 00 00 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 00 ................
DiscOp 3 response: ID block
Address : 0 1 2 3 4 5 6 7 8 9 A B C D E F
&000000 : 8A 84 47 1E 00 00 10 00 00 00 40 02 3F 00 77 00 ..G.......@.?.w.
&000010 : 00 38 00 00 20 20 20 20 44 20 5A 43 34 30 33 30 .8.. D ZC4030
&000020 : 32 31 35 31 30 35 34 34 02 00 02 00 04 00 44 48 21510544......DH
&000030 : 20 58 2E 36 32 30 61 53 44 6E 73 69 20 6B 44 53 X.620aSDnsi kDS
&000040 : 46 43 2D 48 30 30 47 34 20 20 20 20 20 20 20 20 FC-H00G4
&000050 : 20 20 20 20 20 20 20 20 20 20 20 20 20 20 01 80 ..
&000060 : 00 00 00 23 00 00 00 02 00 00 07 00 47 1E 10 00 ...#........G...
&000070 : 3F 00 90 37 77 00 00 01 00 38 77 00 00 00 07 00 ?..7w....8w.....
&000080 : 03 00 78 00 78 00 78 00 78 00 20 40 00 00 00 00 ..x.x.x.x. @....
&000090 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&0000A0 : 00 00 00 00 20 70 0C 74 40 40 20 70 04 04 40 40 .... p.t@@ p..@@
&0000B0 : 1F 00 00 00 00 00 00 00 FE FF 00 00 00 00 00 00 ................
&0000C0 : 00 00 00 00 00 00 00 00 00 38 77 00 00 00 00 00 .........8w.....
&0000D0 : 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&0000E0 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&0000F0 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&000100 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&000110 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&000120 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&000130 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&000140 : F4 81 00 00 00 00 82 00 00 00 00 00 00 00 00 50 ...............P
&000150 : 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&000160 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&000170 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&000180 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&000190 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&0001A0 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&0001B0 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&0001C0 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&0001D0 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&0001E0 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&0001F0 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
Flash based drive
Drive supports LBA addressing
Physical drive is IDEFS 6
LBA Size =512
Size in LBA =&000773800
D_Removable%=-1
Trying DiscOp 3 against IDEFS:7
DiscOp 3 response: DiscRec
Address : 0 1 2 3 4 5 6 7 8 9 A B C D E F
&000000 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&000010 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&000020 : 00 00 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 00 ................
DiscOp 3 response: ID block
Address : 0 1 2 3 4 5 6 7 8 9 A B C D E F
&000000 : 8A 84 47 1E 00 00 10 00 00 00 40 02 3F 00 77 00 ..G.......@.?.w.
&000010 : 00 38 00 00 20 20 20 20 44 20 5A 43 34 30 33 30 .8.. D ZC4030
&000020 : 32 31 35 31 30 35 34 34 02 00 02 00 04 00 44 48 21510544......DH
&000030 : 20 58 2E 36 32 30 61 53 44 6E 73 69 20 6B 44 53 X.620aSDnsi kDS
&000040 : 46 43 2D 48 30 30 47 34 20 20 20 20 20 20 20 20 FC-H00G4
&000050 : 20 20 20 20 20 20 20 20 20 20 20 20 20 20 01 80 ..
&000060 : 00 00 00 23 00 00 00 02 00 00 07 00 47 1E 10 00 ...#........G...
&000070 : 3F 00 90 37 77 00 00 01 00 38 77 00 00 00 07 00 ?..7w....8w.....
&000080 : 03 00 78 00 78 00 78 00 78 00 20 40 00 00 00 00 ..x.x.x.x. @....
&000090 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&0000A0 : 00 00 00 00 20 70 0C 74 40 40 20 70 04 04 40 40 .... p.t@@ p..@@
&0000B0 : 1F 00 00 00 00 00 00 00 FE FF 00 00 00 00 00 00 ................
&0000C0 : 00 00 00 00 00 00 00 00 00 38 77 00 00 00 00 00 .........8w.....
&0000D0 : 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&0000E0 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&0000F0 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&000100 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&000110 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&000120 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&000130 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&000140 : F4 81 00 00 00 00 82 00 00 00 00 00 00 00 00 50 ...............P
&000150 : 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&000160 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&000170 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&000180 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&000190 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&0001A0 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&0001B0 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&0001C0 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&0001D0 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&0001E0 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&0001F0 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
Flash based drive
Drive supports LBA addressing
Physical drive is IDEFS 7
LBA Size =512
Size in LBA =&000773800
D_Removable%=-1
SCSIFS
------
SCSI 0:0 found
LBA Size =512
Size in LBA =&0000811A7
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,&80000006,..,&200
Failed to find a valid FileCore structure
add_partitions_IDEFS
====================
unpartitioned, trying for a full FileCore
add_partitions_FileCore
=======================
IDEFS discop(1,1,&6,&0,..,&200)
IDEFS_SectorDiscOp,,1,&A0000006,..,&200
Failed to find a valid FileCore structure
add_partitions_IDEFS
====================
unpartitioned, trying for a full FileCore
add_partitions_FileCore
=======================
IDEFS discop(2,1,&6,&0,..,&200)
IDEFS_SectorDiscOp,,1,&C0000006,..,&200
Failed to find a valid FileCore structure
add_partitions_IDEFS
====================
unpartitioned, trying for a full FileCore
add_partitions_FileCore
=======================
IDEFS discop(3,1,&6,&0,..,&200)
IDEFS_SectorDiscOp,,1,&E0000006,..,&200
Failed to find a valid FileCore structure
add_partitions_FileCore
=======================
read_bytes_SCSIFS(4,&6,&0,..,&200)
SCSI_Op,&0,10,READ,&200
Boot DiscRec:
Address : 0 1 2 3 4 5 6 7 8 9 A B C D E F
&000000 : 09 7D 02 00 0D 0A 00 00 00 10 A1 00 21 02 00 00 ............!...
&000010 : 00 50 23 10 00 00 32 35 30 38 5F 30 38 30 37 00 .P#...2508_0807.
&000020 : 00 00 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 02 EC 01 07 ................
^^ ^^ ^^
Non-ADFS partition found at cylinder &1EC / LBA &0
read_bytes_SCSIFS(4,&1E078,&0,..,&200)
SCSI_Op,&0,10,READ,&200
Address : 0 4 8 C
&000000 : 0001E079 00059100 00000001 746F6F52 y...........Root
&000010 : 64656D00 0000003E 00000000 0007717A .med>.......zq..
&000020 : 0000A02C 00000001 746F6F42 64656D00 ,.......Boot.med
&000030 : 0000003E 00000000 00000000 00000000 >...............
&000040 : 00000000 6E6E753C 64656D61 0000003E ....<unnamed>...
&000050 : 00000000 00000000 00000000 00000000 ................
&000060 : 6E6E753C 64656D61 0000003E 00000000 <unnamed>.......
&000070 : 00000000 00000000 00000000 6E6E753C ............<unn
&000080 : 64656D61 0000003E 00000000 00000000 amed>...........
&000090 : 00000000 00000000 6E6E753C 64656D61 ........<unnamed
&0000A0 : 0000003E 00000000 00000000 00000000 >...............
&0000B0 : 00000000 70617753 00000000 00000000 ....Swap........
&0000C0 : 00000000 00000000 000811A8 00000001 ................
Unix partition 0 - Root
start cylinder: 123001 / LBA &1D5362A
size: 364800 / LBA &2B7CD
Unix partition 1 - Boot
start cylinder: 487802 / LBA &744D124
size: 41004 / LBA &4E35
Full DiscRec is in Zone 8 at LBA &F230
LBA size in bits=4096 Log2=9
Zone spare bits=161
DiscRec size in bits=480
Log2 bytes per map bit=10
read_bytes_SCSIFS(4,&F230,&0,..,&40)
SCSI_Op,&0,10,READ,&200
Full DiscRec:
Address : 0 1 2 3 4 5 6 7 8 9 A B C D E F
&000000 : 41 06 82 07 09 7D 02 00 0D 0A 00 00 00 10 A1 00 A...............
&000010 : 21 02 00 00 00 50 23 10 5E 00 52 49 53 43 69 58 !....P#.^.RISCiX
&000020 : 20 20 20 20 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 00 ................
Searching for mounted drive SCSI::RISCiX
Matching FileCore disc found as SCSI::4
OS_FSControl 55 failed, trying 49
Free=&003BC1800
OS Size in LBA=&0000811A8
add_partitions_GPT
==================
SCSI 0:0 checking for GPT partition table
read_bytes_SCSIFS(4,&0,&0,..,&200)
SCSI_Op,&0,10,READ,&200
Address : 0 1 2 3 4 5 6 7 8 9 A B C D E F
&000000 : 00 70 00 70 00 70 00 70 00 70 00 70 00 70 00 70 .p.p.p.p.p.p.p.p
...
add_partitions_MBR
==================
SCSI 0:0 checking for MBR partition table
read_bytes_SCSIFS(4,&0,&0,..,&200)
SCSI_Op,&0,10,READ,&200
Address : 0 1 2 3 4 5 6 7 8 9 A B C D E F
&000000 : 00 70 00 70 00 70 00 70 00 70 00 70 00 70 00 70 .p.p.p.p.p.p.p.p
...
BASIC END=486C0
- IanJeffray
- Posts: 162
- Joined: Mon Jan 18, 2021 1:51 pm
Re: Partition Manager feedback
Ok, the "new version of version 0.88" accepts ZIDEFS. But it's a bit wonky, as clearly shown in this screenshot from my R140 (after I kill SCSIFS to get around the "Stack Corruption" issue)....
The partitions are the right size, but not quite correctly understood, it seems.
Code: Select all
PartMgr v0.88 18/10/22 DEBUG
OS Version=311
ADFS found
CDFS found
ZIDEFS found
BASIC END=42754
read_drives
===========
CDFS
----
ZIDEFS
-----
Potentially 1 drives
Address : 0 1 2 3 4 5 6 7 8 9 A B C D E F
&000000 : 5A 04 DF 0F 00 00 10 00 00 00 00 02 3F 00 3E 00 Z...........?.>.
&000010 : 10 7E 00 00 30 32 32 31 31 30 30 32 41 41 36 48 ....02211002AA6H
&000020 : 30 30 30 30 32 31 35 37 02 00 02 00 04 00 38 30 00002157......80
&000030 : 31 31 37 30 20 20 6E 49 6F 6E 69 44 6B 73 43 20 1170 nIoniDksC
&000040 : 72 6F 2E 70 2D 20 45 20 43 44 30 34 30 30 48 20 ro.p- E CD0400H
&000050 : 32 20 42 47 20 20 20 20 20 20 20 20 20 20 02 80 2 BG ..
&000060 : 00 00 00 0F 00 00 00 02 00 00 07 00 DF 0F 10 00 ................
&000070 : 3F 00 10 7E 3E 00 00 01 10 7E 3E 00 00 00 07 00 ?...>.....>.....
&000080 : 03 00 78 00 78 00 78 00 78 00 00 00 00 00 00 00 ..x.x.x.x.......
&000090 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&0000A0 : 20 00 00 00 08 70 04 50 00 40 08 70 04 10 00 40 ....p.P.@.p...@
&0000B0 : 1F 00 00 00 00 00 00 00 00 00 4F 60 00 00 00 00 ..........O`....
&0000C0 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&0000D0 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&0000E0 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&0000F0 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&000100 : 00 00 00 00 38 30 31 31 37 30 36 62 5A 04 5A 04 ....8011706bZ.Z.
&000110 : 39 73 31 66 62 2E 00 36 00 00 00 00 39 73 31 70 9s1fb..6....9s1p
&000120 : 62 2E 00 36 00 00 00 00 39 61 31 69 62 2E 00 36 b..6....9a1ib..6
&000130 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&000140 : 64 A0 00 00 00 00 12 00 1B 00 00 00 00 00 00 00 d...............
&000150 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&000160 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&000170 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&000180 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&000190 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&0001A0 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&0001B0 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&0001C0 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&0001D0 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&0001E0 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
&0001F0 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 A5 F5 ................
&000200 : 5C 9E 00 00 DE 00 00 00 14 00 00 00 00 00 00 00 \...............
Drive using LBA addressing
Physical drive is ZIDEFS 0
LBA Size =512
Size in LBA=&0003E7E10
Removable =0
add_partitions_ZIDEFS
=====================
Max partitions 4
ZIDEFS discop(0,1,&0,&0,..,&200)
ZIDEFS_DiscOp,,1,&80000000,..,&200
New style ZIDEFS partition table found
Start LBA =&000000000
Size in LBA =&0000F98A0
ZIDEFS discop(0,1,&6,&0,..,&200)
ZIDEFS_DiscOp,,1,&80000C00,..,&200
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 7E 20 00 FD 02 00 00 .?........ .....
&000010 : 00 40 31 1F 00 00 00 00 00 00 00 00 00 00 00 00 .@1.............
&000020 : 00 00 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 6B ...............k
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
ZIDEFS discop(0,1,&7CC80,&0,..,&40)
ZIDEFS_DiscOp,,1,&8F990000,..,&40
Full DiscRec:
Address : 0 1 2 3 4 5 6 7 8 9 A B C D E F
&000000 : C3 08 82 06 09 3F 10 00 0F 0A 00 02 01 7E 20 00 .....?........ .
&000010 : FD 02 00 00 00 40 31 1F 43 AE 5A 49 44 45 34 20 .....@1.C.ZIDE4
&000020 : 20 20 20 20 00 00 04 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 ZIDEFS::ZIDE4
Matching FileCore disc found as ZIDEFS::4
OS_FSControl 55 failed, trying 49
Free=&014D88800
OS Size in LBA=&0000F98A0
Start LBA =&0000F98A0
Size in LBA =&0000F98A0
ZIDEFS discop(0,1,&F98A6,&0,..,&200)
ZIDEFS_DiscOp,,1,&9F314C00,..,&200
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 7E 20 00 FD 02 00 00 .?........ .....
&000010 : 00 40 31 1F 00 00 00 00 00 00 00 00 00 00 00 00 .@1.............
&000020 : 00 00 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 6B ...............k
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
ZIDEFS discop(0,1,&176520,&0,..,&40)
ZIDEFS_DiscOp,,1,&AECA4000,..,&40
Start LBA =&0001F3140
Size in LBA =&0000F98A0
ZIDEFS discop(0,1,&1F3146,&0,..,&200)
ZIDEFS_DiscOp,,1,&BE628C00,..,&200
Start LBA =&0002EC9E0
Size in LBA =&0000F98A0
ZIDEFS discop(0,1,&2EC9E6,&0,..,&200)
ZIDEFS_DiscOp,,1,&DD93CC00,..,&200
BASIC END=43508