Partition Manager feedback

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

Re: Partition Manager feedback

Post by IanJeffray »

JonAbbott wrote: Tue May 16, 2023 2:51 pm [*]Added Initialise Pi Boot drive
I hope this doesn't bloat it to much that it won't fit on an 800K floppy! It's close just now, adding a lot of stuff for a feature I expect only a very tiny fraction of people would use. And talking of floppies, a self-extracting version would be very useful - this is a machine bootstrapper tool after all. (moon, stick).

One thing I always have to grub around with is enabling the HDMI 'overscan' in the pi config so that the image is the correct size.
To me, this "feature" is just a bug - so a checkbox for that would be useful IMO.
(I could also mention 60Hz/4K option too, but I may be the only fool that uses that - RISC OS desktop at true 4K on a big monitor is "hilarious")

Will test MassFS on Unipod and A9, though IIRC last time I played with this I had issues finding a USB drive small enough that it'd cope with.
JonAbbott
Posts: 2970
Joined: Thu Apr 11, 2013 12:13 pm
Location: Essex
Contact:

Re: Partition Manager feedback

Post by JonAbbott »

IanJeffray wrote: Wed May 17, 2023 11:27 am I hope this doesn't bloat it to much that it won't fit on an 800K floppy!
Fret not, I'll provide a stripped down version for legacy machines.
IanJeffray wrote: Wed May 17, 2023 11:27 am a self-extracting version would be very useful
I can provide that as well.
IanJeffray wrote: Wed May 17, 2023 11:27 am One thing I always have to grub around with is enabling the HDMI 'overscan' in the pi config so that the image is the correct size.
To me, this "feature" is just a bug - so a checkbox for that would be useful IMO.
(I could also mention 60Hz/4K option too
I'm going to be expanding the Pi options, so let me know what settings you'd like and what their values are in CONFIG/TXT. The default Pi settings don't work with my screen, EDID completely breaks it so I understand your problem. I plan to add a drop-down to select the hardware scaling from the default list, as well as possibly adding a bespoke mode.

This was just a first pass to allow folk to test the FileCore/FAT initialisation prior to the bump to v1.00 and a formal release.
IanJeffray wrote: Wed May 17, 2023 11:27 am Will test MassFS on Unipod and A9, though IIRC last time I played with this I had issues finding a USB drive small enough that it'd cope with.
It uses FileCore_DiscOp so has the same limits....2^29-1 sectors.

It was written based on conversations with Jason Tribbeck so is completely untested. It's not doing anything fancy though, beyond having two filesystems shoe-horned onto one (MassFC / MassFS) - hopefully I've detected which one the drive is using and address them correctly.
JonAbbott
Posts: 2970
Joined: Thu Apr 11, 2013 12:13 pm
Location: Essex
Contact:

Re: Partition Manager feedback

Post by JonAbbott »

IanJeffray wrote: Wed May 17, 2023 11:27 am I hope this doesn't bloat it to much that it won't fit on an 800K floppy!
The lite version is available now, purely for RO3.1x machines with all filesystems and additions for later machines stripped out.

It doesn't currently work for RO3.5x/4.x, which I'll fix soon.
IanJeffray wrote: Wed May 17, 2023 11:27 am adding a lot of stuff for a feature I expect only a very tiny fraction of people would use.
I'm expecting the Pi side to be the main use for Partition Manager, as there are no free tools currently available. It's certainly the sole reason I started the project in the first place when I ran out of space on my DEV Pi!
IanJeffray wrote: Wed May 17, 2023 11:27 am One thing I always have to grub around with is enabling the HDMI 'overscan' in the pi config so that the image is the correct size.
All the common settings have now been added.
IanJeffray wrote: Wed May 17, 2023 11:27 am Will test MassFS on Unipod and A9, though IIRC last time I played with this I had issues finding a USB drive small enough that it'd cope with.
What is the issue there? Does MassFS fail to recognise large drives or is the issue when formatting them?

The filesystem doesn't have any low-level access to the drive, so I'm unsure what PM is going to do when you try to format an existing FAT drive (aka MassFS). Formatting an existing FileCore drive (aka MassFC) should be okay, I hope.

MassFS doesn't support MBR, so I'm not entirely sure what's going to happen when trying to initialise a drive that was FAT, as MBR and then creating a FAT partition. It's possibly going to fail, depending on how it addresses a FAT drive.
JonAbbott
Posts: 2970
Joined: Thu Apr 11, 2013 12:13 pm
Location: Essex
Contact:

Re: Partition Manager feedback

Post by JonAbbott »

There's an updated 0.99 build available which fixes a number if issues I've spotted whilst testing this week.
User avatar
IanJeffray
Posts: 162
Joined: Mon Jan 18, 2021 1:51 pm

Re: Partition Manager feedback

Post by IanJeffray »

With MassFS loaded (RiscPC, Unipod), showing a drive name on the bar (but not able to read the drive - as it's exFAT just now - Win10 only offers NTFS or exFAT as options these days when the drive's even a modest size (32GB)...) then running the latest version of version 0.99 of PM, I get "SWI &10D7EC not known at line 299"
JonAbbott
Posts: 2970
Joined: Thu Apr 11, 2013 12:13 pm
Location: Essex
Contact:

Re: Partition Manager feedback

Post by JonAbbott »

IanJeffray wrote: Mon May 29, 2023 6:01 pm running the latest version of version 0.99 of PM, I get "SWI &10D7EC not known at line 299"
Without a debug log that means literally nothing to me!
User avatar
IanJeffray
Posts: 162
Joined: Mon Jan 18, 2021 1:51 pm

Re: Partition Manager feedback

Post by IanJeffray »

JonAbbott wrote: Mon May 29, 2023 8:23 pm
IanJeffray wrote: Mon May 29, 2023 6:01 pm running the latest version of version 0.99 of PM, I get "SWI &10D7EC not known at line 299"
Without a debug log that means literally nothing to me!
:lol: Could do with improved error messages I guess :mrgreen:
Sorry, was just catching up as quick as I could. If nobody else has hit this, I'll re-check...
User avatar
IanJeffray
Posts: 162
Joined: Mon Jan 18, 2021 1:51 pm

Re: Partition Manager feedback

Post by IanJeffray »

Code: Select all

PartMgr v0.99 26/05/23 DEBUG
OS Version=439
FileCore Version=321
FileSwitch Version=260
ADFS found
CDFS found
IDEFS found, detected as Simtec v1.30
MassFS found
BASIC END=57B1C

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

CDFS
----
CDFS::0 found

IDEFS
-----
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
Geometry in words 54-58 are reported as valid
  Cylinders=62041 Heads=16 Sectors=63
Drive using 48-bit LBA addressing
Physical drive is IDEFS 0
Model      =SDCFXS-032G
LBA Size   =512
Size in LBA=&003BA3E70
Removable  =-1

MassFS
-----
Potentially 2 drives
Drive info:
Address :  0  1  2  3  4  5  6  7  8  9  A  B  C  D  E  F
&000000 : 44 54 52 33 30 47 32 00 00 00 00 00 00 00 00 00   DTR30G2.........
&000010 : 00 00 00 00 30 30 31 38 46 33 30 43 39 46 36 33   ....0018F30C9F63
&000020 : 42 45 41 31 34 31 32 37 43 42 43 37 3A 44 54 52   BEA14127CBC7:DTR
&000030 : 33 30 47 32 3A 30 39 35 31 3A 31 36 61 32 3A 30   30G2:0951:16a2:0
&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   ................

flags=F00000
Physical drive is MassFS 0
Model      =:0951:16a
LBA Size   =512
Size in LBA=&007540000
Removable  =-1

add_partitions_IDEFS
====================
IDEFS discop_Simtec(0,1,&6,&0,..,&200)
Address :  0  1  2  3  4  5  6  7  8  9  A  B  C  D  E  F
&000000 : 00 00 00 20 00 00 00 40 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 FF FF FF FF   ................
&0001B0 : 61 6E 64 79 AD E9 23 57 31 23 EA FD 00 00 00 00   andy..#W1#......
&0001C0 : 09 FF FF 00 12 0D 00 02 01 C1 20 00 01 60 8F 01   .......... ..`..
&0001D0 : 00 00 70 72 00 00 52 69 73 63 50 43 0D 00 00 00   ..pr..RiscPC....
&0001E0 : CD 0F 00 00 07 00 00 00 01 01 03 00 01 00 00 00   ................
&0001F0 : 00 08 00 00 00 00 00 00 00 38 B9 03 42 FF FF 9B   .........8..B...

Partition 0 found
Drive: 0  Partition: 0
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,..,&200)

Full DiscRec:
Address :  0  1  2  3  4  5  6  7  8  9  A  B  C  D  E  F
&000000 : 36 00 80 05 09 FF FF 00 12 0D 00 02 01 C1 20 00   6............. .
&000010 : 01 60 8F 01 00 00 70 72 DC 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=&00055BF40
OS Size in LBA=&003B93800
IDEFS discop_Simtec(0,1,&3B93806,&0,..,&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 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   ................

Partition 1 invalid

Adding unallocated space
 Start of area=003B93800
    Drive size=003BA3E70
Max accessible=100000000
Drive size below max

Unallocated block
-----------------
  Start LBA = &03B93800
Size in LBA = &010670

------
Checking for a full-disc FileCore
Drive: 1  Partition: 0
MassFS discop(1,1,&6,&0,..,&200)
  MassFS_DiscOp,,1,&C00,..,&200
Error: SWI &10DCEC not known at line 299
JonAbbott
Posts: 2970
Joined: Thu Apr 11, 2013 12:13 pm
Location: Essex
Contact:

Re: Partition Manager feedback

Post by JonAbbott »

IanJeffray wrote: Mon May 29, 2023 10:52 pm

Code: Select all

Checking for a full-disc FileCore
Drive: 1  Partition: 0
MassFS discop(1,1,&6,&0,..,&200)
  MassFS_DiscOp,,1,&C00,..,&200
Error: SWI &10DCEC not known at line 299
MassFS...the only filesystem ever, that doesn't implement DiscOp :roll:

I'm not sure why it tried that SWI as it uses MassFS_SectorOp in preference. Could you see what the following returns please:

Code: Select all

SYS "OS_SWINumberFromString",,"XMassFS_SectorOp" TO A%
PRINT ~A%
User avatar
IanJeffray
Posts: 162
Joined: Mon Jan 18, 2021 1:51 pm

Re: Partition Manager feedback

Post by IanJeffray »

JonAbbott wrote: Tue May 30, 2023 8:16 am MassFS...the only filesystem ever, that doesn't implement DiscOp :roll:
Nor SectorOp or anything like that. Aren't they all Filecore-based-FS things? Anyway... MassFS (1.00) starts at &56700 and goes GetDriveCount, GetDriveInfo, SetDriveInfo, GetStatusCount, FreeHandler, GetLastMessage, DriveOp, CodeToError, TestUnitReady, GetExtraInfo and that's it.
Post Reply