Gwenhael Le Moine
|
7fbbd3d89c
|
s/got_alarm/sigalarm_triggered/g
|
2024-04-10 09:34:57 +02:00 |
|
Gwenhael Le Moine
|
dd51ede578
|
refactor ui_init_LCD() use
|
2024-04-10 08:27:26 +02:00 |
|
Gwenhael Le Moine
|
82f6e7a842
|
make pretty-code
|
2024-04-09 19:47:49 +02:00 |
|
Gwenhael Le Moine
|
35f3cd2098
|
re-arrange code
|
2024-04-09 15:51:18 +02:00 |
|
Gwenhael Le Moine
|
923bcabc5c
|
set refresh to 64Hz as the real HP 48
|
2024-04-09 14:32:45 +02:00 |
|
Gwenhael Le Moine
|
9b18c615cc
|
organize and comment main()
|
2024-04-09 14:26:18 +02:00 |
|
Gwenhael Le Moine
|
98dec7387b
|
use a bool
|
2024-04-09 14:23:10 +02:00 |
|
Gwenhael Le Moine
|
12f2c44904
|
got_alarm is now a bool
|
2024-04-09 14:22:47 +02:00 |
|
Gwenhael Le Moine
|
b4dddbd542
|
initialize emulator display and lcd_nibbles_buffer in one place only
|
2023-12-21 13:48:40 +01:00 |
|
Gwenhael Le Moine
|
28d46cbfb3
|
update .clang-format and format all the code
|
2023-09-22 09:44:23 +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
|
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
|
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
|
8037dad330
|
fatal_exit(); was part of x11 code
|
2023-09-16 09:18:51 +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
|
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
|
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
|
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
|
2f45a02a10
|
without debugger no reason to manage SIGINT
|
2023-09-07 16:39:55 +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
|
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
|
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
|
63412e14d3
|
make including the debugger a compilation option WITH_DEBUGGER
|
2023-05-18 23:11:40 +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
|
dee42dddcb
|
declare variable in a more logical place
|
2023-05-11 15:48:39 +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
|
a425d3477b
|
remove global variables errbuf and fixbuf
|
2023-05-10 14:33:53 +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
|
4e5678818e
|
one call to init_emulator
|
2023-05-09 14:48:24 +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
|
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
|
1fdf3526bd
|
rename x48_gui to x48 like droid48 does
|
2023-05-03 13:22:58 +02:00 |
|
Gwenhael Le Moine
|
1d48f25f75
|
prefer () to (void) in functions' signatures
|
2023-05-03 10:35:15 +02:00 |
|