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

The last month has made this poll much more pertinent.

Uncategorized
2 1 0

Gli ultimi otto messaggi ricevuti dalla Federazione
Post suggeriti
  • Y'all make being into baseball seem fun

    Uncategorized
    2
    0 Votes
    2 Posts
    0 Views
    @InternetEh I couldn't care less about sports, generally speaking, but it's quite a thrill seeing the greatest player ever in real-time.
  • 0 Votes
    1 Posts
    0 Views
    @amin it's really nice, and it's a forgiving non-stressful recipe. Takes a while for all the baking steps, but most steps are independent and don't require a lot of attention. It's hard to mess up. And, it's impressed just about everybody I've ever served it to. It punches far above its weight in terms of impressiveness to difficulty. You can even use canned enchilada sauce if you're in a hurry, it turns out fine.
  • 0 Votes
    1 Posts
    0 Views
    Reminder to folks in the USA:You need to set your clocks back again.(It's #HootinTootinTuesday on a weekend, just for #DaylightSavingsTime .) #Timezones #Daylight_Savings_Time #DaylightSavings #ClocksChange #Stonehenge #StonehengeMonument
  • Multitasking On The Humble Z80 CPU

    Uncategorized
    1
    1
    0 Votes
    1 Posts
    0 Views
    Multitasking On The Humble Z80 CPUMultitasking is something we take for granted these days. Just about every computer we use, from our desktops to our phones, is capable of multitasking. It might sound silly to implement multitasking on lower-spec machines from many decades ago, given their limited resources, but it can be done, as [bchiha] demonstrates on a Z80-based machine.[bchiha] has achieved pre-emptive multitasking on the TEC-1G Z80 computer, a modern reimagining of the classic Talking Electronics TEC-1 from the 1980s. The proof of concept code allows running up to eight separate tasks at once. Task switching runs on interrupts, triggered at approximately 50 Hz. When an interrupt fires, the CPU registers are transferred onto that taskโ€™s stack, and the next taskโ€™s stack is swapped to the stack pointer to allow execution of the new task to proceed. There is an overhead, of course, with [bchiha] noting that the task swapping routine itself takes about 430 clock cycles to run in between tasks.Multitasking took some time to appear on home computers for good reasonโ€”itโ€™s not very useful unless you have a machine with enough power to practically run multiple tasks at once. While a Z80 machine like this can do multitasking, youโ€™d better hope each task is pretty tiny to avoid each individual task taking forever to run.[bchiha] has made the simple multitasking code available on Github for the curious. Weโ€™ve featured multitasking work on other unconventional platforms before, too, like the Arduino Uno. Video after the break.youtube.com/embed/tMYGlYO3v9U?โ€ฆ[Thanks to Stephen Walters for the tip!]hackaday.com/2025/11/01/multitโ€ฆ