libx48ng/README.md

52 lines
1.6 KiB
Markdown
Raw Normal View History

2023-04-30 18:16:13 +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:
2023-04-30 19:16:49 +02:00
0. renamed it to x48ng to avoid confusion
2023-04-30 18:16:13 +02:00
1. merged in a SDL1 version I found @ https://code.google.com/archive/p/x48-sdl/source/default/source
2. removed the code supporting Solaris, HP-UX, etc.
3. removed the autotools-based build system and wrote a simple Makefile instead
2023-04-30 19:16:49 +02:00
4. added a x48ng.desktop file and an icon
2023-04-30 18:16:13 +02:00
2023-05-10 14:44:38 +02:00
## Bugs to fix
2023-05-15 09:31:07 +02:00
See https://github.com/gwenhael-le-moine/x48ng/issues
2023-05-10 14:44:38 +02:00
2023-04-30 18:16:13 +02:00
## What more I would like to do:
2023-09-13 21:57:55 +02:00
### short term
- clean-up further.
2023-09-13 22:03:48 +02:00
- update manpage for sdl version
2023-09-13 21:57:55 +02:00
- split the core emulator in a lib and have the GUI use that to cleanly separate the two.
- port from sdl1.2 to sdl2
- bring back the debugger?
- can something be merged from droid48? [ https://github.com/shagr4th/droid48 ]
### long(er) term
- GUI in gtk(4)?
- support the HP49g ROM?
2023-04-30 18:16:13 +02:00
## Compilation
### GUI
2023-09-13 15:17:26 +02:00
This branch is SDL1 only.
2023-04-30 18:16:13 +02:00
## 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.
2023-04-30 19:16:49 +02:00
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
2023-04-30 18:16:13 +02:00
3. run `x48ng` and enjoy
## Development
- `make FULL_WARNINGS=yes` to compile with all warnings
2023-09-13 21:57:55 +02:00
- `make clean` and `make mrproper` to clean between compilation runs
2023-04-30 18:16:13 +02:00
- `make pretty-code` to format the code using `clang-format` and the provided `.clang-format`