ESProFile - A Powerful ProFile/Widget Emulator and Diagnostic Tool

Started by AlexTheCat123, January 20, 2025, 07:55:51 PM

Previous topic - Next topic

TorZidan

We are completely off topic, but I want to share this:
Code for a SCSI driver for early Macintosh computers, written in 1985:
https://github.com/SuperSVGA/MacSCSI/tree/main
Unfortunately, the full code is not present, only parts of it.

sigma7

Quote from: stepleton on March 11, 2025, 05:12:28 AM
AI has done what they usually do when they don't know what they're talking about, which is to give you an attractive-looking lie.

I'm intrigued by the potential to train some AI thing by feeding it valid Lisa documents and known-working code. Much easier done by those who (think they) control the AI, but I think the possibility is there for those of us on the outside to influence its learning.

I tried to get Chat-GPT to help me with some 6504 code for BLU; after I managed to correct some misunderstanding it had about the 6504, it could make an improvement, but it would soon revert to its misunderstanding when I tried to get back to the original objective. So as far as I'm concerned, it wasn't ready to learn something new, but I can see how a Chat-GPT expert could make much better progress than I.
Warning: Memory errors found. ECC non-functional. Verify comments if accuracy is important to you.

sigma7

Quote from: TorZidan on March 11, 2025, 07:29:31 PM
Code for a SCSI driver ... the full code is not present, only parts of it.

The LSAC (and the QuickBoot derivative) has basic bare-metal SCSI functionality for the Lisa SCSI. I hope to open-source the code at some point, but am currently dealing with another's effort to "open-source" another piece of my work before I'm ready to do so, which isn't encouraging for the time-line.

Regardless, I may be happy to help someone else if they take on the LOS SCSI driver project.
Warning: Memory errors found. ECC non-functional. Verify comments if accuracy is important to you.

ChiTownMike

Here is my ESProfile case for the external board that I created for my Lisa ESProfile card.     The inside has slots to hold the board in place I can post more pictures if anyone is interested.


Verault


AlexTheCat123

I'm on vacation right now, but I'm planning on adding it to the ESProFile GitHub repo once I get back!

ried

Has anyone used the ESProFile with LOS 1 or 1.2? I'm having an issue with an ESProFile connected to a Lisa 1 running LOS 1.2. On cold boot, it starts up and loads Selector just fine, from which I can choose my LOS 1.2 install and boot as normal. When I shut down the Lisa using the normal means, all seems fine.

However, when powering up for the second time (5v power remains constantly applied to the ESProFile), I get an Error 85 that reads "PROFILE READ FAILED." It seems the ESProFile is not resetting itself in a way that the Lisa likes and it's unprepared to support the next boot cycle.

Removing and reapplying power to the ESProFile fixes this.

AlexTheCat123

Interesting! I didn't know that LOS printed out error messages; I thought all the error codes were numerical at that point in the boot process. Either I somehow completely missed that when compiling the source code, or it's just an LOS 1 thing.

I don't have a Lisa 1 or any way to install LOS 1 from Twiggies, but can anyone else who does have one reproduce this?

ried

It's not an LOS error. It happens right after the power-on self-test, when it tries to load LOS.

AlexTheCat123

Quote from: ried on November 11, 2025, 09:53:47 PM
It's not an LOS error. It happens right after the power-on self-test, when it tries to load LOS.

I know it's not something that you're getting once you're properly booted into LOS, but the LOS bootloader is what's displaying it, right? I know the boot ROM doesn't display textual error messages like that.

sigma7

Quote from: AlexTheCat123 on November 12, 2025, 12:16:54 PM
the LOS bootloader is what's displaying it, right? I know the boot ROM doesn't display textual error messages like that.

I believe he is saying the ROM gives error 85 (displayed on the screen), and when he looked up what that means in a document, he found "PROFILE READ FAILED"
Warning: Memory errors found. ECC non-functional. Verify comments if accuracy is important to you.

AlexTheCat123

Quote from: sigma7 on November 12, 2025, 12:49:39 PM
I believe he is saying the ROM gives error 85 (displayed on the screen), and when he looked up what that means in a document, he found "PROFILE READ FAILED"

Oh, gotchya. Can you connect to your ESProFile over serial and see if it prints any sort of error/debug message when the Lisa tries and fails to read the boot block?

ried

A video is probably worth a thousand words in this case. Here's the full sequence:

(deleted)

I haven't connected the ESProFile to serial for diagnostic purposes yet, but will give that a whirl at some point.

sigma7

Quote from: sigma7 on November 12, 2025, 12:49:39 PM
Quote from: AlexTheCat123 on November 12, 2025, 12:16:54 PM
the LOS bootloader is what's displaying it, right? I know the boot ROM doesn't display textual error messages like that.
I believe he is saying the ROM gives error 85 (displayed on the screen), and when he looked up what that means in a document, he found "PROFILE READ FAILED"

Clearly I was wrong... is the error text coming from "The Selector"?
Warning: Memory errors found. ECC non-functional. Verify comments if accuracy is important to you.

ried

Well, first Error 85 appears and when prompted to CONTINUE or STARTUP FROM... choosing CONTINUE results in "PROFILE READ FAILED" and the prompts change to RESTART and STARTUP FROM...