473,799 Members | 2,972 Online
Bytes | Software Development & Data Engineering Community
+ 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 3424
"prashant" <me************ *@gmail.comwrot e in message
news:11******** **************@ 35g2000cwc.goog legroups.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.comwrot e:
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*********@gm ail.comwrote in message
news:11******** **************@ 75g2000cwc.goog legroups.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
1954
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 one SCSI channel) thusly even though there are three logical drives (composed from 6 to 8 hard drives), they all go through one channel. This is creating a performance issue that is noticable and can be seen in various performance counters that...
2
1578
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 deployed on different servers which will interact with eachother. What is the best mode of interaction? i.e. remoting or web services or other? If I go ahead and deploy the layers on separate servers am I right in thinking that scalability will...
8
2059
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 sports-management game that pulls extensive team and player data from a database to simulate matches and such. I'm not really clear on what would be a good database to use and the process of accessing it. My criteria is the following - 1 - The user...
2
1692
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 that
3
4129
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: this.TopLevelControl.Cursor = System.Windows.Forms.Cursors.WaitCursor; I also want to prevent user interaction with the controls on my form while the wait cursor is displayed, so that use events (except resize and cancel) are blocked. What is the...
2
6903
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 (which is the UI used to adjust the actions taken by, and the schedule of the service), then a privileged user thread should be used in the UI - no service required. But... "A windows service enables the creation of long-running executable
8
7465
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
1404
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 how I would go about doing that ? Some thing along the lines of having them running and be able to test the messages being sent across Thanks
1
1610
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 to a different user from a user other than root it needs user interaction for that, but it should not ask for the user interaction and it should get the password from the script itself. This is the script to modify;and it prompts me for the...
0
9688
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9546
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10491
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10247
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
7571
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6809
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5593
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3762
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2941
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.