circle
bmc64
circle | bmc64 | |
---|---|---|
31 | 8 | |
1,733 | 459 | |
- | - | |
8.9 | 1.6 | |
11 days ago | 15 days ago | |
C | C++ | |
GNU General Public License v3.0 only | GNU General Public License v3.0 only |
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.
circle
-
MiniScript on a bare-metal Raspberry Pi
If you're a developer and feeling adventurous, you can also try building it yourself. The source is all on GitHub. It uses the circle-stdlib project (which is circle plus some additions to support much of the C and C++ standard libraries) as a submodule; hopefully I've set that up correctly, but you could always clone that separately and place it in the MiniScript-Pi folder. Check out circle's build instructions for info on setting up your toolchain. (Mac users: be careful with the configure script, which does not work properly on MacOS; find me on Discord and I'll help you fix the script or configure manually.)
-
Bare Metal Emulation on the Raspberry Pi – Commodore 64
I suggest checking out circle https://github.com/rsta2/circle since it's basically a library for the pi hardware. I'm doing some experiments with it myself now.
-
Assembly coding without OS
You can also run a Pi without an operating system, programming it in C or C++ probably. See for example: GitHub - rsta2/circle: A C++ bare metal environment for Raspberry Pi with USB (32 and 64 bit)
- Bare Metal Emulators and launcher for RetroFlag GPI v1
-
Help with C64 Emulation (never used a C64 before in my life)?
BMC64 is VICE in a trenchcoat unikernel / bare-metal framework called Circle: https://github.com/rsta2/circle
-
Smalltalk-80 on Raspberry Pi: A Bare Metal Implementation
It uses the circle library (https://github.com/rsta2/circle) to provide a minimal runtime (mainly to interface with the hardware).
-
How do I get started with making my own Linux based OS on Embedded Hardware?
I experimented with circle the other day (https://github.com/rsta2/circle) Looks promising, and most likely within your knowledge of C/C++ development.
-
EmuTOS: A Modern FOSS Replacement OS for the Atari ST – and the Amiga Too
Natively would be amazing but a vast amount of work.
The way Apple moved classic MacOS from 680x0 to PowerPC was to write a tiny kernel emulator, with an API to run native stuff on the metal, and run more or less the whole OS under emulation, profile it and just translate the most speed-critical bits.
That's a lot of work for a FOSS project but given the performance delta between 1980s 680x0 and 2020s ARM, total emulation of the whole thing should be perfectly fine. It's how the PiStorm Amiga upgrade works.
https://amigastore.eu/853-pistorm.html
So all I envision is something like Aranym:
https://aranym.github.io/
... running on top of Ultibo, say:
https://ultibo.org/
Or maybe Circle:
https://github.com/rsta2/circle
-
Solutions for >1GHz microprocessor with option for bare metal or freeRTOS
Circle is a C++ bare metal programming environment for the Raspberry Pi.
-
New in this sub, some questions…
The only other reasonable option would be to port it to a new platform which is popular that has a few well documented hardware interfaces so as not to create a hellish nightmare writing drivers. Maybe then you could do a one-off port to that platform (though you might have to re-target the HolyC compiler to target it instead if it is not x86_64). The Raspberry PI seems like a decent option here since there is already a baremetal C++ library supporting USB, keyboard, mouse, sound, video, and as an added bonus UART, I2C, SPI, GPIO. You would have good code examples for porting all the necessary drivers. But obviously this would still be a lot of work and the compiler would need to be re-targeted and user space adapted for running on ARM. That being said backwards compatibility is strong, ARM seems actually interested in keeping it that way (at least for now). The library I'm talking about is here: https://github.com/rsta2/circle
bmc64
- Bare Metal Emulation on the Raspberry Pi – Commodore 64
- Bare Metal Emulators and launcher for RetroFlag GPI v1
-
Mister FPGA: recreate classic computers using modern hardware
Latency.
It doesn't matter how fast your emulator is, throughput-wise. Your operating system (and other stuff) sits between it and output and input devices. And usually adds multiple frames worth of latency. There's ways to improve this, certainly, but you won't get that experience "out of the box."
Now, it's also possible to accomplish this by running emulators "bare metal" or "close to the metal" like my friend Randy did with his BMC64 project: https://github.com/randyrossi/bmc64
-
Looking for best options for C64 game coding
Check out BMC64, it runs on a Raspberry Pi and you can attach a real C64 keyboard and joystick ports to its GPIO if you feel inclined to. I have a C128DCR keyboard attached to mine with two joy ports and real C64 joysticks.
-
Emulation
BMC64 for Raspberry Pi. I haven't tried it, but it sounds very cool.
- Commander X16
-
Joystick recommendations
https://github.com/randyrossi/bmc64/tree/master#gpio-configurations
-
repurposing a C64: how to make an image that boot into C64 emu on a Pi?
Open an issue for that: https://github.com/randyrossi/bmc64/issues
What are some alternatives?
rust-raspberrypi-OS-tutorials - :books: Learn to write an embedded OS in Rust :crab:
FoenixIDE - Development and Debugging Suite for the C256 Foenix Family of Computers
raspberry-pi-os - Learning operating system development using Linux kernel and Raspberry Pi
morfe - custom 65c816/m68k computer emulator in Go
MiniDexed - Dexed FM synthesizer similar to 8x DX7 (TX816/TX802) running on a bare metal Raspberry Pi (without a Linux kernel or operating system)
gpiemu - Bare metal emulators and launcher for retroflag GPI v1
rpi4-osdev - Tutorial: Writing a "bare metal" operating system for Raspberry Pi 4
dts2hx - Converts TypeScript definition files (d.ts) to haxe externs (.hx) via the TypeScript compiler API
8821cu - Linux Driver for USB WiFi Adapters that are based on the RTL8811CU, RTL8821CU and RTL8731AU Chipsets
bareDOOM - DOOM ported to run within the barebox bootloader
Pi1541 - Commodore 1541 emulator for the Raspberry Pi
haxe - Haxe - The Cross-Platform Toolkit