mirror of
https://github.com/ArthurFerreira2/puce6502.git
synced 2024-11-28 02:49:24 +00:00
Update README.md
This commit is contained in:
parent
4b2327915d
commit
e89b74338b
@ -6,16 +6,16 @@ It implements all original instruction and is cycle accurate excepted for :
|
||||
|
||||
*Absolute-X, absolute-Y, and Zero page-Y addressing modes which need an extra cycle if indexing crosses a page boundary, or if the instruction writes to memory.*
|
||||
|
||||
You can easely interface it with your code using the provided two functions :
|
||||
You can easely interface it with your code using the two provided functions :
|
||||
|
||||
```
|
||||
void puce6502Reset();
|
||||
void puce6502Exec(long long int cycleCount);
|
||||
```
|
||||
|
||||
RAM and ROM are implemented using 8 bits integer arrays. And are directly accessible to you code to load ROM binary images or optimise video generation\
|
||||
RAM and ROM are implemented using 8 bits integer arrays. And are directly accessible to your code to load ROM binary images and, for example, generate video output\
|
||||
RAM starts at adress 0x000\
|
||||
Update this three #define to adapt it to your needs :
|
||||
Update the three #define to adapt it to your needs :
|
||||
```
|
||||
#define ROMSTART 0xD000
|
||||
#define ROMSIZE 0x3000
|
||||
@ -29,6 +29,6 @@ in ROM or in RAM (for Soft Switches, extension cards ROMs, PIA, VIA, ACIA etc...
|
||||
extern uint8_t softSwitches(uint16_t address, uint8_t value);
|
||||
```
|
||||
|
||||
For examples of use, you can refer to [reinette II plus](https://github.com/ArthurFerreira2/reinette-II-plus) a french Apple II plus emulator.
|
||||
For an example of use, you can refer to [reinette II plus](https://github.com/ArthurFerreira2/reinette-II-plus) a french Apple II plus emulator.
|
||||
|
||||
Have fun !
|
||||
|
Loading…
Reference in New Issue
Block a user