Commit graph

433 commits

Author SHA1 Message Date
Gwenhael Le Moine
c6b5539852
monoline for 2023-09-26 15:11:47 +02:00
Gwenhael Le Moine
b3a993b2a1
Merge branch 'main' of ssh://src.le-moine.org:38172/gwh/x48ng 2023-09-26 13:19:19 +02:00
Gwenhael Le Moine
0b9eec4aef
F! and F7
Signed-off-by: Gwenhael Le Moine <gwenhael.le.moine@gmail.com>
2023-09-26 13:19:13 +02:00
Gwenhael Le Moine
b04aa42e31
harmonize between 3 ui 2023-09-26 13:17:51 +02:00
Gwenhael Le Moine
97d9b78c1b
-comments 2023-09-26 13:17:15 +02:00
Gwenhael Le Moine
183ccc7bee
keep just --mono and --gray 2023-09-26 13:16:53 +02:00
Gwenhael Le Moine
ba36e6d180
meaning of c & r 2023-09-26 11:28:48 +02:00
Gwenhael Le Moine
30fd67d0f0
eliminate duplicate code 2023-09-26 11:28:32 +02:00
Gwenhael Le Moine
4c469e9457
unicode strings for indicators 2023-09-24 22:29:45 +02:00
Gwenhael Le Moine
123efa0762
esthetics 2023-09-24 09:27:02 +02:00
Gwenhael Le Moine
4ca96f12b9
[tui] show wire and IR devices in UI 2023-09-23 20:43:43 +02:00
Gwenhael Le Moine
658fbdf036
we know there's 6 annunciators 2023-09-23 20:32:12 +02:00
Gwenhael Le Moine
44e5cdfcdb
[tui] draw annunciators in their place 2023-09-23 19:31:26 +02:00
Gwenhael Le Moine
6e24208d70
[tui] more keybindings in --tui, update README and manpage 2023-09-23 18:56:39 +02:00
Gwenhael Le Moine
09345afd98
[tui] use "colors" for mono too, use characters in last resort 2023-09-23 18:19:51 +02:00
Gwenhael Le Moine
8844c382d5
ncurses UI has colors too now! 2023-09-23 18:16:16 +02:00
Gwenhael Le Moine
b908c50979
Fully functional ncurses UI!! 2023-09-23 17:16:43 +02:00
Gwenhael Le Moine
8c546a6279
draw annunciators 2023-09-23 13:40:28 +02:00
Gwenhael Le Moine
07e8a47d27
successfully draw LCD with ncurses 2023-09-23 12:03:37 +02:00
Gwenhael Le Moine
28d46cbfb3
update .clang-format and format all the code 2023-09-22 09:44:23 +02:00
Gwenhael Le Moine
7979ebe5c4
button.extra deemed unused 2023-09-21 10:32:54 +02:00
Gwenhael Le Moine
72d0ae2c88
won't use bitmaps for annunciators 2023-09-21 09:41:55 +02:00
Gwenhael Le Moine
380e192d87
Merge branch 'main' into tui 2023-09-21 09:40:46 +02:00
Gwenhael Le Moine
29a5ae530d
0.26.1 C needs booleans 2023-09-20 17:22:14 +02:00
Gwenhael Le Moine
2a5d68dc80
try to be resilient and helpful when dealing with files 2023-09-20 16:26:24 +02:00
Gwenhael Le Moine
d83c6c4302
normalize all filenames to absolute at init 2023-09-20 16:05:42 +02:00
Gwenhael Le Moine
f515cc09f7
initialize automatically if needed ans conditions are met 2023-09-20 13:33:16 +02:00
Gwenhael Le Moine
0f5b59afb0
add missing state variables from verbose output 2023-09-20 12:24:23 +02:00
Gwenhael Le Moine
2adba37461
bring back configurable X "visual" with --x11-visual=XX 2023-09-20 11:17:53 +02:00
Gwenhael Le Moine
b73090d017
dename disp to lcd for clarity, use less variables 2023-09-20 10:34:53 +02:00
Gwenhael Le Moine
15c764f93c
Merge branch 'main' into tui 2023-09-20 09:52:41 +02:00
Gwenhael Le Moine
c1bf95b9dc
add direct params for front-ends 2023-09-20 09:52:16 +02:00
Gwenhael Le Moine
c864a16bd7
[tui] manage keyboard 2023-09-20 09:34:23 +02:00
Gwenhael Le Moine
a4aec0607b
explicit -u 2023-09-19 19:25:54 +02:00
Gwenhael Le Moine
babc1d14dc
prepare for implementing text UI (ncurses most likely) 2023-09-19 19:21:55 +02:00
Gwenhael Le Moine
29347b27c5
[#12] use display.offset and display.lines directly instead of their disp.* proxy 2023-09-19 16:50:31 +02:00
Gwenhael Le Moine
69b6da3ef5
cull X code 2023-09-19 15:57:56 +02:00
Gwenhael Le Moine
f6ad529be1
un-static some things 2023-09-19 15:48:31 +02:00
Gwenhael Le Moine
7d701cb51d
use FIRST_BUTTON 2023-09-19 15:01:18 +02:00
Gwenhael Le Moine
d836123ddf
static ALL THE THINGS!!! 2023-09-19 14:59:49 +02:00
Gwenhael Le Moine
20e8fc0e56
merge ui_bitmaps.h into ui_inner.h 2023-09-19 14:49:56 +02:00
Gwenhael Le Moine
b239fbde2a
eliminate need of prototypes in ui_x11.c 2023-09-19 14:14:50 +02:00
Gwenhael Le Moine
7595b39c13
all parameters are handled through getopt_long, no more X resources 2023-09-19 14:01:12 +02:00
Gwenhael Le Moine
eed26cded9
chasing #12 2023-09-19 09:48:25 +02:00
Gwenhael Le Moine
aeea54e59b
chasing #12, refactoring 2023-09-19 07:50:34 +02:00
Gwenhael Le Moine
aa0706d819
add --netbook to options 2023-09-19 07:50:12 +02:00
Gwenhael Le Moine
d7a5472d22
renaming 2023-09-18 17:50:09 +02:00
Gwenhael Le Moine
a6fa514d3d
refactor setup_frontend() 2023-09-18 16:45:43 +02:00
Gwenhael Le Moine
e2b815c5ff
function pointer are sexy 2023-09-18 16:32:22 +02:00
Gwenhael Le Moine
90b8035654
Both sdl and x11 front-ends are compiled, selectable at runtime 2023-09-18 15:25:35 +02:00
Gwenhael Le Moine
2b4607c5af
factor common stuff from both ui_{sdl,x11}.c into ui_inner.h 2023-09-18 13:30:57 +02:00
Gwenhael Le Moine
455d384b8a
brought back x11 GUI, fix #11 2023-09-18 12:09:25 +02:00
Gwenhael Le Moine
3638a43cfa
inline SDLUIFeedback() 2023-09-18 11:19:32 +02:00
Gwenhael Le Moine
bb0771e97f
WIP #11 : brought back x11 UI, tweaking ui_sdl.c
- x11:
  - crashes on start somehow, looking for the cause.
  - compile it passing GUI=x11 to make.
2023-09-18 10:52:47 +02:00
Gwenhael Le Moine
3d70c997a4
split "private" parts of emulator.h into emulator_inner.h 2023-09-17 15:51:04 +02:00
Gwenhael Le Moine
fd11a9fa08
code fiddling 2023-09-17 14:57:34 +02:00
Gwenhael Le Moine
49893c6082
refactor/optimize SDLCoordinateToKey() trying to fix issue #11
and I prefer my solution over looping over an array
2023-09-17 10:53:21 +02:00
Gwenhael Le Moine
95b62b7b3d
optimize SDLKeyToKey 2023-09-17 10:16:38 +02:00
Gwenhael Le Moine
6df4d4a31c
merge debugger c in one big file, clean dead code, fiddling 2023-09-16 19:07:39 +02:00
Gwenhael Le Moine
a8724da1b7
cleaning more dead or commented code 2023-09-16 17:50:37 +02:00
Gwenhael Le Moine
fbf0180114
that whole disp_t is actually useless dead code?! 2023-09-16 17:23:36 +02:00
Gwenhael Le Moine
8f93bb2121
renaming stuff 2023-09-16 15:40:24 +02:00
Gwenhael Le Moine
d56ef5cf8b
[ui_sdl] eliminate functions' prototypes declaration, inline code 2023-09-16 15:23:19 +02:00
Gwenhael Le Moine
eddc56d0ed
remove help popup and dead code 2023-09-16 14:12:43 +02:00
Gwenhael Le Moine
c1e242caf7
future simplification? 2023-09-16 13:42:42 +02:00
Gwenhael Le Moine
655ea11d85
add --fulscreen option, useful when combined with --no-chrome for example 2023-09-16 11:22:26 +02:00
Gwenhael Le Moine
e4aef06805
add a --no-chrome option to only show the LCD 2023-09-16 11:07:34 +02:00
Gwenhael Le Moine
0c69a47dd2
"unify" debugger header 2023-09-16 09:20:46 +02:00
Gwenhael Le Moine
8037dad330
fatal_exit(); was part of x11 code 2023-09-16 09:18:51 +02:00
Gwenhael Le Moine
5ba6943af6
code-shuffling++ 2023-09-15 17:59:13 +02:00
Gwenhael Le Moine
de336e4821
another big code-shuffling files-renaming moment 2023-09-15 17:42:29 +02:00
Gwenhael Le Moine
5bf401d8c9
rename x48* ⇒ ui*; move SDL specific code from ui.h ⇒ ui_sdl.c 2023-09-15 16:26:23 +02:00
Gwenhael Le Moine
4fd2511451
Add back the debugger
This reverts commit 3e78821d4a.
2023-09-15 09:53:39 +02:00
Gwenhael Le Moine
9c25485487
Revert "without debugger no reason to manage SIGINT"
This reverts commit 2f45a02a10.
2023-09-15 09:24:23 +02:00
Gwenhael Le Moine
295e82f684
prettify and exit after --version 2023-09-14 16:39:16 +02:00
Gwenhael Le Moine
598ab1ef72
files params accept absolute or relative-to-config-dir pathes 2023-09-14 16:12:10 +02:00
Gwenhael Le Moine
b49326a243
finish params parsing, make all filenames overridable 2023-09-14 15:57:12 +02:00
Gwenhael Le Moine
9dcfb47402
try to keep headers clean 2023-09-14 13:42:31 +02:00
Gwenhael Le Moine
abefdc5ec7
fiddlings comments 2023-09-14 13:24:26 +02:00
Gwenhael Le Moine
9bfb6b8acd
use redraw_annunc() in adjust_contrast() 2023-09-14 13:14:40 +02:00
Gwenhael Le Moine
bd45f6ea92
optimize/clarify header files 2023-09-14 12:55:50 +02:00
Gwenhael Le Moine
18f0866921
minor fiddling 2023-09-14 12:55:11 +02:00
Gwenhael Le Moine
87a26533fe
remove SIMPLE_64 (dead code) 2023-09-14 12:53:59 +02:00
Gwenhael Le Moine
b595a19af6
refactor fatal_exit() 2023-09-14 12:52:58 +02:00
Gwenhael Le Moine
268dd34612
more parse_args() into options.{c,h} as its role is to set set options 2023-09-14 12:38:51 +02:00
Gwenhael Le Moine
4a3e4ad027
move bitmaps (back) into their own header 2023-09-14 11:11:23 +02:00
Gwenhael Le Moine
6e254f8322
Document x48 public API; merge x48_lcd.c into x48.c 2023-09-14 09:46:46 +02:00
Gwenhael Le Moine
ef8bce1916
move code around a bit 2023-09-13 16:49:00 +02:00
Gwenhael Le Moine
05faaf6f1a
document what SDL_gfx is used for 2023-09-13 16:21:14 +02:00
Gwenhael Le Moine
ea8857d122
remove zoom effect and dependency on SDL_rotozoom.h 2023-09-13 16:13:06 +02:00
Gwenhael Le Moine
8c40f4fdbf
change the zoom to have a key-pressed effect 2023-09-13 15:58:20 +02:00
Gwenhael Le Moine
9d81721c57
move and remove code to try to make sense of it 2023-09-13 15:50:11 +02:00
Gwenhael Le Moine
8708e72fb5
update comments 2023-09-13 15:39:03 +02:00
Gwenhael Le Moine
53b25ec08c
display devices used for communication on UI 2023-09-13 15:38:18 +02:00
Gwenhael Le Moine
0770e3b879
Yay, found the annoying screen-blinking code and killed it!!!!! 2023-09-13 15:18:54 +02:00
Gwenhael Le Moine
b058d5e405
cleaning sdl1 version 2023-09-13 15:07:31 +02:00
Gwenhael Le Moine
5d91092d1a
ripped out X11 code 2023-09-13 13:11:52 +02:00
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
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
Gwenhael Le Moine
6b671b9b0f
clang echoes some more warnings by default, fixed them 2023-06-17 08:46:19 +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
MatMoul
47c5c22c04 fix sx rom core dump 2023-05-19 21:53:02 +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
1609a10f46
avoid unnecessary use of progname 2023-05-11 15:49:08 +02:00
Gwenhael Le Moine
dee42dddcb
declare variable in a more logical place 2023-05-11 15:48:39 +02:00
Gwenhael Le Moine
37fbf78e2a
sort includes 2023-05-10 16:44:03 +02:00
Gwenhael Le Moine
3a43828056
deduplicate button_pressed(), button_released() and button_release_all() 2023-05-10 16:23:07 +02:00
Gwenhael Le Moine
b6871767a7
remove romio.c dependance on x48_resources.h 2023-05-10 15:33:07 +02:00
Gwenhael Le Moine
ce0f111f7d
add x48_ to files mainly used for (G)UI 2023-05-10 15:32:22 +02:00
Gwenhael Le Moine
d86833fe49
fiddling 2023-05-10 15:06:06 +02:00
Gwenhael Le Moine
186c448d75
fix comment 2023-05-10 14:57:41 +02:00
Gwenhael Le Moine
167a1906c6
deduplicate adjust_contrast() 2023-05-10 14:56:50 +02:00
Gwenhael Le Moine
231ca84479
be quiet by default unless -verbose; [x11] dropping -quiet option 2023-05-10 14:40:47 +02:00
Gwenhael Le Moine
a425d3477b
remove global variables errbuf and fixbuf 2023-05-10 14:33:53 +02:00
Gwenhael Le Moine
c56d5d3c81
deduplicate get_resources(); remove SDL1-version rom path fallback 2023-05-10 14:20:46 +02:00
Gwenhael Le Moine
e66130ee82
remove duplicated code 2023-05-10 14:08:09 +02:00
Gwenhael Le Moine
b2db78fff8
comment and formatting 2023-05-10 14:06:07 +02:00
Gwenhael Le Moine
3a277b0308
move res_{name,class} from main to resource where they belong 2023-05-10 14:05:34 +02:00
Gwenhael Le Moine
dfb368762f
arrange includes 2023-05-10 14:05:19 +02:00
Gwenhael Le Moine
95d8da35ca
add "missing" extern keyword in header 2023-05-10 13:57:11 +02:00
Gwenhael Le Moine
aaa90f33d2
pretty-code 2023-05-10 13:57:00 +02:00
Gwenhael Le Moine
f095776ea3
remove orphan functions' prototypes in headers 2023-05-10 13:56:03 +02:00
Gwenhael Le Moine
a1f3d0062e
disasml.{c,h} is part of debugger 2023-05-10 13:44:34 +02:00
Gwenhael Le Moine
9544f424fa
update comment {,hp48_}device.c 2023-05-10 13:37:35 +02:00
Gwenhael Le Moine
b64114d2e1
rpl.{c,h} is part of debugger 2023-05-10 13:37:11 +02:00
Gwenhael Le Moine
04bef1297e
one less ifdef 2023-05-10 13:30:17 +02:00
Gwenhael Le Moine
f935b26d27
merge device.h into hp48.h, rename device.c ⇒ hp48_device.c 2023-05-10 13:28:57 +02:00
Gwenhael Le Moine
1cb17dd969
move dump2rom, checkrom and mkcard into src/tools/ 2023-05-09 16:50:01 +02:00
Gwenhael Le Moine
4e5678818e
one call to init_emulator 2023-05-09 14:48:24 +02:00
Gwenhael Le Moine
ce8cb2efa5
pretty code 2023-05-09 14:47:19 +02:00
Gwenhael Le Moine
a95337ef81
progname, res_name and res_class are X11-specific 2023-05-09 14:41:17 +02:00
Gwenhael Le Moine
2f52760345
don't use progname in *printf( std* 2023-05-09 14:37:54 +02:00
Gwenhael Le Moine
0c9a849ae8
one less ifdef in main.c 2023-05-05 08:59:14 +02:00
Gwenhael Le Moine
48dfffc7a1
drop support of loading pre-0.4.0 state files (~/.x48ng/hp48) 2023-05-04 18:09:48 +02:00
Gwenhael Le Moine
5a16dc9318
cleaning after deduplication 2023-05-04 18:00:51 +02:00
Gwenhael Le Moine
ddc5e88d24
deduplication 2023-05-04 17:48:55 +02:00
Gwenhael Le Moine
f743357bca
pretty-code 2023-05-04 16:09:12 +02:00
Gwenhael Le Moine
76e9272d9e
save_options() from main to x48; deduplicate exit_x48() 2023-05-04 16:06:57 +02:00
Gwenhael Le Moine
7b4039d65c
Big scary shuffling of code to helpfully ease comprehension 2023-05-04 15:53:39 +02:00
Gwenhael Le Moine
91e7ddbee0
deduplicate draw_nibble() 2023-05-04 13:30:58 +02:00
Gwenhael Le Moine
22ea5373b5
use ctype.h {is,to}{lower,upper} functions 2023-05-04 13:28:44 +02:00
Gwenhael Le Moine
5322be982b
we want timezone (and less ifdef branches) 2023-05-03 16:34:17 +02:00
Gwenhael Le Moine
3cfb24f88b
deduplication 2023-05-03 16:32:40 +02:00
Gwenhael Le Moine
83f8c93ef1
deduplication 2023-05-03 16:22:05 +02:00
Gwenhael Le Moine
c69b172736
everybody HAVE_XSHM; deduplicate colors_sx/gx 2023-05-03 16:09:50 +02:00
Gwenhael Le Moine
af52793518
don't duplicate colors 2023-05-03 15:08:24 +02:00
Gwenhael Le Moine
fbe9b228b9
group includes 2023-05-03 15:08:14 +02:00
Gwenhael Le Moine
977396db4b
inline constants.h where it belongs 2023-05-03 14:48:06 +02:00
Gwenhael Le Moine
5586071a0a
code formatting 2023-05-03 14:34:27 +02:00
Gwenhael Le Moine
c519e10418
no need for config.h here 2023-05-03 14:34:15 +02:00
Gwenhael Le Moine
946629fcff
unnecessary block ; comment in a meaningful place 2023-05-03 14:33:35 +02:00
Gwenhael Le Moine
2379567ded
same emulate() for x11 and sdl1; more () ⇒ ( void ) 2023-05-03 14:23:09 +02:00
Gwenhael Le Moine
5fe813f4d0
config.h is only needed in few places now 2023-05-03 14:10:33 +02:00
Gwenhael Le Moine
7f4c9bb191
clean-up config.h, use pkg-config and gcc -DXXX=1 2023-05-03 13:59:26 +02:00
Gwenhael Le Moine
1fdf3526bd
rename x48_gui to x48 like droid48 does 2023-05-03 13:22:58 +02:00
Gwenhael Le Moine
724e4c3e25
inline X48NG.ad.h, not really seeing the point of havong it out 2023-05-03 13:17:41 +02:00
Gwenhael Le Moine
4e7a80986e
factorize ShowConnections() 2023-05-03 13:13:32 +02:00
Gwenhael Le Moine
660689b7c6
make "linter" happy 2023-05-03 13:13:11 +02:00
Gwenhael Le Moine
6397d8e9cd
remove commented code; add newlines 2023-05-03 13:12:29 +02:00
Gwenhael Le Moine
91f33012d9
remove unnecessary empty return; in void functions 2023-05-03 13:08:53 +02:00
Gwenhael Le Moine
5f18956212
back to ( void ), I have seen the errors in my ways
https://stackoverflow.com/questions/29326149/is-it-mandatory-to-use-return-and-void-in-the-functions-in-c
2023-05-03 12:51:32 +02:00
Gwenhael Le Moine
bf9af92b91
read_rom actually read from its fname param instead of global variable romFileName 2023-05-03 11:06:47 +02:00
Gwenhael Le Moine
1b70cc798b
endif if ⇒ elif 2023-05-03 11:06:35 +02:00
Gwenhael Le Moine
2b78fb7b28
reduce divergence between x11 and sdl1 in emulate.c 2023-05-03 10:54:36 +02:00
Gwenhael Le Moine
bfd5ef7703
I've never seen this file from sdl version 2023-05-03 10:51:15 +02:00
Gwenhael Le Moine
e5dc1638f9
clang-format'ted 2023-05-03 10:50:45 +02:00
Gwenhael Le Moine
cbfa041afc
prefer commenting code rather that disbling it with #if 0 2023-05-03 10:40:15 +02:00
Gwenhael Le Moine
af965c4775
remove debug prints 2023-05-03 10:39:58 +02:00
Gwenhael Le Moine
1d48f25f75
prefer () to (void) in functions' signatures 2023-05-03 10:35:15 +02:00
Gwenhael Le Moine
9202d2bd3f
remove all DEBUG code 2023-05-03 10:10:53 +02:00
Gwenhael Le Moine
ba5a83e730
merge GetEvent() and SDLGetEvent() into get_ui_event() 2023-05-03 09:40:52 +02:00
Gwenhael Le Moine
1bdffaf18c
remove literal dead file of code 2023-05-02 17:00:38 +02:00
Gwenhael Le Moine
8613a52817
s/ifdef GUI_IS_*/if defined( GUI_IS_* )/g 2023-05-02 16:57:24 +02:00
Gwenhael Le Moine
36df3336fd
remove what looks like dead (useless) code 2023-05-02 16:42:14 +02:00
Gwenhael Le Moine
4b1c6067f0
removed never-finished SDL2 port; clean and format code 2023-05-02 14:40:02 +02:00
Gwenhael Le Moine
8cd7e30a5b
[dump2rom] fix warnings by adjusting and casting types 2023-05-02 14:18:12 +02:00
Gwenhael Le Moine
f8195e29be
[mkcard] fix warnings by changing type of size to a consistent size_t 2023-05-02 14:07:19 +02:00
Gwenhael Le Moine
53144b87f9
removed some printf and commented code 2023-05-02 13:42:58 +02:00
Gwenhael Le Moine
805090477e
0.9.10 2023-04-30 19:10:23 +02:00
Gwenhael Le Moine
97da416cbd
x48ng 0.9.9 2023-04-30 18:16:13 +02:00
Gwenhael Le Moine
4f36bc06c0
x48 and x48-sdl are fully merged! 2023-04-30 16:34:53 +02:00
Gwenhael Le Moine
38bc8deb44
[WIP] merginf x48 and x48-sdl
Signed-off-by: Gwenhael Le Moine <gwenhael.le.moine@gmail.com>
2023-04-30 15:14:17 +02:00
Gwenhael Le Moine
8b7dfbb789
we have readline 2023-04-30 10:02:15 +02:00
Gwenhael Le Moine
e706417212
drop global.h, clean config.h 2023-04-28 14:06:51 +02:00
Gwenhael Le Moine
cde7fa3821
sync with sdl48
Signed-off-by: Gwenhael Le Moine <gwenhael.le.moine@gmail.com>
2023-04-27 16:56:13 +02:00
Gwenhael Le Moine
96d661ae1f
move man and Xdefaults out of src/
Signed-off-by: Gwenhael Le Moine <gwenhael.le.moine@gmail.com>
2023-04-27 16:38:17 +02:00
Gwenhael Le Moine
dfef0012a5
rename x48_x11 to x48_gui
Signed-off-by: Gwenhael Le Moine <gwenhael.le.moine@gmail.com>
2023-04-27 16:35:56 +02:00
Gwenhael Le Moine
b10ee46764
Merge branch 'gwh' 2023-04-27 16:16:08 +02:00
Gwenhael Le Moine
d889b97ea0
remove GPL headers and changelogs 2023-04-27 14:52:04 +02:00
Gwenhael Le Moine
e2b8f6772c
clean global.h and fix some warnings 2023-04-27 13:54:43 +02:00
Gwenhael Le Moine
b56fbf9a4d
fix most trivial warnings and merge changes from x48-sdl 2023-04-27 13:31:46 +02:00
Gwenhael Le Moine
66fb6ec2c0
remove __ProtoType__ macro 2023-04-27 12:30:36 +02:00
Gwenhael Le Moine
4d8afad2c4
add and use .clang-format 2023-04-27 12:15:59 +02:00
Gwenhael Le Moine
319265d834
install manpage and X defaults 2023-04-26 22:49:47 +02:00
Gwenhael Le Moine
24a16d57e2
delete autotools files, use only simple Makefile 2023-04-26 16:51:11 +02:00
Gwenhael Le Moine
31d94edbda
add standalone Makefile & config.h to build without autotools 2023-04-26 16:42:55 +02:00
Gwenhael Le Moine
a18949bd12
inline all src/bitmaps/*.h headers 2023-04-26 16:25:50 +02:00
Gwenhael Le Moine
b0f3e143c9
update autoconf&Co 2023-04-26 16:18:11 +02:00
Gwenhael Le Moine
b41c1f8227
not really caring who compiled it 2022-03-24 14:38:46 +01:00
Gwenhael Le Moine
52b8f8ff6d
[modernize] drop support of SOLARIS and SUNOS 2022-03-24 14:16:10 +01:00
Gwenhael Le Moine
33c0a11156
format all sources 2022-03-24 13:41:22 +01:00
Gwenhael Le Moine
b50a915e0a
[modernize] only keep "new" function prototype style 2022-03-24 11:19:16 +01:00
Dan Witt
14f58f8675 Adding the parts needed to run x48 in a Docker container, for more portability. 2020-02-08 19:58:00 -07:00
Stéphane Gourichon
a8a84df08d No longer require font helvetica.
That font is not always available by default
and not essential to the program.
2019-01-05 22:59:20 +01:00
gwenhael
42a019e342
fix compilation with recent gcc 2018-02-02 15:10:20 +01:00
Gwenhael Le Moine
e59ca61c98 import of sources from latest release found on Sourceforge
Signed-off-by: Gwenhael Le Moine <gwenhael.le.moine@gmail.com>
2015-07-26 11:16:05 +02:00