Code Monkey home page Code Monkey logo

bobbin's Issues

acdfb9b causes an annoying compiler warning

The commit that was supposed to remove an annoying warning caused a new warning.

acdfb9b causes this:
warning: unknown warning option '-Wno-format-truncation' [-Wunknown-warning-option]

make -j8
Making all in src
awk -f ./scripts/gen-options.awk < ../README.md > option-names.h.out
awk -f ./scripts/gen-machines.awk < ../README.md > machine-names.h.out
awk -f ./scripts/gen-help.awk -v DOCDIR=/usr/local/share/doc/bobbin < ../README.md > help-text.h.out
(CDPATH="${ZSH_VERSION+.}:" && cd .. && /bin/sh '/Users/majick/src/bobbin/missing' autoheader)
mv machine-names.h.out machine-names.h
mv option-names.h.out option-names.h
mv help-text.h.out help-text.h
rm -f stamp-h1
touch ac-config.h.in
cd .. && /bin/sh ./config.status src/ac-config.h
config.status: creating src/ac-config.h
config.status: src/ac-config.h is unchanged
/Library/Developer/CommandLineTools/usr/bin/make  all-am
depbase=`echo main.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
	gcc -DHAVE_CONFIG_H -I.  -I/Users/majick/src/bobbin/src -DROMSRCHDIR='"/usr/local/share/bobbin/roms"'   -Wall -Wno-unused -Wno-unused-result -Wno-format-truncation -std=c99 -pedantic  -MT main.o -MD -MP -MF $depbase.Tpo -c -o main.o main.c &&\
	mv -f $depbase.Tpo $depbase.Po
depbase=`echo bobbin.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
	gcc -DHAVE_CONFIG_H -I.  -I/Users/majick/src/bobbin/src -DROMSRCHDIR='"/usr/local/share/bobbin/roms"'   -Wall -Wno-unused -Wno-unused-result -Wno-format-truncation -std=c99 -pedantic  -MT bobbin.o -MD -MP -MF $depbase.Tpo -c -o bobbin.o bobbin.c &&\
	mv -f $depbase.Tpo $depbase.Po
depbase=`echo config.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
	gcc -DHAVE_CONFIG_H -I.  -I/Users/majick/src/bobbin/src -DROMSRCHDIR='"/usr/local/share/bobbin/roms"'   -Wall -Wno-unused -Wno-unused-result -Wno-format-truncation -std=c99 -pedantic  -MT config.o -MD -MP -MF $depbase.Tpo -c -o config.o config.c &&\
	mv -f $depbase.Tpo $depbase.Po
depbase=`echo cpu.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
	gcc -DHAVE_CONFIG_H -I.  -I/Users/majick/src/bobbin/src -DROMSRCHDIR='"/usr/local/share/bobbin/roms"'   -Wall -Wno-unused -Wno-unused-result -Wno-format-truncation -std=c99 -pedantic  -MT cpu.o -MD -MP -MF $depbase.Tpo -c -o cpu.o cpu.c &&\
	mv -f $depbase.Tpo $depbase.Po
depbase=`echo mem.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
	gcc -DHAVE_CONFIG_H -I.  -I/Users/majick/src/bobbin/src -DROMSRCHDIR='"/usr/local/share/bobbin/roms"'   -Wall -Wno-unused -Wno-unused-result -Wno-format-truncation -std=c99 -pedantic  -MT mem.o -MD -MP -MF $depbase.Tpo -c -o mem.o mem.c &&\
	mv -f $depbase.Tpo $depbase.Po
depbase=`echo trace.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
	gcc -DHAVE_CONFIG_H -I.  -I/Users/majick/src/bobbin/src -DROMSRCHDIR='"/usr/local/share/bobbin/roms"'   -Wall -Wno-unused -Wno-unused-result -Wno-format-truncation -std=c99 -pedantic  -MT trace.o -MD -MP -MF $depbase.Tpo -c -o trace.o trace.c &&\
	mv -f $depbase.Tpo $depbase.Po
depbase=`echo util.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
	gcc -DHAVE_CONFIG_H -I.  -I/Users/majick/src/bobbin/src -DROMSRCHDIR='"/usr/local/share/bobbin/roms"'   -Wall -Wno-unused -Wno-unused-result -Wno-format-truncation -std=c99 -pedantic  -MT util.o -MD -MP -MF $depbase.Tpo -c -o util.o util.c &&\
	mv -f $depbase.Tpo $depbase.Po
depbase=`echo signal.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
	gcc -DHAVE_CONFIG_H -I.  -I/Users/majick/src/bobbin/src -DROMSRCHDIR='"/usr/local/share/bobbin/roms"'   -Wall -Wno-unused -Wno-unused-result -Wno-format-truncation -std=c99 -pedantic  -MT signal.o -MD -MP -MF $depbase.Tpo -c -o signal.o signal.c &&\
	mv -f $depbase.Tpo $depbase.Po
warning: unknown warning option '-Wno-format-truncation' [-Wunknown-warning-option]
warning: unknown warning option '-Wno-format-truncation' [-Wunknown-warning-option]
warning: unknown warning option '-Wno-format-truncation' [-Wunknown-warning-option]
warning: unknown warning option '-Wno-format-truncation' [-Wunknown-warning-option]
warning: unknown warning option '-Wno-format-truncation' [-Wunknown-warning-option]
warning: unknown warning option '-Wno-format-truncation' [-Wunknown-warning-option]
warning: unknown warning option '-Wno-format-truncation' [-Wunknown-warning-option]
warning: unknown warning option '-Wno-format-truncation' [-Wunknown-warning-option]
1 warning generated.
1 warning generated.
depbase=`echo debug.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
	gcc -DHAVE_CONFIG_H -I.  -I/Users/majick/src/bobbin/src -DROMSRCHDIR='"/usr/local/share/bobbin/roms"'   -Wall -Wno-unused -Wno-unused-result -Wno-format-truncation -std=c99 -pedantic  -MT debug.o -MD -MP -MF $depbase.Tpo -c -o debug.o debug.c &&\
	mv -f $depbase.Tpo $depbase.Po
1 warning generated.
depbase=`echo disasm.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
	gcc -DHAVE_CONFIG_H -I.  -I/Users/majick/src/bobbin/src -DROMSRCHDIR='"/usr/local/share/bobbin/roms"'   -Wall -Wno-unused -Wno-unused-result -Wno-format-truncation -std=c99 -pedantic  -MT disasm.o -MD -MP -MF $depbase.Tpo -c -o disasm.o disasm.c &&\
	mv -f $depbase.Tpo $depbase.Po
1 warning generated.
depbase=`echo machine.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
	gcc -DHAVE_CONFIG_H -I.  -I/Users/majick/src/bobbin/src -DROMSRCHDIR='"/usr/local/share/bobbin/roms"'   -Wall -Wno-unused -Wno-unused-result -Wno-format-truncation -std=c99 -pedantic  -MT machine.o -MD -MP -MF $depbase.Tpo -c -o machine.o machine.c &&\
	mv -f $depbase.Tpo $depbase.Po
1 warning generated.
depbase=`echo event.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
	gcc -DHAVE_CONFIG_H -I.  -I/Users/majick/src/bobbin/src -DROMSRCHDIR='"/usr/local/share/bobbin/roms"'   -Wall -Wno-unused -Wno-unused-result -Wno-format-truncation -std=c99 -pedantic  -MT event.o -MD -MP -MF $depbase.Tpo -c -o event.o event.c &&\
	mv -f $depbase.Tpo $depbase.Po
1 warning generated.
depbase=`echo hook.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
	gcc -DHAVE_CONFIG_H -I.  -I/Users/majick/src/bobbin/src -DROMSRCHDIR='"/usr/local/share/bobbin/roms"'   -Wall -Wno-unused -Wno-unused-result -Wno-format-truncation -std=c99 -pedantic  -MT hook.o -MD -MP -MF $depbase.Tpo -c -o hook.o hook.c &&\
	mv -f $depbase.Tpo $depbase.Po
1 warning generated.
depbase=`echo watch.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
	gcc -DHAVE_CONFIG_H -I.  -I/Users/majick/src/bobbin/src -DROMSRCHDIR='"/usr/local/share/bobbin/roms"'   -Wall -Wno-unused -Wno-unused-result -Wno-format-truncation -std=c99 -pedantic  -MT watch.o -MD -MP -MF $depbase.Tpo -c -o watch.o watch.c &&\
	mv -f $depbase.Tpo $depbase.Po
depbase=`echo cmd.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
	gcc -DHAVE_CONFIG_H -I.  -I/Users/majick/src/bobbin/src -DROMSRCHDIR='"/usr/local/share/bobbin/roms"'   -Wall -Wno-unused -Wno-unused-result -Wno-format-truncation -std=c99 -pedantic  -MT cmd.o -MD -MP -MF $depbase.Tpo -c -o cmd.o cmd.c &&\
	mv -f $depbase.Tpo $depbase.Po
1 warning generated.
depbase=`echo periph.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
	gcc -DHAVE_CONFIG_H -I.  -I/Users/majick/src/bobbin/src -DROMSRCHDIR='"/usr/local/share/bobbin/roms"'   -Wall -Wno-unused -Wno-unused-result -Wno-format-truncation -std=c99 -pedantic  -MT periph.o -MD -MP -MF $depbase.Tpo -c -o periph.o periph.c &&\
	mv -f $depbase.Tpo $depbase.Po
warning: unknown warning option '-Wno-format-truncation' [-Wunknown-warning-option]
warning: unknown warning option '-Wno-format-truncation' [-Wunknown-warning-option]
warning: unknown warning option '-Wno-format-truncation' [-Wunknown-warning-option]
warning: unknown warning option '-Wno-format-truncation' [-Wunknown-warning-option]
warning: unknown warning option '-Wno-format-truncation' [-Wunknown-warning-option]
warning: unknown warning option '-Wno-format-truncation' [-Wunknown-warning-option]
1 warning generated.
1 warning generated.
warning: unknown warning option '-Wno-format-truncation' [-Wunknown-warning-option]
1 warning generated.
1 warning generated.
depbase=`echo format.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
	gcc -DHAVE_CONFIG_H -I.  -I/Users/majick/src/bobbin/src -DROMSRCHDIR='"/usr/local/share/bobbin/roms"'   -Wall -Wno-unused -Wno-unused-result -Wno-format-truncation -std=c99 -pedantic  -MT format.o -MD -MP -MF $depbase.Tpo -c -o format.o format.c &&\
	mv -f $depbase.Tpo $depbase.Po
1 warning generated.
warning: unknown warning option '-Wno-format-truncation' [-Wunknown-warning-option]
1 warning generated.
depbase=`echo sha-256.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
	gcc -DHAVE_CONFIG_H -I.  -I/Users/majick/src/bobbin/src -DROMSRCHDIR='"/usr/local/share/bobbin/roms"'   -Wall -Wno-unused -Wno-unused-result -Wno-format-truncation -std=c99 -pedantic  -MT sha-256.o -MD -MP -MF $depbase.Tpo -c -o sha-256.o sha-256.c &&\
	mv -f $depbase.Tpo $depbase.Po
depbase=`echo interfaces/tty.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
	gcc -DHAVE_CONFIG_H -I.  -I/Users/majick/src/bobbin/src -DROMSRCHDIR='"/usr/local/share/bobbin/roms"'   -Wall -Wno-unused -Wno-unused-result -Wno-format-truncation -std=c99 -pedantic  -MT interfaces/tty.o -MD -MP -MF $depbase.Tpo -c -o interfaces/tty.o interfaces/tty.c &&\
	mv -f $depbase.Tpo $depbase.Po
depbase=`echo sha256-verify.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
	gcc -DHAVE_CONFIG_H -I.  -I/Users/majick/src/bobbin/src -DROMSRCHDIR='"/usr/local/share/bobbin/roms"'   -Wall -Wno-unused -Wno-unused-result -Wno-format-truncation -std=c99 -pedantic  -MT sha256-verify.o -MD -MP -MF $depbase.Tpo -c -o sha256-verify.o sha256-verify.c &&\
	mv -f $depbase.Tpo $depbase.Po
depbase=`echo interfaces/iface.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
	gcc -DHAVE_CONFIG_H -I.  -I/Users/majick/src/bobbin/src -DROMSRCHDIR='"/usr/local/share/bobbin/roms"'   -Wall -Wno-unused -Wno-unused-result -Wno-format-truncation -std=c99 -pedantic  -MT interfaces/iface.o -MD -MP -MF $depbase.Tpo -c -o interfaces/iface.o interfaces/iface.c &&\
	mv -f $depbase.Tpo $depbase.Po
1 warning generated.
1 warning generated.
depbase=`echo interfaces/simple.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
	gcc -DHAVE_CONFIG_H -I.  -I/Users/majick/src/bobbin/src -DROMSRCHDIR='"/usr/local/share/bobbin/roms"'   -Wall -Wno-unused -Wno-unused-result -Wno-format-truncation -std=c99 -pedantic  -MT interfaces/simple.o -MD -MP -MF $depbase.Tpo -c -o interfaces/simple.o interfaces/simple.c &&\
	mv -f $depbase.Tpo $depbase.Po
depbase=`echo periph/disk2.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
	gcc -DHAVE_CONFIG_H -I.  -I/Users/majick/src/bobbin/src -DROMSRCHDIR='"/usr/local/share/bobbin/roms"'   -Wall -Wno-unused -Wno-unused-result -Wno-format-truncation -std=c99 -pedantic  -MT periph/disk2.o -MD -MP -MF $depbase.Tpo -c -o periph/disk2.o periph/disk2.c &&\
	mv -f $depbase.Tpo $depbase.Po
depbase=`echo format/nib.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
	gcc -DHAVE_CONFIG_H -I.  -I/Users/majick/src/bobbin/src -DROMSRCHDIR='"/usr/local/share/bobbin/roms"'   -Wall -Wno-unused -Wno-unused-result -Wno-format-truncation -std=c99 -pedantic  -MT format/nib.o -MD -MP -MF $depbase.Tpo -c -o format/nib.o format/nib.c &&\
	mv -f $depbase.Tpo $depbase.Po
warning: unknown warning option '-Wno-format-truncation' [-Wunknown-warning-option]
warning: unknown warning option '-Wno-format-truncation' [-Wunknown-warning-option]
warning: unknown warning option '-Wno-format-truncation' [-Wunknown-warning-option]
warning: unknown warning option '-Wno-format-truncation' [-Wunknown-warning-option]
warning: unknown warning option '-Wno-format-truncation' [-Wunknown-warning-option]
1 warning generated.
warning: unknown warning option '-Wno-format-truncation' [-Wunknown-warning-option]
depbase=`echo format/dsk.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
	gcc -DHAVE_CONFIG_H -I.  -I/Users/majick/src/bobbin/src -DROMSRCHDIR='"/usr/local/share/bobbin/roms"'   -Wall -Wno-unused -Wno-unused-result -Wno-format-truncation -std=c99 -pedantic  -MT format/dsk.o -MD -MP -MF $depbase.Tpo -c -o format/dsk.o format/dsk.c &&\
	mv -f $depbase.Tpo $depbase.Po
1 warning generated.
warning: unknown warning option '-Wno-format-truncation' [-Wunknown-warning-option]
warning: unknown warning option '-Wno-format-truncation' [-Wunknown-warning-option]
1 warning generated.
depbase=`echo format/empty.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
	gcc -DHAVE_CONFIG_H -I.  -I/Users/majick/src/bobbin/src -DROMSRCHDIR='"/usr/local/share/bobbin/roms"'   -Wall -Wno-unused -Wno-unused-result -Wno-format-truncation -std=c99 -pedantic  -MT format/empty.o -MD -MP -MF $depbase.Tpo -c -o format/empty.o format/empty.c &&\
	mv -f $depbase.Tpo $depbase.Po
1 warning generated.
gcc  -Wall -Wno-unused -Wno-unused-result -Wno-format-truncation -std=c99 -pedantic    -o sha256-verify sha256-verify.o sha-256.o
1 warning generated.
1 warning generated.
1 warning generated.
1 warning generated.
warning: unknown warning option '-Wno-format-truncation' [-Wunknown-warning-option]
warning: unknown warning option '-Wno-format-truncation' [-Wunknown-warning-option]
1 warning generated.
1 warning generated.
gcc  -Wall -Wno-unused -Wno-unused-result -Wno-format-truncation -std=c99 -pedantic    -o bobbin main.o bobbin.o config.o cpu.o mem.o trace.o interfaces/iface.o interfaces/simple.o util.o signal.o debug.o disasm.o machine.o event.o hook.o watch.o cmd.o periph.o periph/disk2.o format.o format/nib.o format/dsk.o format/empty.o sha-256.o interfaces/tty.o -lcurses
Making all in test
Making all in noninteract
make[2]: Nothing to be done for `all'.
Making all in pexpect
make[2]: Nothing to be done for `all'.
Making all in tests6502
make[2]: Nothing to be done for `all'.
make[2]: Nothing to be done for `all-am'.
make[1]: Nothing to be done for `all-am'.
gcc -v
Apple clang version 15.0.0 (clang-1500.0.40.1)
Target: arm64-apple-darwin23.0.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin

uname -a
Darwin flat.in.nachomountain.com 23.0.0 Darwin Kernel Version 23.0.0: Fri Sep 15 14:42:57 PDT 2023; root:xnu-10002.1.13~1/RELEASE_ARM64_T8112 arm64

Unable to build under Cygwin

I barely know what I'm doing, but when I try to build this under Cygwin, I get as far as running make, then I get:

Making all in src
interfaces/tty.c: In function ‘if_tty_start’:
interfaces/tty.c:265:13: error: lvalue required as left operand of assignment
265 | ESCDELAY=17; // Wait 1/60th of a second to see if an escape char
| ^
make[2]: *** [Makefile:525: interfaces/tty.o] Error 1
make[1]: *** [Makefile:343: all] Error 2
make: *** [Makefile:422: all-recursive] Error 1

What's going on? Thanks.

Save a transcript to a file

I know this is easy to do on Linux, but not so much on Windows. Could we have a command lline option and possibly a debugger command to log all input and output to a text file?

Disk operations seem to be slower than reality

Not sure why, but when loading/booting from disk, it seems to take longer than it would on a real Apple. Could we have an option to allow disk operations to happen as fast as possible?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.