Visopsys 0.91 - Return of the RAMdisk?

General discussion about Visopsys.
User avatar
andymc
Posts: 590
Joined: Tue Nov 16, 2010 7:20 pm

Re: Visopsys 0.91 - Return of the RAMdisk?

Post by andymc »

Hi Qmastery
qmastery wrote: Fri Sep 03, 2021 9:41 pm 1) Is there a way for Visopsys to detect that we're running as a RAMdisk, or - alternatively - to try booting as a RAMdisk if a regular boot didn't work? Asking because my friend Mike is going to add Visopsys into ./csb_patcher.sh script which - among the other things - lets the coreboot'ers to easily get various floppy-based OS, - and it will be wonderful if we could use a fresh Visopsys floppy as-is without repackaging it by ourselves
I think you (or someone who knows coreboot) would have to tell me that. Right now, the /ramdisk file tells the OS loader to load the boot medium into memory and tell the kernel that it's there. Then the kernel recognizes it as the boot disk.

If there was some coreboot 'hook' that could the loader could detect...

It's pretty easy to create that /ramdisk file in a script (assuming sudo/root privileges). Something like:

Code: Select all

mkdir ./tmp
mount -o loop /path/to/visopsys*floppy.img ./tmp
touch ./tmp/ramdisk
umount ./tmp
rmdir ./tmp
qmastery wrote: Fri Sep 03, 2021 9:41 pm 2) On some unlucky boots, an internal touchpad of a laptop might freeze at Visopsys very soon after boot. This is probably seen at Linux as:

Code: Select all

psmouse serio1: Touchpad at isa0060/serio1/input0 lost sync at byte 6
psmouse serio1: Touchpad at isa0060/serio1/input0 - driver resynced.
but Linux survives this problem and a touchpad continues to work. Interesting if Visopsys could detect it and try to fix by i.e. re-initializing this input device
I have seen that sort of thing before with PS2 mice -- bytes or partial 'packets' go missing, and it's out of sync. There is a byte you can sync it to, but when I tried it, it only made things slightly less glitchy, and a lot of the mouse movement got 'lost'. If I still had a mouse that was doing that, I could give it another shot. Instead of throwing out-of-sync bytes away, construct packets with the data I do have, and infer the rest. Something like that.
qmastery
Posts: 31
Joined: Mon Nov 19, 2018 8:48 pm

Re: Visopsys 0.91 - Return of the RAMdisk?

Post by qmastery »

andymc wrote: Tue Sep 07, 2021 10:55 pm
Dear Andy, I wish you lots of happiness in this New Year! :occasion-xmas: Achieve all your goals :violin: - and may your wishes come true :character-cookiemonster:
User avatar
andymc
Posts: 590
Joined: Tue Nov 16, 2010 7:20 pm

Re: Visopsys 0.91 - Return of the RAMdisk?

Post by andymc »

qmastery wrote: Sun Jan 01, 2023 6:22 pm
andymc wrote: Tue Sep 07, 2021 10:55 pm
Dear Andy, I wish you lots of happiness in this New Year! :occasion-xmas: Achieve all your goals :violin: - and may your wishes come true :character-cookiemonster:
Thank you qmastery! And the same to you :greetings-wavingyellow:

2022 was an awesome year. So much so that I had less time for Visopsys, but I'm now working to get the 0.92 release out the door. I have some big-ish things I'd like to do to modernize it
qmastery
Posts: 31
Joined: Mon Nov 19, 2018 8:48 pm

Re: Visopsys 0.91 - Return of the RAMdisk?

Post by qmastery »

andymc wrote: Thu Feb 02, 2023 11:07 am2022 was an awesome year. So much so that I had less time for Visopsys, but I'm now working to get the 0.92 release out the door. I have some big-ish things I'd like to do to modernize it
Hi there Andy, I wish you a :text-happynewyear: Thank you so much for wonderful times with Visopsys, hope to try out your new version soon :D
User avatar
andymc
Posts: 590
Joined: Tue Nov 16, 2010 7:20 pm

Re: Visopsys 0.91 - Return of the RAMdisk?

Post by andymc »

Happy new year to you!
Post Reply