x48ng emulator "engine" as a standalone library
Find a file
Gwenhael Le Moine 04bef1297e
one less ifdef
2023-05-10 13:30:17 +02:00
doc_0.6.4 put old docs from 0.6.4 into doc_0.6.4 2023-05-04 16:45:44 +02:00
romdump delete autotools files, use only simple Makefile 2023-04-26 16:51:11 +02:00
ROMs import ROM files from Sourceforge project 2015-07-26 11:29:01 +02:00
src one less ifdef 2023-05-10 13:30:17 +02:00
.clang-format add and use .clang-format 2023-04-27 12:15:59 +02:00
.gitignore move dump2rom, checkrom and mkcard into src/tools/ 2023-05-09 16:50:01 +02:00
AUTHORS add myself to AUTHORS 2023-04-26 19:49:18 +02:00
COPYING update autoconf&Co 2023-04-26 16:18:11 +02:00
hplogo.png add install target to Makefile 2023-04-26 19:46:45 +02:00
LICENSE Initial commit 2015-07-26 11:13:05 +02:00
Makefile merge device.h into hp48.h, rename device.c ⇒ hp48_device.c 2023-05-10 13:28:57 +02:00
README.md updated README 2023-04-30 19:16:49 +02:00
setup-x48ng-home.sh better first-run script 2023-04-30 19:08:53 +02:00
X48NG.ad x48ng 0.9.9 2023-04-30 18:16:13 +02:00
x48ng.desktop Update x48ng.desktop 2023-05-02 23:27:26 +02:00
x48ng.man.1 adapt/update manpage 2023-05-05 08:57:45 +02:00

x48ng -- HP48 CPU emulator

(I'm not very good at writing, see ./README_0.6.4 for the original README)

This is my fork of x48-0.6.4 where I deviate from the original code and do my own thing.

What have I done:

  1. renamed it to x48ng to avoid confusion
  2. merged in a SDL1 version I found @ https://code.google.com/archive/p/x48-sdl/source/default/source
  3. removed the code supporting Solaris, HP-UX, etc.
  4. removed the autotools-based build system and wrote a simple Makefile instead
  5. added a x48ng.desktop file and an icon

What more I would like to do:

  1. clean-up further.
  2. split the core emulator in a lib and have the GUI use that to cleanly separate the two.
  3. have a more modern GUI: SDL2 or gosu or?…
  4. support the HP49g ROM?

Compilation

By default the X11 version is built. It is the most complete UI-wise.

To build the X11 version run make GUI=x11

To build the SDL1 version run make GUI=sdl1

Installation

  1. Run sudo make install PREFIX=/usr DOCDIR=/usr/doc/x48ng MANDIR=/usr/man DESTDIR=/tmp/package filling in your own values for PREFIX, DOCDIR, MANDIR and DESTDIR.
  2. once installed run /usr/share/x48ng/setup-x48ng-home.sh to setup your ~/.x48ng/. It sets up a HP 48GX with a 128KB card in port 1 and a 4MB card in port 2
  3. run x48ng and enjoy

Development

  • make FULL_WARNINGS=yes to compile with all warnings
  • make clean and make clean-all to clean between compilation runs
  • make pretty-code to format the code using clang-format and the provided .clang-format