All posts by Tyler Crumpton

Tips and Tricks – Powering on a Samsung Galaxy SII without a Power Button

Recently, I needed to recover some files from a T-Mobile Samsung Galaxy SII with a broken power button. There is a common problem with many Galaxy S II phones where the power button will either be stuck or unresponsive. If the power button is stuck, the phone will be difficult (if not impossible) to fully boot, as the phone will constantly shut itself of and reboot. If you’re looking to boot up your phone that has a similar problem continue reading!

Continue reading

img2dcpu Header

img2dcpu – Spec 1.7 + Lots o’ Stuff Update! (v0.8)

Notch has updated the DCPU specifications to 1.7 and has released a hardware specification for the video screen that will be included in-game, so a lot has changed in how images are displayed on the DCPU screen (or more specifically, the LM1802 Display). Included in these changes are hardware interrupts, mappable video and font RAM, and custom palettes. img2dcpu now takes full advantage of these features, allowing for less flickery animation, more accurate color representation, faster code execution, and smaller code size output! It now works with most current emulators as well. To show off the new custom palette handling, I’ve redone the original Notch image with a more color-accurate version show below or on 0x10co.de:

img2dcpu v0.8 Screenshot

img2dcpu v0.8 Screenshot

Continue reading

img2dcpu Header

img2dcpu – Smaller Output Update (v0.7)

Note: img2dcpu has been updated to v0.8! More info can be found here.

I made a few small changes in img2dcpu, in order to decrease the size of the output code that it generates. This means that images and animations will take up much less memory on the DCPU, and longer animations can be generated. Unfortunately, img2dcpu has not been updated to work with Notch’s new (and mostly final) specifications for the DCPU (Version 1.5 and Monitor Hardware), so it will only work on the older DCPU emulators. Updates will soon be made that add support for the specifications, followed by increased color resolution through the use of the new custom color palettes. After that, I will probably work on using image buffering to reduce flickering and scan artifacts in animations (if deemed necessary). If all of that is finished soon, then I will possibly work on improving the UI, maybe adding a drag and drop GUI to simplify conversion. That milestone will mark the release of v1.0 if I feel it is ready for public use. Continue reading

img2dcpu Header

img2dcpu – Cross-Platform Update (v0.6)

Note: img2dcpu has been updated to v0.8! More info can be found here.

Thanks to some code contributed by my friend Christopher Brown, img2dcpu is now cross-platform! It should now work on Windows, Mac OS X, and Linux-based systems. I’ve also fixed an error in generating 32×24 animated images, so those of you having issues with that should download the latest version. I used a little animation of the Nyan cat to test out the new fixes, and you can check it out at 0x10co.de! This utility is licensed under a GPLv3 License and the source and executable binaries can be found at: https://github.com/tac0010/img2dcpu.

Continue reading

img2dcpu Header

img2dcpu – Animation Update (v0.5)

Note: img2dcpu has been updated to v0.8! More info can be found here.

The newest version img2dcpu has been released, this time bringing you animation for all three resolutions! img2dcpu now allows you to convert BMP image lists into code that will run on the DCPU in 0x10c. There is not currently an option to set the frame rate in img2dcpu, but you can change the rate by modifying the delay value found at the end of the generated code. A screenshot can be found below, or you can view/run the code yourself on 0x10co.de, but a still image doesn’t really do it justice! Next up: output code optimization! This utility is licensed under a GPLv3 License and the source and Windows binary can be found at: https://github.com/tac0010/img2dcpu.

Continue reading

img2dcpu Header

img2dcpu – Even Higher Resolution Update (v0.4)

Note: img2dcpu has been updated to v0.8! More info can be found here.

I’ve added an even higher resolution option (64x64px) support to img2dcpu, bumping it up to v0.4, and as usual, I’ve converted a sample image to show it off. This one has the old img2dcpu v0.3 sample image, as well as a little dithered gradient along the gained pixels at the bottom! When using this higher-resolution mode, the image generated will be centered in the DCPU’s screen. A screenshot can be found below, or you can view/run the code yourself on 0x10co.de. It is still impossible to get full color images at this resolution on the DCPU, but again, some limited color options may be added in the future. Still working towards cross-platform and animated GIF support! This utility is licensed under a GPLv3 License and the source and Windows binary can be found at: https://github.com/tac0010/img2dcpu.

Continue reading

img2dcpu Header

img2dcpu – High Resolution Update (v0.3)

Note: img2dcpu has been updated to v0.8! More info can be found here.

I’ve added higher resolution (64x48px) support to img2dcpu, the tool that converts and image into assembly code for Mojang’s upcoming game, “0x10c”. To show off the usefulness of higher-resolution conversions, I’ve converted an image that has the old TCOS logo, a Minecraft pickaxe, img2dcpu’s name and version number, as well as a QR code link to the img2dcpu release page! A screenshot can be found below, or you can view/run the code yourself on 0x10co.de. Unfortunately, is it currently impossible to get full color images at this resolution on the DCPU, but some limited color abilities may be added in the future. The next step is to add cross-platform capability, and then possibly animated GIF support! This utility is licensed under a GPLv3 License and the source and Windows binary can be found at: https://github.com/tac0010/img2dcpu.

img2dcpu v0.3 Screenshot

img2dcpu v0.3 Screenshot

Continue reading

img2dcpu Header

img2dcpu – Full Color Update (v0.2)

Note: img2dcpu has been updated to v0.8! More info can be found here.

I’ve added support for full-color bitmap images to img2dcpu, the tool that converts and image into assembly code for Mojang’s upcoming game, “0x10c”. I felt it fitting to test the color-picking ability of img2dcpu by converting an image of none other than Notch himself, the founder of Mojang, and creator of Minecraft! A screenshot can be found below, or you can view/run the code yourself on 0x10co.de! This utility is licensed under a GPLv3 License and the source and Windows binary can be found at: https://github.com/tac0010/img2dcpu.

Notch on the DCPU

Notch on the DCPU (On 0x10co.de).

Continue reading

LedSensor Library Completed

While working on putting together some educational information on the basics of Arduino/SumoBots for the SPaRC MiniSumo Robot Competition, I remembered that a few years back I had read something about using LEDs as sensors. After looking up exactly how it worked, I began development of the LedSensor library for Arduino – a library for measuring light intensity using a regular LED. This library is licensed under a GPLv3 License and the source can be found at: https://github.com/tac0010/LedSensor

Continue reading

img2dcpu Header

img2dcpu for 0x10c – Initial Release (v0.1)

Note: img2dcpu has been updated to v0.8! More info can be found here.

You may have heard of the new game under development by Notch (of Minecraft fame), called “0x10c”. If not, here is a short description of some mechanics of the game from 0x10c.com:

 Each ship has a generator capable of producing a fixed wattage, and everything you connect to it drains wattage. A cloaking field, for example, might require almost all the power from the generator, forcing you to turn off all computers and dim all lights in order to successfully cloak.

The computer in the game is a fully functioning emulated 16 bit CPU that can be used to control your entire ship, or just to play games on while waiting for a large mining operation to finish.

I had some free time, so I decided to work on creating img2dcpu – a utility for converting an image into DCPU assembly code for 0x10c. This utility is licensed under a GPLv3 License and the source and Windows binary can be found at: https://github.com/tac0010/img2dcpu

— Description —

img2dcpu allows you to convert a color bitmap image into code that can be used to display the image on the DCPU in Mojang’s new space game, 0x10c. Currently, the specification of the IO system in 0x10c allows for a 32×12-tile screen, where each tile consists of a 4×8 character. img2dcpu can create assembly code that can display a 32×24 color image on the DCPU screen by making use of a custom font, splitting each tile into two square pixels. Future work includes dividing the tile further so that a full 128×96 image can be generated and displayed. Continue reading