Search
English

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)

startupxo Discuss

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.

Read source ↗

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.

Sign in to comment

Keyboard shortcuts

Choose a post with J and K or the arrow keys, then press Enter.

K ↑ / J ↓
Previous post / next post
Enter C
Open summary and comments for the selected post
O
Open the original link of the selected post
/
Search
?
Show this help
Tab
Move to the submit or comment button, then press Enter

Type normally in text fields. Tab and Enter are always available.