mirror of
https://github.com/Luigi30/fruitmachine.git
synced 2024-06-15 20:29:34 +00:00
15 lines
258 B
C++
15 lines
258 B
C++
#include "stdafx.h"
|
|
#include <stdint.h>
|
|
#include "page.h"
|
|
|
|
char Page::read_byte(uint8_t address) {
|
|
return cells[address];
|
|
}
|
|
|
|
void Page::write_byte(uint8_t address, uint8_t data) {
|
|
cells[address] = data;
|
|
}
|
|
|
|
int Page::getAccessType() {
|
|
return access_type;
|
|
} |