Hi :)

Just me writing about whatever I find interesting, read more here!

馃搶 What is this place?

19 June, 2021 路 1 min 路 kris

Code Embedder

GitHub provides a nice way of selecting and embedding some code inside of an issue, to single out the exact part that you want to talk about within the comment. Example of GitHub code snippets in an issue I quite like this feature, and I wished that Hugo would have something similar. For the most part, website additions are done via shortcodes. This is where Hugo will automatically copy-paste some templates right into your page, but to embed code from another website needs a different approach....

19 June, 2024 路 2 min 路 kris

Dissertation - A Custom CPU

Building a CPU in Verilog 1 Introduction Field Programmable Gate Arrays (FPGAs) are complex re-configurable devices which can be programmed to implement certain application or functionality requirements via the use of digital circuits - their nature makes them very appealing for various markets, as they can be adapted to support different roles by simply being reprogrammed (Xilinx, n.d. (a)). In the context of embedded systems, Nakano and Ito (2008) state that it is important to write efficient programs which are responsible for controlling the system, yet students often only understand high-level languages from the context of programs, where they may lack the knowledge of how a formula is evaluated or how advanced programming features such as pointers and stacks work on a hardware level....

26 May, 2022 路 59 min 路 kris

Documentation & Videos for Project Metro

19 October, 2021 路 1 min 路 kris

x86 bootloaders

This post is a dive into understanding how the boot process on an x86-based CPU works, however there might still be some holes in my knowledge and stuff that I鈥檝e misunderstood. All of the boot code was tested using Bochs. Real Mode - 16-bit When the CPU is powered, it will initialise itself into a known good state and begin executing instructions at the default starting address of 0xFFFFFFF0. This exists within the portion of memory which is mapped to a ROM - specifically the one which contains the BIOS (Intel, 2021, chapter 9....

16 August, 2021 路 15 min 路 kris

code-server

What is it? It鈥檚 a self-hosted instance of VS Code, accessible from the internet on any internet-capable device. It鈥檚 available on GitHub. Why bother? Soem machines might not be able to run VS Code, but it would be nice to try it on them (such as an iPad). This is more of a way to remind myself what I need to do, if I ever need to reinstall it again....

5 July, 2021 路 2 min 路 kris

Learning about ISO-9660

When working on a project, there are times where you do not want to rely on some piece of software that a person wrote years ago and since has been deprecated - this was pretty much the case when I took up a project with some others at university. The goal was to write some software that would take a compiled assembly file and convert it into a bootable ISO file....

23 June, 2021 路 6 min 路 kris