Gwenhael Le Moine
|
dd9608f4c7
|
eliminate disp_buf from ui_sdl (may be sub-optimal)
|
2023-09-27 13:30:02 +02:00 |
|
Gwenhael Le Moine
|
12fe0791e4
|
(big refactoring) eliminate disp_buf everywhere except ui_sdl
|
2023-09-27 13:16:45 +02:00 |
|
Gwenhael Le Moine
|
40a48bc013
|
(big refactoring) move annunciators bits from ui to emulator
|
2023-09-27 12:52:09 +02:00 |
|
Gwenhael Le Moine
|
2e8b1d3e9f
|
(big refactoring) move actual keyboard management from ui_* to emulator
|
2023-09-27 12:37:24 +02:00 |
|
Gwenhael Le Moine
|
a740c97db6
|
refactoring tui
|
2023-09-27 11:11:38 +02:00 |
|
Gwenhael Le Moine
|
ec1d3bd4b9
|
(WIP) refactoring UIs
|
2023-09-27 10:58:41 +02:00 |
|
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 |
|