1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-11-21 06:31:06 +00:00
0 CLK's 6502
Thomas Harte edited this page 2017-06-14 16:43:06 -04:00

CLK's 6502 is provided as a template. It reproduces the behaviour of a real 6502: a particular concrete implementation must provide the bus on which the machine sits — subclasses must implement int perform_bus_operation(CPU::MOS6502::BusOperation operation, uint16_t address, uint8_t *value).

The class is organised so that concrete machines can be implemented with either an is-a or a has-a relationship with the 6502.