Discussion
Loading...

Post

  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
Paolo Amoroso
@amoroso@oldbytes.space  ·  activity timestamp 3 weeks ago

A proof of concept Z80 Assembly program that "[...] simulates task multitasking that can run up to eight separate tasks at the same time." It requires a specific hardware and software setup.

https://github.com/bchiha/Ready-Z80/tree/main/29-Multitasking

#z80 #multitasking #assembly

GitHub

Ready-Z80/29-Multitasking at main · bchiha/Ready-Z80

Code and files for to the Ready? Z80 Youtube channel - bchiha/Ready-Z80
  • Copy link
  • Flag this post
  • Block
Resuna
@resuna@ohai.social replied  ·  activity timestamp 3 weeks ago

@amoroso

Was doing mulitasking in Z80 CP/M boxes in FIG-Forth in the early '80s, was much better development environment than burning EPROMS for our embedded systems.

Mostly Xerox 820, but ran the same FORTH code on PDP-11 under RSX-11 and Version 7 UNIX. Also Apple II (though it didn't generalize as well because Page 0 was a bitch).

Also did some work on Cromix, a UNIX lookalike that ran on CP/M-compatible Z80 hardware.

  • Copy link
  • Flag this comment
  • Block
Paolo Amoroso
@amoroso@oldbytes.space replied  ·  activity timestamp 3 weeks ago

@resuna Did the Xerox 820 run Forth?

  • Copy link
  • Flag this comment
  • Block
Resuna
@resuna@ohai.social replied  ·  activity timestamp 3 weeks ago

@amoroso

It ran CP/M, ran FIG Forth-77 on it with a multitasking kernel in under 50 lines of Forth.

  • Copy link
  • Flag this comment
  • Block
tom jennings
@tomjennings@tldr.nettime.org replied  ·  activity timestamp 3 weeks ago

@amoroso

I'm about to release my MP/M II machine. Emulated z80 and devices but all 8080 multiprocessing and preemption. Runs four CP/M programs at once. Digital Research code. It's shockingly effective. 1981.

  • Copy link
  • Flag this comment
  • Block
Paolo Amoroso
@amoroso@oldbytes.space replied  ·  activity timestamp 3 weeks ago

@tomjennings At the time of MP/M both the technology of and the use case for multitasking were new, especially the latter in the micros market.

  • Copy link
  • Flag this comment
  • Block
tom jennings
@tomjennings@tldr.nettime.org replied  ·  activity timestamp 3 weeks ago

@amoroso

It's a truly lovely semi failure.

And a horrible thing to debug in.

  • Copy link
  • Flag this comment
  • Block
Weekend Editor
@weekend_editor@mathstodon.xyz replied  ·  activity timestamp 3 weeks ago

@amoroso

People writing antique assembly are a special breed.

Here's an account of a humorous paper doing some 6502 assembly for "stunt factoring" in crypto:

https://www.someweekendreading.blog/dog-factoring/

Dog Factoring

Prime factoring is one of the key algorithms to modern encryption security. Does it help if you use a dog?
  • Copy link
  • Flag this comment
  • Block
Paolo Amoroso
@amoroso@oldbytes.space replied  ·  activity timestamp 3 weeks ago

@weekend_editor In a previous life I wrote a toy 8080 assembler.

https://github.com/pamoroso/suite8080

GitHub

GitHub - pamoroso/suite8080: A suite of Intel 8080 Assembly tools

A suite of Intel 8080 Assembly tools. Contribute to pamoroso/suite8080 development by creating an account on GitHub.
  • Copy link
  • Flag this comment
  • Block
Weekend Editor
@weekend_editor@mathstodon.xyz replied  ·  activity timestamp 3 weeks ago

@amoroso

*salutes*

  • Copy link
  • Flag this comment
  • Block
Bonkers
@bonkers@nerdculture.de replied  ·  activity timestamp 3 weeks ago

@amoroso why not ENIAC

  • Copy link
  • Flag this comment
  • Block
Paolo Amoroso
@amoroso@oldbytes.space replied  ·  activity timestamp 3 weeks ago

@bonkers Z80 Assembly may be more familiar among retrocomputing enthusiasts and makers, plus Z80 hardware is more readily available.

  • Copy link
  • Flag this comment
  • Block
Bonkers
@bonkers@nerdculture.de replied  ·  activity timestamp 3 weeks ago

@amoroso yeah, but why? You can get as much fun with something like rp2040 instead.

  • Copy link
  • Flag this comment
  • Block
Paolo Amoroso
@amoroso@oldbytes.space replied  ·  activity timestamp 3 weeks ago

@bonkers Absolutely, everyone is welcome to have fun with emulating ENIAC.

  • Copy link
  • Flag this comment
  • Block
HP van Braam
@hp@mastodon.tmm.cx replied  ·  activity timestamp 3 weeks ago

@amoroso I'm trying to do a Unix port for the eZ80 with some extra circuitry! This is an interesting approach!

  • Copy link
  • Flag this comment
  • Block
Paolo Amoroso
@amoroso@oldbytes.space replied  ·  activity timestamp 3 weeks ago

@hp Glad it helps.

  • Copy link
  • Flag this comment
  • Block
HP van Braam
@hp@mastodon.tmm.cx replied  ·  activity timestamp 3 weeks ago

@amoroso it does! Thank you for sharing!

  • Copy link
  • Flag this comment
  • Block
Log in

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.0 no JS en
Automatic federation enabled
  • Explore
  • About
  • Members
  • Code of Conduct
Home
Login