16 Commits

Author SHA1 Message Date
Godzil
e48f7a76a7 Merge the latest changes. 2022-06-27 22:14:47 +01:00
Godzil
e9d7f1aa04 Add base address for IO ports to easily allow multiple instance of the same device. 2022-06-27 17:57:03 +01:00
Godzil
f45995167e Add some temporary disabled code for each peripheral
(copied from io.c)
2022-06-27 17:02:35 +01:00
Godzil
4d345079ae Fix building
Most patches are temporary and there just to let the code to build. It will not work in the current state.
Also now force the use of paged memory. It was not working properly because of the way the old GPU code is working.
2022-06-27 16:59:11 +01:00
Godzil
2305ce975b Mostly cosmetic changes
Update headers year
Remove useless /// headers that eat lines for no reasons
Fixed build issues because of stupid me doing stupid stuff in prototypes.
Added color and mono GPU stub.
Also a tad of code cleaning.
2022-03-14 14:50:41 +00:00
Godzil
6f56a8efda Starting a rewrite of how the IO works.
Currently 100% broken, also going to change how devices are selected
for each system so no more if/else everywhere and system should be more accurate.
2021-12-20 19:12:33 +00:00
Godzil
8fa2ef06ab Rename some functions and a tad of cleanup. 2021-12-20 19:12:33 +00:00
Godzil
1df15b0192 Uniformise copyright headers. 2021-12-20 19:12:12 +00:00
Godzil
698d960bed Add some useful GPU debug logs 2021-04-15 23:17:01 +01:00
Godzil
62c5812b34 Add #ifdef around EEPROM debug prints 2021-04-15 23:08:03 +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
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
330262b55c Remove the "initial IO" table as most values are wrong anyway.
If there are some initial value that need to be set, it is per system, not globally like that.
2021-04-05 12:24:12 +01:00
Godzil
d45822951f As this is C project, rename all source file to .c 2021-04-05 00:18:55 +01:00