Message board for the users of flat assembler.
> OS Construction > OS Construction Frequently Asked Questions (FAQ)
Matrix 25 Feb 2005, 03:56
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.
|25 Feb 2005, 03:56||
THEWizardGenius 09 Aug 2005, 20:35
Some great OS dev links:
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 ) 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
OS Dev is fun!
Pepsi tastes nasty!
Some ants toot!
|09 Aug 2005, 20:35||
edfed 30 Mar 2006, 10:54
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
|30 Mar 2006, 10:54||
TDCNL 16 Apr 2006, 10:22
i have a big problem
Wrong usage of interrupt or IN and OUT commands maybe, or a corrupt boot sector
:: The Dutch Cracker ::
|16 Apr 2006, 10:22||
DOS386 13 Apr 2007, 07:44
Intel 80387 (FPU) manual from 1987, ZIP'ped TXT, 113->445 KiB, maximum compatibility ZIP (Deflate)
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. 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)
Last edited by DOS386 on 28 Nov 2008, 09:52; edited 9 times in total
|13 Apr 2007, 07:44||
Adam Kachwalla 13 Jul 2007, 00:37
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
|13 Jul 2007, 00:37||
Matrix 07 Sep 2014, 04:58
opensource hacked bios
IF you would like to know more about what your computer is actually doing...
|07 Sep 2014, 04:58||
typedef 15 Jul 2015, 18:10
This might come in handy too:
|15 Jul 2015, 18:10||
alsr 04 Oct 2017, 19:35
THEWizardGenius links are great, but some are dead, so, here archived versions except OSDever, OSDev, Loonix because these currently works.
|04 Oct 2017, 19:35||
sleepsleep 01 Oct 2018, 22:20
this might be useful to os developer,
Operating Systems: Three Easy Pieces
Remzi H. Arpaci-Dusseau and Andrea C. Arpaci-Dusseau
|01 Oct 2018, 22:20||
< Last Thread | Next Thread >
Copyright © 1999-2023, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.