Commit graph

591 commits

Author SHA1 Message Date
Gwenhael Le Moine
e8b179534a
parsing parameters with GNU getopt_long 2023-09-13 12:24:04 +02:00
Gwenhael Le Moine
b63db93237
mostly formatting 2023-09-13 09:28:04 +02:00
Gwenhael Le Moine
43ccdf7699
hp48_device.c was mostly GUI code 2023-09-12 17:31:18 +02:00
Gwenhael Le Moine
2136cdc775
inline hp48_device/check_devices() 2023-09-12 14:48:24 +02:00
Gwenhael Le Moine
2f45a02a10
without debugger no reason to manage SIGINT 2023-09-07 16:39:55 +02:00
Gwenhael Le Moine
bfac5fc2a1
prettify all the code 2023-09-07 16:36:44 +02:00
Gwenhael Le Moine
0f6d0a358b
make pretty-code 2023-09-07 16:30:44 +02:00
Gwenhael Le Moine
58a77bde4b
one less ifdef 2023-09-07 16:07:18 +02:00
Gwenhael Le Moine
48cc5e941c
reduce the number of #ifdef X11/SDL1 2023-09-07 16:01:46 +02:00
Gwenhael Le Moine
008077ad4a
drop commented code 2023-09-07 15:04:37 +02:00
Gwenhael Le Moine
1226330375
fatal_exit() isn't so tied to GUI 2023-09-07 14:55:41 +02:00
Gwenhael Le Moine
1f5924b73a
split global and UI-specific options; inline X11's init_nibble_maps() 2023-09-07 14:51:31 +02:00
Gwenhael Le Moine
bd490f493a
0.13.0 2023-09-07 12:59:32 +02:00
Gwenhael Le Moine
9cb458ccbc
remove -disasm param related to debugger 2023-09-07 12:57:53 +02:00
Gwenhael Le Moine
329443d29a
we will never implement these 2023-09-07 12:54:57 +02:00
Gwenhael Le Moine
d27fc78f53
remove COMPILE_VERSION 2023-09-07 12:54:21 +02:00
Gwenhael Le Moine
3e78821d4a
[major] entirely removed debugger and realine dependency 2023-09-07 12:40:04 +02:00
Gwenhael Le Moine
5205e2c6d9
drop WITH_DEBUGGER, debugger is always built and embedded 2023-09-06 17:03:14 +02:00
Gwenhael Le Moine
5412d63b72
InitDisplay() is x11 specific 2023-09-06 16:34:22 +02:00
Gwenhael Le Moine
ef5c9ba171
debugger is its own part and not part of GUI 2023-09-06 16:32:56 +02:00
Steve Schnepp
6a3617b960
automatic multicore compilation 2023-09-06 11:05:02 +02:00
Steve Schnepp
39f2385b8d
test all branches 2023-09-05 11:51:12 +02:00
Steve Schnepp
f6998ff1cf
adding a C action for basic compilation testing 2023-09-05 11:50:50 +02:00
Gwenhael Le Moine
6b671b9b0f
clang echoes some more warnings by default, fixed them 2023-06-17 08:46:19 +02:00
Gwenhael Le Moine
fbce27e65d
0.12.1 2023-06-17 08:08:56 +02:00
Gwenhael Le Moine
f1ceb684f4
Allow overriding make variables GUI and WITH_DEBUGGER from environment or as parameters.
Avoids confusion

Reference: https://stackoverflow.com/questions/2826029/passing-additional-variables-from-command-line-to-make#2826178
2023-06-05 18:34:06 +02:00
Gwenhael Le Moine
ce145a3af2
pkgconfig --libs history isn't actually needed #7 2023-06-02 22:30:55 +02:00
Gwenhael Le Moine
5d3e9343d6
Improve compilation on Ubuntu derivative #7
Put $(LIBS) after our own objects

reference: https://stackoverflow.com/a/2487723
2023-06-02 22:05:56 +02:00
Gwenhael Le Moine
4e1275fbd3
Merge branch 'main' of ssh://src.le-moine.org:38172/gwh/x48ng 2023-05-23 11:18:25 +02:00
Gwenhael Le Moine
eb366ca8b0
don't print SDL version; move code around 2023-05-23 11:18:09 +02:00
Gwenhael Le Moine
5c25e81133
fix #4 : get_stack() needs to return a char*, not 0.
It's most like ly meant to the stack as a string
2023-05-22 08:17:48 +02:00
Gwenhael Le Moine
09824fd99f
link with readline only when building debugger 2023-05-21 11:31:10 +02:00
Gwenhael Le Moine
e03a460504
0.12.0 2023-05-20 09:06:14 +02:00
gwenhael
721c01ad64
Merge pull request #6 from MatMoul/patch-sx-rom
fix sx rom core dump
2023-05-19 22:31:35 +02:00
MatMoul
47c5c22c04 fix sx rom core dump 2023-05-19 21:53:02 +02:00
Gwenhael Le Moine
8a1d55975f
put configurable options up top 2023-05-19 09:15:10 +02:00
Gwenhael Le Moine
63412e14d3
make including the debugger a compilation option WITH_DEBUGGER 2023-05-18 23:11:40 +02:00
Gwenhael Le Moine
ffdb73a83d
pretty-code 2023-05-17 16:16:08 +02:00
Gwenhael Le Moine
9c56f4916b
*_bits are *_bitmap 2023-05-17 16:06:46 +02:00
Gwenhael Le Moine
18acd3a9cc
sort functions 2023-05-17 16:02:57 +02:00
Gwenhael Le Moine
a46261994f
ternary 2023-05-17 13:21:02 +02:00
Gwenhael Le Moine
32835225fe
code formatting 2023-05-17 12:57:18 +02:00
Gwenhael Le Moine
b2f360c9e9
one header file for debugger 2023-05-17 12:56:58 +02:00
Gwenhael Le Moine
c4668b65b2
code formatting 2023-05-17 10:27:19 +02:00
Gwenhael Le Moine
560c97cfed
some code cleaning and tiny refactoring 2023-05-16 16:48:55 +02:00
Gwenhael Le Moine
4dc4d8f0b1
Merge branch 'main' of ssh://src.le-moine.org:38172/gwh/x48ng 2023-05-16 16:29:42 +02:00
gwenhael
9ddaca8304
mention github issues 2023-05-15 09:31:07 +02:00
Gwenhael Le Moine
60a1139fd1
typo 2023-05-14 16:32:15 +02:00
Gwenhael Le Moine
a8d87dac4c
rework setup script to handle SX 2023-05-14 16:20:09 +02:00
Gwenhael Le Moine
1609a10f46
avoid unnecessary use of progname 2023-05-11 15:49:08 +02:00