mirror of
https://github.com/ArthurFerreira2/puce6502.git
synced 2025-02-21 03:29:00 +00:00
Update README.md
This commit is contained in:
parent
a531330d0a
commit
7ff33c4a10
@ -20,8 +20,8 @@ You are expected to provide the functions to handle read and writes to memory (R
|
|||||||
They have to comply with these prototypes :
|
They have to comply with these prototypes :
|
||||||
|
|
||||||
```C
|
```C
|
||||||
extern uint8_t readMem(uint16_t address);
|
uint8_t readMem(uint16_t address);
|
||||||
extern void writeMem(uint16_t address, uint8_t value);
|
void writeMem(uint16_t address, uint8_t value);
|
||||||
```
|
```
|
||||||
|
|
||||||
finnaly, you can import the variable `ticks` (extern ticks) into your code - it holds the accumulated clock cycles since start.
|
finnaly, you can import the variable `ticks` (extern ticks) into your code - it holds the accumulated clock cycles since start.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user