Posts

First Attempt at Retrobrite - Keyboard and Mouse

Image
Today was attempt #1 at retrobrite-ing some of my old Apple stuff. I'm starting with an old ADB keyboard and mouse. Here are the 'before' pictures A lot of the online documentation recommends using either (a) sunlight or (b) a UV light. Since its still winter in Iowa, outdoor sunlight really isn't an option. And, I don't have a budget for a UV light right now. So.... I'm giving my plant lights a try. - First, I disassembled the devices and pulled all of the keys off, using my awesome key puller . (Definitely worth the $5.99!) - Next, soaked all of the plastic parts in the sink with some dish soap. Scrubbed them with an old toothbrush and rinsed everything. - Using gloves and a foam brush, liberally applied some 40 volume cream hair developer  to all of the parts and wrapped them in saran wrap or put them in a Ziploc bag. - Added some water to a clear plastic storage tote, put it on a plant warming mat and turned on the plant lights. Why

Kitchen Design Idea

Image

Week 1 of my 12 week sabbatical

Week 1 of my 12 week sabbatical is almost done. I feel the need to 'accomplish' things, even when I'm supposed to be on vacation, so here is my list of amazing achievements: - Resurrected ghettohacks.com!! The domain was lost in limbo with a transfer from Godaddy to Google Domains.  - Made a sweet logo for ghettohacks.com - Lots of Netflix and dog walking I'm intending to use this blog as 'diary' of sorts for what I'm doing while on break. If you're interested, join me on this journey of nerdiness. Some upcoming projects Macintosh Project Restore/Re-cap my Macintosh SE/30 and Macintosh Plus Install SD-card 'hard drive'  Archive the data on my aging Macintosh media Play a sweet game of shufflepuck Setup & play with my new Raspberry Pi 3 B+ 3D Print a light up TARDIS

Running Bare Metal PowerPC e500 Hello World

Random notes/links I collected for trying to get a bare metal PPC system to boot in Qemu There are plenty of examples all around for doing embedded, bare metal programming on ARM platforms, but the PowerPC examples seem to be sparse. Some ARM links: http://opensourceforu.com/2011/07/qemu-for-embedded-systems-development-part-2/ https://balau82.wordpress.com/2010/02/28/hello-world-for-bare-metal-arm-using-qemu/ Example bare metal hello world!!! https://github.com/ara4711/ppc_hw Building GNU GCC cross compiler http://ecos.sourceware.org/tools/linux-powerpc-eabi.html http://www.ifp.illinois.edu/~nakazato/tips/xgcc.html Other links: Writing to the RS-232 port of an e500 https://lists.gnu.org/archive/html/qemu-ppc/2015-08/msg00203.html Cross-compiling PowerPC http://www.ibm.com/developerworks/library/pa-emulation/ General Qemu help - https://landley.net/aboriginal/presentation.html#prebuilt_binaries Download Qemu for Windows https://qemu.weilnetz.de/w64/

python print strings sorted by string length

for k in sorted(def_values, key=len, reverse=True): print k, def_values[k]

Installing Qemu on MacOS Yosemite

So, today I tried downloading/building Qemu on my MacBook running Yosemite (OSX 10.10). Here's what I had to do to make it happen.... Install MacPorts: https://guide.macports.org/#installing.macports Update MacPorts sudo port selfupdate Accept the Xcode license: sudo xcodebuild -license Install Xcode command line utils: xcode-select --install Install the following 'port' packages sudo port install libtool install autoconf install automake install glib2 install pkgconfig install libpixman Run configure ./configure --target-list=ppcemb-softmmu,ppc-softmmu Run make make While trying to build the qemu binaries, the link failed for a couple of the test applications. These (probably) aren't needed, so we can just ignore them. To resolve that, use the workaround here: https://virtuallyfun.superglobalmegacorp.com/2015/05/03/qemu/ touch /pixman/test/region-test touch /pixman/test/scaling-helpers-test Then, run make

#Firstpost

Ghetto-hacks.com is online!