Support

If you have a problem or need to report a bug please email : support@dsprobotics.com

There are 3 sections to this support area:

DOWNLOADS: access to product manuals, support files and drivers

HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects

USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here

NEW REGISTRATIONS - please contact us if you wish to register on the forum

Assembler component

For general discussion related FlowStone

Assembler component

Postby Shoo » Mon Oct 03, 2011 8:52 am

Why not accept this code?
Code: Select all
push dx
push ax
mov dx,378h
mov ax,00002
out dx,al
pop ax
pop dx

How will be right?
Shoo
 
Posts: 33
Joined: Fri Sep 02, 2011 8:37 am
Location: Russia

Re: Assembler component

Postby Morph » Mon Oct 03, 2011 5:06 pm

It's not ASM and i'm not sure what the code should do.
Here's the list of ASM opcodes: http://www.synthmaker.co.uk/dokuwiki/do ... s&s=opcode
Morph
 
Posts: 53
Joined: Tue Jul 13, 2010 1:59 pm

Re: Assembler component

Postby fixstuff555 » Tue Oct 04, 2011 12:11 am

I could be wrong, but it looks like to me that you are wanting to set a bit on a parallel port, as in LPT1? I saw your other post, and that code looks like that's what is going on. I'm not sure if hardware addresses are available in the assembly code primitive, but I could be wrong. That would be cool. I don't believe there is any support for a parallel port.
fixstuff555
 
Posts: 151
Joined: Thu Oct 21, 2010 3:24 pm

Re: Assembler component

Postby Shoo » Tue Oct 04, 2011 12:28 pm

Yes, I need to control LPT-port.
I'm very sad, that there was no support for parallel port. :cry:
Shoo
 
Posts: 33
Joined: Fri Sep 02, 2011 8:37 am
Location: Russia

Re: Assembler component

Postby DSP » Tue Oct 04, 2011 5:30 pm

FYI the assembler component is only for processing audio, as it the code component.

You cannot access the parallel port this way as it violates the windows conventions and will most likely cause your PC to crash!

One way to do this right now is to write a stand alone parallel port handler in C++ or similar language and use inter application communication via UDP to send the data to FlowStone.
Last edited by DSP on Thu Oct 06, 2011 10:33 am, edited 1 time in total.
DSP
 
Posts: 150
Joined: Fri May 14, 2010 10:55 pm

Re: Assembler component

Postby Shoo » Wed Oct 05, 2011 8:56 am

On the contrary - to send data to the port from FlowStone.
Someone could really help in this?
Put a module, or something else?
Thanks!

P.S.
C do not know how.
Shoo
 
Posts: 33
Joined: Fri Sep 02, 2011 8:37 am
Location: Russia


Return to General

Who is online

Users browsing this forum: No registered users and 23 guests