Self Relocating Program
Once upon a time, I wrote a reasonably-strict-C89 C language program that “relocates” a function in memory and then runs it. That relocated function can relocate itself again, and run that copy, and so on and so forth.
Once upon a time, I wrote a reasonably-strict-C89 C language program that “relocates” a function in memory and then runs it. That relocated function can relocate itself again, and run that copy, and so on and so forth.
I was curious about whether the “hint” that you get with an official Cryptoquip makes any difference.
I was also curious about how hard it is to construct a decent Cryptoquip.
I wrote a program that generates images in the style of Piet Mondrian:
Generate more images in this style, including tuning parameters.
I wrote a Z80 assembly program
for my RC2014 Zed computer.
I wanted to get a complete CP/M experience,
so I used the CP/M 2.2 ASM
assembler, LOAD
relocator,
and the DDT
debugger.
I did cheat a little. Although I used the vintage RED editor for some text input, I also wrote some on my Linux laptop, and transferred to the RC2014 Zed via XMODEM.
I’m a little happier with my wordle-solving regular expression today.
I heartily endorse Wordle as a word game.
I didn’t do great on Sunday, August 28 2022 Wordle:
This is something:
The Go programming language has a unique, built-in concurrency model that can make some processing much easier.
Have one goroutine do some (probably recursive) work. It puts results on a channel. The main goroutine reads results from the channel and possibly does some filtering on those results, like output unique values.