Assembler component

For general discussion related FlowStone
Post Reply
Shoo
Posts: 33
Joined: Fri Sep 02, 2011 8:37 am
Location: Russia

Assembler component

Post by Shoo »

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?
Morph
Posts: 53
Joined: Tue Jul 13, 2010 1:59 pm

Re: Assembler component

Post by Morph »

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
fixstuff555
Posts: 151
Joined: Thu Oct 21, 2010 3:24 pm

Re: Assembler component

Post by fixstuff555 »

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.
Shoo
Posts: 33
Joined: Fri Sep 02, 2011 8:37 am
Location: Russia

Re: Assembler component

Post by Shoo »

Yes, I need to control LPT-port.
I'm very sad, that there was no support for parallel port. :cry:
DSP
Posts: 150
Joined: Fri May 14, 2010 10:55 pm

Re: Assembler component

Post by DSP »

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.
Shoo
Posts: 33
Joined: Fri Sep 02, 2011 8:37 am
Location: Russia

Re: Assembler component

Post by Shoo »

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.
Post Reply