mirror of
https://github.com/nobuh/napple1.git
synced 2024-06-02 12:41:28 +00:00
Compare commits
6 Commits
b08c1e6ac4
...
c337c22071
Author | SHA1 | Date | |
---|---|---|---|
|
c337c22071 | ||
|
e36276fce7 | ||
|
c0f43127cc | ||
|
2e17ed5e27 | ||
|
d47be2dd9e | ||
|
4be07cb2ee |
16
README
Executable file → Normal file
16
README
Executable file → Normal file
|
@ -1,21 +1,17 @@
|
|||
napple1 is an Apple 1 emulator using ncurses, ported from the SDL version
|
||||
Pom1 emulafor. If you have some questions, please report it as an issue.
|
||||
|
||||
How to install on cygwin
|
||||
=========================
|
||||
0. Setup cygwin (base) and make, gcc4, libncurses-dev
|
||||
and follow Linux procedure.
|
||||
How to install on Ubuntu (ex. Ubuntu 22.04)
|
||||
===========================================
|
||||
1. sudo apt install make gcc libncurses-dev
|
||||
|
||||
How to install on Linux
|
||||
========================
|
||||
1. Download latest source package nappple1-<n>.<n>.tar.gz
|
||||
and extract it.
|
||||
2. git clone https://github.com/nobuh/napple1.git
|
||||
|
||||
2. Build
|
||||
3. Build
|
||||
cd napple1/src
|
||||
make
|
||||
cd ..
|
||||
3. Run
|
||||
4. Run
|
||||
./napple1
|
||||
|
||||
ROM Directory
|
||||
|
|
0
SAMPLE_PROGRAMS
Executable file → Normal file
0
SAMPLE_PROGRAMS
Executable file → Normal file
0
src/keyboard.c
Executable file → Normal file
0
src/keyboard.c
Executable file → Normal file
0
src/keyboard.h
Executable file → Normal file
0
src/keyboard.h
Executable file → Normal file
0
src/m6502.c
Executable file → Normal file
0
src/m6502.c
Executable file → Normal file
0
src/m6502.h
Executable file → Normal file
0
src/m6502.h
Executable file → Normal file
0
src/main.c
Executable file → Normal file
0
src/main.c
Executable file → Normal file
0
src/makefile
Executable file → Normal file
0
src/makefile
Executable file → Normal file
0
src/memory.c
Executable file → Normal file
0
src/memory.c
Executable file → Normal file
0
src/memory.h
Executable file → Normal file
0
src/memory.h
Executable file → Normal file
2
src/msgbuf.c
Executable file → Normal file
2
src/msgbuf.c
Executable file → Normal file
|
@ -45,7 +45,7 @@ void print_msgbuf(char *s)
|
|||
"%-40s",
|
||||
s);
|
||||
werase(msgbuf);
|
||||
wprintw(msgbuf, msg);
|
||||
wprintw(msgbuf, "%s", msg);
|
||||
wrefresh(msgbuf);
|
||||
}
|
||||
|
||||
|
|
0
src/msgbuf.h
Executable file → Normal file
0
src/msgbuf.h
Executable file → Normal file
0
src/pia6820.c
Executable file → Normal file
0
src/pia6820.c
Executable file → Normal file
0
src/pia6820.h
Executable file → Normal file
0
src/pia6820.h
Executable file → Normal file
2
src/screen.c
Executable file → Normal file
2
src/screen.c
Executable file → Normal file
|
@ -36,6 +36,8 @@ static int indexX, indexY;
|
|||
static WINDOW *screen;
|
||||
static long long interval_start; /* interval start time in u sec */
|
||||
|
||||
int nrow, ncol;
|
||||
|
||||
char getch_screen(void)
|
||||
{
|
||||
return (char)wgetch(screen);
|
||||
|
|
2
src/screen.h
Executable file → Normal file
2
src/screen.h
Executable file → Normal file
|
@ -25,5 +25,5 @@ void outputDsp(unsigned char dsp);
|
|||
char getch_screen(void);
|
||||
void select_screen(void);
|
||||
|
||||
int nrow, ncol;
|
||||
extern int nrow, ncol;
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user