Binary - hexadecimal - decimal converter

Post any examples or modules that you want to share here
Post Reply
KG_is_back
Posts: 1196
Joined: Tue Oct 22, 2013 5:43 pm
Location: Slovakia

Binary - hexadecimal - decimal converter

Post by KG_is_back »

A little module I've made that is very useful in development. Lets you convert between those 3 number formats quickly within FS. It is very useful in coding as it lets you calculate bitwise masks, shufps control bytes and many more directly within FS workflow.

Note, if someone could add floating point format to the game, it would be very appreciated.
Attachments
Format converter.fsm
(3.21 KiB) Downloaded 1135 times
User avatar
trogluddite
Posts: 1730
Joined: Fri Oct 22, 2010 12:46 am
Location: Yorkshire, UK

Re: Binary - hexadecimal - decimal converter

Post by trogluddite »

Always handy! :)

Here's one that I use quite often - doesn't display all the values like yours, just a quick alternative to an integer box when you want to enter values in hex, binary etc. (needs an input side really, like the normal one - I'll have a look into that).

BTW - There's something seriously wrong with the forum search engine. I knew damned well that I had posted that schematic - searched for "integer", "conversion" etc. - never showed up in any of the searches, even though the words are obviously in the post. No wonder we're forever losing so much useful stuff!

PS - I have some Ruby stuff from elsewhere for seeing Float bit patterns etc. - I'll see if I can find it and wrap a GUI around it.
All schematics/modules I post are free for all to use - but a credit is always polite!
Don't stagnate, mutate to create!
User avatar
Nubeat7
Posts: 1347
Joined: Sat Apr 14, 2012 9:59 am
Location: Vienna
Contact:

Re: Binary - hexadecimal - decimal converter

Post by Nubeat7 »

thanks guys, some needful things!

i think the hex to float and float to hex converters i did in ruby would fit in here as well
(watch also here viewtopic.php?f=3&t=2508)

there are array conversions and a single conversion inside the schematic


and yes the search engine is horrible, i never find some of my older threads for example try to find my ruby knob viewtopic.php?f=3&t=641 in the search engine!
Attachments
hex_float_converter.fsm
(1.76 KiB) Downloaded 1129 times
Post Reply