From c0f43127cc0f0a5473b7707bb1e124516eab3582 Mon Sep 17 00:00:00 2001 From: nobuh Date: Wed, 7 Jun 2023 23:24:44 +0900 Subject: [PATCH 1/2] msgbuf.c format not a string warning during make --- src/msgbuf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/msgbuf.c b/src/msgbuf.c index dc39dfa..f660165 100644 --- a/src/msgbuf.c +++ b/src/msgbuf.c @@ -45,7 +45,7 @@ void print_msgbuf(char *s) "%-40s", s); werase(msgbuf); - wprintw(msgbuf, msg); + wprintw(msgbuf, "%s", msg); wrefresh(msgbuf); } From e36276fce738ef71004451678022f23b47af4ec1 Mon Sep 17 00:00:00 2001 From: nobuh Date: Wed, 7 Jun 2023 23:30:49 +0900 Subject: [PATCH 2/2] Remove install instruction for cygwin --- README | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/README b/README index d4741fc..61c40d5 100644 --- a/README +++ b/README @@ -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-..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