43 Commits

Author SHA1 Message Date
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
Godzil
43292a26dc Clean a bit the NEC emulation files 2019-09-20 16:25:02 +01:00
Godzil
baf836a747 Change ROM loading using mmap instead of malloc/fread 2019-09-20 16:23:57 +01:00
Godzil
08132a1fd7 Add a tool to dump cart metadata 2019-09-12 17:54:27 +01:00
Godzil
b2b066ba22 Change button name to proper name and add missing (Seriously why it was missing?) support for the Y buttons.
Removed the "flipped" flag as it should not be part of the IO logic.
2019-09-10 16:00:55 +01:00
Godzil
ea6bfacb66 Don't use "pre made" EEPROM content, just fill it with 0, it works fine for now.
Also set the "system" at a proper time
And set the correct (?) size for EEPROM
2019-09-04 15:13:52 +01:00
Godzil
80253e2cd6 Fix stupidity in EEPROM code. Now it works 2019-09-04 14:33:27 +01:00
Godzil
b1abbf6bfe Reindented most of the files (still work to be done there)
Now support the BW and Color IROM
Internal EEPROM support is now nearly correct (still some odd thing
happening)
2019-09-03 17:33:29 +01:00
Godzil
84804c8d0a Remove things that are build 2019-09-02 16:03:26 +01:00
Godzil
0219258ee9 Now build on x64 platform, still need lots of rework... 2019-09-02 16:02:03 +01:00
Godzil
56b69d2281 Initial Commit v0.7 2019-09-01 21:47:54 +01:00