Commit graph

565 commits

Author SHA1 Message Date
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
Gwenhael Le Moine
9ffaefed95
Don't exit if configDir doesn't exist, fix #19 2024-04-11 21:14:15 +02:00
Gwenhael Le Moine
e7e31f72cc
merge init_emulator into start_emulator 2024-04-11 13:47:33 +02:00
Gwenhael Le Moine
f8ffd47b46
positive condition 2024-04-11 13:47:20 +02:00
Gwenhael Le Moine
f0be2043b9
name function by what it's doing 2024-04-11 13:46:16 +02:00
Gwenhael Le Moine
c31b6c083d
move declarations out of emulator.h
Signed-off-by: Gwenhael Le Moine <gwenhael.le.moine@gmail.com>
2024-04-11 09:55:24 +02:00
Gwenhael Le Moine
645abec1d2
saturn.rstk represents hardware so RSTK 2024-04-10 16:44:51 +02:00
Gwenhael Le Moine
a4c61fae7b
cleaning, show contrast value in TUI 2024-04-10 16:24:41 +02:00
Gwenhael Le Moine
1c89a1083b
simplify starting emulator and UI 2024-04-10 14:59:50 +02:00
Gwenhael Le Moine
ebf8ded567
Revert "make init_serial() an emulator_inner function"
This reverts commit 6557009df9.
2024-04-10 14:46:28 +02:00
Gwenhael Le Moine
6557009df9
make init_serial() an emulator_inner function 2024-04-10 14:34:45 +02:00
Gwenhael Le Moine
d4a3bae009
special header file for debugger: emulator_for_debugger.h 2024-04-10 14:21:10 +02:00
Gwenhael Le Moine
84328c19ae
merge emu_actions.c into emu_emulate.c 2024-04-10 13:15:12 +02:00
Gwenhael Le Moine
f2d9fc67b4
externalize emulator's keyboard functions in their own files 2024-04-10 12:54:21 +02:00
Gwenhael Le Moine
294d140082
make pretty-code 2024-04-10 12:16:26 +02:00
Gwenhael Le Moine
f0720ea99c
naming: s/NR_/NB_/g 2024-04-10 11:05:01 +02:00
Gwenhael Le Moine
12aadf3e9a
document 15625 2024-04-10 11:01:13 +02:00
Gwenhael Le Moine
18bc490153
use bool in tools 2024-04-10 11:00:34 +02:00
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
ae866703e1
harden normalize_config_dir 2024-04-09 23:17:25 +02:00
Gwenhael Le Moine
64c926c02a
more bool variables; split opt_gx and opt_49 (unused) 2024-04-09 23:07:26 +02:00
Gwenhael Le Moine
a7ce955307
bool adj_time_pending 2024-04-09 20:55:19 +02:00
Gwenhael Le Moine
c017601fba
rece_instr is not used 2024-04-09 20:54:59 +02:00
Gwenhael Le Moine
9cb53e8c92
correctly named include guard 2024-04-09 19:50:40 +02:00
Gwenhael Le Moine
98165ee6a9
use more bool 2024-04-09 19:50:29 +02:00
Gwenhael Le Moine
437315deef
comment out unused parts of device_t 2024-04-09 19:49:26 +02:00
Gwenhael Le Moine
82f6e7a842
make pretty-code 2024-04-09 19:47:49 +02:00
Gwenhael Le Moine
10bae56104
convert many booleans to actual bool 2024-04-09 16:45:56 +02:00
Gwenhael Le Moine
f2d2c32437
[ui_text] remove draw_nibble(); plug ui_refresh_LCD() 2024-04-09 15:51:34 +02:00
Gwenhael Le Moine
35f3cd2098
re-arrange code 2024-04-09 15:51:18 +02:00