[Freedos-devel] Alternate Installer

2021-05-25 Thread Jerome Shidel
The FreeDOS 1.3-RC4 Live CD has an Easter Egg.

Basically, it is the HD image of the x86 installer. Providing, yet another way 
to install FreeDOS. One that does not require OS level CD support. 

Oh, did I mention, the Easter Egg boots to Advanced Mode. :-)

https://youtu.be/SB17eypovvY 

:-)

Jerome___
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel


Re: [Freedos-devel] Alternate Installer

2021-05-25 Thread Eric Auer


Hi Jerome,

> Basically, it is the HD image of the x86 installer.

Interesting that it scrolls through a bit of text about
FreeDOS to keep the user entertained while installing.

I see that it ends up creating a 386+ install, which
makes me wonder whether SHSUCDX and UDVD2 actually
recommend loading them to UMB according to the docs?
Using UMB for disk drive related stuff feels uncanny.

Regards, Eric



___
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel


Re: [Freedos-devel] Alternate Installer

2021-05-25 Thread Jerome Shidel



> On May 25, 2021, at 9:02 AM, Eric Auer  wrote:
> 
> 
> Hi Jerome,
> 
>> Basically, it is the HD image of the x86 installer.
> 
> Interesting that it scrolls through a bit of text about
> FreeDOS to keep the user entertained while installing.

Mostly, that is for installing from slow floppies. 
Gives the user something to do while waiting. 

:-)

Jerome




___
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel


[Freedos-devel] GPT processing code from Bret

2021-05-25 Thread Eric Auer


Hi all,

as announced earlier, Bret Johnson has donated excerpts from
his USB drivers written in (NASM style) assembly language as
examples of how to process GPT partitioned drives. This can
be useful as reference when adding some GPT support in C for
the FreeDOS kernel. Our MBR partition table handling is done
in initdisk.c, but given the complexity of GPT, it could be
a good idea to put the GPT handling code in a separate file.

The excerpts are about 2000 lines of text, including plenty
of comments and definitions of data structures and constants.
Also, the USB drivers work in the background and support USB
plug and play. They can be loaded to protected mode, too :-)

In short, a static C version to use by our kernel only once
at boot, with INT 13 disk I/O instead of USB, with all the
DOS specific header files which we already have available,
will probably be a few 100 lines. Still complex enough to
have something to compare to, no matter whether somebody is
writing the C code from scratch or whether they actually use
Bret's code to learn how to handle GPT. Tastes will differ
and Tom will probably not care either way, but maybe other
experts like to have a look :-)

It is also entirely possible that Bret or I would start to
write a more concise summary of the algorithm. For the time
being, I have just shortened the excerpts a bit and written
a text file which gives a quick overview of which subroutines
exist, as well as which of them will call each other when.

Go to https://auersoft.eu/soft/by-others/ to find the new
file gpt-bretjohnson-2021-05-25.zip The excerpts are provided
as free public domain content, no licenses to worry about.

Being excerpts, you cannot just assemble them into a tool,
so the target audience are humans, not computers, for now.

Regards, Eric



___
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel