Page 1 of 1

Assembler component

Posted: Mon Oct 03, 2011 8:52 am
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?

Re: Assembler component

Posted: Mon Oct 03, 2011 5:06 pm
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

Re: Assembler component

Posted: Tue Oct 04, 2011 12:11 am
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.

Re: Assembler component

Posted: Tue Oct 04, 2011 12:28 pm
by Shoo
Yes, I need to control LPT-port.
I'm very sad, that there was no support for parallel port. :cry:

Re: Assembler component

Posted: Tue Oct 04, 2011 5:30 pm
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.

Re: Assembler component

Posted: Wed Oct 05, 2011 8:56 am
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.