calc.exe replacement (not in form but in function/purpose)

About calx


I use calc.exe on windows a lot for quick maths. I've also been wanting to make an editor for machine code that is bootstrapped by writing machine code (and the exe header) in an ASCII hexdump and running it through a reverse hexdump program. A calc.exe replacement seems to be a good starting point for the editor and is on theme for the jam.

Edit: I ended up just using C to make the calculator cuz I wasn't gonna finish anything in time otherwise. More on this in the blog posts.

Read more
Filters

Recent Activity

Just finished up my jam project &calx with some blog posts: https://handmade.network/p/810/calx/blog and a github repo: https://github.com/NoxNode/calx

A recap of my jam experience:

  • I got a feel for how programming in an ASCII hexdump of machine code really is like (for those curious here's a video of me in the middle of it: https://assets.media.handmade.network/397078c9-2d58-42c8-b331-f97a4cf5c1ee/calx_clip.mp4 )
  • because programming in an ASCII hexdump is in fact really tedious and difficult, I started making a simple editor for machine code that attempts to show a forth-like higher level representation of the code that you can edit at that higher level OR still edit the hexadecimal directly (more details in first update post in the blog)
  • then I made a very basic calculator app (screenshot attached) that can do decimal/hexadecimal integer arithmetic operations (+ - / *)

although I intended to make the calculator app in machine code, I actually ended up making it in C all on this last day just cuz I wanted to get it done and I wasn't going to if I had to finish the machine code editor first.

I learned a lot, had fun, and hope to continue improving the calculator and editor :handmadeThumbsUp:

View original message on Discord