mirror of https://github.com/nobuh/napple1.git
Compare commits
6 Commits
b08c1e6ac4
...
c337c22071
Author | SHA1 | Date |
---|---|---|
Nobuhiro Hatano | c337c22071 | |
nobuh | e36276fce7 | |
nobuh | c0f43127cc | |
Nobuhiro Hatano | 2e17ed5e27 | |
nobuh | d47be2dd9e | |
nobuh | 4be07cb2ee |
|
@ -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
|
||||
|
|
|
@ -45,7 +45,7 @@ void print_msgbuf(char *s)
|
|||
"%-40s",
|
||||
s);
|
||||
werase(msgbuf);
|
||||
wprintw(msgbuf, msg);
|
||||
wprintw(msgbuf, "%s", msg);
|
||||
wrefresh(msgbuf);
|
||||
}
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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