Commit graph

150 commits

Author SHA1 Message Date
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
Gwenhael Le Moine
0770e3b879
Yay, found the annoying screen-blinking code and killed it!!!!! 2023-09-13 15:18:54 +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
b63db93237
mostly formatting 2023-09-13 09:28:04 +02:00
Gwenhael Le Moine
43ccdf7699
hp48_device.c was mostly GUI code 2023-09-12 17:31:18 +02:00
Gwenhael Le Moine
2136cdc775
inline hp48_device/check_devices() 2023-09-12 14:48:24 +02:00
Gwenhael Le Moine
2f45a02a10
without debugger no reason to manage SIGINT 2023-09-07 16:39:55 +02:00
Gwenhael Le Moine
bfac5fc2a1
prettify all the code 2023-09-07 16:36:44 +02:00
Gwenhael Le Moine
0f6d0a358b
make pretty-code 2023-09-07 16:30:44 +02:00
Gwenhael Le Moine
58a77bde4b
one less ifdef 2023-09-07 16:07:18 +02:00
Gwenhael Le Moine
48cc5e941c
reduce the number of #ifdef X11/SDL1 2023-09-07 16:01:46 +02:00
Gwenhael Le Moine
008077ad4a
drop commented code 2023-09-07 15:04:37 +02:00
Gwenhael Le Moine
1226330375
fatal_exit() isn't so tied to GUI 2023-09-07 14:55:41 +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
9cb458ccbc
remove -disasm param related to debugger 2023-09-07 12:57:53 +02:00
Gwenhael Le Moine
329443d29a
we will never implement these 2023-09-07 12:54:57 +02:00
Gwenhael Le Moine
d27fc78f53
remove COMPILE_VERSION 2023-09-07 12:54:21 +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
5412d63b72
InitDisplay() is x11 specific 2023-09-06 16:34:22 +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
4e1275fbd3
Merge branch 'main' of ssh://src.le-moine.org:38172/gwh/x48ng 2023-05-23 11:18:25 +02:00
Gwenhael Le Moine
eb366ca8b0
don't print SDL version; move code around 2023-05-23 11:18:09 +02:00
Gwenhael Le Moine
5c25e81133
fix #4 : get_stack() needs to return a char*, not 0.
It's most like ly meant to the stack as a string
2023-05-22 08:17:48 +02:00
MatMoul
47c5c22c04 fix sx rom core dump 2023-05-19 21:53:02 +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
ffdb73a83d
pretty-code 2023-05-17 16:16:08 +02:00
Gwenhael Le Moine
9c56f4916b
*_bits are *_bitmap 2023-05-17 16:06:46 +02:00
Gwenhael Le Moine
18acd3a9cc
sort functions 2023-05-17 16:02:57 +02:00
Gwenhael Le Moine
a46261994f
ternary 2023-05-17 13:21:02 +02:00
Gwenhael Le Moine
32835225fe
code formatting 2023-05-17 12:57:18 +02:00
Gwenhael Le Moine
b2f360c9e9
one header file for debugger 2023-05-17 12:56:58 +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
1609a10f46
avoid unnecessary use of progname 2023-05-11 15:49:08 +02:00
Gwenhael Le Moine
dee42dddcb
declare variable in a more logical place 2023-05-11 15:48:39 +02:00
Gwenhael Le Moine
37fbf78e2a
sort includes 2023-05-10 16:44:03 +02:00