Expand on your bootloader

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
angeln123
Posts: 1
Joined: Thu Apr 02, 2009 10:00 am
Contact:

Expand on your bootloader

Post by angeln123 »

** Original contents deleted by Brendan **
User avatar
01000101
Member
Member
Posts: 1599
Joined: Fri Jun 22, 2007 12:47 pm
Contact:

Re: Expand on your bootloader

Post by 01000101 »

This should really be wiki-fied.

It needs to be indexed properly as people searching for tutorials go to the wiki and not the forums.
I didn't fully review the tutorial, but it seems like some nice work.
User avatar
JAAman
Member
Member
Posts: 879
Joined: Wed Oct 27, 2004 11:00 pm
Location: WA

Re: Expand on your bootloader

Post by JAAman »

As you know, the x86 processor boots into a 16 bit envirement. What is this mode? (Hint: Its not Real Mode) ... Okay, it is :)
What is so real abut real mode, anyway? Real Mode...
not really... technically (i know, it doesnt really make much difference, but...) it is the BIOS that switches into RMode, not the CPU -- the CPU does start in 16bit mode, but its UMode, not RMode (unreal mode being a "mutation" between RMode and PMode) -- well i guess 88/86/286 do start in actual RMode, but 386 and beyond actually start up in UMode (which was not a 'bug later supported for compatibility' as many people claim, but rather an intentional side-affect of how PMode works, and actually used in the boot process), the BIOS then first switches to PMode to do most of its work, then returns to RMode before jumping to the bootsector

reference: 3A:9.1.4
User avatar
Brendan
Member
Member
Posts: 8561
Joined: Sat Jan 15, 2005 12:00 am
Location: At his keyboard!
Contact:

Re: Expand on your bootloader

Post by Brendan »

Hi,
JAAman wrote:
As you know, the x86 processor boots into a 16 bit envirement. What is this mode? (Hint: Its not Real Mode) ... Okay, it is :)
What is so real abut real mode, anyway? Real Mode...
not really... technically (i know, it doesnt really make much difference, but...) it is the BIOS that switches into RMode, not the CPU -- the CPU does start in 16bit mode, but its UMode, not RMode (unreal mode being a "mutation" between RMode and PMode) -- well i guess 88/86/286 do start in actual RMode, but 386 and beyond actually start up in UMode (which was not a 'bug later supported for compatibility' as many people claim, but rather an intentional side-affect of how PMode works, and actually used in the boot process), the BIOS then first switches to PMode to do most of its work, then returns to RMode before jumping to the bootsector
Technically, unreal mode is real mode with modified data segment limits, and the startup state for modern 80x86 CPUs is real mode with a modified code segment base (but the same 64 KiB limits for all segments) - they aren't quite the same...


Cheers,

Brendan
For all things; perfection is, and will always remain, impossible to achieve in practice. However; by striving for perfection we create things that are as perfect as practically possible. Let the pursuit of perfection be our guide.
User avatar
neon
Member
Member
Posts: 1567
Joined: Sun Feb 18, 2007 7:28 pm
Contact:

Re: Expand on your bootloader

Post by neon »

Im confused...This looks like a copy+paste from the text in one of my tutorials...

(In fact, both of your posts contain it. Please remember that it is copyrighted work. I am fine if some of the text is wikified though. I am unable to check your website atm)
OS Development Series | Wiki | os | ncc
char c[2]={"\x90\xC3"};int main(){void(*f)()=(void(__cdecl*)(void))(void*)&c;f();}
User avatar
Brendan
Member
Member
Posts: 8561
Joined: Sat Jan 15, 2005 12:00 am
Location: At his keyboard!
Contact:

Re: Expand on your bootloader

Post by Brendan »

Hi,
neon wrote:Im confused...This looks like a copy+paste from the text in one of my tutorials...
You're right - it's a direct copy from this web page, complete with the same spelling mistakes ("envirement").
neon wrote:(In fact, both of your posts contain it. Please remember that it is copyrighted work. I am fine if some of the text is wikified though. I am unable to check your website atm)
Copyright law typically allows for a certain amount of the original work to be quoted and/or used for reference - see "Copyrights: fair use" in Wikipedia.


Cheers,

Brendan
For all things; perfection is, and will always remain, impossible to achieve in practice. However; by striving for perfection we create things that are as perfect as practically possible. Let the pursuit of perfection be our guide.
User avatar
Brendan
Member
Member
Posts: 8561
Joined: Sat Jan 15, 2005 12:00 am
Location: At his keyboard!
Contact:

Re: Expand on your bootloader

Post by Brendan »

Hi,

Just a quick update - the original poster cut & pasted "part II" (which I deleted), and the only reason I can think of for doing this (either accidentally or deliberately) is to get people to click on the link in the original poster's signature. I've banned the original poster (until they can explain their actions)....


Cheers,

Brendan
For all things; perfection is, and will always remain, impossible to achieve in practice. However; by striving for perfection we create things that are as perfect as practically possible. Let the pursuit of perfection be our guide.
User avatar
neon
Member
Member
Posts: 1567
Joined: Sun Feb 18, 2007 7:28 pm
Contact:

Re: Expand on your bootloader

Post by neon »

Brendan wrote:Copyright law typically allows for a certain amount of the original work to be quoted and/or used for reference - see "Copyrights: fair use" in Wikipedia.
I am fine with that :) I actually kind of encourage it a little. I dont like anyone taking the series and claiming it as their own, however.

I was informed that the entire series was copied+pasted to the site (here) which (from my understanding) breaks copyright law. I emailed the site owners requesting for the content to be removed within 24 hours.
OS Development Series | Wiki | os | ncc
char c[2]={"\x90\xC3"};int main(){void(*f)()=(void(__cdecl*)(void))(void*)&c;f();}
User avatar
Brendan
Member
Member
Posts: 8561
Joined: Sat Jan 15, 2005 12:00 am
Location: At his keyboard!
Contact:

Re: Expand on your bootloader

Post by Brendan »

Hi,
neon wrote:
Brendan wrote:Copyright law typically allows for a certain amount of the original work to be quoted and/or used for reference - see "Copyrights: fair use" in Wikipedia.
I am fine with that :) I actually kind of encourage it a little. I dont like anyone taking the series and claiming it as their own, however.
IMHO, even "fair use" should be accompanied by "fair attribution".... :)
neon wrote:I was informed that the entire series was copied+pasted to the site (here) which (from my understanding) breaks copyright law. I emailed the site owners requesting for the content to be removed within 24 hours.
Doh. That web site is the same website as the one in the original poster's signature. I wouldn't be surprised if "angeln123" is the person who's violated your copyright in both cases, which makes me wonder if "angeln123" has posted it anywhere else... :cry:


Cheers,

Brendan
For all things; perfection is, and will always remain, impossible to achieve in practice. However; by striving for perfection we create things that are as perfect as practically possible. Let the pursuit of perfection be our guide.
User avatar
AJ
Member
Member
Posts: 2646
Joined: Sun Oct 22, 2006 7:01 am
Location: Devon, UK
Contact:

Re: Expand on your bootloader

Post by AJ »

Hi,
angeln123's site wrote:(Author:angeln123)
:o That's a bit low! It's not just Neon's tutorials, there are loads of other tutorials (driver / embedded development...) that are suffixed with the same note. I just tried posting a nice comment to this effect, but unfortunately the captcha doesn't seem to work.

Good luck getting it removed, Neon.

Cheers,
Adam
User avatar
neon
Member
Member
Posts: 1567
Joined: Sun Feb 18, 2007 7:28 pm
Contact:

Re: Expand on your bootloader

Post by neon »

AJ wrote:Hi,
angeln123's site wrote:(Author:angeln123)
:o That's a bit low! It's not just Neon's tutorials, there are loads of other tutorials (driver / embedded development...) that are suffixed with the same note.
Hm... Perhaps I should just contact his web hosting company do to him using his website for illegal activities (which breaks my sites Terms of Use, and I am sure many others...) as well as copyright law.
AJ wrote:Good luck getting it removed, Neon.
Thanks :) Any suggestions on getting this guy's site taken down would be great :D

*edit: Yey! Theres a link to the Wiki from the forums now. :D
Last edited by neon on Fri Apr 03, 2009 5:33 am, edited 1 time in total.
OS Development Series | Wiki | os | ncc
char c[2]={"\x90\xC3"};int main(){void(*f)()=(void(__cdecl*)(void))(void*)&c;f();}
User avatar
AJ
Member
Member
Posts: 2646
Joined: Sun Oct 22, 2006 7:01 am
Location: Devon, UK
Contact:

Re: Expand on your bootloader

Post by AJ »

DDoS? [/joke] [-X
User avatar
JamesM
Member
Member
Posts: 2935
Joined: Tue Jul 10, 2007 5:27 am
Location: York, United Kingdom
Contact:

Re: Expand on your bootloader

Post by JamesM »

neon wrote:
AJ wrote: Thanks :) Any suggestions on getting this guy's site taken down would be great :D

*edit: Yey! Theres a link to the Wiki from the forums now. :D
It was with a hugely selfish sigh of relief that I read his site and noticed that he hadn't ripped off my tutorials too. To be honest, noone's going to read them on that site - he's *literally* copy-pasted - no formatting or anything. Ridiculous.

And the forum template update was by me, due to popular demand.
User avatar
Troy Martin
Member
Member
Posts: 1686
Joined: Fri Apr 18, 2008 4:40 pm
Location: Langley, Vancouver, BC, Canada
Contact:

Re: Expand on your bootloader

Post by Troy Martin »

AJ wrote:DDoS? [/nojoke] :twisted:
Fixed! :P
Image
Image
Solar wrote:It keeps stunning me how friendly we - as a community - are towards people who start programming "their first OS" who don't even have a solid understanding of pointers, their compiler, or how a OS is structured.
I wish I could add more tex
User avatar
neon
Member
Member
Posts: 1567
Joined: Sun Feb 18, 2007 7:28 pm
Contact:

Re: Expand on your bootloader

Post by neon »

Okay...still no response from my two warnings to the OP sent through email to take down the content. I contacted the sites registrar to see if they can do anything to either have the illegal content removed, or site taken down do to illegal activity.

Lets hope it doesn't get further then this. I rather the site taken down as I am betting most of the content on the site, if not all, breaks copyright. :roll:

Thanks for the support :)
OS Development Series | Wiki | os | ncc
char c[2]={"\x90\xC3"};int main(){void(*f)()=(void(__cdecl*)(void))(void*)&c;f();}
Post Reply