Commit graph

52 commits

Author SHA1 Message Date
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
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
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
Gwenhael Le Moine
ce63fac57e
more cleaning and fiddling 2023-10-03 16:56:47 +02:00
Gwenhael Le Moine
36cf9a1aac
clean includes 2023-10-03 16:24:20 +02:00
Gwenhael Le Moine
493c6df450
clean headers and more dead code 2023-10-03 16:20:40 +02:00
Gwenhael Le Moine
080d4ef025
clean a lot of dead code 2023-10-03 16:02:52 +02:00
Gwenhael Le Moine
e5e6c74749
less printf 2023-10-03 14:53:33 +02:00
Gwenhael Le Moine
9b953e44b6
add throttling from x48(ng) 2023-10-03 14:45:57 +02:00
Gwenhael Le Moine
af509f1394
plug 128K cards in port 1 and 2 2023-10-03 14:44:57 +02:00
Gwenhael Le Moine
74f41a86d4
no support of Win32 nor Apple 2023-10-03 14:08:39 +02:00
Gwenhael Le Moine
866d373538
custom type boolean => bool 2023-10-03 14:06:40 +02:00
Gwenhael Le Moine
8000231f19
remove noisy headers; #include <stdbool.h> 2023-10-03 14:04:46 +02:00
Gwenhael Le Moine
de2796d944
update Makefile; compile without warnings/errors; remove #ifdef SDL_TTF 2023-10-03 13:53:05 +02:00
Gwenhael Le Moine
37266dae69
use a system font 2023-05-11 16:58:52 +02:00
Gwenhael Le Moine
b7a7c607ee
clean code and Makefile 2023-05-11 16:43:32 +02:00
Gwenhael Le Moine
55654e62e6
make the Game button work (load zeldahp on stack) 2022-03-22 15:19:56 +01:00
Gwenhael Le Moine
42c3453f67
correctly get own's path 2022-03-22 14:58:08 +01:00
Gwenhael Le Moine
f9b78355f6
import https://github.com/brizzly/jsEmu48 changes; clean ; make it build 2022-03-22 14:30:58 +01:00