Business

You can run Linux on a Commodore 64 if you really want to-

Programming hobbyists love a challenge. Getting Linux to run on, well, anything is a challenge many find irresistible. The latest example involves getting it to run on the legendary Commodore 64. Getting it to run on a Mac is one thing, but doing the same on a 40 year old computer with 64KB of memory is quite another.

Developer Onno Kortmann (via Slashdot) used Semu, a light RISCV32 emulator, and cross-compiled it with llvm-mos, allowing the code to run on the C64’s MOS Technologies 6502 processor. It needs to be pointed out that this was done via an emulator and not on real hardware, though it’s only a matter of time before that happens.

Using the VICE Commodore emulator, Kortmann enabled “warp mode” which showed the first boot messages within a few minutes, though that will take much longer on a real machine. The screenshot below took a few hours with Warp mode, which means a real C64 will take a week or more to fully boot Linux.

The original Commodore 64 came with just 64KB of memory and running a lightweight OS is simply not possible without the use of a RAM Expansion Unit. Kortmann doesn’t specify which REU he used, but C64 REUs were available with up to 512KB, or a whopping 0.5MB of memory. The C64’s MOS Technology processor running at around 1MHz isn’t what you’d call a speed demon either.

Kortmann believes there’s a lot of room for improvement, saying a 10x speedup could be possible. Still, given the limitations of the C64 hardware, even with a 10x speedup, don’t expect to go running much in the way of software once you do finish the boot sequence. This is the kind of thing that serves little purpose beyond proving it can be done. That doesn’t make it any less cool, though.

Should you wish to, the code and instructions can be found on Kortmann’s Github page. I’m not sure any but the most masochistic or bored programmers would take up the challenge, but to those that do: Respect! 

Is Linux on a C64 practical? Not in the slightest. But it sure is an impressive feat and one that fans of one of the greatest computers of all time will appreciate.

Related Posts

กูร์กตัวส์ส่งกำลังใจถึงชเตเก้นหลังเจ็บหนัก

ติโบต์ กูร์กตัวส์ นายทวาร เรอัล มาดริด แสดงความเสียใจต่อ มาร์ก-อันเดร แทร์ ชเตเก้น หลังผู้รักษาประตูของ บาร์เซโลน่า บาดเจ็บหนักจนต้องพักยาวพร้อมเสนอความช่วยเหลือนายด่านชาวเยอรมันระหว่างการฟื้นฟูร่างกายกลับมาด้วย ตามรายงานจากมาร์ก้าเมื่อวันจันทร์ที่ผ่านมา

กูร์กตัวส์ มีประสบการณ์บาดเจ็บหนักลักษณะเดียวกันหลังเอซีแอลฉีกขาดในช่วงก่อนเปิดฤ�…

'ฟิออ'ปล่อย2แข้งซบคาซิมปาซ่า

ทั้งคู่ไม่ได้อยู่ในแผนการทำทีมของ รัฟฟาเอเล่ ปัลลาดิโน่ กุนซือคนใหม่ ซึ่งมาแทนที่ วินเชนโซ่ อิตาเลียโน่

คำพูดจาก สล็อตเว็บตรง

บารัค วัย 29 ปี เป็นคนแรกที่ย้ายทีมในวันเสาร์ โดยเป็นการยืมตัว 1 ซีซั่น และมีตัวเลือกซื้อขาด 6 ล้านยูโร

ดาวเตะทีมชาติเช็กถูก ปัลลาดิโน่ ทดสอบฝีเท้าหลายครั้งในฤดูกาลนี้ แต่ก็ไม่สา�…

Intel figures out how to make money again-

Intel’s revenue for the last three months was down 15% versus this time last year, but CEO Pat Gelsinger doesn’t seem to mind. He says of the company’s latest earnings represent “just great execution across every aspect of the business.” A surprisingly positive sentiment for what might appear on the surface to just be more bad news.

The reason for that positivity is that Intel is back to making money after a few rocky quarters underperforming in 2022. Last quarter, Intel lost $2.8B from $12B in revenue. This quarter, Intel made $1.5B from $13B in revenue.

Intel also gained $0.13 a share in the past three months, which doesn’t sound like much, however, is generally now assumed to be the beginning of a much-needed rebound. Margins were also up, which shareholders love to get into a fervour about.

“Strength in client and data center and our efforts to drive efficiencies and cost savings across the organization all contributed to the upside in the quarter and a return …

It’s mathematically impossible to beat Humble’s latest bundle of legendary CRPGs before Baldur’s Gate 3 comes out-

Have you got time for Humble’s latest collection of CRPG classics? No, you don’t. None of us do, in fact. At time of writing, Baldur’s Gate 3 is about 173 hours away from leaving early access (assuming it does so at about 4 pm BST). According to How Long To Beat, completing a “Main + Extra” run of all six games (plus one expansion) in the Baldur’s Gate and Beyond bundle would take you 421 hours. 

Even if you only try to take on the Baldur’s Gate games in there, it’ll take you 159 hours. Doable so long as you don’t sleep between now and August 3 (PC Gamer does not recommend doing this, but I personally am curious to see you try).

But even if so-called science says you won’t be able to experience the full breadth of these bangers before Baldur’s Gate 3 eats up your August, they’re still well worth picking up. The full list of games in the bundle is: Baldur’s Gate 1 & 2 Enhanced Edition (plus the Siege of Dragonspear expansion

Manor Lords is at its best when ‘players craft their own stories’ and don’t rely on a dev-made tale, which ‘quickly became repetitive’-

If you’ve experienced the dramatic highs and lows of Manor Lords, then you’ll understand just how nail-biting this city builder and management game can really be. But instead of relying on a set story, the real drama comes from letting players live their best lives and create catastrophic situations all by themselves. 

The developer of Manor Lords, Greg “Slavic Magic” Styczeń, told players via Reddit that he “experimented with a story, but it quickly became repetitive, just like Tropico was for me as a player (subjective personal preference). My hope is a sandbox where the players craft their own stories via gameplay.” 

Manor Lords does have a very loose story when it comes to all the shenanigans surrounding rival Lords who have falsely tried to claim your land as their own. Although this serves as a way to include small battle sequences in the game rather than forwarding any story. 

I’d like to see a greater storyline emerge as the game continu…

5 years after it closed for good, Gearbox confirms that the hero shooter Gigantic is coming back for a ‘limited time throwback event’-

Gigantic is—or was—a free-to-play “strategic hero shooter” that went into full release in July 2017 and almost immediately fell into misfortune. In November 2017, developer Motiga was closed, and just a couple months later publisher Perfect World announced that the game would suffer the same fate in July 2018. But now, improbably and unexpectedly, it looks like it might be making a comeback: Gearbox has confirmed that invitations to a “limited time throwback event” are legit.

The event first came to light in the Gigantic subreddit, after numerous diehard fans shared an email that went out today inviting them  to a three-day Gigantic play session, set to run October 5 to October 7. “Relive the good old days of playing this beloved strategic hero shooter” the email exclaimed.

Calling Gigantic “beloved” might be a bit of a stretch—its peak concurrent player count on Steam was 8,303, according to Steam Charts, but six months later that number was down …