New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Holtek HT1130 CPU core, and preliminary driver for a brick game using it #11872
Conversation
there are emulators at https://github.com/ilyakurdyukov/brickgame-4bit and https://github.com/azya52/BrickEmuPy (with decapped ROM) dumping research is at https://habr.com/ru/articles/773040/ disassembler implementation is based on https://pdf.dzsc.com/88889/5606.pdf CPU manual / instruction set reference. |
When the disassembler is functional, it can be added to unidasm too (src/tools/unidasm.cpp). This is the game? https://image.konsolenkost.de/item/images/1022336/full/Specials-Hand-Held-Super-E23-Plus-Mark-2-Brick-G-a.jpg |
Yes, that thing, I'll change the title later. There are hundreds of these things (many on different techs) unfortunately it looks like sound isn't going to be possible unless somebody finds that on the die too, because the manual seems to indicate there are 16 sounds, with 'sound library' and the first 12 can have 32 notes, while the rest can have 64. Sounds to me like there should be another melody ROM area like the later G&W titles. |
Yeah, sound handling isn't documented at low level in the datasheet. |
this is definitely running now (albeit a bit too fast, as I've no idea on frequencies etc.) |
Internal layout? No, this needs an SVG screen. edit |
yes, I saw there was an SVG, but as mentioned, I'm not using anything from that emulator (as it seems to be GPLv3) so for now I'll just make the internal stuff more functional, until such a time as a fresh scan is available. |
Anyway I'm done with this until such a time that somebody can do an SVG and hook it up (that is beyond my ability) It works as a proof of concept that the CPU core is running as it should, and the basic internal layout lets you see the main pit, and control the pieces. Hopefully there won't be too many issues preventing it from being merged |
all feedback addressed I believe |
brick.zip I however can't figured out how to hook it up properly at all |
|
ahh, I see, I'd missed the 'title' field looking at it before |
brickv4.zip |
I did some googling, apparently the company is E-Star. |
According to the docs, 1 machine cycle (eg. a 1 byte opcode) takes 4 system clock cycles (from OSC pins). Add a TODO note if you want to do it later. |
given that we don't even know the frequency, or how those options are configured, I'll leave it as a note. |
… it (mamedev#11872) new machines marked as NOT WORKING -------------------------- Brick Game 96 in 1 (E-23 Plus Mark II) [azya52, David Haywood]
new machines marked as NOT WORKING
Brick Game 96 in 1 (E-23 Plus Mark II) [azya52, David Haywood]