A hands-on guide by a Japanese developer to building a homemade OS that boots a Perl shell, starting without the C standard library(zenn.dev)
Writing language: KoreanRead in the original language
Plain summary
- This is a hands-on article in Japanese that follows, by writing code yourself, the process from power-on of a computer, through a program starting, to printf putting characters on the screen. The author is takesako.
- In the QEMU virtual environment, it boots a minimal OS using CPU startup code and memory layout settings, then implements character output and keyboard input over serial communication.
- Because there is no OS, printf is also built from scratch. This printf supports only %s, %c, %d, %x and %%, and does not support formats such as %f.
- The final goal is to build a Perl shell OS containing microperl, a Perl interpreter for embedded use, for a physical Raspberry Pi Pico 2. To do this, it modifies the data type for decimal calculation and the memory allocation method.
Found on
Zenn ↗ / Published by source
Have you run into something like this? Tell us in a line or two what you did. You do not need to know the product.