2024-04-30 12:28:43 -04:00
|
|
|
//
|
|
|
|
// Created by william on 4/30/24.
|
|
|
|
//
|
|
|
|
|
2024-05-01 11:45:39 -04:00
|
|
|
#include "window.h"
|
|
|
|
#include "../include/types.h"
|
|
|
|
#include "../include/cpu.h"
|
|
|
|
|
2024-05-01 12:58:15 -04:00
|
|
|
#ifndef NESEMULATOR_CPU_VIEW_H
|
|
|
|
#define NESEMULATOR_CPU_VIEW_H
|
|
|
|
|
2024-05-01 11:45:39 -04:00
|
|
|
#define CPU_VIEW_HEIGHT 14
|
|
|
|
#define CPU_VIEW_WIDTH 12
|
|
|
|
|
|
|
|
typedef struct cpu_view {
|
|
|
|
Window *window;
|
|
|
|
} CpuView;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Initializes a CPU view for a system RAM.
|
|
|
|
*/
|
2024-05-06 20:23:44 -04:00
|
|
|
CpuView *cv_init(int x, int y);
|
2024-05-01 11:45:39 -04:00
|
|
|
|
|
|
|
void cv_uninit(CpuView *cpu_view);
|
|
|
|
|
2024-04-30 12:28:43 -04:00
|
|
|
#endif //NESEMULATOR_CPU_VIEW_H
|