flat assembler
Message board for the users of flat assembler.
 Home   FAQ   Search   Register 
 Profile   Log in to check your private messages   Log in 
flat assembler > OS Construction > OS Construction Frequently Asked Questions (FAQ)

Author
Thread Post new topic Reply to topic
Matrix



Joined: 04 Sep 2004
Posts: 1171
Location: Overflow
OS Construction Frequently Asked Questions (FAQ)
OS Construction Frequently Asked Questions (FAQ)
maintained by: maintained by: scientica, Site Admin (Privalov), Matrix

Posting Information for newbies:
You've got a problem with assembly programming?
There are probably many people who can help you solve it. You only have to do the following:
First of all, you should take a look at the Flat Assembler Documentation, then you might wanna take a look at the examples section,
IF you already did so, THEN try using the search function of this message board,
IF you can't find the solution, do the following:
Try to categorize your problem, ask yourself the questions:
Is your problem assembly related? IF NOT, THEN post to Heap
ELSE Does it belong to a specific operating system? IF YES, THEN post it to the appropriate forum:
DOS, Windows, Linux, Unix, MenuetOS
ELSE Do you think your problem is due to some bug in FASM? (we hope not) IF YES, THEN post it to Compiler internals
ELSE You would like to give some feedback on the forums? IF YES, THEN post to Feedback
ELSE Post it to Main.

For advanced programmers there are also:
Macroinstructions - Post here your useful macroinstructions, discuss various tricks and syntax adjustments.
Compiler internals - Submit modifications to flat assembler itself.
OS Construction - Post here if you are writing your own OS kernel, boot loader, etc.
IDE Development - For developers and users of the Integrated Development Environments for flat assembler.

You probably could categorize your problem, now you may open a new topic named with the best description of your problem/suggestion, imagine if you saw that topic just created, what would you think if it had that name?

Beginning of FAQ:

This thread/sticky is intended to be a good list of FAQs (or simply usefull things), it's understandable that from time to time the search function might be a little tricky to use and it might take a while to find what one is looking for (especially when one isn't too familiar with the art of searching).

If you think some question in this FAQ is missing, please post a reply here with a link to the thread, and a short/brief motivation - the reply will then be deleted if approved and the entry added to the FAQ, if the entry is rejected a reply will be made to the post explaining why it's rejected, the request and the answer will then be kept for about an week and then both will be deleted to keep this thread as clean as possible.

Other FAQs:
Post 25 Feb 2005, 03:56
View user's profile Send private message Visit poster's website Reply with quote
THEWizardGenius



Joined: 14 Jan 2005
Posts: 382
Location: California, USA
Some links
Some great OS dev links:

http://www.osdever.net/
http://www.osdev.org/
http://www.Mega-Tokyo.com/osfaq2/index.php
http://my.execpc.com/CE/AC/geezer/osd/
http://www.nondot.org/sabre/os/articles
http://www.osdcom.info/news.php
http://perso.wanadoo.fr/pierrelib/index.html
http://loonix.technigga.net/osdev.php

These have links, docs, tutorials, etc. I've been to all of these sites and recommend them wholeheartedly both to any fledgling os dever (like me Wink ) and to all the experienced ones. And saving the best for last: EVERYONE who wants to write an OS for an Intel x86 processor MUST visit this page: http://www.intel.com/design/Pentium4/documentation.htm

Here is the 386 and 387 Intel manuals in plain text format. If you want to develop an x86 OS you HAVE to read these or the PDF's at the above link.
If you don't, you are bound to ask "stupid" questions and things like that.
Be sure to read them!

Edit by Loco: Attachments removed. Check DOS386's post below for complete versions

_________________
FASM Rules!
OS Dev is fun!
Pepsi tastes nasty!
Some ants toot!
It's over!
Post 09 Aug 2005, 20:35
View user's profile Send private message AIM Address Reply with quote
edfed



Joined: 20 Feb 2006
Posts: 4150
Location: https://pastebin.com/Vw7WXXf4
i have a big problem
i've made a code to write the boot sector of my primary slave with itself
when boot with my code the primary master crashes and boom
can you explain?
can this come from adsence of disk reset?



bug fixed, i coded for hard drive too early.
before to attack hardcore hardware programming, man should learn a lot.


Last edited by edfed on 02 Nov 2010, 04:00; edited 1 time in total
Post 30 Mar 2006, 10:54
View user's profile Send private message Visit poster's website Reply with quote
TDCNL



Joined: 25 Jan 2006
Posts: 56

edfed wrote:
i have a big problem
i've made a code to write the boot sector of my primary slave with itself
when boot with my code the primary master crashes and boom
can you explain?
can this come from adsence of disk reset?



Wrong usage of interrupt or IN and OUT commands maybe, or a corrupt boot sector Question

_________________
:: The Dutch Cracker ::
Post 16 Apr 2006, 10:22
View user's profile Send private message Reply with quote
DOS386



Joined: 08 Dec 2006
Posts: 1904
Old manuals
.

-----------------------------------------------------------------

Download: http://board.flatassembler.net/download.php?id=3092

Intel 80387 (FPU) manual from 1987, ZIP'ped TXT, 113->445 KiB, maximum compatibility ZIP (Deflate)


-----------------------------------------------------------------

Download: http://board.flatassembler.net/download.php?id=3093

Intel 80386 manual from 1986, very useful for 32-bit PM OS and application development, ZIP'ped TXT, 127->870 KiB, maximum compatibility ZIP (Deflate)


-----------------------------------------------------------------

Converted ZIP's to standard Deflate compression. Smile Further, the old (now deleted) 80386 ZIP was truncated and incomplete. The 2 ZIP's provided here contain each 2 versions of the document - some characters don't display correctly, check out both. Displays pretty well in FASMD, not that much in FASMW. Try several viewers, set "ASCII" rather than "ANSII", "MS-DOG text file" mode or disable non-English language, try NOTEPAD++ (use "MS-DOG text"), or Japheth's S thingie (has DOS and Win32 versions) Idea


Last edited by DOS386 on 28 Nov 2008, 09:52; edited 9 times in total
Post 13 Apr 2007, 07:44
View user's profile Send private message Reply with quote
Adam Kachwalla



Joined: 01 Apr 2006
Posts: 150
I highly recommend the IntelĀ® 64 and IA-32 Architectures Software Developer's Manuals for people who wish to develop x86-64 operating systems (they helped me a lot with the instruction set and several other things) as they contain info on the instruction set, APIC, reserved interrupts (INT 0-31), etc.


Last edited by Adam Kachwalla on 07 Mar 2013, 03:05; edited 1 time in total
Post 13 Jul 2007, 00:37
View user's profile Send private message Reply with quote
Matrix



Joined: 04 Sep 2004
Posts: 1171
Location: Overflow
Opensource bios for your PC
opensource hacked bios
IF you would like to know more about what your computer is actually doing...
Post 07 Sep 2014, 04:58
View user's profile Send private message Visit poster's website Reply with quote
typedef



Joined: 25 Jul 2010
Posts: 2909
Location: 0x77760000
Post 15 Jul 2015, 18:10
View user's profile Send private message Reply with quote
alsr



Joined: 04 Oct 2017
Posts: 1
Post 04 Oct 2017, 19:35
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >

Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2005 phpBB Group.

Main index   Download   Documentation   Examples   Message board
Copyright © 2004-2016, Tomasz Grysztar.