473,466 Members | 1,408 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Interaction with system hardware with c++

Guys does any body know how to develop an micro operating system using
c++. or tell about how to make an executable that can interect with
system hardware and does not require a ms dos to run.And tell me how t
o write a assembler code in c++........

please reply..

Jul 11 '06 #1
4 3401
"prashant" <me*************@gmail.comwrote in message
news:11**********************@35g2000cwc.googlegro ups.com...
: Guys does any body know how to develop an micro operating system using
: c++.
Sure, if it can be done in C, in can be done in C++.

: or tell about how to make an executable that can interect with
: system hardware and does not require a ms dos to run.
Besides being a platform-specific question, it is also too vague.
In MSDOS and Win9x, by the way, any application can take over
the system and talk to the hardware directly.

: And tell me how t
: o write a assembler code in c++........

Using an "asm" statement, and following the specific
syntax for the platform/compiler that you are using.

: please reply..
Advice:
- be specific in your questions
- post to a forum dedicated to x86 assembly, kernel
development, or whatever you are looking into.
--
http://ivan.vecerina.com/contact/?subject=NG_POST <- email contact form
Jul 11 '06 #2
"prashant" <me*************@gmail.comwrote:
Guys does any body know how to develop an micro operating system
using c++.
Some people do write operating systems in C++, yes.

If you mean, will I write you one for free, the answer is no.
or tell about how to make an executable that can interect with
system hardware and does not require a ms dos to run.
Depends on which "system hardware" you're talking about. Each piece
of hardware generally requires a different driver for each operating
system you want it to work with. For more information, consult the
technical manuals for the hardware and operating systems you want to
work with.
And tell me how to write a assembler code in c++.
If you mean, "how do I embed assembly snippets in C++", some compilers
use the standard "asm" keyword, while others use a non-standard "_asm"
or "__asm" keyword.

Here's a typical instance of some embedded assembly:

__asm
{
mov ah,3Dh
mov al,0
lea dx,file
int 21h
}

Different compilers do that differently, though. For more information,
consult your compiler's documentation.

--
Cheers,
Robbie Hatley
East Tustin, CA, USA
lone wolf intj at pac bell dot net
(put "[usenet]" in subject to bypass spam filter)
http://home.pacbell.net/earnur/
Jul 11 '06 #3
I guess u r not very clear with your objective .
nway Here is the book
Programming Embedded system in C and C++
By Michael Barr
and u can have alook on Google Book Search for preview.
and I feel this will solve many of ur unsaid problems.

cheers,
prashant wrote:
Guys does any body know how to develop an micro operating system using
c++. or tell about how to make an executable that can interect with
system hardware and does not require a ms dos to run.And tell me how t
o write a assembler code in c++........

please reply..
Jul 11 '06 #4

<am*********@gmail.comwrote in message
news:11**********************@75g2000cwc.googlegro ups.com...
>I guess u r not very clear with your objective .
nway Here is the book
Programming Embedded system in C and C++
By Michael Barr
and u can have alook on Google Book Search for preview.
and I feel this will solve many of ur unsaid problems.

cheers,
Please don't top-post. Your answers should go after, or interspersed with,
what you're replying to.

Also, please refrain from using abbreviations for English words, such as
"u", "r", and "nway". It's hard enough for non-native-English speakers to
read English without having to interpret such instant-message-speak.
prashant wrote:
>Guys does any body know how to develop an micro operating system using
c++. or tell about how to make an executable that can interect with
system hardware and does not require a ms dos to run.And tell me how t
o write a assembler code in c++........
-Howard
Jul 11 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: ajjvn | last post by:
I 'inherited' a group of SQL Server server class machines. They are true server technology but the disk sub-systems are lacking. There is one hot-swap backplane that all the drives share (with...
2
by: richard | last post by:
Hi, I am about to start developing an n-tier system. And was hoping to get an insight into the best ways of doing this. Inparticular, I want to know how I can develop classes/component to be...
8
by: Jasper | last post by:
I have a noob problem that is fairly expansive. Let me preface it by saying that I'm a beginning programmer and am using the game I'm writing as a learn-as-I-go tool. I'm trying to make a...
2
by: anant_tickoo | last post by:
how to interact with printer port in c++ on NT based system? i want to send the data to printer port and also want to read from it but Nt system in not allowing me to do that. help needed for...
3
by: Aaron Queenan | last post by:
I have a form which performs some asynchronous code. I want to display a wait cursor when it starts, and hide the wait cursor when it has completed. This part works fairly well, using: ...
2
by: deko | last post by:
When to use a privileged user thread rather than a windows service? That's the question raised in a previous post . It was suggested that if the service needs to interact with a WinForms app...
8
by: sudhanshu | last post by:
Hi all, can anyone plz send me some tutorials on hardware interaction using C/C++. Can u please suggest me a good topic for doing my project im going to code in C++ . Please give me some ideas...
4
by: Daniel.Benedek | last post by:
Hey there, I have a number of web services that interact with each other ( send requests to each other etc ). I would like to test the interaction between them ? Does anyone have any ideas as to...
1
by: dwij2u | last post by:
Hi All, Can someone guide me on how we can modify the below script so that no user interaction is required to feed the password when the script is run, current scenario is like if I try to login...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.