nesemu/src/cpu.c

28 lines
593 B
C
Raw Normal View History

2023-09-21 23:53:14 -04:00
/*
* =====================================================================================
*
* Filename: cpu.c
*
* Description: 6502 CPU emulator
*
* Version: 1.0
* Created: 2023-09-21 10:10:26 PM
* Revision: none
* Compiler: gcc
*
* Author: William Nolin,
* Organization:
*
* =====================================================================================
*/
#include <stdio.h>
#include <stdlib.h>
long cpu_clock = 0;
void cpu_step_to(long cycle) {
cpu_clock = cycle;
printf("Clock: %ld", cpu_clock);
}