Back in 2006 I had a side job as an IT journalist. I wanted to draft my articles while away from the computer on the Pocket PC, as laptops were really out of my reach, and back in the day the localized input methods (touchscreen keyboards) were paid and expensive apps.
I ended up with a text editor supporting various formats and inpit languages, implemented in quite dreadful verbose C#, as I didn’t know any better.
It's because then the other fields, such as the source and destination registers can stay in the same place across various opcodes. In the rare cases there's an immediate field, such as the jump offset, it uses what would otherwise be a register or an operand.
Disassembling RISC-V is then quite straightforward because of this feature.
Could be doable by throwing in a larger LCD panel. I think that a more sane platform to implementing a portable LCD typewriter would be either an Arduino with an SD card instead of going all of the way with an FPGA.
Thanks for finding the bug - I haven’t caught this one! It crashes because it wasn’t checking the column id, that’s an array of piles in game_state, the piles themselves are linked lists.
I've just finished implementing my Solitaire game with curses interface in C. Solitaire was the first computer game I have played and I never got around to implementing it.
This is a writeup of how the game was made, using the vim+gcc+gdb stack.
Although working on a completely different tech stack at work, I like C, there's something zen-like about being close to the machine and almost universally portable.
I ended up with a text editor supporting various formats and inpit languages, implemented in quite dreadful verbose C#, as I didn’t know any better.
https://sourceforge.net/projects/ppc-edit/