Brick Game
Posted: Thu Apr 21, 2016 1:55 am
To avoid derailing the Gameking thread. There isn't much known about the Brick Game internals though (and that everything is under a blob isn't helping matters), but just in case anybody is curious, especially given how cheap they're to get.
According to this blog (in Portuguese, sorry), the handhelds seems to use a HT1130 as the CPU (or better said, probably something derived from it). This is a 4-bit microcontroller that conveniently includes some LCD and sound functionality. Found the relevant datasheet here:
http://www.datasheetspdf.com/PDF/HT1130/904986/1
What I can gather from it so far:
According to this blog (in Portuguese, sorry), the handhelds seems to use a HT1130 as the CPU (or better said, probably something derived from it). This is a 4-bit microcontroller that conveniently includes some LCD and sound functionality. Found the relevant datasheet here:
http://www.datasheetspdf.com/PDF/HT1130/904986/1
What I can gather from it so far:
- Program ROM is 4 kilobytes (16 pages of 256 bytes each).
- Last page can be directly accessed as a look-up table.
- Work RAM is 128 kilonibbles. Stack doesn't go here, mind you.
- Display memory is 32 kilonibbles (128 bits). Probably Brick Game is using something different to drive its display since the grid alone already needs 200 bits.
- Has six registers: A, R0, R1, R2, R3, R4 (besides program counter and stack)
- R1/R0 and R3/R2 can be paired to make a pointer in RAM
- Operations: ADD, SUB (both with or without carry), INC, DEC, AND, OR, XOR, rotate left and right (with or without carry), also BCD adjust
- Has a built-in 8-bit timer (which can generate an interrupt)
- Has sound functionality (16 different sounds, no idea how this works)