473,402 Members | 2,050 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,402 software developers and data experts.

Windows port of I/O functions

Mac
Hello,

How do I implement the following functions in Windows?:

outb

outl

inb

iopl

inb

inl

I think I might need STL.

Does anyone know a good tutorial for programming windows with STL?

Thanks,
Mac
http://www.datanetzs.com
Aug 1 '08 #1
5 3263
Mac wrote:
Hello,

How do I implement the following functions in Windows?:
Ask in a Windows newsgroup.
>
outb

outl

inb

iopl

inb

inl

I think I might need STL.
STL (and C++) has nothing to do with hardware. Any hardware interaction
is achieved using system- and platform-specific libraries. You need to
ask in the system/platform- specific newsgroup.
Does anyone know a good tutorial for programming windows with STL?
Nicolai Josuttis' "The C++ Standard Library" is one of the best.

V
--
Please remove capital 'A's when replying by e-mail
I do not respond to top-posted replies, please don't ask
Aug 1 '08 #2
Mac
Does anyone know a good tutorial for programming windows with STL?

Nicolai Josuttis' "The C++ Standard Library" is one of the best.
>Doesn't cover STL and Windows.
Try STL Programming from the Ground Up by Herbert Schildt (Author)
How do I implement the following functions in Windows?:
Ask in a Windows newsgroup.
>Not helpful. This question is a request for an answer not, a referral.
If anyone knows the Windows equivalent functions for register manipulation please post.
I think I might need STL.
STL (and C++) has nothing to do with hardware. Any hardware
interaction
is achieved using system- and platform-specific libraries. You need
to
ask in the system/platform- specific newsgroup.
>STL (and C++) are used to program CPU's and perform I/O .
Again not helpful. This question is a request for an answer not, a referral.
>Have fun, Mac
Aug 31 '08 #3
"Mac" wrote:
How do I implement the following functions in Windows?:

outb

outl

inb

iopl

inb

inl

I think I might need STL.

Does anyone know a good tutorial for programming windows with STL?
You may need STL but not in the context of the other stuff you ask about.
STL is a very high level thing, the other things you list are very low
level. As mentioned else thread, Josuttis is the bible for STL. it is a
tutorial *and* reference.

WRT the op codes (or whatever) plug this into google < msdn outb>.
Pay special attention to the response by KingTermite. If you dig around the
MSDN site long enough you are likely to find your answer. The op codes are
not part of C++ so you will never get an answer in this group. That's just
the way things are.
Aug 31 '08 #4
osmium wrote:
"Mac" wrote:
>How do I implement the following functions in Windows?:

outb
outl
inb
iopl
inb
inl

I think I might need STL.
Does anyone know a good tutorial for programming windows with STL?

You may need STL but not in the context of the other stuff you ask about.
STL is a very high level thing, the other things you list are very low
level. As mentioned else thread, Josuttis is the bible for STL. it is a
tutorial *and* reference.
With only the info given I would suggest that the STL will not be of
much help. The question is a little like what kind of screwdriver do I
need to drive a nail.
WRT the op codes (or whatever) plug this into google < msdn outb>.
Pay special attention to the response by KingTermite. If you dig around the
MSDN site long enough you are likely to find your answer. The op codes are
not part of C++ so you will never get an answer in this group. That's just
the way things are.
It's not unlike walking into math class and asking "What's the atomic
number for carbon?" The odds of finding a subject matter expert increase
when you pay attention to the audience. I do confess I don't know what
group covers att assembly syntax, STL, and windows. Sounds like a driver
type of application from the low level io stuff.

Aug 31 '08 #5
Mac wrote:
Hello,

How do I implement the following functions in Windows?:

outb

outl

inb

iopl

inb

inl
You're OT here, but...

You can't do that from userspace in Windows. You need to write a device
driver. To do that you need the DDK.
Aug 31 '08 #6

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

Similar topics

3
by: Chris Hope | last post by:
I don't normally do PHP development work on Windows but I need to port an image creation tool to Windows. So I have loaded the php_gd2.dll module for image creation support but it doesn't include...
4
by: Vidya Bhagwath | last post by:
Hello Experts, I am porting the C++ code into the Visual C#.NET. My C++ code is mainly based on the serial communication. So I am using the windows structure such as DCB.. etc and the windows...
4
by: ValK | last post by:
Hello All, I need to write VB.NET application as Windows Service with the following functions: - the Windows Service shall be able to scan and receive data via serial port - the received data from...
0
by: Vidyasagara Guntaka | last post by:
Hi, I recently downloaded source code for 8.0.0 beta1. When I tried building the libpq for windows, I got some compilation errors. Following the compilation output:...
3
by: Chris Paul | last post by:
I'm having trouble with PHP & PostgreSQL/OpenLDAP/Apache on Windows. I've set this up countless times on BSD (piece of cake) but I'm trying to do this on Windows now so that my developer can work...
29
by: mastermagrath | last post by:
Hi, Sorry for the possibly silly question. Am i right in saying that the C library i use on a windows machine really utilises the windows API for all its operations e.g. opening files, printing...
6
by: abhi | last post by:
Hello, I want to create a small project which will display scrolling text on LED that will be attached to Parallel port. I want to create this project in C language(possibly in Mingw) on Windows...
8
by: rays | last post by:
Hi, I am trying to port a C++ program which is supposed to be standards compliant. It works fine on Linux with GCC (4.x). But as I try to compile it on Windows, all hell breaks loose. I have been...
2
by: tomtomtom | last post by:
Hello together. Thanks for giving me the opportunity to talk with software development experts. I'd like to develop an application to run on a PDA involving GPS. In this context I've got a...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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,...
0
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...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
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...

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.