For this example, we are using the Wangdd22 MAX7219 Dot Matrix Module For Arduino Microcontroller 4 In 1 Display with 5 pins $10.99.
There are many similar Chinese-made modules.
Driving the with Bit-banged Serial generated using the Z80 PIA on my Z80 board. could easy adapt for any PIO or 8-bit output deivce.
Amazon link https://www.amazon.com/dp/B07FNCY6DZ?psc=1&ref=ppx_yo2ov_dt_b_product_details
The Max7219 uses an SPI-type serial interface, with serial in, serial out, Clock, and Chip Enable pins. The module has 5 pins on each end, two power, one side serial in, Clock, Chip Enable, second side two power, serial out, Clock, Chip Enable to cascade to other units.
These Modules are arranged in an 8-bit row configuration.
This code is an example of created two frame scrolling Animation,