Skip to content

Conversation

BurningHot687
Copy link

This is an expansion of the Bitwise extension on Turbowarp with some more capabilities.

There's a broken boolean block to check for the base, which I'll need some help figuring out. Apparently it's a slightly different data type when looking at the console (it's purple :0).

The main thing is that I fixed the hexadecimal conversion with a new function and a small concatenation.
You may now do simple left and right shifting of *assumed decimal* inputs, and bugs with detecting the different bases have been fixed hopefully!
All of the blocks I wanted to add have now been added. Please suggest any more that you think might be useful and relevant to this extension. I must note the new bug introduced where I am seemingly unable to detect hexadecimal again in the operator blocks.
I've added in two blocks I almost forgot about, but then I stumbled upon the fact that my code is terrible **and** apparently negatives aren't supported yet **and** somehow the BASES menu is not being used properly? I'm pretty confused as to what is happening so I would appreciate any help.
Finished all currently planned block additions, bug fixing is the main goal now.
Remember to finish documentation and image setup after debugging, future me!
Slowly but surely this'll work.
Oh yeah and a logo + block switching implemented for most blocks (bitwise operations still need it)
I also fixed negative numbers, and this new update should mean the old system could be brought back for some different handling if necessary.
I don't need a separate binary block, or maybe it'd be easier if I had three separate blocks? Or maybe 0x automatically turns the input into hexadecimal, so I need to redo alot of those
Sorry for not naming the last commit, I forgot to upload a file and it deleted all the text. I still have to put a use to the second-to-last block and then some more stuff like perhaps a button to see documentation and extras?
I still don't have that much testing, but finally dynamic length works for a case of 13 and -13 (10011 and 01101 respectively)
Added a block to get bit at index and fixed bug with nand onwards (caused by logical not used instead of bitwise not)
Thanks for helping me get the extras working dude. Yeah nothing else, just the extras button works thanks to @SCsupercraft so cool
Dynamic length is easy, representing values is hard :(
Lotsa testing times
Featuring an actual documentation link, hopefully binary to decimal has been fixed (not tested due to lack of time), and opcodes for labels have been removed
Copy link

vercel bot commented Aug 14, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Updated (UTC)
penguinmod-extensions-gallery Ready Ready Preview Aug 31, 2025 6:19pm

@BurningHot687
Copy link
Author

Also last day of summer so this special project of mine (first extension :0) won't take up too much school time.

Tested with the sandbox (not pretty) so added that error. Cleaned up unused and will probably try to clean it up more later.
(ノ◕ヮ◕)ノ*:・゚✧
please tell me how to do the avif stuff
@BurningHot687
Copy link
Author

Alright I don't know if I have to delete the png because it'll choose the png instead of the avif or if avif is supported yet, so can anyone tell me?

Changed it to the much smaller avif file
Instead of replacing your existing tab's url
@BurningHot687
Copy link
Author

bitsandhexa

Having the thumbnail here so I don't have to open file explorer X3
Is there a good reason why not my extension should be added? I will fix it!! Please I'm getting bored of not working on this lol...

@BurningHot687 BurningHot687 changed the title Bitwise+ v1.1 Bitwise+ v1.3 Aug 24, 2025
Also get some hexadecimal or octal from an index but at this point these blocks are enough, no more needed. Turbowarp compatibility is nice, now you have to figure out arrays yourself hah! ;3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant