|
-
May 25th, 2000, 04:35 AM
#1
Thread Starter
New Member
I need to send commands directly to memory registers for a stepper-motor controller and I am not sure if this is possible in VB.
-
May 25th, 2000, 08:40 AM
#2
Frenzied Member
not in VB my freind, VC++ is great, you can write assembler directly along with C++.
-
May 25th, 2000, 02:35 PM
#3
Addicted Member
HEARD OF VBASM.DLL ?
I am not sure about Whether you can change registers from VB but there is a 16 bit dll (vbasm.dll) which does many low
level stuff like calling interupts , writing to memmory etc..It may be useful to you...check out
"VB-ASM is a DLL that was written to help Visual Basic programmers accomplish tasks that are either difficult, or impossible to do in Visual Basic alone. The DLL contains a number of helpful routines and was written entirely in assembly language making it highly optimized. In addition, VB-ASM is free and you can use and distribute VB-ASM with your own programs as long as you follow the conditions."
http://www.softcircuits.com
-
May 25th, 2000, 02:39 PM
#4
Fanatic Member
use the shell command to send register values to the debug.com assembler (which is in every MS OS)
test it by typing debug at dos, you can write directly to the registers
There's a tutorial on the net somewhere on how to use it.
Paul Dwyer 
Network Engineer
Aussie In Tokyo
Using Powerbasic 6 & VB6 SP4 (Please also add your VB Version to your signature!)
-
May 25th, 2000, 03:29 PM
#5
Addicted Member
DEBUG is not that great !
DEBUG.com is not that great to change memmory registers.
What i mean is , you can make a simple com program that runs
in dos/dosbox that changes 16 bit registers ax, bx, cx ,dx
etc.. but not eax ,ebx ,ecx etc.. meaning it just cannot
access the extended registers.Also mind you, that Debug produces code for 8086/8088 processors.which means if you have a pentium you are just wasting your resources running
a primitive , unoptimised code. Also debug.com cannot access
memmory beyond the 640 Kb limit.
If you can't pronounce my name, call me GURU 
-
May 25th, 2000, 03:40 PM
#6
Fanatic Member
I didn't say it was good, I said it exists. I briefly looked at it once and nevr done anything useful with it!
Paul Dwyer 
Network Engineer
Aussie In Tokyo
Using Powerbasic 6 & VB6 SP4 (Please also add your VB Version to your signature!)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|