330cba592dCosmetic, and add missing files to the CMakeLists.
rewrite
Godzil
2022-06-27 22:33:36 +01:00
e48f7a76a7Merge the latest changes.
Godzil
2022-06-27 21:58:12 +01:00
4800cf0823Commented some code to let it build.
Godzil
2022-06-27 18:20:11 +01:00
a37414b079Cleanup memory and added file_access.
Godzil
2022-06-27 18:19:51 +01:00
e9d7f1aa04Add base address for IO ports to easily allow multiple instance of the same device.
Godzil
2022-06-27 17:57:03 +01:00
37e4b219d4Add a skeleton for the interrupt controller
Godzil
2022-06-27 17:04:55 +01:00
d6a2a77303Add the possibility to pass parameter to device_init and add a device_type_t used to know what parameter to pass to init when needed.
Godzil
2022-06-27 17:04:37 +01:00
f45995167eAdd some temporary disabled code for each peripheral (copied from io.c)
Godzil
2022-06-27 17:02:35 +01:00
83e4b8d5d9Some more cosmetics.
Godzil
2022-06-27 17:01:07 +01:00
4d345079aeFix 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.
Godzil
2022-03-14 15:05:18 +00:00
5f61fb612aMerge branch 'master' into rewrite
Godzil
2022-06-25 21:23:05 +01:00
2305ce975bMostly 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.
Godzil
2022-03-14 14:50:41 +00:00
6f56a8efdaStarting 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.
Godzil
2021-12-20 15:43:04 +00:00
8fa2ef06abRename some functions and a tad of cleanup.
Godzil
2021-12-17 23:13:46 +00:00
4fc5193bc7Add testserial part of the build.
Godzil
2021-11-23 14:56:27 +00:00
925bfd3b65Change 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.
Godzil
2021-04-05 13:23:44 +01:00
330262b55cRemove 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.
Godzil
2021-04-05 12:24:12 +01:00
357d4e4edeDeleted the makefile as it is no longer supported
Godzil
2021-04-05 00:20:22 +01:00
d45822951fAs this is C project, rename all source file to .c
Godzil
2021-04-05 00:18:55 +01:00
065849cf68Add stdint.h into headers that (may) need it.
Godzil
2021-04-04 23:28:36 +01:00
dbc7d6e940Update splash string to show "NewOswan"
Godzil
2021-04-04 23:18:11 +01:00
432844304eAdd a simple boot rom stub so we can start the emulated console without need for special case in the code, and not adding any copyrighted material in the project. Also automatically copy the stub rom in the build folder.
Godzil
2021-04-04 23:15:50 +01:00
61937a1391Merge branch 'master' into debugger
debugger
Godzil
2021-04-04 22:13:59 +01:00
e28317d29eDisable the IO Dump by default.
Godzil
2021-04-04 21:17:34 +01:00
f32928b0c3Remove -Werror by default and add a cmake option to enable them.
Godzil
2021-04-04 21:14:53 +01:00
e4cf98bfe1Add a debug function to log all access to IO regs.
Godzil
2021-04-04 21:05:48 +01:00
88468d6028Now build without SDL
Godzil
2020-12-12 19:28:21 +00:00
875f0edb46printf can be a pain at time.
Godzil
2020-11-14 20:30:09 +00:00
8bd2170f44Remove some of the Rotation code.
Godzil
2020-11-14 20:28:31 +00:00
564e0ea2e6Remove more SDL references
Godzil
2020-11-14 20:27:58 +00:00
8976d4363fRemove SDLptc.h, the "Console" class and related code.
Godzil
2020-11-14 20:27:25 +00:00
f3aca9a3c7Start working on implementing the video interface. First disabling/removing all the SDL related function call/variables
Godzil
2020-11-14 20:16:46 +00:00
ece8a07dcfRemove SDL refenrence in the non working audio emulation.
Godzil
2020-11-14 20:15:50 +00:00
9035a922c3Add GLFW in the CMakeLists, and remove all SDL references.
Godzil
2020-11-14 20:14:57 +00:00
02c16b7987Add glfw as an external module
Godzil
2020-11-14 19:36:54 +00:00
8c79f6f417Clang should be happy now?
Godzil
2020-02-11 00:53:32 +00:00
2802e64697clang don't like these unused tables.
Godzil
2020-02-11 00:42:33 +00:00
e8d7d8473eGCC quirkness makes no sense sometimes.
Godzil
2020-02-11 00:38:17 +00:00
ed93d90c51Make sure we are not forcing to GCC and add a bit of debug. CMake find the proper lib but not the makefile? WTF
Godzil
2020-02-11 00:29:34 +00:00