Skip to Content
Hardware Hacking Projects for Geeks
book

Hardware Hacking Projects for Geeks

by Scott Fullam
January 2004
Intermediate to advanced
348 pages
13h 33m
English
O'Reilly Media, Inc.
Content preview from Hardware Hacking Projects for Geeks
93
Chapter 5, How to Hack a Furby (and Other Talking Toys)
Some of these are cleared by hardware after interrupting. When the inter-
rupt occurs, the CPU will jump to the location shown. You need to write
the code to handle that interrupt and place it at that address. If the code is
more than a few bytes, you will need to put a jump instruction in the vector
and put the interrupt service routine somewhere else where there is room.
See the following table:
Input device Priority Interrupt vectors to
External 0 1 0x0003
Timer 0 2 0x000B
External 1 3 0x0013
Timer 1 4 0x001B
PCA interrupt 5 0x0033
Serial port (PC) 6 0x0023
Timer 2 7 0x002B
The last instruction in your interrupt service routine is always “RET” to
return to whatever was happening when the interrupt arrived (that’s why it
is called an “interrupt”). More specific information can be found on page
19 of the Phillips P89C51 data sheet.
Project Demo
Your new Furby hardware should now be up and running. All you have to
do is code some simple (or complex) Furby applications. The web site http://
www.appspec.net/index.html has a few examples from which to start.
Extensions
Not only can you change the vocabulary and voice of the Furby, you can
use the sensors in interesting ways. You could, for example, turn the Furby
into a simple motion-sensing alarm system that spouts off amusing phrases
when it sees movement.
Extensions
ch05_furby.indd 93 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Home Hacking Projects for Geeks

Home Hacking Projects for Geeks

Eric Faulkner, Tony Northrup

Publisher Resources

ISBN: 0596003145Catalog PageErrata