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
Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright
moving data between ruby and assembler stream
2 posts
• Page 1 of 1
moving data between ruby and assembler stream
I have found something totally crazy... Reading ruby documents I've found that pack method can actually pack a pointer to a string. It is possible to convert this pointer to float and pass it to the assembler. Assembler can then both read and write to the string to which the pointer points.
The string of data can essentially be shared between ruby and multiple assembler components. It could also enable to open and process mems/wave files in ruby, since "to address" primitive essentially outputs pointer to raw data.
I've literally just found this out... I haven't tested it rigorously, but preliminary tests show it should be relatively stable.
The string of data can essentially be shared between ruby and multiple assembler components. It could also enable to open and process mems/wave files in ruby, since "to address" primitive essentially outputs pointer to raw data.
I've literally just found this out... I haven't tested it rigorously, but preliminary tests show it should be relatively stable.
- Attachments
-
- pointer pack.fsm
- (751 Bytes) Downloaded 967 times
- KG_is_back
- Posts: 1196
- Joined: Tue Oct 22, 2013 5:43 pm
- Location: Slovakia
Re: moving data between ruby and assembler stream
interesting,
what does this mean entirely.
does it mean green to mem to stream, mate, or stream to float?
Could an audio recorder say be built like this?
what does this mean entirely.
does it mean green to mem to stream, mate, or stream to float?
Could an audio recorder say be built like this?
-
nix - Posts: 817
- Joined: Tue Jul 13, 2010 10:51 am
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 22 guests