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
Assembler (ASM) and optimisation tutorial by KG_is_back
9 posts
• Page 1 of 1
Assembler (ASM) and optimisation tutorial by KG_is_back
A long time ago KG_is_back created a great resource for learning assembler in FlowStone. It was put on the Guru website which now doesn’t work.
I found this information really useful and learnt some basics at least.
There are two texts, one was about assembler and the other was about optimisation in assembler. There was also a pdf listing the available opcodes and a schematic he made with some useful tools.
I took it upon myself to proofread the documents, which involved correcting and improving the English. Then I combined the two texts into one document. I didn’t change any of the technical stuff.
Then I sent it to KG and he was appreciative, but wanted to improve on the technical stuff, after which he would post it. That never happened and he hasn’t visited the forum since January 2020.
So I decided to share it anyway, because it’s really good as it is.
Keep in mind that it’s not my work, and that it’s valid for FS3. I gather the FS4 alpha has extended the possibilities considerably.
I hope you find it useful.
I found this information really useful and learnt some basics at least.
There are two texts, one was about assembler and the other was about optimisation in assembler. There was also a pdf listing the available opcodes and a schematic he made with some useful tools.
I took it upon myself to proofread the documents, which involved correcting and improving the English. Then I combined the two texts into one document. I didn’t change any of the technical stuff.
Then I sent it to KG and he was appreciative, but wanted to improve on the technical stuff, after which he would post it. That never happened and he hasn’t visited the forum since January 2020.
So I decided to share it anyway, because it’s really good as it is.
Keep in mind that it’s not my work, and that it’s valid for FS3. I gather the FS4 alpha has extended the possibilities considerably.
I hope you find it useful.
- Attachments
-
- KG's ASM infos.zip
- (1.65 MiB) Downloaded 1497 times
-
Spogg - Posts: 3358
- Joined: Thu Nov 20, 2014 4:24 pm
- Location: Birmingham, England
Re: Assembler (ASM) and optimisation tutorial by KG_is_back
Nice one, thanks!
- adamszabo
- Posts: 667
- Joined: Sun Jul 11, 2010 7:21 am
Re: Assembler (ASM) and optimisation tutorial by KG_is_back
Yep, thanks for sharing
"Essential random order for chaotic repetitive sequences"
-
tektoog - Posts: 141
- Joined: Sat Oct 30, 2010 11:49 pm
- Location: Geneva - Switzerland
Re: Assembler (ASM) and optimisation tutorial by KG_is_back
Nice job, Spogg.
I've learned a ton of stuff from the Guru site, an absolute goldmine.
H
I've learned a ton of stuff from the Guru site, an absolute goldmine.
H
-
HughBanton - Posts: 265
- Joined: Sat Apr 12, 2008 3:10 pm
- Location: Evesham, Worcestershire
Re: Assembler (ASM) and optimisation tutorial by KG_is_back
Thank you so much!
-
josevo - Posts: 33
- Joined: Mon Jan 01, 2018 9:41 pm
Re: Assembler (ASM) and optimisation tutorial by KG_is_back
Since the other Arp made in Ruby has performance issues and bugs and who knows what else, can that Arp be recreated in assembler ?
Download plugins here:
https://mega.nz/folder/nhVCkQRA#UWgU06K1o9gRFI0WqnBw_w
https://mega.nz/folder/nhVCkQRA#UWgU06K1o9gRFI0WqnBw_w
- DSP-Robotron
- Posts: 58
- Joined: Tue Aug 18, 2020 3:39 am
Re: Assembler (ASM) and optimisation tutorial by KG_is_back
DSP-Robotron wrote:...can that Arp be recreated in assembler ?
It’s an interesting question but I don’t think ASM can deal with MIDI. Maybe someone who knows ASM/Ruby better than me can respond.
-
Spogg - Posts: 3358
- Joined: Thu Nov 20, 2014 4:24 pm
- Location: Birmingham, England
Re: Assembler (ASM) and optimisation tutorial by KG_is_back
Spogg wrote:DSP-Robotron wrote:...can that Arp be recreated in assembler ?
It’s an interesting question but I don’t think ASM can deal with MIDI. Maybe someone who knows ASM/Ruby better than me can respond.
Assembler is a low level language, invented to directly communicate with the heart of a PC, which is the processor (nowadays, with combined functionality on one chip called CPU). The physical structure of a CPU (with cache, registors, memory lanes, etc.) is key to understanding Assembler. You can access registers, and do mathematical operations with the bits stored there, using memory to buffer results, by invoking instructions from a defined set that a processor understands (keywords are CISC, RISC, etc). Nothing more.
It's the genius of people like Martin that give this "simple" mechanism a meaning in the DSP world. But MIDI should be close to impossible to control by ASM, unless an access other than the red MIDI inputs/outputs is granted.
"There lies the dog buried" (German saying translated literally)
- tulamide
- Posts: 2714
- Joined: Sat Jun 21, 2014 2:48 pm
- Location: Germany
Re: Assembler (ASM) and optimisation tutorial by KG_is_back
tulamide wrote:... It's the genius of people like Martin that give this "simple" mechanism a meaning in the DSP world. But MIDI should be close to impossible to control by ASM, unless an access other than the red MIDI inputs/outputs is granted.
Thank you tulamide!
It's what I suspected simply because I'd never seen any midi stuff done in ASM and KG never mentioned it in his tutorial. But I wasn't completely sure.
Another point is that midi is very slow in comparison with ASM which is lightning fast, so there would probably be little to gain anyway.
Cheers!
-
Spogg - Posts: 3358
- Joined: Thu Nov 20, 2014 4:24 pm
- Location: Birmingham, England
9 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 82 guests