acompiled

The catalog contains seeded project examples. Your workspace stores your own projects and conversations.

harlan/rv-forth

Public
Star5

A tiny Forth kernel for RV64: Linux and QEMU virt builds, linked from handwritten assembly.

Code
Blame·1 commit across 12 linesoldernewer
First runnable RV64 Forth kernelOct 11 1/* QEMU virt: RAM starts at 0x80000000, and -bios loads the image there. */
2OUTPUT_ARCH(riscv)
3ENTRY(_start)
4
5SECTIONS
6{
7 . = 0x80000000;
8 .text : { *(.text.init) *(.text .text.*) }
9 .rodata : { *(.rodata .rodata.*) }
10 .data : { *(.data .data.*) }
11 .bss : { *(.bss .bss.*) }
12}