Thread: ZX spectrum +2
View Single Post
Old 7th Feb 2020, 7:27 pm   #24
Timbucus
Octode
 
Join Date: Mar 2019
Location: Barry, Vale of Glamorgan, Wales, UK.
Posts: 1,363
Default Re: ZX spectrum +2

Yes and no - the Z80 is used in all the Spectrum side code and the interface to the streams system in BASIC.

The mouse one uses the old Kempston Mouse standard which the Next FPGA converts from the PS2 port.

The WiFi is one of those small ESP01 modules connected by a UART so most of the heavy lifting is done by the AT command set and the TCP/IP stack on the device although there is a lot of IRQ polling and moving memory in the driver.

The RTC is connected with a bit banged I2C bus and uses a standard DS1307 chip - there is a loadable ESXDOS/NextZXOS command to scan the bus for example - the code is here wirh extensive documentation - it may be useful to anyone looking to bit bang an I2C interface on old Z80 based hardware:

https://gitlab.com/thesmog358/tbblue...tc/i2cscan.asm
Timbucus is offline