Live data from Hacker News

Bare Metal Emulation on the Raspberry Pi – Commodore 64

accentual.com

11–20 of 69 posts

Re: Bare Metal Emulation on the Raspberry Pi – Commodore 64

#11
Very cool project! I've been getting more and more interested in "bare metal" projects, and one day am just going to dive right in.

There's something weirdly unsatisfying about building a Raspberry Pi appliance that boots to Linux just to do a Thing, when it could just boot to the Thing.

Re: Bare Metal Emulation on the Raspberry Pi – Commodore 64

#12

Very cool project! I've been getting more and more interested in "bare metal" projects, and one day am just going to dive right in. There's something weirdly unsatisfying about building a Raspberry Pi appliance that boots to Linux just to do a Thing, when it could just boot to the Thing.

Sounds like you want ESP! Check out ESPhome and Tasmota

Re: Bare Metal Emulation on the Raspberry Pi – Commodore 64

#13
post #9

Earlier quoted context omitted.

It is open source: https://github.com/randyrossi/bmc64 No Linux kernel there https://github.com/randyrossi/bmc64/blob/master/kernel.cpp

That is pretty friggin awesome. And even more awesome that you can just copy over whatever d64s to the image that I assume are easily accessible in the c64 environment once booted. I was considering trying something like Combian64 but this seems way tighter. Edit ah too bad actually was looking for something that would work with my pi400 but I guess bmc64 only works up to pi3. If anyone could port bmc64 to pi4 or mak…

Unfortunate the Pi 4 is more like a PC with a few layers of turtles between the user and the hardware. Up until then the pi were more like a microcontroller with a UI layer atop. You could peel that back and get at the raw goodies. The newer pi is vastly more complex and requires all these dark processes and proprietary firmware blobs beneath the OS to make it go.

Re: Bare Metal Emulation on the Raspberry Pi – Commodore 64

#14
post #9

Earlier quoted context omitted.

And it doesn’t look like there is any Linux or supporting Linux elements embedded into that image I don’t think? (From what I saw in the page dang posted/updated)

It is open source: https://github.com/randyrossi/bmc64 No Linux kernel there https://github.com/randyrossi/bmc64/blob/master/kernel.cpp

The bare metal library is mentioned in the repo in different places, but might be worth adding a link to it as well, it's Circle: https://github.com/rsta2/circle

Re: Bare Metal Emulation on the Raspberry Pi – Commodore 64

#15
post #13

Earlier quoted context omitted.

That is pretty friggin awesome. And even more awesome that you can just copy over whatever d64s to the image that I assume are easily accessible in the c64 environment once booted. I was considering trying something like Combian64 but this seems way tighter. Edit ah too bad actually was looking for something that would work with my pi400 but I guess bmc64 only works up to pi3. If anyone could port bmc64 to pi4 or mak…

Unfortunate the Pi 4 is more like a PC with a few layers of turtles between the user and the hardware. Up until then the pi were more like a microcontroller with a UI layer atop. You could peel that back and get at the raw goodies. The newer pi is vastly more complex and requires all these dark processes and proprietary firmware blobs beneath the OS to make it go.

Ah interesting thanks for the info and context

Re: Bare Metal Emulation on the Raspberry Pi – Commodore 64

#16
See also, PiTubeDirect[1], which runs on a Raspberry Pi which you have plugged into the second processor port of a BBC Micro[2], and turns the Pi into emulator for a number of different processors, notably an arbitrarily fast 6502, a Z80, or an 80286.

[1]: https://github.com/hoglet67/PiTubeDirect

[2]: https://en.wikipedia.org/wiki/BBC_Micro_expansion_unit#Secon...

Re: Bare Metal Emulation on the Raspberry Pi – Commodore 64

#17

See also, PiTubeDirect[1], which runs on a Raspberry Pi which you have plugged into the second processor port of a BBC Micro[2], and turns the Pi into emulator for a number of different processors, notably an arbitrarily fast 6502, a Z80, or an 80286. [1]: https://github.com/hoglet67/PiTubeDirect [2]: https://en.wikipedia.org/wiki/BBC_Micro_expansion_unit#Secon...

Hey… it could run ARM code.

Re: Bare Metal Emulation on the Raspberry Pi – Commodore 64

#18
In a similar vein for those looking for more:

ZX Spectrum https://zxmini.speccy.org/en/index.html

Gameboy https://github.com/angeris/CS107E-GB-Emulator

8086 / 80186 https://github.com/jhhoward/Faux86

Dragon32 https://github.com/eyalabraham/Dragon32-RPi-Bare-Metal

Those are all I know. :) I dream of a bare metal Amiga!

Re: Bare Metal Emulation on the Raspberry Pi – Commodore 64

#20
One of the key advantages of FPGA retro game emulation is its low overhead processing input and audio. This is because the FPGA emulates hardware directly and doesn't have to go through OS abstraction layers built to accomodate multitasking.

I wonder if bare metal emulators can achieve similar latency for software emulation.

Post reply on HN