Commit Graph

27 Commits

Author SHA1 Message Date
Cacodemon345
1b122ae789 Fix buggy mouse wheel behaviour 2021-08-29 23:50:22 +06:00
Cacodemon345
03497b5bbf Fix libedit crashes
Set priorty of main_thread to High
2021-08-29 23:50:22 +06:00
Cacodemon345
e025a422df Don't leave terminal broken when exiting 2021-08-29 23:50:22 +06:00
Cacodemon345
d6db63a7b7 Use libedit for monitor when available 2021-08-29 23:50:22 +06:00
Cacodemon345
f3288b7470 Implement MO/ZIP/Cartridge loading via monitor 2021-08-29 23:50:22 +06:00
Cacodemon345
ddf15234f2 Implement pause command 2021-08-29 23:50:22 +06:00
Cacodemon345
b7c965a019 Implement ui_msgbox* functions 2021-08-29 23:50:22 +06:00
Cacodemon345
b61a15805d Implement cdeject and fddeject 2021-08-29 23:50:22 +06:00
Cacodemon345
8f5ce757ee Fix null access crashes 2021-08-29 23:50:22 +06:00
Cacodemon345
e177488e90 Add cdload command and fix fddload command 2021-08-29 23:50:22 +06:00
Cacodemon345
6d84d19380 Delegate title setting to main thread on macOS
Resizing is done in main thread regardless of Unix platform
2021-08-29 23:50:22 +06:00
Cacodemon345
1fa760a161 Use local OpenAL headers
fddload command implemented
2021-08-29 23:50:22 +06:00
Cacodemon345
eb14e132a3 Define _DARWIN_C_SOURCE before includes on macOS 2021-08-29 23:50:22 +06:00
Cacodemon345
cb2d0a1046 Use local copy of alext.h for the time being 2021-08-29 23:50:21 +06:00
Cacodemon345
ea641cc0ae Look for OpenAL in the proper way 2021-08-29 23:50:21 +06:00
Cacodemon345
4090b0fac7 Change OpenAL include statement to be what CMake docs suggest
Also WIP QEMU-like monitor.
2021-08-29 23:50:21 +06:00
Cacodemon345
c46ebc6a5e Fix macOS compilation for real 2021-08-29 23:50:21 +06:00
Cacodemon345
d24359bc33 Fix incorrect keypad input 2021-08-29 23:50:21 +06:00
Cacodemon345
fa3cb5bcee Don't make the blitter thread wait forever on exit 2021-08-29 23:50:21 +06:00
Cacodemon345
7d095da769 oops, forgot to create the mouse access mutex 2021-08-29 23:50:21 +06:00
Cacodemon345
1418d788a4 Remove incorrect focus loss detection code 2021-08-29 23:50:21 +06:00
Cacodemon345
8263fcab1f Implement mouse support 2021-08-29 23:50:21 +06:00
Cacodemon345
e0b36b52ca Implement window title setting 2021-08-29 23:50:21 +06:00
Cacodemon345
1678783db5 Implement keypad support 2021-08-29 23:50:21 +06:00
Cacodemon345
d9fdc5fcc1 Implement keyboard support
Numpad will be done eventually
2021-08-29 23:50:21 +06:00
Cacodemon345
435174a06a Fix incorrect typing of function loader
Co-authored-by: 韩朴宇 <w12101111@gmail.com>
2021-08-29 23:50:21 +06:00
Cacodemon345
1b93e8e989 Initial Linux/Unix code 2021-08-29 23:50:16 +06:00