jonesforth
raspberry-pi-os
Our great sponsors
jonesforth | raspberry-pi-os | |
---|---|---|
41 | 9 | |
967 | 12,822 | |
- | - | |
0.0 | 0.0 | |
12 months ago | 7 months ago | |
Assembly | C | |
- | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
jonesforth
- Konilo: A personal computing system in Forth
-
Ask HN: Where do I find good code to read?
Is there any particular language you're looking for? I've found some languages hideous until I understood them and could appreciate their respective graces. Off the top of my head the I can think of a couple.
The first is Jones Forth (https://github.com/nornagon/jonesforth), start with jonesforth.S and move into jonesforth.f. I really enjoyed following along with it and trying my hand at making my own stack based language.
The other is Xv6, a teaching operating system from MIT (https://pdos.csail.mit.edu/6.828/2021/xv6.html), not all the code or implementations are top notch but it shows you non-optimized versions (just because they're simple and more readable) of different concepts used in OS design.
If you're interested in the embedded world, there is a really neat project I've been following that feels a more structured and safe (as in fault-tolerant) while still staying pretty simple (both conceptually and in the code itself): Hubris and Humility (https://hubris.oxide.computer/).
-
Making my own forth implementation
OP mentioned jonesforth, but linked to a nasm port of it. Which is probably good it’s just that the documentation in the comments with ascii art doesn’t look right on my screen. So here’s a more common repo: https://github.com/nornagon/jonesforth
- I'm wondering why so few forth microcontoller tutorials are out there?
- Languages to implement in space-constrained environments
-
The Zen of Forth
To me, the Zen of Forth is JONESFORTH.
https://github.com/nornagon/jonesforth/blob/master/jonesfort...
-
Seeking some advice on creating yet another Forth...
This may help you, as will this, this, and this.
- A bit confuse
-
Byte Magazine: The FORTH programming language
In my AVR phase, I build a FORTH interpreter using the jonesforth page.
Nice introduction to threaded interpreters.
https://github.com/nornagon/jonesforth/blob/master/jonesfort...
- Jonesforth – A sometimes minimal FORTH compiler and tutorial (2007)
raspberry-pi-os
-
Show HN: CheesecakeOS for Raspberry Pi Volume 0: Booting, Processes, and VM
CheesecakeOS for Raspberry Pi Volume 0: Booting, Processes, and Virtual Memory is the first in what I hope is a series of github markdown tutorials or volumes on bare-metal from-scratch operating system development.
I have dreamed of contributing to the Linux Kernel, but have yet to find the courage to jump in and do so. I started by attempting to read Understanding the Linux Kernel by Daniel Bovet and Marco Cesati, but found it was too advanced for me at the time. I found another text I credit with advancing my understanding, Computer Systems: A Programmer's Perspective by Randall Bryant and David O'Hallaron. I worked on the self-study labs from their book website, and found them to be a superb educational tool.
Further, then becoming interested in what creating an operating system actually means, I stumbled upon Sergey Matyukevich's Rasberry-Pi-OS github repo (https://github.com/s-matyukevich/raspberry-pi-os). I wanted to expand on his tutorial, for my own education, and, in the best case, for the benefit of others.
There are many ideas taken from Linux in the implementation, as when I didn't know how to proceed, that is the source I would consult. Though, I attempt to simplify and explain the details in the text. The implementation stops short of implementing or supporting a file system, the subject of the next volume.
-
Has anyone ever actually gotten a custom kernel/bare metal program to run specifically on the Raspberry Pi 4B?
Not familiar with this myself but aiming to start soon. Have found a nice youtube series for low level development on the RPi, not sure which version he uses, but reportedly it works for some on RPi 4. He also has a subreddit:
-
In-depth software programming
C: Learning operating system development using Linux kernel and Raspberry Pi
What are some alternatives?
JingOS - Awesome - JingOS - The World’s First Linux-based OS design for Tablets
rdma-core - RDMA core userspace libraries and daemons
dattobd - kernel module for taking block-level snapshots and incremental backups of Linux block devices
circle - A C++ bare metal environment for Raspberry Pi with USB (32 and 64 bit)
rtw88-usb - rtw88 family usb driver for linux rtl8723du rtl8822bu rtl8821cu rtl8822cu
factor - Factor programming language
stoneknifeforth - a tiny self-hosted Forth implementation
AmogOS - ඞ Among-us themed OS. As seen on Reddit and Youtube.
UEFI-Tuts - YOUTUBE Tutorials on how the UEFI works to boot your own Operating System. Think of this as an EFI Bootloader.
wiser - :racehorse: Extremely minimal vmm for linux written in C. Hopefully someday will spin linux-vm for you.
circle - The compiler is available for download. Get it!
durexforth - Modern C64 Forth