Gwenhael Le Moine
|
9544f424fa
|
update comment {,hp48_}device.c
|
2023-05-10 13:37:35 +02:00 |
|
Gwenhael Le Moine
|
b64114d2e1
|
rpl.{c,h} is part of debugger
|
2023-05-10 13:37:11 +02:00 |
|
Gwenhael Le Moine
|
04bef1297e
|
one less ifdef
|
2023-05-10 13:30:17 +02:00 |
|
Gwenhael Le Moine
|
f935b26d27
|
merge device.h into hp48.h, rename device.c ⇒ hp48_device.c
|
2023-05-10 13:28:57 +02:00 |
|
Gwenhael Le Moine
|
1cb17dd969
|
move dump2rom, checkrom and mkcard into src/tools/
|
2023-05-09 16:50:01 +02:00 |
|
Gwenhael Le Moine
|
4e5678818e
|
one call to init_emulator
|
2023-05-09 14:48:24 +02:00 |
|
Gwenhael Le Moine
|
ce8cb2efa5
|
pretty code
|
2023-05-09 14:47:19 +02:00 |
|
Gwenhael Le Moine
|
a95337ef81
|
progname, res_name and res_class are X11-specific
|
2023-05-09 14:41:17 +02:00 |
|
Gwenhael Le Moine
|
2f52760345
|
don't use progname in *printf( std*
|
2023-05-09 14:37:54 +02:00 |
|
Gwenhael Le Moine
|
0c9a849ae8
|
one less ifdef in main.c
|
2023-05-05 08:59:14 +02:00 |
|
Gwenhael Le Moine
|
48dfffc7a1
|
drop support of loading pre-0.4.0 state files (~/.x48ng/hp48)
|
2023-05-04 18:09:48 +02:00 |
|
Gwenhael Le Moine
|
5a16dc9318
|
cleaning after deduplication
|
2023-05-04 18:00:51 +02:00 |
|
Gwenhael Le Moine
|
ddc5e88d24
|
deduplication
|
2023-05-04 17:48:55 +02:00 |
|
Gwenhael Le Moine
|
f743357bca
|
pretty-code
|
2023-05-04 16:09:12 +02:00 |
|
Gwenhael Le Moine
|
76e9272d9e
|
save_options() from main to x48; deduplicate exit_x48()
|
2023-05-04 16:06:57 +02:00 |
|
Gwenhael Le Moine
|
7b4039d65c
|
Big scary shuffling of code to helpfully ease comprehension
|
2023-05-04 15:53:39 +02:00 |
|
Gwenhael Le Moine
|
91e7ddbee0
|
deduplicate draw_nibble()
|
2023-05-04 13:30:58 +02:00 |
|
Gwenhael Le Moine
|
22ea5373b5
|
use ctype.h {is,to}{lower,upper} functions
|
2023-05-04 13:28:44 +02:00 |
|
Gwenhael Le Moine
|
5322be982b
|
we want timezone (and less ifdef branches)
|
2023-05-03 16:34:17 +02:00 |
|
Gwenhael Le Moine
|
3cfb24f88b
|
deduplication
|
2023-05-03 16:32:40 +02:00 |
|
Gwenhael Le Moine
|
83f8c93ef1
|
deduplication
|
2023-05-03 16:22:05 +02:00 |
|
Gwenhael Le Moine
|
c69b172736
|
everybody HAVE_XSHM; deduplicate colors_sx/gx
|
2023-05-03 16:09:50 +02:00 |
|
Gwenhael Le Moine
|
af52793518
|
don't duplicate colors
|
2023-05-03 15:08:24 +02:00 |
|
Gwenhael Le Moine
|
fbe9b228b9
|
group includes
|
2023-05-03 15:08:14 +02:00 |
|
Gwenhael Le Moine
|
977396db4b
|
inline constants.h where it belongs
|
2023-05-03 14:48:06 +02:00 |
|
Gwenhael Le Moine
|
5586071a0a
|
code formatting
|
2023-05-03 14:34:27 +02:00 |
|
Gwenhael Le Moine
|
c519e10418
|
no need for config.h here
|
2023-05-03 14:34:15 +02:00 |
|
Gwenhael Le Moine
|
946629fcff
|
unnecessary block ; comment in a meaningful place
|
2023-05-03 14:33:35 +02:00 |
|
Gwenhael Le Moine
|
2379567ded
|
same emulate() for x11 and sdl1; more () ⇒ ( void )
|
2023-05-03 14:23:09 +02:00 |
|
Gwenhael Le Moine
|
5fe813f4d0
|
config.h is only needed in few places now
|
2023-05-03 14:10:33 +02:00 |
|
Gwenhael Le Moine
|
7f4c9bb191
|
clean-up config.h, use pkg-config and gcc -DXXX=1
|
2023-05-03 13:59:26 +02:00 |
|
Gwenhael Le Moine
|
1fdf3526bd
|
rename x48_gui to x48 like droid48 does
|
2023-05-03 13:22:58 +02:00 |
|
Gwenhael Le Moine
|
724e4c3e25
|
inline X48NG.ad.h, not really seeing the point of havong it out
|
2023-05-03 13:17:41 +02:00 |
|
Gwenhael Le Moine
|
4e7a80986e
|
factorize ShowConnections()
|
2023-05-03 13:13:32 +02:00 |
|
Gwenhael Le Moine
|
660689b7c6
|
make "linter" happy
|
2023-05-03 13:13:11 +02:00 |
|
Gwenhael Le Moine
|
6397d8e9cd
|
remove commented code; add newlines
|
2023-05-03 13:12:29 +02:00 |
|
Gwenhael Le Moine
|
91f33012d9
|
remove unnecessary empty return; in void functions
|
2023-05-03 13:08:53 +02:00 |
|
Gwenhael Le Moine
|
5f18956212
|
back to ( void ), I have seen the errors in my ways
https://stackoverflow.com/questions/29326149/is-it-mandatory-to-use-return-and-void-in-the-functions-in-c
|
2023-05-03 12:51:32 +02:00 |
|
Gwenhael Le Moine
|
bf9af92b91
|
read_rom actually read from its fname param instead of global variable romFileName
|
2023-05-03 11:06:47 +02:00 |
|
Gwenhael Le Moine
|
1b70cc798b
|
endif if ⇒ elif
|
2023-05-03 11:06:35 +02:00 |
|
Gwenhael Le Moine
|
2b78fb7b28
|
reduce divergence between x11 and sdl1 in emulate.c
|
2023-05-03 10:54:36 +02:00 |
|
Gwenhael Le Moine
|
bfd5ef7703
|
I've never seen this file from sdl version
|
2023-05-03 10:51:15 +02:00 |
|
Gwenhael Le Moine
|
e5dc1638f9
|
clang-format'ted
|
2023-05-03 10:50:45 +02:00 |
|
Gwenhael Le Moine
|
cbfa041afc
|
prefer commenting code rather that disbling it with #if 0
|
2023-05-03 10:40:15 +02:00 |
|
Gwenhael Le Moine
|
af965c4775
|
remove debug prints
|
2023-05-03 10:39:58 +02:00 |
|
Gwenhael Le Moine
|
1d48f25f75
|
prefer () to (void) in functions' signatures
|
2023-05-03 10:35:15 +02:00 |
|
Gwenhael Le Moine
|
9202d2bd3f
|
remove all DEBUG code
|
2023-05-03 10:10:53 +02:00 |
|
Gwenhael Le Moine
|
ba5a83e730
|
merge GetEvent() and SDLGetEvent() into get_ui_event()
|
2023-05-03 09:40:52 +02:00 |
|
Gwenhael Le Moine
|
1bdffaf18c
|
remove literal dead file of code
|
2023-05-02 17:00:38 +02:00 |
|
Gwenhael Le Moine
|
8613a52817
|
s/ifdef GUI_IS_*/if defined( GUI_IS_* )/g
|
2023-05-02 16:57:24 +02:00 |
|
Gwenhael Le Moine
|
36df3336fd
|
remove what looks like dead (useless) code
|
2023-05-02 16:42:14 +02:00 |
|
Gwenhael Le Moine
|
4b1c6067f0
|
removed never-finished SDL2 port; clean and format code
|
2023-05-02 14:40:02 +02:00 |
|
Gwenhael Le Moine
|
8cd7e30a5b
|
[dump2rom] fix warnings by adjusting and casting types
|
2023-05-02 14:18:12 +02:00 |
|
Gwenhael Le Moine
|
f8195e29be
|
[mkcard] fix warnings by changing type of size to a consistent size_t
|
2023-05-02 14:07:19 +02:00 |
|
Gwenhael Le Moine
|
53144b87f9
|
removed some printf and commented code
|
2023-05-02 13:42:58 +02:00 |
|
Gwenhael Le Moine
|
805090477e
|
0.9.10
|
2023-04-30 19:10:23 +02:00 |
|
Gwenhael Le Moine
|
97da416cbd
|
x48ng 0.9.9
|
2023-04-30 18:16:13 +02:00 |
|
Gwenhael Le Moine
|
4f36bc06c0
|
x48 and x48-sdl are fully merged!
|
2023-04-30 16:34:53 +02:00 |
|
Gwenhael Le Moine
|
38bc8deb44
|
[WIP] merginf x48 and x48-sdl
Signed-off-by: Gwenhael Le Moine <gwenhael.le.moine@gmail.com>
|
2023-04-30 15:14:17 +02:00 |
|
Gwenhael Le Moine
|
8b7dfbb789
|
we have readline
|
2023-04-30 10:02:15 +02:00 |
|
Gwenhael Le Moine
|
e706417212
|
drop global.h, clean config.h
|
2023-04-28 14:06:51 +02:00 |
|
Gwenhael Le Moine
|
cde7fa3821
|
sync with sdl48
Signed-off-by: Gwenhael Le Moine <gwenhael.le.moine@gmail.com>
|
2023-04-27 16:56:13 +02:00 |
|
Gwenhael Le Moine
|
96d661ae1f
|
move man and Xdefaults out of src/
Signed-off-by: Gwenhael Le Moine <gwenhael.le.moine@gmail.com>
|
2023-04-27 16:38:17 +02:00 |
|
Gwenhael Le Moine
|
dfef0012a5
|
rename x48_x11 to x48_gui
Signed-off-by: Gwenhael Le Moine <gwenhael.le.moine@gmail.com>
|
2023-04-27 16:35:56 +02:00 |
|
Gwenhael Le Moine
|
b10ee46764
|
Merge branch 'gwh'
|
2023-04-27 16:16:08 +02:00 |
|
Gwenhael Le Moine
|
d889b97ea0
|
remove GPL headers and changelogs
|
2023-04-27 14:52:04 +02:00 |
|
Gwenhael Le Moine
|
e2b8f6772c
|
clean global.h and fix some warnings
|
2023-04-27 13:54:43 +02:00 |
|
Gwenhael Le Moine
|
b56fbf9a4d
|
fix most trivial warnings and merge changes from x48-sdl
|
2023-04-27 13:31:46 +02:00 |
|
Gwenhael Le Moine
|
66fb6ec2c0
|
remove __ProtoType__ macro
|
2023-04-27 12:30:36 +02:00 |
|
Gwenhael Le Moine
|
4d8afad2c4
|
add and use .clang-format
|
2023-04-27 12:15:59 +02:00 |
|
Gwenhael Le Moine
|
319265d834
|
install manpage and X defaults
|
2023-04-26 22:49:47 +02:00 |
|
Gwenhael Le Moine
|
24a16d57e2
|
delete autotools files, use only simple Makefile
|
2023-04-26 16:51:11 +02:00 |
|
Gwenhael Le Moine
|
31d94edbda
|
add standalone Makefile & config.h to build without autotools
|
2023-04-26 16:42:55 +02:00 |
|
Gwenhael Le Moine
|
a18949bd12
|
inline all src/bitmaps/*.h headers
|
2023-04-26 16:25:50 +02:00 |
|
Gwenhael Le Moine
|
b0f3e143c9
|
update autoconf&Co
|
2023-04-26 16:18:11 +02:00 |
|
Gwenhael Le Moine
|
b41c1f8227
|
not really caring who compiled it
|
2022-03-24 14:38:46 +01:00 |
|
Gwenhael Le Moine
|
52b8f8ff6d
|
[modernize] drop support of SOLARIS and SUNOS
|
2022-03-24 14:16:10 +01:00 |
|
Gwenhael Le Moine
|
33c0a11156
|
format all sources
|
2022-03-24 13:41:22 +01:00 |
|
Gwenhael Le Moine
|
b50a915e0a
|
[modernize] only keep "new" function prototype style
|
2022-03-24 11:19:16 +01:00 |
|
Dan Witt
|
14f58f8675
|
Adding the parts needed to run x48 in a Docker container, for more portability.
|
2020-02-08 19:58:00 -07:00 |
|
Stéphane Gourichon
|
a8a84df08d
|
No longer require font helvetica.
That font is not always available by default
and not essential to the program.
|
2019-01-05 22:59:20 +01:00 |
|
gwenhael
|
42a019e342
|
fix compilation with recent gcc
|
2018-02-02 15:10:20 +01:00 |
|
Gwenhael Le Moine
|
e59ca61c98
|
import of sources from latest release found on Sourceforge
Signed-off-by: Gwenhael Le Moine <gwenhael.le.moine@gmail.com>
|
2015-07-26 11:16:05 +02:00 |
|