This is my fork of x48-0.6.4 where I deviate from the original code and do my own thing. (See ./README_0.6.4 for the original README)
x48ng --help
You can use the script setup-x48ng-home.sh
or simply run x48ng --rom=<romfilename>
--tui-small
version (ncurses, 4 pixels per character)--tui-tiny --mono
version (ncurses, 8 pixels per character)--tui
version (ncurses)--x11
version--sdl
/--sdl2
version$XDG_CONFIG_HOME/x48ng
(usually ~/.config/x48ng/
)/usr/share/x48ng/ROMs/gxrom-r
(or any other rom) to $XDG_CONFIG_HOME/x48ng/rom
x48ng --print-config > $XDG_CONFIG_HOME/x48ng/config.lua
x48ng
--tui
)I had to be a bit 'creative' mapping keys there:
Enter
: F1
Left Shift
: F2
or PgUp
or [
Right Shift
: F3
or PgDn
or ]
Alpha
: F4
or Ins
or ;
On
: F5
or Esc
or Home
or \
_To quit x48ng
use F7
See and report at https://github.com/gwenhael-le-moine/x48ng/issues
The Makefile
will try to autodetect if necessary dependencies for x11 and sdl front-ends are met and enable/disable x11 and sdl front-ends accordingly.
You can force disable x11 front-end by compiling with make WITH_X11=no
.
You can force disable sdl front-end by compiling with make WITH_SDL2=no
.
Ncurses front-end is always built-in.
for SDL2 version:
for x11 version:
for Ncurses:
sudo make install PREFIX=/usr
(see the Makefile to see what variables your can override.)/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 2x48ng
and enjoymake FULL_WARNINGS=yes
to compile with all warningsmake clean
and make mrproper
to clean between compilation runsmake pretty-code
to format the code using clang-format
and the provided .clang-format