General Category > LisaList2

ESProfle Image Management?

<< < (4/5) > >>

stepleton:

--- Quote from: AlexTheCat123 on April 14, 2025, 02:59:04 pm ---It's just that this is a pretty massive project, and I think it would be a lot more exciting to reveal it all at once at an event like this than to reveal it piece by piece along the way.
--- End quote ---

I have to say that I'm unmoved. Filesystem discoveries are of such basic utility to Lisa enthusiasts that big-presentation glory for one particular project (however famous) doesn't really justify keeping the secret in my book, at least not for a patch that I expect amounts to changing a single-digit number of bytes. (It will be interesting to know if that hypothesis is correct!) Other people may have other projects they want to accomplish on their machines, and in my own opinion it's better for everyone if they don't have to wait for such a fundamental enhancement.

I assume that patching the ProFile driver is a relatively small part of your efforts. If that's correct, and if wanting to "be there first" is part of your motivation, I wouldn't overestimate the number of people with the will and the patience to try and accomplish the "hard part", which is to build the Office System and its tools. Who knows, but I would expect that a lot of people have other designs on their free time between now and June.

But let's say that you did get scooped because someone else gets their hands on a big ProFile: the worst-case scenario! Maybe they will get some story-of-the-day fame on hackaday and hacker news or something. You're still the one who's going to show all your work to an excited crowd at VCF; you'll be filmed and people are going to be able to ask you questions and talk to you in person. You know the deep lore and the technical details, and your care to share your knowledge (eventually  :) ) suggests to me that your work will wind up as the primary reference for how to do it.

You were not the first person to make a ProFile emulator, but ESProFile is now celebrated as one of the best and most accessible options out there, and rightly so. I expect the same outcome for your current project even if you aren't the first across the line. (Although I suspect you will be regardless.)

Big ProFile Technique is your discovery and so the knowledge is yours to do with as you wish, for now. But I may get a wild hair someday and try to figure it out for myself, and if I do, I will remain tempted to tell everyone how to do it. I'm still pretty busy, though. Maybe it's this evening that I'll finally get time to test those Monitor ProFile images...

Lisa2:

--- Quote from: stepleton on April 16, 2025, 04:05:25 am ---...ESProFile is now celebrated as one of the best and most accessible options out there...

--- End quote ---

ESProFile "one of the best" What?  Says who?  It's works and it's CHEAP.  Does cheap automatically make is the best?  I don't agree. 

stepleton:

--- Quote from: Lisa2 on April 16, 2025, 10:39:50 am ---ESProFile "one of the best" What?  Says who?  It's works and it's CHEAP.  Does cheap automatically make is the best?  I don't agree.

--- End quote ---

Oh dear, I don't intend to start a debate on two fronts!

Saying "one of" the best is a great hedge, first of all --- I didn't say "THE best". But it all depends on what a buyer is optimising for. If you're on a budget and you like a menu for choosing a disk image, then I do think ESProFile is a great choice, and I'm really glad it exists. Meanwhile, if you're looking for something that has years and years of track record and good support, then X/ProFile is a top pick. If you like an electronics project that's also been around for a while, IDEFile is a lot of fun.

I'll tell you what isn't one of the best options under just about any circumstance: my own gizmo, since they don't make the SBC I use any longer. Too bad! Plus the selection of the bidirectional level adapter ICs I used in my design was poor and led to reliability problems on the internal connector of 2/10s. It was well-documented, at least! Another not-best option is a semi-abandoned Raspberry Pi gumstick project you can find on GitHub, and same for a thing I once saw on an Italian website that purports to use a PC parallel port to emulate a ProFile (which sounds interesting but awkward these days). I would love to link to these last two projects but Google these days is not helping me track them down like it used to.

Still, that's three choices that don't count as "one of the best", which you can revise to "top 50%" of six options I mentioned if preferable. Says who? Says me  :) I'm glad there are several fine emulators to choose from.

AlexTheCat123:

--- Quote from: stepleton on April 16, 2025, 04:05:25 am ---I have to say that I'm unmoved. Filesystem discoveries are of such basic utility to Lisa enthusiasts that big-presentation glory for one particular project (however famous) doesn't really justify keeping the secret in my book, at least not for a patch that I expect amounts to changing a single-digit number of bytes. (It will be interesting to know if that hypothesis is correct!) Other people may have other projects they want to accomplish on their machines, and in my own opinion it's better for everyone if they don't have to wait for such a fundamental enhancement.

I assume that patching the ProFile driver is a relatively small part of your efforts. If that's correct, and if wanting to "be there first" is part of your motivation, I wouldn't overestimate the number of people with the will and the patience to try and accomplish the "hard part", which is to build the Office System and its tools. Who knows, but I would expect that a lot of people have other designs on their free time between now and June.

But let's say that you did get scooped because someone else gets their hands on a big ProFile: the worst-case scenario! Maybe they will get some story-of-the-day fame on hackaday and hacker news or something. You're still the one who's going to show all your work to an excited crowd at VCF; you'll be filmed and people are going to be able to ask you questions and talk to you in person. You know the deep lore and the technical details, and your care to share your knowledge (eventually  :) ) suggests to me that your work will wind up as the primary reference for how to do it.

You were not the first person to make a ProFile emulator, but ESProFile is now celebrated as one of the best and most accessible options out there, and rightly so. I expect the same outcome for your current project even if you aren't the first across the line. (Although I suspect you will be regardless.)

Big ProFile Technique is your discovery and so the knowledge is yours to do with as you wish, for now. But I may get a wild hair someday and try to figure it out for myself, and if I do, I will remain tempted to tell everyone how to do it. I'm still pretty busy, though. Maybe it's this evening that I'll finally get time to test those Monitor ProFile images...

--- End quote ---


I see your point, and I think you've convinced me!


To be clear, I wasn't trying to keep it a secret to be "first" or anything. Besides, if anyone had wanted to compile bits of LOS before this, they could've split it up across multiple disks and done it piece by piece without any sort of patch whatsoever. Heck, that's what I was doing originally myself!


Of course, I would be delusional to claim that it wouldn't be a bit disappointing for someone else to come out of nowhere and finish first after all of this work, but that isn't the primary motivation for me, and it's really just more about the excitement factor of revealing it all at once. But if it's this important to people to have the patch, then it seems like it's probably the right thing to do.


My friend @warmech is going to come on here and be the one to actually share the details because he's the one who actually found the bytes that need to be changed in the disk image itself, and so he should get most of the credit here. It's only two bytes, and after I found the bytes that needed to be changed in the Pascal source, I originally didn't even bother searching through the disk image because I figured that those bytes would show up so many times that it would be impossible to find the right occurrance. But luckily he tried it anyway and now we have this patch! A big thanks to Will; he's been very supportive ever since I started of this project, and it's always nice to share the latest successes with him and bounce ideas off him!




--- Quote from: Lisa2 on April 16, 2025, 10:39:50 am ---ESProFile "one of the best" What?  Says who?  It's works and it's CHEAP.  Does cheap automatically make is the best?  I don't agree. 

--- End quote ---


This is something that is totally a matter of opinion. Some people are going to think that ESProFile is the best (or one of the best) emulators out there. Others are going to thing that X/ProFile or Cameo/Aphid or IDEFile is the best emulator. So I don't really think that this is something to argue about, given that it's very opinion-based. Different emulators have have their own unique pros and cons that are each going to matter more or less to different people.



--- Quote from: stepleton on April 16, 2025, 01:59:02 pm ---I'll tell you what isn't one of the best options under just about any circumstance: my own gizmo, since they don't make the SBC I use any longer. Too bad! Plus the selection of the bidirectional level adapter ICs I used in my design was poor and led to reliability problems on the internal connector of 2/10s. It was well-documented, at least! Another not-best option is a semi-abandoned Raspberry Pi gumstick project you can find on GitHub, and same for a thing I once saw on an Italian website that purports to use a PC parallel port to emulate a ProFile (which sounds interesting but awkward these days). I would love to link to these last two projects but Google these days is not helping me track them down like it used to.

--- End quote ---


Another one to add to this list (in my opinion) is my old ArduinoFile emulator. It's really flaky with the 2/10 and parallel cards, and you might as well give up if you have an XLerator. Plus, the board design is ugly and a bit weird to assemble, and its diagnostic mode leaves a lot to be desired. Nobody should be building these anymore now that ESProFile is a thing!


I personally agree with Tom about the pros and cons of each emulator. ESProFile and Cameo/Aphid (with the PocketBeagle caveat for Cameo/Aphid) are great for people who want a really inexpensive emulator that allows you to select which disk image you want your Lisa to boot from at power-on. IDEFile is good for anyone who wants a fun "hardcore DIY" solution that uses parts that feel more period-accurate to the Lisa. And X/ProFile is good for anyone who wants something that's guaranteed to "just work" with customer support if anything goes wrong.

warmech:
Howdy all.

When Alex and I were trying to figure out large(er)-scale storage options to get the LOS source on to a Lisa proper, he'd mentioned that you could flub with the block count on a ProFile image to get it higher than 10MB. I don't even remember what prompted me to go fishing through the LOS source for the ProFile drivers, but I cracked them open and it hit me like a ton of bricks. From "LISA_OS\OS\source-PROFILE.TEXT.unix.txt":


--- Code: ---38  : (*Drive types*)
39  : T_Profile = 0;
40  : T_Seagate = 1;
41  : T_Widget  = 2;

... [For context, T_Profile is a 5MB model and T_Seagate is the 10MB model] ...

283: if (discsize <= 9728) or (discsize > 30000)
284:   then drivetype:= T_Profile (* set drivetype to profile *)

--- End code ---

Anything that returns a max block count of less than 9729 or more than 30000 the Lisa treats as a 5MB Profile. There's some Widget vs Seagate logic a few more lines down but, ultimately, if it's not a T_Profile then it's a T_Seagate - fair enough. Since 30000 is an integer and this is Pascal, I reasoned that there had to just be a word in the compiled Profile driver somewhere that contained 30000. Sure enough, in LOS 3.0's first installer disk at address 0x1C7A6: $7530. Surely it couldn't be that easy... could it?

Since I don't actually have a working Lisa at my disposal at the moment, I rang up Alex and had him try a patched version (we ended up trying $FFFF ultimately) on a disk image on his ESProFile. Without any fanfare and after a loooooooooooooong wait, we were staring straight down the barrel of a 32MB ProFile in LOS. After the fact, Alex also found that this works for the first Workshop installer disk: 0x81A6 is where you want to patch.

[EDIT - There are notes in the ProFile ASM driver (I believe it was the ASM file...) that indicate that this could be expanded even further with some slightly more extensive tweaks to the driver. I haven't had any time to pry further, but the possibility allegedly exists.]

It's a relatively tiny contribution to an otherwise much, much larger project but the implications are - quite literally - huge. I'm happy to have figured it out, but it helps that it was just that simple, lol. ;D On the much more important flipside, Alex has been grinding away at all of this for some time now and I think the outcome will be a huge boon to the Lisa community. He deserves a ton of kudos for the progress he's made with the LOS source and I can't wait for y'all to see the outcome.

On another note, I second the idea that each of these emulators has their strong suits and each one occupies a slice of "best-hood". The X/ProFile does exactly what it needs to and has a rock-solid reputation; it might not be the cheapest option, but it's a damned fine product that meets about every expectation you could lob at it without fail. The ESProFile, on the other hand, is a happy blend of accessible, inexpensive, and functional; it's cheap (but not "cheap"), it's an open design, and - as Tom pointed out - it runs Selector, which is just too damned convenient not to use.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version