Skip to content

domahony/zx81

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

80 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ZX81 Emulator

This is a ZX81 emulator written in perl. It consists of 4 main components.

1 Z80.pm The Z80 CPU emulator.

This module emulates the Z80 CPU. It contains variables for the Z80 registers and executes operations based on the received input.

The run() subroutine is continuously called by an external driver.

The supplied tick() subroutine is called on each cpu cycle.

2 TV.pm The display module.

This module is responsible for emulating the display. It uses OpenGL to render the screen. An external controller calls the vert(), horiz(), and data() methods to simulate a television.

3 Keyboard.pm The keyboard module.

This module is responsible for listening for keyboard input. The next_key() method returns a structure that reflects the keystroke.

4 ZX81.pm The ZX81 emulator.

This module is the main ZX81 controller. It contains the RAM and ROM.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages