Hey Eric-
Eric here. You might possibly remember me as the guy who build a Z80-based replica of the HP-25 and presented it at HPCC a couple of years ago. I've been distracted by other things but back to calculator hacking.
I was excited to see the updated code for nonpareil! I'm having a small issue getting it to build though... I get an undefined reference to "classic_disassemble" which the comments hit should be defined in dis_classic.c which is nowhere to be found. Possibly you forgot to push it to git?
Otherwise so far so good on building on Ubuntu 22.04 Linux after a couple of small tweaks. Once I get it running I'll post exactly what I had to do.
Best,
Eric
Code:
scons: Reading SConscript files ...
['calcdef.c', 'chip.c', 'proc.c', 'glib_async_queue_source.c', 'digit_ops.c', 'proc_classic.c', 'proc_woodstock.c', 'crc.c', 'pick.c', 'proc_nut.c', 'coconut_lcd.c', 'phineas.c', 'helios.c', 'helios_chargen.c', 'hepax.c', 'voyager_lcd.c', 'mod1_file.c']
scons: done reading SConscript files.
scons: Building targets ...
scons: `src/build_ncd' is up to date.
scons: `src/uasm' is up to date.
gcc -o src/nonpareil -pthread src/nonpareil_title_png.o src/rgoose_png.o src/lgoose_png.o src/canada_goose_wav.o src/gpl_v2_txt.o src/csim.o src/about.o src/goose.o src/calc_chooser.o src/sound.o src/endian.o src/display.o src/printer.o src/card_reader.o src/keyboard.o src/scancode.o src/slide_switch.o src/cbutton.o src/kml_l.o src/kml_y.o src/kml.o src/util.o src/xmlutil.o src/arch.o src/platform.o src/pixbuf_util.o src/release.o src/calcdef.o src/chip.o src/proc.o src/glib_async_queue_source.o src/digit_ops.o src/proc_classic.o src/proc_woodstock.o src/crc.o src/pick.o src/proc_nut.o src/coconut_lcd.o src/phineas.o src/helios.o src/helios_chargen.o src/hepax.o src/voyager_lcd.o src/mod1_file.o src/elapsed_time_us_posix.o src/state_write.o src/state_read.o src/dis_woodstock.o src/dis_nut.o -lgsf-1 -lxml2 -lpng -lgtk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lfontconfig -lfreetype -lgdk-x11-2.0 -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -lcairo -lgdk_pixbuf-2.0 -lgobject-2.0 -lgthread-2.0 -lglib-2.0 -lSDL -lm
/bin/ld: src/proc_classic.o:(.data.rel+0x5a0): undefined reference to `classic_disassemble'
collect2: error: ld returned 1 exit status
scons: *** [src/nonpareil] Error 1
scons: building terminated because of errors.
hazen@eric-x22 nonpareil (main) $