nec-upd7725-96050-python
A Python-based emulator for NEC uPD7725 and uPD96050 digital signal processors, strictly adhering to original data sheets and recorded processor states.
0 projects
About nec-upd7725-96050-python
The nec-upd7725-96050-python project provides a cycle-accurate emulator for the NEC uPD7725 and uPD96050 digital signal processors. It is designed to execute one instruction per clock cycle, with its implementation verified against NEC's 1987 data sheet and 1989 data book, as well as a recorded corpus of processor states. The tool is implemented in Python and requires version 3.12 or newer. It includes a diagnostic utility, the 'doctor', which verifies the environment and installation. The emulator provides an interface for loading programs, stepping through instructions, managing interrupts, and inspecting internal registers and memory stores. It supports running code until specific conditions are met or instruction limits are reached, raising a `RunLimit` exception if the limit is exceeded. The project is maintained with a focus on high test coverage and conformance to documented specifications, though some aspects of the larger processor's architecture, such as stack depth, rely on secondary sources rather than official documentation, introducing a degree of uncertainty regarding those specific hardware limits.
Summarised from the official page linked above.