60 Commits

Author SHA1 Message Date
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
Godzil
92ee27e57e Make memory read return 0x90 instead of 0xFF in the impossible(?) case where something read from an impossible location 2019-09-20 16:30:15 +01:00
Godzil
348d3774fc Code beautify 2019-09-20 16:29:30 +01:00
Godzil
c8f731c9f9 Rework for a cleaner code for ROM Bank 0, 1 and 2 address calculation 2019-09-20 16:29:21 +01:00
Godzil
b662fc05a1 Adding the main code for instruction trace 2019-09-20 16:27:50 +01:00
Godzil
a06c04dfaf A bit more cleaning 2019-09-20 16:27:07 +01:00
Godzil
bed670082e Add a temporary crude instruction tracer 2019-09-20 16:26:53 +01:00
Godzil
f71f131dcc Add proper report if something is trying to call a non initialized interrupt
aka CS=0000h, IP=0000h which is more than likely to crash the whole thing.
2019-09-20 16:26:07 +01:00