Skip to content

kubo39/ldc-os-in-1000-lines

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Writing OS in 1000 lines, in D

Writing an OS in 1,000 LinesをD言語で書くやつ

環境構築

  • LDC
curl -fsS https://dlang.org/install.sh | bash -s ldc

Ubuntu 22.04

以下をパッケージとcurlで入れる。

sudo apt install qemu-system-misc clang lld
curl -LO https://github.com/qemu/qemu/raw/v8.0.4/pc-bios/opensbi-riscv32-generic-fw_dynamic.bin

Ubuntu 22.04がaptで提供しているopensbiは64ビットRISC-Vなので今回は利用できない。

動作確認。qemuが立ち上がるはずなので q で終了。

qemu-system-riscv32

実行は ./run.sh を叩く。

./run.sh

他の他のプログラミング言語での再実装プロジェクト

Rust

Zig

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published