Commit graph

85 commits

Author SHA1 Message Date
Gwenhael Le Moine
de90eaffdd
nanosecond resolution in progress 2024-04-18 16:59:29 +02:00
Gwenhael Le Moine
c0c9d637a4
remove SDL2 dep from main.c; reorder main loop and remove unneeded code 2024-04-18 16:27:54 +02:00
Gwenhael Le Moine
2be2d93b7f
order 2024-04-18 15:42:40 +02:00
Gwenhael Le Moine
4d7d83328f
renaming functions 2024-04-18 15:39:28 +02:00
Gwenhael Le Moine
69241a0838
filenames are part of config 2024-04-18 15:38:56 +02:00
Gwenhael Le Moine
c1c8c44302
tweak code 2024-04-18 13:55:18 +02:00
Gwenhael Le Moine
f7218ac051
Merge branch 'trunk' of ssh://src.le-moine.org:38172/gwh/hpemung into trunk 2024-04-18 13:23:35 +02:00
Gwenhael Le Moine
8f761334ce
use keyboard handling like x48ng; press F11 to load zeldahp.dir on stack 2024-04-18 13:22:46 +02:00
Gwenhael Le Moine
da916d376d
fprintf( stderr 2024-04-18 08:10:14 +02:00
Gwenhael Le Moine
93a1d97886
comments 2024-04-18 08:10:05 +02:00
Gwenhael Le Moine
6a3cfc81d7
inverse throttle condition 2024-04-17 16:43:17 +02:00
Gwenhael Le Moine
4da3f29bd8
static somme variables 2024-04-17 16:42:56 +02:00
Gwenhael Le Moine
0310ca343a
simlify drawing LCD 2024-04-17 15:38:57 +02:00
Gwenhael Le Moine
0d985f590a
positive condition 2024-04-17 15:01:58 +02:00
Gwenhael Le Moine
6217d8e18b
configurable font 2024-04-17 15:01:20 +02:00
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