RISC OS Open
Safeguarding the past, present and future of RISC OS for everyone
ROOL
Home | News | Downloads | Bugs | Bounties | Forum | Documents | Photos | Contact us
Account
Forums → General →

HForm for RISC OS 3.1

Subscribe to HForm for RISC OS 3.1 14 posts, 6 voices

 
Dec 1, 2020 3:26pm
Avatar Chris Evans (457) 1601 posts

Does anyone have a copy of (or know a source of) HFORM for RISC OS 3.1 that doesn’t have anonymous variable and procedure names e.g. Cc%, L%, PROCM etc. I think the ROOL sources only go back as far as HForm for 3.7 which I believe will not run on 3.1

Most drives spinning rust, SD cards, Compact Flash and MSATA drive that are obtainable NOW and not decades old are too large to be formatted with the 1992 version of HForm. We have though found that if we format them with a Later version of HForm on RISC OS 4 they will work. We (and our customers) would like to be able to do the formatting on the RISC OS 3.1 machine the drive will be used on.

 
Dec 1, 2020 3:49pm
Avatar Paolo Fabio Zaino (28) 1113 posts

@ Chris

So the official HForm version distributed with RISC OS 3.1 was HForm 2.19 which is also the one chrunched. This version requires a wimpslot of 512KB so it’s suitable for most Archimedes.

The release you want, instead, is (IIRC) release 2.56, which is not crunched so easier to modify, BUT that release seems to require a wimpslot of 2000K.

I have here an “hybrid” version I made for myself, if you want to try it I’ll send it over, but please no warrantee it works fine.

Also (I know you know this already, so just a reminder), formatting large discs with the old Archimedes can require to make quite few coffee (errm tea!) :D

 
Dec 1, 2020 4:11pm
Avatar Chris Evans (457) 1601 posts

Please do send us a copy. TIA.

 
Dec 1, 2020 4:18pm
Avatar Paolo Fabio Zaino (28) 1113 posts

no problem, packing it now for you guys :)

 
Dec 1, 2020 5:18pm
Avatar Sprow (202) 999 posts

HForm 2.70 worked on RISC OS 3.10, the check in message specifically mentions so (on an A5000).
It’s possible a change after that broke something but as at 29-Nov-2014 the ROOL HForm would be OK. Why not try the latest? You might be pleasantly surprised.

 
Dec 1, 2020 10:34pm
Avatar Paolo Fabio Zaino (28) 1113 posts

@ Sprow

The version distributed with RO5 HardDisc Images seems to be the crunched one.

Where can I find the 2.70 not crunched?

I can see the !HForm 2.76 on RO5 checks for min RO 3.10 and still uses only 512K, so good recommendation sir! Thanks :)

 
Dec 2, 2020 12:08am
Avatar David J. Ruck (33) 1100 posts

HFORM might run on older machines, but out of the box it will produce discs which wont work with anything before 5.2x due to using an ID Len larger than the maximum on older OS’s (21 vs 19).

You should be able to lower the ID Len by using a LFAU 4x larger than the default offered by HFORM, but I don’t have any older systems now to verify such as disc will be understood.

 
Dec 2, 2020 7:05am
Avatar Jon Abbott (1421) 2277 posts

Does anyone have a copy of (or know a source of) HFORM for RISC OS 3.1 that doesn’t have anonymous variable and procedure names

You’ll want the uncrunched HForm 2.56, which is attached to my RISCOS 3.20 ROM thread on StarDot

 
Dec 2, 2020 8:04am
Avatar Sprow (202) 999 posts

HFORM might run on older machines, but out of the box it will produce discs which wont work with anything before 5.2x due to using an ID Len larger than the maximum on older OS’s (21 vs 19).

Sure about that? The bounds HForm uses are:

IF FileCore <= 2.98 THEN
  max_idlen%=15
ELSE
  REM Allow big directories too
  IF FileCore <= 3.74 THEN
    max_idlen%=19
  ELSE
    max_idlen%=21
  ENDIF
ENDIF
I think your memory might be clouded by trying to use a drive formatted on a newer FileCore on an older OS, which of course isn’t going to fly, any more than formatting one with long filenames in RISC OS 4 isn’t going to work if plugged into RISC OS 3.70. The feature test on what is possible looks at the capability of the FileCore on the machine on which HForm is running (you can’t say “make me a disc which will work on 3.10” using a caddy attached via USB to a Raspberry Pi, for example).
 
Dec 2, 2020 4:15pm
Avatar Paolo Fabio Zaino (28) 1113 posts

Guys,
Sprow did not answer my original question, so I did some digging, given that Chris’s original question was about the un-crunched version of HForm.

We all can find the latest ROOL version of HForm in an un-crunched for here:
https://gitlab.riscosopen.org/RiscOS/Sources/Utilities/HForm/-/blob/master/bas/!RunImage

Please note, historically the release version of HForm has always been in the messages, however in the gitlab it’s available here:
https://gitlab.riscosopen.org/RiscOS/Sources/Utilities/HForm/-/blob/master/VersionNum

The browsable version is always the latest, so to get to Sprow recommended release 2.70 you’ll need to switch to branch HForm-2_70, here:

https://gitlab.riscosopen.org/RiscOS/Sources/Utilities/HForm/-/tree/HForm-2_70

And then look at the `bas` subdirectory where the un-crunched release resides.

Hope this helps :)

 
Dec 2, 2020 4:32pm
Avatar Chris Evans (457) 1601 posts

Thanks lads. A lot of information. We will have to do some testing!
I was going to say that the 16GB drive we formatted to 512MB on a RISC OS 4 Risc PC ‘seemed’ to work fine in an A4000 but that was done on ZIDEFS with the ZIDFS hacked HForm for 3.1!

 
Dec 2, 2020 9:32pm
Avatar David J. Ruck (33) 1100 posts

@Sprow thanks for the clarification, you are correct that I was trying to format a drive for an older OS on a newer one.

 
Dec 8, 2020 7:16pm
Avatar Chris Evans (457) 1601 posts

o.k. test results:
Using the mSATA drive that had previously been formatted on the ZIDEFS hacked HForm:
HForm 2.76 reported “Drive does not have a valid filecore partition”
We then formatted it and everything seems to work as expected!

 
Dec 8, 2020 7:47pm
Avatar Andrew Conroy (370) 684 posts

HForm 2.76 reported “Drive does not have a valid filecore partition”

You missed out the important bit that although HForm reported no valid filecore partition, we were still able to read and write to the mSATA drive as formatted by ZIDEFS (using an A3020’s ADFS interface)

Reply

To post replies, please first log in.

Forums → General →

Search forums

Social

Follow us on and

ROOL Store

Buy RISC OS Open merchandise here, including SD cards for Raspberry Pi and more.

Donate! Why?

Help ROOL make things happen – please consider donating!

RISC OS IPR

RISC OS is an Open Source operating system owned by RISC OS Developments Ltd and licensed primarily under the Apache 2.0 license.

Description

General discussions.

Voices

  • Chris Evans (457)
  • Paolo Fabio Zaino (28)
  • Sprow (202)
  • David J. Ruck (33)
  • Jon Abbott (1421)
  • Andrew Conroy (370)

Options

  • Forums
  • Login
Site design © RISC OS Open Limited 2018 except where indicated
The RISC OS Open Beast theme is based on Beast's default layout

Valid XHTML 1.0  |  Valid CSS

Powered by Beast © 2006 Josh Goebel and Rick Olson
This site runs on Rails

Hosted by Arachsys