Commit graph

70 commits

Author SHA1 Message Date
Gwenhael Le Moine
7f4d5bebf4
use getpot for parsing args 2024-04-17 14:45:30 +02:00
Gwenhael Le Moine
7c9ab6de42
for loops; fix labels 2024-04-17 14:07:01 +02:00
Gwenhael Le Moine
12f74577f6
while ⇒ for 2024-04-17 12:52:53 +02:00
Gwenhael Le Moine
3cf5d7fcc7
make ui_scale a config 2024-04-17 12:46:12 +02:00
Gwenhael Le Moine
e76794a04b
fonts and keyboard characters 2024-04-17 11:25:51 +02:00
Gwenhael Le Moine
f8fe206626
s/files/persistence/g; code formatting 2024-04-15 19:43:28 +02:00
Gwenhael Le Moine
8137109c17
preparing for persisting bus_info and cpu 2024-04-15 16:17:45 +02:00
Gwenhael Le Moine
21e5e00cf1
renamed to hpemung 2024-04-15 13:59:42 +02:00
Gwenhael Le Moine
87765b2b92
add make install and tolling similar to x48ng's 2024-04-15 13:40:10 +02:00
Gwenhael Le Moine
6503b906da
swat SDL_ready for a return bool 2024-04-15 11:01:51 +02:00
Gwenhael Le Moine
8ae1cc8ae4
explicit struct initialization 2024-04-14 23:16:14 +02:00
Gwenhael Le Moine
9ac914c996
more header cleaning 2024-04-14 22:23:02 +02:00
Gwenhael Le Moine
97531743dd
Cleaning headers 2024-04-14 22:02:32 +02:00
Gwenhael Le Moine
c82ce3f356
merge gui_buttons into gui 2024-04-14 21:50:07 +02:00
Gwenhael Le Moine
fa7e66e8c0
move keys function from gui_buttons to keyboard 2024-04-14 21:41:11 +02:00
Gwenhael Le Moine
36e276b902
unneeded include 2024-04-14 20:43:10 +02:00
Gwenhael Le Moine
aedc75e481
static inline 2024-04-14 20:36:13 +02:00
Gwenhael Le Moine
98655a906f
inline main#mainLoop 2024-04-14 20:33:51 +02:00
Gwenhael Le Moine
e0a789eef4
merge gui_display.* into gui.* 2024-04-14 20:32:44 +02:00
Gwenhael Le Moine
edf1fcb06b
deduplicate 2024-04-14 20:29:06 +02:00
Gwenhael Le Moine
84a7bbca90
buttons and colors 2024-04-14 20:14:59 +02:00
Gwenhael Le Moine
e8f53dd5e6
Remove dead code; tweak GUI 2024-04-14 19:06:09 +02:00
Gwenhael Le Moine
7562b83c44
state files' location is now ~/.config/hpemu 2024-04-14 14:08:56 +02:00
Gwenhael Le Moine
f25ed5776e
gitignore 2024-04-13 21:59:21 +02:00
Gwenhael Le Moine
e07dbc4094
Persist RAM, port1&2 in files. Create files if needed.
Path management yet to be done
2024-04-13 21:57:05 +02:00
Gwenhael Le Moine
8603d32c79
F7 uses the normal exit path 2024-04-13 21:55:34 +02:00
Gwenhael Le Moine
31533e8725
split SDL__display_show() otu of display 2024-04-13 14:13:24 +02:00
Gwenhael Le Moine
284f64c69f
merge (current and future) files functions into files.{c,h} 2024-04-13 14:00:40 +02:00
Gwenhael Le Moine
8dd69b710e
move rom/ram/ports management from bus to emulator 2024-04-13 13:42:37 +02:00
Gwenhael Le Moine
a1c6fed619
add ports_exit() 2024-04-13 13:41:58 +02:00
Gwenhael Le Moine
42abcaba54
naming 2024-04-13 13:41:30 +02:00
Gwenhael Le Moine
46f45ff4b6
move code from main.c to gui and display 2024-04-13 13:11:50 +02:00
Gwenhael Le Moine
ad94d56ccc
gui "correct" keyboard dimensions 2024-04-13 09:51:25 +02:00
Gwenhael Le Moine
ee465ed4fb
adjust gui 2024-04-13 09:41:13 +02:00
Gwenhael Le Moine
071a6b8f69
simplifiy UI scaling 2024-04-12 22:27:32 +02:00
Gwenhael Le Moine
d6c7d17271
eliminate pcalc_* functions; try to make UI scalable 2024-04-12 19:03:56 +02:00
Gwenhael Le Moine
d12a20df29
naming variables/functions/fields; simplify keyboard handling 2024-04-12 15:55:01 +02:00
Gwenhael Le Moine
ab453314aa
unneeded include 2024-04-12 14:42:45 +02:00
Gwenhael Le Moine
6989bde006
disable SHUTDN 2024-04-12 14:42:19 +02:00
Gwenhael Le Moine
a43178b79c
fonts size and window name 2024-04-12 14:41:30 +02:00
Gwenhael Le Moine
34121613aa
change some delays 2024-04-12 14:41:16 +02:00
Gwenhael Le Moine
45d6aa394a
add text on some keys 2024-04-12 11:19:25 +02:00
Gwenhael Le Moine
c3e6535719
ordering 2024-04-10 17:32:48 +02:00
Gwenhael Le Moine
54cbbf4df1
ROMs/Makefile 2024-04-10 17:31:49 +02:00
Gwenhael Le Moine
f7ad233cb2
use actual bool's true 2024-04-10 16:58:06 +02:00
Gwenhael Le Moine
c5ac37dc26
make pretty-code 2024-04-10 16:57:59 +02:00
Gwenhael Le Moine
5ab62c7b25
typo 2024-04-02 15:44:47 +02:00
Gwenhael Le Moine
eb794f8ad1
copy make get-roms from x48ng and use it 2024-03-20 21:04:48 +01:00
Gwenhael Le Moine
153dec5721
replace SDL_Delay with nanosleep 2023-10-04 09:21:22 +02:00
Gwenhael Le Moine
4898e35a6c
document sdl use in emulator.c 2023-10-03 17:04:24 +02:00