Skip to content

Piero Bosio Social Web Site Personale Logo Fediverso

Social Forum federato con il resto del mondo. Non contano le istanze, contano le persone

Non è una guerra: è un sistema https://tommasin.org/blog/2026-03-22/non-e-una-guerra-e-un-sistema/

Uncategorized
1 1 0

Gli ultimi otto messaggi ricevuti dalla Federazione
Post suggeriti
  • 0 Votes
    1 Posts
    0 Views
    450 FSFE supporters affected: Payment provider Nexi cancelled us - FSFEhttps://fsfe.org/news/2026/news-20260316-01.en.html> Our long-term payment provider Nexi has terminated our contract without prior notice. As a result, our supporters’ recurring credit card and direct debit d...
  • 0 Votes
    1 Posts
    0 Views
    Nino Manfredi, born March 22, 1921, stole from the best in The Executioner (1963).
  • 0 Votes
    1 Posts
    0 Views
    Van Morrison – Roll With The Punches (2017)In un ideale botta e risposta con i Rolling Stones di Blue & Lonesome, anche Van Morrison decide di aprire l’album dei ricordi e omaggiare alcuni classici del blues con questo Roll With The Punches: quindici brani in tutto, cinque autografi e dieci ripescati da una tradizione che il Nostro frequentava già ai tempi... https://noblogo.org/available/van-morrison-roll-with-the-punches-2017Segui il blog e ascolta un album al giorno: @available#LaMusicaCiSalva #UnoDisco #DiscoDelGiorno #Spettacoli
  • Arduino Code?

    Uncategorized
    1
    1
    0 Votes
    1 Posts
    0 Views
    Arduino Code? On my 8051? It’s More Likely Than You ThinkThe 8051 was an 8-bit Harvard-architecture microcontroller first put out by Intel in 1980. They’ve since discontinued that line, but it lives on in the low-cost STC8 family of chips, which is especially popular in Asia. They’re cheap as, well, chips — under 1$ — but lack compatibility with modern toolchains. If you’re happy with C, then you’re fine, but if you want to plus-plus it up and use all those handy-dandy shortcuts provided by the Arduino ecosystem, you’re out of luck. Or rather, you were, until [Bùi Trịnh Thế Viên] aka [thevien257] came up with a workaround.The workaround is delightfully Hack-y. One could, conceivably, port a compiler for Arduino’s Wiring to the 8051, but that’s not what [Viên] did, probably because that would be a lot of work. There isn’t even a truly modern toolchain to put plain C on this chip. Instead, [Viên] started with rv51, a RISC-V emulator written in 8051 assembly language by [cryozap]. RISC-V is a lot easier to work with and, frankly, a more useful skill to build up.Now emulation does come with a cost: 8kB of flash memory and a 100x to 1000x slowdown in the emulated application code. For that reason, anything timing critical, like interrupts, should probably be handled the old-fashioned way. He’s targeting the STC8H8K64U specifically, so if you happen to have other STC8-based dev boards lying around, you’ll have some extra work ahead of you.Of course, you can get ultra-cheap microcontrollers that are natively RISC V already– and they’re good enough to act as microcomputers of the era the 8051 hails from, so this hack is likely going to stay fairly niche. Still, if you’re in that niche, teaching an 8051 to speak RISC might be a handy trick to have in your back pocket.hackaday.com/2026/03/22/arduin…