Search found 4 matches

by WimWWimw
Thu Dec 22, 2011 9:31 pm
Forum: InpOut32 (x64)
Topic: INPOUT32/X64 Works with SOME PCI cards
Replies: 18
Views: 65706

Re: INPOUT32/X64 Works with SOME PCI cards

:D Well, that seems to work! The motor is running now. Apparently I don't understand the role of the sys driver files. I have a 32bit application running on XP64 (AMD). According to dbgView it's loading the x64 driver. But it doesn't work until both files have been copied tot system32\drivers. I thi...
by WimWWimw
Wed Dec 21, 2011 8:11 pm
Forum: InpOut32 (x64)
Topic: INPOUT32/X64 Works with SOME PCI cards
Replies: 18
Views: 65706

Re: INPOUT32/X64 Works with SOME PCI cards

Well, I am not a C-man, so perhaps I am reading the code wrong. But it seems to me that both calls are by value. That would mean that with addresses upto 7EEE there's no problem, for they can be represented both by signed and unsigned two-byte integers. Higher address values, such as my CD00, are in...
by WimWWimw
Tue Dec 20, 2011 4:10 pm
Forum: InpOut32 (x64)
Topic: INPOUT32/X64 Works with SOME PCI cards
Replies: 18
Views: 65706

Re: INPOUT32/X64 Works with SOME PCI cards

Weel, I decided to try the hard way and make the fix myself, even though as an objectPascal regular, for me it's a long time no C... The way I see it, the exported function could easily be doubled with an unsigned pendant: void _stdcall Out32(short PortAddress, short data); void _stdcall Out32u(unsi...
by WimWWimw
Mon Dec 19, 2011 5:04 pm
Forum: InpOut32 (x64)
Topic: INPOUT32/X64 Works with SOME PCI cards
Replies: 18
Views: 65706

Re: INPOUT32/X64 Works with SOME PCI cards

but one worry I would have changing the interface, it could break any application already using it. So I think it would be better to introduce new functions with the correct DLL interface. True. Only copying Out32 to Out32_2 with the same body but an unsigned address parameter void _stdcall Out32_2...