FYSOS: OS Development Series

This forums is for OS project announcements including project openings, new releases, update notices, test requests, and job openings (both paying and volunteer).
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

Re: FYSOS: OS Development Series

Post by Combuster »

~ wrote:(full ICBM coordinates)
BenLunt wrote:This forum is public and unless you delete your previous post, everyone will see your information.
Except you can only delete the last post in a thread, so it requires a staffer to do it now. Be careful with your online health and use PMs for this kind of thing, folks!
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
User avatar
Roman
Member
Member
Posts: 568
Joined: Thu Mar 27, 2014 3:57 am
Location: Moscow, Russia
Contact:

Re: FYSOS: OS Development Series

Post by Roman »

I've already seen the post. Expect guests :twisted: :P
"If you don't fail at least 90 percent of the time, you're not aiming high enough."
- Alan Kay
User avatar
~
Member
Member
Posts: 1225
Joined: Tue Mar 06, 2007 11:17 am
Libera.chat IRC: ArcheFire

Re: FYSOS: OS Development Series

Post by ~ »

Combuster wrote:
~ wrote:(full ICBM coordinates)
BenLunt wrote:This forum is public and unless you delete your previous post, everyone will see your information.
Except you can only delete the last post in a thread, so it requires a staffer to do it now. Be careful with your online health and use PMs for this kind of thing, folks!
And I thought it was a good way to improve distributed OSDev meetings worldwide... Still think so...
User avatar
~
Member
Member
Posts: 1225
Joined: Tue Mar 06, 2007 11:17 am
Libera.chat IRC: ArcheFire

Re: FYSOS: OS Development Series

Post by ~ »

BenLunt wrote:I prefer the email method. This forum is public and unless you delete your previous post, everyone will see your information. :-)

Anyway, email sent and thank you for your support,
Ben
Could you please make it possible to send a PDF or HTML file set containing a digital version of a book volume by email once you finally get the physical payment for it?

For OS development, it would be so much more productive to have a digital and a paper version, and it would make for a finer product.
User avatar
BenLunt
Member
Member
Posts: 937
Joined: Sat Nov 22, 2014 6:33 pm
Location: USA
Contact:

Re: FYSOS: OS Development Series

Post by BenLunt »

~ wrote:Could you please make it possible to send a PDF or HTML file set containing a digital version of a book volume by email once you finally get the physical payment for it?

For OS development, it would be so much more productive to have a digital and a paper version, and it would make for a finer product.
It would, though I do not release the PDF form or any other digital form due to the fact that once I did, knowing the internet, it would soon be freely available around the world.

Amazon does offer a discount when you buy the book form *and* the Kindle form, but in my opinion, you can't beat the book form, no matter what it is.

Thanks for your comment, but my answer has to be no.

Ben
alexfru
Member
Member
Posts: 1110
Joined: Tue Mar 04, 2014 5:27 am

Re: FYSOS: OS Development Series

Post by alexfru »

Ben, the books that my dad and I wrote several years ago are all scanned and downloadable in djvu and/or pdf. They were paperbacks only. :)
User avatar
~
Member
Member
Posts: 1225
Joined: Tue Mar 06, 2007 11:17 am
Libera.chat IRC: ArcheFire

Re: FYSOS: OS Development Series

Post by ~ »

alexfru wrote:Ben, the books that my dad and I wrote several years ago are all scanned and downloadable in djvu and/or pdf. They were paperbacks only. :)
Which ones?

"Old books" is one of the best keyword there is from Google to Torrents to libraries offline or not, and OS development, computing and math are always very important topics with high quality of content.
User avatar
BenLunt
Member
Member
Posts: 937
Joined: Sat Nov 22, 2014 6:33 pm
Location: USA
Contact:

Re: FYSOS: OS Development Series

Post by BenLunt »

alexfru wrote:Ben, the books that my dad and I wrote several years ago are all scanned and downloadable in djvu and/or pdf. They were paperbacks only. :)
Yep, I've seen mine in some form of a digital format also. :) Nothing we can do, that's the way of the internet...
alexfru
Member
Member
Posts: 1110
Joined: Tue Mar 04, 2014 5:27 am

Re: FYSOS: OS Development Series

Post by alexfru »

~ wrote:
alexfru wrote:Ben, the books that my dad and I wrote several years ago are all scanned and downloadable in djvu and/or pdf. They were paperbacks only. :)
Which ones?
A series of books on developing with i8051-compatible MCUs (covering both hardware and software; published in Russian).
User avatar
BenLunt
Member
Member
Posts: 937
Joined: Sat Nov 22, 2014 6:33 pm
Location: USA
Contact:

Re: FYSOS: OS Development Series

Post by BenLunt »

I have released the boot and loader code to my operating system called FYSOS, which is located at:
http://www.fysnet.net/fysos.htm

The code is released at:
https://github.com/fysnet/FYSOS

The boot code is assembled with NBASM while the loader code is C and compiled with my version of Alex's SmallerC compiler I call NBC, which in-turn then is assembled with NBASM.

Both are found at:
http://www.fysnet.net/newbasic.htm

The boot code contains an empty MBR, a MBR that can handle multiple extended partitions, also called nested partitions, and contains multiple file system (partition) boot sectors.

The loader code will load as many files as specified (hard coded in the loader.c file) to specific places in memory (hard coded in a 32-byte header read from the specified file), then once completed, will jump to the address of the file marked "i'm the kernel".

This loader will read from the same various file systems as the boot sectors.

The big thing to note is that the loader is 90% C code, with the 10% as inline assembly all compiled with NBC, again my variation of Alex's SmallerC compiler. The loader code is 16-bit real mode as well as 32-bit real and protected mode all in the same file with the use of #pragma's.

This has made it so much easier to code, as well as more enjoyable :-)

Anyway, boot and loader code released. Please see the top of any file for the "licensing"...

I release this code so that it might help others with their learning. Please direct your questions to either my email address (listed at the top of http://www.fysnet.net/fysos.htm) or this forum. If it is a question that directly concerns my code, I prefer the email approach, but if you prefer this forum, that is okay too.

Thanks,
Ben

P.S. Alex's SmallerC is at:
https://github.com/alexfru/SmallerC
BasdP
Posts: 4
Joined: Tue Aug 09, 2016 2:49 am

Re: FYSOS: OS Development Series

Post by BasdP »

BenLunt wrote:The second image is a Windows XP app that helps me make the fonts for the GUI.
I'm planning on buying your books to take with me on my vacation (I'm unable to let OS dev go, even when I don't have access to a computer :oops: ), but this line worries me a bit. If you developed this for Windows XP, which is 15 years old and isn't even supported anymore for over two years, how up to date and accurate is this book? It seems like it is just published, but I can't see a reason for anyone to still use Windows XP, let alone develop something for it, today.
User avatar
BenLunt
Member
Member
Posts: 937
Joined: Sat Nov 22, 2014 6:33 pm
Location: USA
Contact:

Re: FYSOS: OS Development Series

Post by BenLunt »

BasdP wrote:
BenLunt wrote:The second image is a Windows XP app that helps me make the fonts for the GUI.
I'm planning on buying your books to take with me on my vacation (I'm unable to let OS dev go, even when I don't have access to a computer :oops: ), but this line worries me a bit. If you developed this for Windows XP, which is 15 years old and isn't even supported anymore for over two years, how up to date and accurate is this book? It seems like it is just published, but I can't see a reason for anyone to still use Windows XP, let alone develop something for it, today.
I can understand your concerns. However, I use WinXP as my development host, not the target host.

As for the source code to the font builder, it is written so that it will compile for any Windows host. Though I have not compiled it for a Linux host, I believe that with a few minor modifications, it will compile and run on a Linux style host as well. It does not use Microsoft's MFC library or any other host dependent code.

To make matters worse, as far as your comment is concerned, the demo GUI included with the CDROM (available upon request) is written for DOS, which is a bit older than WinXP. However, please note that the only reason I use DOS is for the simplicity of it has a host. Be assured that the demo code does not rely upon any host system calls except for the memory management, file access, and text screen output, all which your OS development should already have at this point.

It is my intent to write the code as to show you how to accomplish the task, not to create the GUI for you, and I use WinXP and DOS to do that. If you, as the OS developer, have a working knowledge of OS development, and you should at the time of the GUI phase, my choice of WinXP and DOS as the demo hosts will have no effect on the code or your ability to take the code and learn to integrate it into your own.

On a side note, and I hope not to start a war here, I have been using WinXP since its release and have never had the desire to change. It isn't broken so I am not going to fix it. If it isn't broken, I am in no need of the support that is no longer available for it. I don't have any excess software install, only the necessities. I do have a machine with Win8 and absolutely hate it. Win8 is a nightmare in my opinion. I have not seen Win10. Besides, a host that must skip a version number (Win9) due to the fact that older software might interpret it as Win95 or Win98, doesn't interest me. Just my humble opinion.

If and when you purchase the book, please be sure to let me know, following the instructions at http://www.fysnet.net/the_graphical_user_interface.htm for properly requesting the CDROM, and I will be more than happy to send it to you. Also, if you have any questions about the code, the book, and/or your integration of the code, be sure to let me know.

Thanks,
Ben
User avatar
~
Member
Member
Posts: 1225
Joined: Tue Mar 06, 2007 11:17 am
Libera.chat IRC: ArcheFire

Re: FYSOS: OS Development Series

Post by ~ »

BenLunt wrote:I prefer the email method. This forum is public and unless you delete your previous post, everyone will see your information. :-)

Anyway, email sent and thank you for your support,
Ben
I just bought your book volume 8 about USB.

I sent you an email with the information about the proof of the purchase yesterday.

Please send me the source code for the book.
User avatar
zaval
Member
Member
Posts: 648
Joined: Fri Feb 17, 2017 4:01 pm
Location: Ukraine, Bachmut
Contact:

Re: FYSOS: OS Development Series

Post by zaval »

On a side note, and I hope not to start a war here, I have been using WinXP since its release and have never had the desire to change.
WinXP forever! It's just the best.)
I bet you are using classic Win95 theme on it. ;) Just like me. I have 2 development machines, and both run XP (32 and 64-bit)).
ANT - NT-like OS for x64 and arm64.
efify - UEFI for a couple of boards (mips and arm). suspended due to lost of all the target park boards (russians destroyed our town).
User avatar
BenLunt
Member
Member
Posts: 937
Joined: Sat Nov 22, 2014 6:33 pm
Location: USA
Contact:

Re: FYSOS: OS Development Series

Post by BenLunt »

~ wrote:Please send me the source code for the book.
Sent.
zaval wrote:
On a side note, and I hope not to start a war here, I have been using WinXP since its release and have never had the desire to change.
WinXP forever! It's just the best.)
I bet you are using classic Win95 theme on it. ;) Just like me. I have 2 development machines, and both run XP (32 and 64-bit)).
I do use the classic Win95 theme. I have not had any reason to upgrade. If it isn't broke, don't fix it.

Ben
Post Reply