Solved

memory and absolute decleration ?

Posted on 2000-05-11
6
228 Views
Last Modified: 2010-04-04
Hi all

ok here go's Im currently accessing a ISA plug in card using memory read and write ... and it works fine ... no problems as long as the card address is in the c9000 range I can get direct comms by declearing a var absolute which works fine so there is no need to write a vxd ... what I want to know is

a: why ? lol

b: why only in that one address range ?
( any other range and the read write lines on the isa buss are not activated
)

and lastly ... there does not seem to be any system memory alocated to this adress ?

thanks stephen :)
0
Comment
Question by:marchant
  • 3
  • 2
6 Comments
 
LVL 20

Expert Comment

by:Madshi
ID: 2803563
Oh well, there are some secrets in win9x. E.g. memory mapped files are always mapped to the same address in each process and so on. Things like that are not documented anywhere, because they might change in a future Windows version.
So if your program relies on the fact, that IO calls work fine at $C9000, you might have bad luck already with Windows Millennium. My only recommendation can therefore be: Choose the safe way and write a vxd  :-(.
If you absolutely don't want to, if you choose to use the undocumented $C9000 way, test your program at least under all variants of win9x, that is win95 (old version), win95osr2, win98, win98SE, winMillennium.

Ehm, sorry, I can't answer your questions directly, hope my comment helps a bit, nevertheless...   :-)

Regards, Madshi.
0
 
LVL 1

Expert Comment

by:sistudio041900
ID: 2808642
I have written many VXD's - plain fun - and well, yes if you want be sure you get real direct hardware access on non-NT windows platform's you actually need to write a VXD. That isnt actually a big problem a generic VXD that does expose direct memory access has maybe 10 lines of unique assembly code :) well there are 42+ CD you have to dig first :) well if interested I will be publishing all source code written by me and/or copyrighted to Silicon Studio Inc. this will include maybe 12 VXD's and some Pascal programs that talk to those VXD's.
0
 
LVL 20

Expert Comment

by:Madshi
ID: 2808759
Hi sistudio, that sounds quite interesting! If you publish those sources, I would love to get a copy, too. I'm not doing any VXD development right now, but who knows what will be in 2 weeks. So having some good VXD examples would be a good starting point then...   :-)

Regards, Madshi.

madshi@gmx.net
0
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
LVL 1

Accepted Solution

by:
sistudio041900 earned 200 total points
ID: 2810122
i uploaded one project VXD source + sources of delphi units that talk to the VXD as:

http://case2000.isp.ee/files/PUMP1.ZIP

it pretty 'bad coding maybe' but at least you can see what needs to be done to implement a VXD and how to access the VXD functions from Delphi code

I have maybe over 10 more VXD's for which I could upload sources, but just too busy right now.
0
 
LVL 20

Expert Comment

by:Madshi
ID: 2810428
Thank you very much - that's kind!!   :-))
0
 
LVL 1

Author Comment

by:marchant
ID: 2813228
thanks sistudio it seems I have to go with the flow and start wriing vxd's

any other pointers would be apriteated
ie any good boks out there ?
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
oracle global variables 4 76
how can i search if string exist in array ? 3 63
Tvertscrollbox like a whatsapp layout delete messages 1 24
shape, triangle, dbctrlgrid 3 17
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

821 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