🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.comp.lang.learn.c-c++
Article #331

Re: using hardware port-address

#331
From: F Scheltens
Date: Tue, 16 May 2000 00:00
18 lines
1727 bytes
using basic code in c:
put the basic code in a .dll file, and make sure that both the dll and the
calls your program makes to functions in this dll use the same calling
convention for parameters.

MS Lucas heeft geschreven in bericht <#5SATlxv$GA.170@net003s>...
>How can i use an i/o port off my computer in CBuilder ?
>I want to read/write data from/to an i/o port. In Pascal you can use the
>command port[address] := value but what is the equivalent of this in C
>
>Question 2
>How can I use basic code in a C program. The reason is that I'm writing a
>program for a CPU on an add-on card that is using a basic-dialect.
>
>Maurice Lucas
>
>
>
Technical Details
Message-ID: <8fs46i$4mi$1@buty.wanadoo.nl>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <#5SATlxv$GA.170@net003s>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f8d38,5a4aa760b0ec40a
X-Google-Attributes: gidf8d38,public
X-Google-Thread: 109fba,5a4aa760b0ec40a
X-Google-Attributes: gid109fba,public
X-Google-Thread: 103c8d,5a4aa760b0ec40a
X-Google-Attributes: gid103c8d,public
X-Google-Thread: 1014db,5a4aa760b0ec40a
X-Google-Attributes: gid1014db,public
X-Google-Thread: 114592,5a4aa760b0ec40a
X-Google-Attributes: gid114592,public
From: "F Scheltens" <fscheltens@wish.net>
Subject: Re: using hardware port-address
Date: 2000/05/16
Message-ID: <8fs46i$4mi$1@buty.wanadoo.nl>
X-Deja-AN: 624179926
References: <#5SATlxv$GA.170@net003s>
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
X-Complaints-To: The appropriate party according to NNTP-Posting-Host:
X-Trace: buty.wanadoo.nl 958501907 4818 194.134.210.43 (16 May 2000 18:31:47 GMT)
Organization: EuroNet Internet
NNTP-Posting-Date: 16 May 2000 18:31:47 GMT
Newsgroups: alt.comp.lang.learn.c-c++,borland.public.cpp.language,borland.public.cppbuilder.language,comp.lang.c,comp.lang.c++