mirror of
https://github.com/ArthurFerreira2/reinette-II-plus.git
synced 2024-12-06 13:50:58 +00:00
stable version
This commit is contained in:
parent
5596f245fb
commit
8a6f8af6e8
2
Makefile
2
Makefile
@ -1,5 +1,5 @@
|
||||
CC = gcc
|
||||
FLAGS = -std=c99 -pedantic -Wpedantic -Wall -O3
|
||||
FLAGS = -std=c11 -pedantic -Wpedantic -Wall -O3
|
||||
|
||||
LIBS = -lSDL2
|
||||
# comment these two lines if you are under Linux :
|
||||
|
@ -24,7 +24,7 @@ After [reinette](https://github.com/ArthurFerreira2/reinette) (Apple 1 emulator)
|
||||
* easy screenshot
|
||||
|
||||
|
||||
It uses the same MOS 6502 CPU emulator as her sisters (now christened [puce6502](https://github.com/ArthurFerreira2/puce6502)).\
|
||||
It uses an optimized and accurate MOS 6502 CPU emulator (now christened [puce6502](https://github.com/ArthurFerreira2/puce6502)).\
|
||||
You only need SDL2 to compile it. (I'm not using SDL_Mixer, but only the native SDL2 audio functions)
|
||||
|
||||
This emulator is not accurate in many ways and does not compete with
|
||||
@ -66,9 +66,7 @@ Use the functions keys to control the emulator itself :
|
||||
* F7 : reset the zoom to 2:1
|
||||
* shift F7 : increase zoom up to 8:1 max
|
||||
* ctrl F7 : decrease zoom down to 1:1 pixels
|
||||
* F8 : monochrome / color display (only in HGR mode)
|
||||
* F9 : pause / un-pause the emulator
|
||||
* F10 : break
|
||||
* F10 : pause / un-pause the emulator
|
||||
* F11 : reset
|
||||
* F12 : about, help
|
||||
|
||||
|
2442
puce6502.c
2442
puce6502.c
File diff suppressed because it is too large
Load Diff
35
puce6502.h
35
puce6502.h
@ -1,10 +1,9 @@
|
||||
/*
|
||||
|
||||
Puce6502 - MOS 6502 cpu emulator
|
||||
Last modified 1st of August 2020
|
||||
Copyright (c) 2018 Arthur Ferreira (arthur.ferreira2@gmail.com)
|
||||
|
||||
This version has been modified for reinette II plus, a french Apple II plus
|
||||
This version has been modified for Reinette II plus, a french Apple II plus
|
||||
emulator using SDL2 (https://github.com/ArthurFerreira2/reinette-II-plus).
|
||||
|
||||
Please download the latest version from
|
||||
@ -27,36 +26,26 @@
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
||||
|
||||
*/
|
||||
|
||||
|
||||
#ifndef _PUCE6502_H
|
||||
#define _PUCE6502_H
|
||||
|
||||
typedef unsigned char uint8_t;
|
||||
typedef unsigned short uint16_t;
|
||||
typedef enum {false, true} bool;
|
||||
typedef enum { false, true } bool;
|
||||
|
||||
#define RAMSIZE 0xC000
|
||||
#define ROMSTART 0xD000
|
||||
#define ROMSIZE 0x3000
|
||||
#define LGCSTART 0xD000
|
||||
#define LGCSIZE 0x3000
|
||||
#define BK2START 0xD000
|
||||
#define BK2SIZE 0x1000
|
||||
#define SL6START 0xC600
|
||||
#define SL6SIZE 0x0100
|
||||
extern unsigned long long int ticks;
|
||||
|
||||
uint8_t ram[RAMSIZE]; // 48K of ram in $000-$BFFF
|
||||
uint8_t rom[ROMSIZE]; // 12K of rom in $D000-$FFFF
|
||||
uint8_t lgc[LGCSIZE]; // Language Card 12K in $D000-$FFFF
|
||||
uint8_t bk2[BK2SIZE]; // bank 2 of Language Card 4K in $D000-$DFFF
|
||||
uint8_t sl6[SL6SIZE]; // P5A disk ][ PROM in slot 6
|
||||
uint16_t puce6502Exec(unsigned long long int cycleCount);
|
||||
void puce6502RST();
|
||||
void puce6502IRQ();
|
||||
void puce6502NMI();
|
||||
|
||||
long long int ticks;
|
||||
|
||||
void puce6502Exec(long long int cycleCount);
|
||||
void puce6502Reset();
|
||||
void puce6502Break();
|
||||
// void printRegs();
|
||||
// void dasm(uint16_t address);
|
||||
// void setPC(uint16_t address);
|
||||
// uint16_t getPC();
|
||||
|
||||
#endif
|
||||
|
1578
reinetteII+.c
1578
reinetteII+.c
File diff suppressed because it is too large
Load Diff
@ -1,7 +1,7 @@
|
||||
1 ICON "assets/reinetteII+.ico"
|
||||
1 VERSIONINFO
|
||||
FILEVERSION 0,4,1,0
|
||||
PRODUCTVERSION 0,4,0,0
|
||||
FILEVERSION 0,4,8,0
|
||||
PRODUCTVERSION 0,4,8,0
|
||||
BEGIN
|
||||
BLOCK "StringFileInfo"
|
||||
BEGIN
|
||||
@ -9,12 +9,12 @@ BEGIN
|
||||
BEGIN
|
||||
VALUE "CompanyName", "Arthur Ferreira"
|
||||
VALUE "FileDescription", "Apple II+ emulator"
|
||||
VALUE "FileVersion", "0.4.1.0"
|
||||
VALUE "FileVersion", "0.4.8.0"
|
||||
VALUE "InternalName", "reinette II plus"
|
||||
VALUE "LegalCopyright", "Arthur Ferreira"
|
||||
VALUE "OriginalFilename", "reinetteII+.exe"
|
||||
VALUE "ProductName", "reinette II plus"
|
||||
VALUE "ProductVersion", "0.4"
|
||||
VALUE "ProductVersion", "0.4.8.0"
|
||||
END
|
||||
END
|
||||
BLOCK "VarFileInfo"
|
||||
|
BIN
reinetteII+.res
Normal file
BIN
reinetteII+.res
Normal file
Binary file not shown.
BIN
screenshots/Ms. Pac-Man.bmp
Normal file
BIN
screenshots/Ms. Pac-Man.bmp
Normal file
Binary file not shown.
After Width: | Height: | Size: 630 KiB |
Binary file not shown.
Before Width: | Height: | Size: 630 KiB After Width: | Height: | Size: 630 KiB |
Loading…
Reference in New Issue
Block a user