Blog

by
Blog!
I'm experimentally adding a blog to this site. In this post, I'll introduce the blog and discuss some specifics about how the blog and site in general is technically put together. I used to write a bit on Google+, but it is neither a good blogging platform nor a good social platform, so I have given up on that. Writing blog posts on this site is technically superior, and I suspect I will get a bigger audience posting them on Twitter than I got on Google+. What A lot of people will recognize this… Continue reading
Actually getting started with Portable Native Client
This post was originally a featured article on the front page. I thought the technology looked fun and promising, and I wanted to keep up with it. It is clear, however, that the winner in this space is WASM, and PNaCl is just a failed experiment. While blog posts can go out of date and be kept for posterity, this is not what I want the fetaured articles on my front page to be like, so I relegated this text to the blog on 2019-09-09. We will develop a minimal PNaCl module with a focus on exposin… Continue reading
Asmtut 6: Live interaction
This was originally posted on Google+, which has now been shut down. It was helpfully converted to Markdown by Robert Jacobson after which I adjusted it for reposting here. I have dated it at its original posting date, but it was posted here on 2019-09-07. Since the last time, the nasm people have been able to fix the bugs I stumbled upon, and pushed them in a release. Anything newer than 2.10.6 is probably also fine. Please note that you have to update if you are following this tutorial on OS … Continue reading
Asmtut 5: More snappy interaction
This was originally posted on Google+, which has now been shut down. It was helpfully converted to Markdown by Robert Jacobson after which I adjusted it for reposting here. I have dated it at its original posting date, but it was posted here on 2019-09-07. At this point, we are tired of the line-buffered interface. Let's make it more responsive! Step 11: Cleanup First, let's just clean up our code a bit by putting our constants on top: ; System defines: SYS_write equ 0x02000004 SYS_read… Continue reading
Asmtut 4: Input
This was originally posted on Google+, which has now been shut down. It was helpfully converted to Markdown by Robert Jacobson after which I adjusted it for reposting here. I have dated it at its original posting date, but it was posted here on 2019-09-07. Let's start drawing and moving around a snake. Before we can ask the user where he wants to move the snake, we need to have a snake: Step 9: Writing into an array Our board is basically a char[] in C lingo, even though it doesn't have a type.… Continue reading