Solved

OS Programming...

Posted on 1998-09-19
6
260 Views
Last Modified: 2010-04-15
I'm going to be straight and to the point.  I am trying to learn how to write an OS.  Here are the things I need:

1)  A web link to a *well* written document on *every* ASM command (up to the 586).
2)  Detailed descriptions of ROM calls, BIOS at boot, FAT12, FAT16, DOS stack location, order DOS is loaded in and how it does it, etc.
3)  Link to a document on integrating external ASM (compiled with NASM .097) with C.
4)  Link to a document on TASM commands (e.g. assume cs:code) and their meaning.
5)  Link to a document called 'DOSREF'.

That should be about it.  Sorry for the majority of ASM stuff, but if you want to claim that I'm off-topic, I'll just come back with the fact that C *does* support both linking to external ASM files and also has inline ASM.
0
Comment
Question by:thruska
6 Comments
 
LVL 10

Expert Comment

by:rbr
ID: 1252888
You should buy a good book, since these are a lot of questions.
For example use 2 box from SYBEX
PC Profi, Extended edition (ISBN 3-88745-836-2) and
PC/XT/AT Referenz (ISBN 3-88745-263-1)

Hope this will help.
0
 
LVL 11

Expert Comment

by:alexo
ID: 1252889
You asked several questions so this is not going to be very organized.

* Good ASM links:
    http://www.utu.fi:80/~sisasa/oasis/oasis-assembly.html
    http://www.IRO.UMontreal.CA/~ratib/code/lang.htm#4

* For the best reference on DOS, BIOS, etc. get the "interrupt list" from http://www.cs.cmu.edu/~ralf/files.html

* For C/ASM interface, check the following KB articles: Q106399, Q103725, Q104644, Q29113, Q104616, Q104617, Q104618, Q104645, Q39309.  KB articles can be accessed from  http://support.microsoft.com/support/kb/articles/qXXX/X/XX.asp (where the X's signify the KB number.  E.g., .../q106/3/99.asp).

If you think my solution is helpful, I'll resubmit as an answer.
0
 

Author Comment

by:thruska
ID: 1252890
Didn't want books.  Alexo's answer is pretty much what I was looking for (links to lots of ASM tutorials and source).  Alexo, you can re-submit your comment as an answer (or just leave it blank) for the 200 points.  Never mind about questions 2 and 5, I found documents already for them.
0
Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

 
LVL 3

Expert Comment

by:braveheart
ID: 1252891
ANSI standard C does not support linking to ASM, so whose non-standard are you going to follow?
0
 
LVL 3

Expert Comment

by:danny_pav
ID: 1252892
Get an intel asm reference here:
http://www.inf.upol.cz/~literakl/intel/intel.html
0
 
LVL 11

Accepted Solution

by:
alexo earned 200 total points
ID: 1252893
See comment from "Sunday, September 20 1998 - 03:14AM PDT" for the real answer.

>> ANSI standard C does not support linking to ASM
Now where did you get this info from???  The ANSI C standard says nothing about linknig object files.
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

An Outlet in Cocoa is a persistent reference to a GUI control; it connects a property (a variable) to a control.  For example, it is common to create an Outlet for the text field GUI control and change the text that appears in this field via that Ou…
This is a short and sweet, but (hopefully) to the point article. There seems to be some fundamental misunderstanding about the function prototype for the "main" function in C and C++, more specifically what type this function should return. I see so…
Video by: Grant
The goal of this video is to provide viewers with basic examples to understand and use for-loops in the C programming language.
The goal of this video is to provide viewers with basic examples to understand and use conditional statements in the C programming language.

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now