10 Commits

Author SHA1 Message Date
Godzil
1df15b0192 Uniformise copyright headers. 2021-12-20 19:12:12 +00:00
Godzil
0e02ee829f I'm constantly amazed by how poorly coded this emulator was.
SRAM and EEPROM were inverted and not all known value was in there.
Also fixed the rom metadata header that was missing one byte.
2021-04-09 23:55:58 +01:00
Godzil
4512def23a Change how SRAM/EEPROM mask are calculated 2021-04-09 23:19:23 +01:00
Godzil
46e90dcca1 Remove useless variable 2021-04-09 23:18:53 +01:00
Godzil
2e9685215b Starting work on making memory access more straigforward with less branching code. 2021-04-09 23:18:31 +01:00
Godzil
2ced18d151 Change the log to my good old trusty log framework. 2021-04-06 23:08:22 +01:00
Godzil
cc1060775c Major code cleanup and code reformating 2021-04-05 14:19:35 +01:00
Godzil
3818e03e55 Now that we have system, let's also load the Swan Crystal irom. 2021-04-05 13:37:31 +01:00
Godzil
925bfd3b65 Change the way the system type is managed
and changed the logic on how the GPU use "color". 
Now IO register tell properly the selected system, and B&W swan does not allow to switch to color. Also the Swan do not start in color mode as it should.
2021-04-05 13:23:44 +01:00
Godzil
d45822951f As this is C project, rename all source file to .c 2021-04-05 00:18:55 +01:00