67 Commits

Author SHA1 Message Date
Godzil
f3aca9a3c7 Start working on implementing the video interface.
First disabling/removing all the SDL related function call/variables

Also removing some nonsensical dunction (line doubling and rotation are useless in GL mode)
2020-11-14 20:16:46 +00:00
Godzil
ece8a07dcf Remove SDL refenrence in the non working audio emulation. 2020-11-14 20:15:50 +00:00
Godzil
9035a922c3 Add GLFW in the CMakeLists, and remove all SDL references. 2020-11-14 20:14:57 +00:00
Godzil
02c16b7987 Add glfw as an external module 2020-11-14 19:36:54 +00:00
Godzil
8c79f6f417 Clang should be happy now? 2020-02-11 00:53:32 +00:00
Godzil
2802e64697 clang don't like these unused tables. 2020-02-11 00:42:33 +00:00
Godzil
e8d7d8473e GCC quirkness makes no sense sometimes. 2020-02-11 00:38:17 +00:00
Godzil
ed93d90c51 Make sure we are not forcing to GCC and add a bit of debug.
CMake find the proper lib but not the makefile? WTF
2020-02-11 00:29:34 +00:00
Godzil
6e857bf630 Stupid names ubuntu; "libsdl1.2debian", seriously? 2020-02-11 00:24:04 +00:00
Godzil
62c43f311c Trying to add SDL lib package (seems -dev don't install it) 2020-02-11 00:21:17 +00:00
Godzil
3552bb8bf9 Silly me... 2020-02-11 00:20:36 +00:00
Godzil
466f910c9a Try to also build cmake build. 2020-02-11 00:18:06 +00:00
Godzil
a5ce89d14f Hmmm it was lurking in other places! 2020-02-11 00:17:38 +00:00
Godzil
c26f935072 Interesting that not all GCC versions complain here. 2020-02-11 00:14:36 +00:00
Godzil
4967dcab21 I honestly don't care about the return value of write. 2020-02-11 00:07:16 +00:00
Godzil
a0e5006a18 Add dumpinfo to cmake, and set the CXX standard to C++98 as it should on that project. 2020-02-11 00:05:22 +00:00
Godzil
6d78199031 Update .gitignore 2020-02-11 00:04:42 +00:00
Godzil
6d5658eb68 Make gcc happy (and fix a potential issue) 2020-02-11 00:00:23 +00:00
Godzil
667f655d22 Add preliminary CMake build. Not replacing the makefile for now, will in the future. 2020-02-10 23:59:01 +00:00
Godzil
3e6f096191 Add CMake module to get Git version. 2020-02-10 23:58:18 +00:00
Godzil
0fadff165b Update travis to use latest ubuntu instead of the old 14.04 2020-02-07 18:00:54 +00:00
Godzil
cf80c9624c Add tentative travis build script 2020-02-07 17:58:12 +00:00
Godzil
b5488bacba Add portaudio for futur audio work. 2020-02-07 17:57:59 +00:00
Godzil
f592057e48 Move everything in the root folder 2020-01-15 19:06:45 +00:00
Godzil
ec2a2f937f Update .gitignore 2020-01-15 19:02:30 +00:00
Godzil
ce85101e38 Remove root makefile. 2020-01-15 18:59:47 +00:00
Godzil
4b8495d443 Remove seal 2020-01-15 18:59:25 +00:00
Godzil
25cb419093 Disable all audio code to remove dependency to Seal. 2020-01-15 18:58:20 +00:00
Godzil
b7eb12dedc Remove more useless things 2020-01-15 18:48:29 +00:00
Godzil
8af626c143 Remove more useless files 2020-01-15 18:47:13 +00:00
Godzil
23088d723a Types cleanup. 2020-01-15 18:44:10 +00:00
Godzil
001cb1c080 Remove non standard flag. 2020-01-15 18:11:39 +00:00
Godzil
dfa4709069 Remove useless files. 2020-01-15 18:10:27 +00:00
Godzil
7583701b79 Don't do stupid things with memory allocation...
Seriously who wrote that code :(
That malloc was never freed.
2020-01-15 18:09:38 +00:00
Godzil
406d3253ba Some more cleanup 2020-01-15 18:08:24 +00:00
Godzil
9f49ce0de4 Add missing new emulate.cpp and emulate.h files
It contain the emulation loop that was in "filter" header files.
2020-01-15 17:53:21 +00:00
Godzil
fa498d40e5 Correct cart EEPROM handling to be more correct and cleaner. 2020-01-15 17:52:33 +00:00
Godzil
1130abeb9c Using mmap for cart sram/eeprom files. 2020-01-15 17:51:25 +00:00
Godzil
ee50803d33 Remove all useless filter and some dead code.
That streamline greatly the emulation code and remove all of that non-sense of code in headers included here and there.
Still lot to be done on that point.
Also update some times to use C99 instead of random from wherever it come from.
2020-01-15 17:49:52 +00:00
Godzil
d264ef17d8 Remove the segfault while exiting (was not really critical, but it's more clean)
For that: stop trying to free memory that was not malloc-ed.
2019-10-28 14:08:43 +00:00
Godzil
384525c9ad Change some **** in seal, and I'm pretty sure there are more of these things around. 2019-10-28 12:05:11 +00:00
Godzil
8b19769069 And change all of that **** of tabs into space here. 2019-10-28 12:04:35 +00:00
Godzil
1f8f6330e5 Remove useless files v0.8 2019-10-08 18:44:10 +01:00
Godzil
e73e5e28ae Version is no longer hardcoded and now depends on git tags 2019-10-08 18:41:15 +01:00
Godzil
c6b2b5437c This emulator is really terrible.. 2019-09-27 16:22:13 +01:00
Godzil
7bc1fb8888 Change some commment about HW INTs and TODO tasks
Bad language in there? yeah I know.
2019-09-20 16:36:06 +01:00
Godzil
f6f45a4b5e Adding some temporary log for IO access for exploring around 2019-09-20 16:34:31 +01:00
Godzil
d392f18ae5 Let's make sure that once the IROM is locked out it can't be enabled again 2019-09-20 16:33:18 +01:00
Godzil
8193c19ba9 Add some code for IO register higher than 0xFF 2019-09-20 16:32:56 +01:00
Godzil
e22d345598 More cleaning 2019-09-20 16:31:50 +01:00