need OUT, INP substitutes
Blitz3D Forums/Blitz3D Programming/need OUT, INP substitutes
| ||
I need something like the old INP / OUT commands that allowed to write to IO ports such as the parallel ports. It's gotta be fast since it should control a steppermotor interface. Isn't there a kernel call for that? I guess RTLMemoryMove won't work, right? |
| ||
I think someone did a DLL for serial/parallel port IO. Sorry, I really can't remember who it was by. Maybe someone else has a better memory than me? |
| ||
No personal experience, but this may point you in the right direction: http://www.beyondlogic.org/porttalk/porttalk.htm |
| ||
Yeah, thanks a lot. Not sure if this is gonna work in NT platforms such as XP etc., but at least with win98 this may work. I found the zipfiles (it's amazing what you can find on your own hardrive :) ), portio.zip (initial, pre-decls era release) and dlportio_decls.zip (decls file only, must be used with portio.dll from the first zipfile). Just tested it, seems to work well. Now I got to program the PIT programmable interrupt timer this way... messing with port $43... I'm afraid windows won't allow... |
| ||
http://blitzbasic.com/codearcs/codearcs.php?code=1487 |
| ||
May be useful too, thanks. |
| ||
I used it to send out the pulse train to control a rc servo motor under win 2k and win xp. |
| ||
Sounds good. I'm on something cool too these days, I'll probably tell more in a few days. |
| ||
omg ;) |
| ||
any news Tingel Tangel Bob ? |