Commit graph

495 commits

Author SHA1 Message Date
Gwenhael Le Moine
5be8dc8280
factorize buttons among all UIs 2024-06-12 12:37:14 +02:00
Gwenhael Le Moine
2077502bbe
[sdl] keypad isn't useful 2024-06-12 11:11:50 +02:00
Gwenhael Le Moine
37eca78404
[colors] factorize colors among all 3 UIs 2024-06-12 10:53:03 +02:00
Gwenhael Le Moine
3825c5e563
[ui_sdl] understand --mono and --gray + misc tweaks 2024-06-12 10:12:00 +02:00
Gwenhael Le Moine
dc6fc8765a
no need to force inline 2024-06-12 09:14:54 +02:00
Gwenhael Le Moine
9a85ee3121
inline what can be into step_instruction() 2024-06-11 16:19:59 +02:00
Gwenhael Le Moine
ad19c1b558
cleaning global variables use in emu_emulate.c 2024-06-11 15:53:58 +02:00
Gwenhael Le Moine
8454ec1ce5
[step_instruction] clean up use of variables 2024-06-11 13:58:00 +02:00
Gwenhael Le Moine
584f93fae8
cleaning 2024-06-11 13:35:43 +02:00
Gwenhael Le Moine
6e854e9ccd
merge logical sub-functions _step_instruction_*() into step_instruction() 2024-06-11 13:11:03 +02:00
Gwenhael Le Moine
d26eeebbc7
use bool and step_instruction doesn't need to return anything 2024-06-11 12:33:35 +02:00
Gwenhael Le Moine
0839613c67
remove commented code 2024-06-11 12:26:01 +02:00
Gwenhael Le Moine
0e26e0b9b4
bump patchlevel 2024-06-11 12:14:51 +02:00
Gwenhael Le Moine
875a94ff14
[emulate] eliminate jumpaddr global variable 2024-06-11 12:14:23 +02:00
Gwenhael Le Moine
964f34a92a
[ui_text] increasing order 2024-06-11 09:45:03 +02:00
Gwenhael Le Moine
79e14e1990
define number of fields 2024-06-05 15:05:50 +02:00
Gwenhael Le Moine
1bed76e9ce
moveing code 2024-06-05 14:36:19 +02:00
Gwenhael Le Moine
1a18c8a201
define in its place 2024-06-05 14:20:39 +02:00
Gwenhael Le Moine
d2dcfa167e
simplify saturn.keybuf 2024-06-05 14:08:10 +02:00
Gwenhael Le Moine
aeb3822b86
small optimization in main loop 2024-06-05 14:07:47 +02:00
Gwenhael Le Moine
83296ffbe9
[ui_sdl] named fields in structs 2024-05-23 16:50:58 +02:00
Gwenhael Le Moine
1729df310a
[ui_sdl] named fields in some structs + ... 2024-05-23 16:34:58 +02:00
Gwenhael Le Moine
7ea781c428
same treatment to ui_sdl 2024-05-23 16:20:57 +02:00
Gwenhael Le Moine
465761bc87
[ui_x11.c] less functions 2024-05-23 15:33:29 +02:00
Gwenhael Le Moine
8a4da4d1f6
got tired of CamelCase 2024-05-23 15:12:19 +02:00
Gwenhael Le Moine
bb32b545e1
inline save_* single-use functions 2024-05-23 14:20:46 +02:00
Gwenhael Le Moine
be5412a622
depuplication 2024-05-23 14:11:14 +02:00
Gwenhael Le Moine
2c284f86c8
remove indirection functions 2024-05-23 14:07:38 +02:00
Gwenhael Le Moine
a2fb56e1a7
more static functiosn in ui_x11.c + small stuff 2024-05-23 13:50:42 +02:00
Gwenhael Le Moine
70b53fae1b
more and less warnings 2024-05-21 08:22:37 +02:00
Gwenhael Le Moine
84899412ad
enable more warnings by default, make it compile cleanly with them 2024-05-20 19:03:39 +02:00
Gwenhael Le Moine
f395d805ff
[serial] detriplicate (!) ttybuf initialization 2024-05-20 18:26:58 +02:00
Gwenhael Le Moine
3090b38a46
named struct fields initialization 2024-05-17 20:32:21 +02:00
Gwenhael Le Moine
11df5e2370
naming and bool 2024-05-17 20:32:12 +02:00
Gwenhael Le Moine
777e4100fb
mostly trying to optimize and clarify ui_x11 2024-05-17 16:44:07 +02:00
Gwenhael Le Moine
ca38afdfa8
[ui_x11.c] formatting 2024-05-16 16:41:25 +02:00
Gwenhael Le Moine
976ec1f1cb
[ui_x11.c] draw keypad in one loop 2024-05-16 16:34:50 +02:00
Gwenhael Le Moine
45f37f9d9e
[ui_x11.c] deduplicate DrawButton 2024-05-16 16:34:16 +02:00
Gwenhael Le Moine
fd0a7709d5
[ui_x11.c] use bool 2024-05-16 16:33:30 +02:00
Gwenhael Le Moine
11906a289b
verbose announce UI type 2024-05-16 16:32:23 +02:00
Gwenhael Le Moine
6088f5b751
Harmonize draw_row in all 3 ui_*.c 2024-05-16 16:01:52 +02:00
Gwenhael Le Moine
66a60953c1
[ui_{x11,sdl}.c] optimizing setting lcd_nibbles_buffer + fiddling 2024-05-16 15:47:32 +02:00
Gwenhael Le Moine
106f0fc200
Merge branch 'main' of ssh://src.le-moine.org:38172/gwh/x48ng 2024-04-30 07:59:40 +02:00
Gwenhael Le Moine
50b14b4d68
fix ncurses include following latest Slackware-current update 2024-04-30 07:59:11 +02:00
Gwenhael Le Moine
c1ac07d513
config.useDebugger 2024-04-25 14:17:12 +02:00
Gwenhael Le Moine
247d0cc133
exit only from main.c; inline emulate into main 2024-04-24 16:06:24 +02:00
Gwenhael Le Moine
ac6dcb93e7
naming config 2024-04-18 15:47:23 +02:00
Gwenhael Le Moine
56d1f70f95
store config in a struct 2024-04-14 11:41:46 +02:00
Gwenhael Le Moine
91f6bbe0ce
only run CI on main branch 2024-04-11 21:26:49 +02:00
Gwenhael Le Moine
cc5af7d8e8
v0.37.0 2024-04-11 21:17:27 +02:00