HNHacker News
TopNewBestAskShowJobs

axarydax

43 karma · joined July 12, 2020

submissionscomments
axarydax··on Ask HN: Tools you have made for yourself?
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.

https://sourceforge.net/projects/ppc-edit/

axarydax··on Demystifying programs that create programs, part 1: A disassembler
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.

axarydax··on How to Design Programs (2014)
Do you remember which book that was? Sounds interesting.
axarydax··on Adventures in hardware, part 8 – PS2 Keyboard Typewriter
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.
axarydax··on Adventures in hardware, part 8 – PS2 Keyboard Typewriter
That's a cool idea - I'll look if I can get a word processor for cheap... and turn it into a PS2 keyboard
axarydax··on MCPU emulator and ATTiny85 port
OP here

That's very cool! Never heard of LED-Transistor logic, and after reading the article I know why :).

I'd like to implement MCPU on an FPGA next weekend, so hope to have two implementations soon.

axarydax··on Solitaire with text-based interface in C
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.

Linking without tinfo shouldn’t be a problem

axarydax··on Solitaire with text-based interface in C
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.