thanks for all these stuffz On Thu, Sep 2, 2010 at 5:50 PM, Bipin Gautam <[email protected]> wrote:
> The Art of ASSEMBLY LANGUAGE PROGRAMMING > > (Great Tutor, About 15 days lecture, examples) > http://oopweb.com/Assembly/Documents/ArtOfAssembly/Volume/toc.html > > Forward Why Would Anyone Learn This Stuff? > 1. What's Wrong With Assembly Language > 2. What's Right With Assembly Language? > 3. Organization of This Text and Pedagogical Concerns > 4. Obtaining Program Source Listings and Other Materials in This Text > > ... > Future Reference : > http://homepage.mac.com/randyhyde/webster.cs.ucr.edu/index.html > > ___ > > > AND Writing Your Own Toy OS By Krishnakumar R. > > (Part I) http://linuxgazette.net/issue77/krishnakumar.html > (Part II) http://linuxgazette.net/issue79/krishnakumar.html > > This article is a hands-on tutorial for building a small boot sector. > The first section provides the theory behind what happens at the time > the computer is switched on. It also explains our plan. The second > section tells all the things you should have on hand before proceeding > further, and the third section deals with the programs. Our little > startup program won't actually boot Linux, but it will display > something on the screen. > > > 1. Background > > 1.1 The Fancy Dress > The microprocessor controls the computer. At startup, every > microprocessor is just another 8086. Even though you may have a brand > new Pentium, it will only have the capabilities of an 8086. From this > point, we can use some software and switch processor to the infamous > protected mode . Only then can we utilize the processor's full power. > > > 1.2 Our Role > Initially, control is in the hands of the BIOS. This is nothing but a > collection of programs that are stored in ROM. BIOS performs the POST > (Power On Self Test). This checks the integrity of the computer > (whether the peripherals are working properly, whether the keyboard is > connected, etc.). This is when you hear those beeps from the computer. > If everything is okay, BIOS selects a boot device. It copies the first > sector (boot sector) from the device, to address location 0x7C00. The > control is then transferred to this location. The boot device may be a > floppy disk, CD-ROM, hard disk or some device of your choice. Here we > will take the boot device to be a floppy disk. If we had written some > code into the boot sector of the floppy, our code would be executed > now. Our role is clear: just write some programs to the boot sector of > the floppy. > > > 1.3 The Plan > First write a small program in 8086 assembly (don't be frightened; I > will teach you how to write it), and copy it to the boot sector of the > floppy. To copy, we will code a C program. Boot the computer with that > floppy, and then enjoy. > > ... > > -- > FOSS Nepal mailing list: [email protected] > http://groups.google.com/group/foss-nepal > To unsubscribe, e-mail: > [email protected]<foss-nepal%[email protected]> > > Mailing List Guidelines: > http://wiki.fossnepal.org/index.php?title=Mailing_List_Guidelines > Community website: http://www.fossnepal.org/ -- Regards, Mr. Bishisht Bhatta CEO,Web Solution <http://websolution.com.np/>[New Baneshowr] Pepsicola Townplanning-35 Kathmandu,Nepal +977-(980-641-6309) -- FOSS Nepal mailing list: [email protected] http://groups.google.com/group/foss-nepal To unsubscribe, e-mail: [email protected] Mailing List Guidelines: http://wiki.fossnepal.org/index.php?title=Mailing_List_Guidelines Community website: http://www.fossnepal.org/
