Commit graph

578 commits

Author SHA1 Message Date
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
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