SynthMaker

Generating ASM code from the synth?

Archive · 2004 6 old posts

From the original SynthMaker forum (2004–2014), with its members’ names and dates.

Justaguy ·

Would it be possible to generate compilable assembly language code from an entire synth? It could be *very* useful. 🙂

jorge ·

I think it might be already possible, I havent tried with a full synth but I have tried with most of it. If you need more details on how to do it let me know. I'm assuming you figured out that the DynOut component outputs the assembled Machine Code in text. I lot of things are already possible but need some Beta testers.

Justaguy ·

Actually, I haven't got any version of Synthmaker to work. I have an AMD Athlon-C (1.2GHz, 768MB RAM, Win2k SP4, etc. etc.), and even the latest beta crashes as soon as it gets the main screen displayed.

Anyway, I'd use the asm code in my own programs, especially some 4k and 64k intros. 😉 Now we're just using a very crappy integer-based sound generator. Synthedit could add a LOT of possibilities.

jorge ·

Hi justaguy, thanks for your post. Pity synthmaker crashes for you, could it be because your processor doesnt support SSE instructions?

I could change synthmaker to compile normal FPU code and not require an SSE processor, but time is limited and I'm concentrating on a high-quality highly efficient version even if it doesnt support all processors and operating systems.

I'd eventually like to use synthmaker to compile other types of code, for example for PocketPCs, Gameboys etc. but as the sound generations features grow, I guess sound generation might only grow in priority.

One solution to make it more flexible is to have a general Dyn component that allows you to define the Hex code it generates, that is quite easy to do and will allow users to use it for other types of machine code.

As for your SM crash, if it is caused by your processor not supporting SSE, I can change it to allow SM to still run but without any sound. Would that be any good?

Justaguy ·

Yeah, I think it's because of the SSE problem. Actually, I thought I had a decent processor... 😉 Don't Athlons support all those, and more? If you think adding support for normal FPU math is too much work right now, too bad. But I'll be watching SM's development anyway! 🙂 It seems like a brilliant idea.

jorge ·

I think recent AMD processors support SSE like Athlon XP and Athlon Duron. I have a second computer with an Athlon Duron and synthmaker works on it. I read on the specification of the Athlon XP that it supports SSE. I think that older Athlons dont support SSE.

Implementing FPU math might take 3 or 4 days, not a lot of time but it is time taken from other features, and I'd be implementing a sound engine that runs 4 times slower just to support processors that will soon become obsolete. Having said that, I havent completely ruled out implementing it as I am trying to follow user's requests.

Wrote something here? To have a post removed or your name hidden, write to [email protected].

Before your first post

A few rules keep this a friendly place. You agree to them once.

Shown next to what you post, here and in the app. It doesn’t have to be your real name: 3–24 lower-case letters, digits or _ (capitals become lower case, spaces become _).

    Then your post goes up straight away.

    Delete this reply?

    Open it in SynthMaker?

    It goes on the track you’re editing there, in place of that track’s sound, and into My sounds. Your other tracks stay as they are.

    Want to keep that track’s sound? Start a new song in SynthMaker first (Song › New song), then open this.

    Report this reply?

    Only the developer reads reports. The person isn’t told who reported them.

    What’s wrong with it?

    Block this person?

    You won’t see their posts and replies here any more. They aren’t told, and you can unblock them at any time.

    People you’ve blocked

    Their posts and replies are hidden from you. Unblock someone to see them again.

    The community rules

    A few rules keep this a friendly place. Everyone agrees to them once, before their first post.