04-21-2021, 03:43 AM
Possibly, about half of it is just DB statements defining constants though. If you do a grep -v DB there's 47K left.
The sh61f63 datasheet says "instruction set compatible with standard 8051".
It might be possible. I don't have an untouched one to look at. I was trying to see if it was possible that it only works with 16 k chips and not 14 k. But there's a #define MAX_BINLEN (14*1024) in there. Looked like it read back and checked the touchpad code more than the keyboard code though.
The sh61f63 datasheet says "instruction set compatible with standard 8051".
It might be possible. I don't have an untouched one to look at. I was trying to see if it was possible that it only works with 16 k chips and not 14 k. But there's a #define MAX_BINLEN (14*1024) in there. Looked like it read back and checked the touchpad code more than the keyboard code though.