PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Programmatically Frying Your PPC

Hey,

I've been tickering with some low-level code (in assembly - mainly talking to the graphics controller) on my PPC and I was wondering if it was possible to accidentally fry or otherwise irrevocably mess up my PPC by doing Bad Things by messing with the hardware interrupts or talking to specific pieces of hardware (not just the screen) and giving them bad data.

I ask because prior to the PPC, I wrote games for the TI-89 (which is a really fun platform to develop for, btw) and more than one person has accidentally nuked his calc by messing with Bad Things in hardware. My favorite story is of some guy who was tickering with the display settings and actually managed to make the screen turn BLUE, after which it died (strange because the TI-89 is a B&W; device).

So when tinking with my PPC, is there anything I should make sure that I not do?
I'm sure it's possible to damage the hardware, or overwrite part of the ROM containing the OS.

If he was seeing color on a grayscale device than he probably changed the display frequency, which could physically damage it.

Dan East
Yes, yes and YES! Stay far away from the LCD controller registers. You can ruin the LCD very quickly. LCD Controllers supply the voltages to the LCD, and those values are usually programmable. In a past project I smoked a LCD. The reference manual from Samsung had a typo for one of the voltage control registers.

Other things are more difficult to do, fortunately. Just try and have an idea of what you are writting to before you write there. ;)
Yup! I managed to kill my Toshiba e310 while debugging code!

It just wouldn't boot even after a hard-reset. Needed to go back to Toshiba!

Be careful!