Commit Graph

320 Commits

Author SHA1 Message Date
Jaby 2d2b71d0b3 Adjust DrawArea for NTSC 2024-02-04 21:43:11 -05:00
Jaby 79613b1bbd Add proper NTSC conversion values 2024-02-04 21:27:11 -05:00
Jaby 6b954bdfb9 Enable PAL and NTSC build 2024-02-04 20:35:15 -05:00
Jaby 2eaea20d3a Implement Matrix stack 2024-02-01 21:29:13 -05:00
Jaby 74d48db5f6 Support getting and setting of matrix 2024-02-01 18:54:45 -05:00
Jaby 8aeb3a6c31 Add sin/cos support 2024-01-31 21:29:57 -05:00
Jaby df59d26900 Revert back GTE usage and finalize code approach 2024-01-29 21:24:14 -05:00
Jaby 81968a6e12 Move gte_instructions back 2024-01-28 22:15:21 -05:00
Jaby 64cb60c43c Move GTE functions into library 2024-01-28 21:38:07 -05:00
Jaby 7dd65ffa70 Support enabeling GTE 2024-01-24 18:19:45 -05:00
Jaby 790f5f376f Add some GTE code 2024-01-24 12:04:03 -05:00
Jaby 133da8db05 Move GTE reference files 2024-01-24 10:27:37 -05:00
Jaby 11cead12dc Remove support for No screen code all together 2024-01-16 21:54:16 -05:00
Jaby b760474859 Support MultiTap and read ports every other frame 2024-01-02 22:59:33 -06:00
Jaby c6089d64a1 Support Controller 2024-01-02 22:51:51 -06:00
Jaby cf7c88c72c Introduce JabyEngine configuration file 2024-01-02 20:29:36 -06:00
Jaby f71b9abdb6 Lift RawController code 2024-01-02 20:18:40 -06:00
Jaby 747048ba89 Extend Periphery code 2024-01-02 19:47:23 -06:00
Jaby bdbf47fbdc Setup Periperhy 2024-01-02 16:43:36 -06:00
Jaby 91f5fbf088 Support BIOS Font 2024-01-02 15:42:57 -06:00
Jaby ef009315c7 Introduce LookUpColor4 2023-12-21 12:50:42 -05:00
Jaby dcf703d15b First draft for LookUpColor8 2023-12-21 11:43:24 -05:00
Jaby 0809d61138 Upload BIOS Clut (wrong plaette yet) 2023-12-20 16:24:56 -05:00
Jaby 8d6b9ef626 Clean up code slightly 2023-12-19 16:26:04 -05:00
Jaby 8d72f8a715 Fix Number issue 2023-12-19 14:06:46 -05:00
Jaby c67c045238 Load BIOS font as 16x15 2023-12-18 16:21:32 -05:00
Jaby 628f3eee2c Load BIOS font 2023-12-18 16:12:13 -05:00
Jaby 1934d81e0a Use better implementation 2023-12-17 23:29:10 +01:00
Jaby 0c9207030d Implement buffered font loader 2023-12-17 23:10:36 +01:00
Jaby 57766951cf Sort out render_dma order 2023-12-17 21:50:47 +01:00
Jaby 47f8d485f1 Investigate 2023-12-16 23:34:41 +01:00
Jaby 6fcd9bbd79 Send char by char 2023-12-16 23:31:09 +01:00
Jaby 205069d4f7 Test load ABCD 2023-12-16 23:10:24 +01:00
Jaby 11c6de85ff Prepare font transfer 2023-12-15 23:00:53 -05:00
Jaby 204a09801c Load a BIOS font 2023-12-13 19:46:34 -05:00
Jaby 0b6f7b2eca Create FontWriter Support Lib project 2023-11-23 21:27:04 -05:00
Jaby bcc7d398e2 Measure render loop 2023-11-04 19:43:41 -04:00
Jaby 56a599f9c5 Disable auto crlf 2023-10-11 18:20:43 +02:00
Jaby ad014fc524 Merge with new build technique 2023-10-09 22:38:28 +02:00
Jaby 70aca2ccc5 Support linux build 2023-10-09 22:34:42 +02:00
Jaby 26f72a6039 Update Makefiles and Template 2023-10-09 20:52:19 +02:00
Jaby a07948fdb2 Replace define private with __friends 2023-10-06 14:50:44 +02:00
Jaby 1ad309b07e Cherry pick files from the module branch 2023-10-06 14:23:15 +02:00
Jaby 21d7b78031 Turn SysCalls into a C++ file 2023-10-06 10:27:03 +02:00
Jaby f975df6698 Replace include guards with pragma once 2023-10-05 21:40:04 +02:00
Jaby 30b08d7de8 Remove last constructor and remove GLOBAL SUB with it 2023-10-03 13:16:46 +02:00
Jaby b603cefca0 Renamee IOPort 2 functions to original 2023-09-24 11:52:18 +02:00
Jaby cce55dd24c Fix XEBRA 2023-09-24 11:40:33 +02:00
Jaby 46a87cb154 Support printing 8bit as color codes and introduce color code define 2023-09-24 11:40:16 +02:00
Jaby c926e76afc Locate XEBRA freeze 2023-09-22 21:51:24 +02:00
Jaby 65afd70c7d Implement color based debugging 2023-09-22 21:36:43 +02:00
Jaby 656a5b9b81 Finish clean-up 2023-09-22 20:53:26 +02:00
Jaby d222d65b3f Support CD IO and start removing old IOPort 2023-09-22 18:52:31 +02:00
Jaby 6331ee3b5c Port TimerIO 2023-09-22 17:34:14 +02:00
Jaby 5b8b498a47 Convert SPU IO 2023-09-17 23:09:58 +02:00
Jaby f9a9c6a544 Port GPU IO 2023-09-17 22:14:48 +02:00
Jaby 7ab1bdaeb0 Support DMA with new IO 2023-09-17 12:30:43 +02:00
Jaby a1a19d09a2 Integrate new IO Code into memory_io 2023-09-17 08:50:06 +02:00
Jaby 1a1c92646e Prepare for new IOPort code 2023-09-13 22:23:29 +02:00
Jaby f37f4bd0b0 Port to latest GCC and fix CD loading bug 2023-09-03 01:57:28 +02:00
Jaby 50561b3b4c Fix bss init 2023-08-28 16:48:26 +02:00
Jaby a8aca7bc52 Merge branch 'ToolBox_FontWriter_BSS-Improvement' into ToolBox_FontWriter 2023-08-27 21:56:03 +02:00
Jaby 6be5eebf64 Clear bss section 2023-08-27 21:55:16 +02:00
Jaby ed9326673d Introduce new timer based on vsync 2023-08-27 21:29:43 +02:00
Jaby 08a50a6020 Share bss section with planschi section 2023-08-27 02:43:59 +02:00
Jaby cc5ec1be1c Support basic linked elements 2023-06-12 21:47:56 +02:00
Jaby 1e11475fa1 Prepare for textured sprites; better integration of GPU types 2023-05-31 22:29:19 +02:00
Jaby 22059f957f Draw first triangle 2023-05-07 00:07:20 +02:00
Jaby dbf616a916 Fix image conversion and CLUT placement 2023-05-01 22:37:41 +02:00
Jaby fcb97410d3 Fix small bug 2023-04-30 16:40:01 +02:00
Jaby 2906a299cc Add BootImage to second DisplayBuffer during boot 2023-04-30 14:18:11 +02:00
Jaby 63e354cc86 Create a frame rate 2023-04-26 22:06:47 +02:00
Jaby f05c56a5ba Cleanup GPU code more 2023-04-26 20:42:44 +02:00
Jaby da5b10c8d9 Add busy loop code and make HighResTimer work on demand rather automatically or ifdefed 2023-04-26 19:09:07 +02:00
Jaby 2fab0235d3 Fix disabled LZ4 bug 2023-04-17 21:05:22 +02:00
Jaby 3f4ba0506e Improve starting of the game and reduce persistent memory usage 2023-04-17 20:21:32 +02:00
Jaby 888634a691 Remove BootFiles. Setup code needs improving 2023-04-16 21:39:47 +02:00
Jaby a63f293af0 Reduce CDFileProcessor size and add configuratable buffer size 2023-04-16 21:11:10 +02:00
Jaby dd2e11a7f3 Use LZ4 file info 2023-04-13 22:10:34 +02:00
Jaby cc93c63998 Detect LZ4 files correctly now 2023-04-13 21:51:45 +02:00
Jaby b6dc67ce71 Prepare new LBA representation 2023-04-12 21:59:36 +02:00
Jaby 15b3f32039 Remove Overlayhader and support loading overlays 2023-04-10 17:01:28 +02:00
Jaby 575bc5d6bc Fix CD cancelling commands; Cleanup CD code a bit 2023-04-03 22:00:39 +02:00
Jaby b18bc1e25e Fix CD pause issue 2023-04-01 15:23:32 +02:00
Jaby a7e6a786c3 Load image w/o CircularBuffer 2023-04-01 14:57:03 +02:00
Jaby 39aa274856 Fix LZ4 incorrect size bug 2023-04-01 14:56:08 +02:00
Jaby 57fe9896e8 Load TIM files (broken currently) 2023-04-01 11:57:48 +02:00
Jaby 1b169cb35f Integrate CircularBuffer as essential part of loading files from CD and dedicate file processing to the FileProcessor 2023-04-01 11:20:56 +02:00
Jaby d66c437d4c Support buffer full handling 2023-03-29 21:59:50 +02:00
Jaby ece4fc36d6 Separate make files for easier use 2023-03-29 21:46:32 +02:00
Jaby ff18f8293e Support CopyTo now 2023-03-27 22:20:42 +02:00
Jaby cc14502c1f Successfully read in file 2023-03-27 20:43:18 +02:00
Jaby 14a2cb70f1 Code ready to obtain data; Doesn't work in No and causes strange errors in DS 2023-03-26 16:42:45 +02:00
Jaby f4de921f4f Rename include folder to internal-include for easier destinguishing with the JabyEngine include folder 2023-03-26 14:19:48 +02:00
Jaby 42a3c52a3b Revert restructure of project settings 2023-03-25 21:02:51 +01:00
Jaby 1bf927e2c2 Try improving workspace structure 2023-03-22 21:28:38 +01:00
Jaby 7d3d080129 Remove the ComplexBitMap 2023-03-22 20:46:08 +01:00
Jaby 1829f1f5e3 Improve readability of code slightly 2023-03-21 21:51:56 +01:00
Jaby e35bd6000a Ported CDIOs 2023-03-21 20:39:51 +01:00
Jaby 76a2c51655 Port DMA code 2023-03-20 21:04:01 +01:00
Jaby 9431c931e1 Port GPU IOs 2023-03-20 19:06:28 +01:00
Jaby 22db8a26a6 Converted SPU IO 2023-03-18 17:13:45 +01:00
Jaby 01e72e300d Convert Timer IO 2023-03-18 16:04:05 +01:00
Jaby 706daa04ac Refine new IO port concept 2023-03-14 22:53:32 +01:00
Jaby fcece53854 New concept for IOPorts 2023-03-14 22:33:49 +01:00
Jaby cfbf47f188 Improve CircularBuffer again 2023-03-03 17:30:45 +01:00
Jaby c92b0d8a2e Simulated load of a file 2023-03-03 14:33:29 +01:00
Jaby c48d65e476 Setup Cody Git server and successfully pause after 1 sector 2023-02-27 18:14:04 +01:00
Jaby 4327358d52 Support absolute LBAs now 2023-02-20 12:30:55 +01:00
Jaby 80aaf39fec Read files with temp fix 2023-02-19 18:00:19 +01:00
Jaby 7b5c277271 Set mode and improve on allocation callback 2023-02-18 10:56:46 +01:00
Jaby 4ad01da83a Get rough shape of CD file processing code 2023-02-18 09:35:15 +01:00
Jaby a2c50512b3 Fix aligned memory read of unanligend memory 2023-02-03 18:10:57 +01:00
Jaby ef2280bdf9 Setup CD drive 2023-01-22 14:07:58 +01:00
Jaby f4635a3b5a Prepare setup of CD drive 2023-01-22 11:02:27 +01:00
Jaby 6e40dacdec Finished CD_IOs 2023-01-21 12:18:02 +01:00
Jaby 70ca7814e8 On a better way 2023-01-17 22:04:35 +01:00
Jaby 0a3a61f40e Use write and read for BitRangeValues 2023-01-15 20:21:48 +01:00
Jaby b0f3e5f357 Add new IOPort design 2023-01-15 16:49:38 +01:00
Jaby c601847f93 New proposal 2023-01-13 19:34:01 +01:00
Jaby 57d4fa4e67 Add boot namespace and adjust names 2023-01-12 22:02:11 +01:00
Jaby 16350d3828 First proposial for CD support 2023-01-12 21:51:08 +01:00
Jaby 9e8cdba8a6 Create CD related files 2023-01-11 20:51:47 +01:00
Jaby d429605523 Add internal namespace to easily tell header apart 2023-01-11 20:45:17 +01:00
Jaby a4fb2d008b Support HighResolutionTimer in a better fashion 2023-01-10 20:36:28 +01:00
Jaby 7b9e3e6aa9 Support High Percision Counter 2023-01-09 22:27:10 +01:00
Jaby b0f2a40ad6 Improve struct and namespace usage 2023-01-08 21:08:23 +01:00
Jaby a0fd915fc7 Cleanup code 2023-01-08 16:39:26 +01:00
Jaby c60b97a75e Use GlobalTime 2023-01-08 16:20:30 +01:00
Jaby a1c8b3aea6 Fix IO Port code again 2023-01-08 13:56:26 +01:00
Jaby 2e4106436d Save progress 2023-01-06 22:15:03 +01:00
Jaby ae2b85f70b Sketch Timer and implement Interrupt support 2023-01-06 15:18:35 +01:00
Jaby e5175d0f9c Prepare IO Ports for timer 2023-01-06 12:14:53 +01:00
Jaby 8c6c9e23d6 Improve LZ4 decompression 2023-01-03 21:20:53 +01:00
Jaby f20e729ff3 Implement LZ4 strip and make tools write errors to err instead of out 2023-01-03 16:34:39 +01:00
Jaby a1743c0a7a Broken LZ4 algorithm! The decompression seems to work now (needs improvement?) but the conversion tools emit 64K block sizes which is unhelpfull for us 2022-12-29 23:18:37 +01:00
Jaby e2d2332368 Make LZ4 Decompressor return a state value 2022-12-29 13:25:48 +01:00
Jaby e8d4c2fdeb Setup LZ4 decompressor but have it copy data for now 2022-12-27 22:06:14 +01:00
Jaby 243ad7ca00 LZ4 compress splash images 2022-12-27 20:59:07 +01:00
Jaby 3b014b4c75 Improves return types with Progress type 2022-12-23 22:06:10 +01:00
Jaby b13fb0e5de Create LZ4 decompressor files 2022-12-23 21:18:44 +01:00
Jaby 014baa2cbf Introduce the JabyEngine namespace to all files 2022-12-23 21:18:25 +01:00
Jaby bce13e12ff Prepare CircularBuffer 2022-12-16 21:54:01 +01:00
Jaby 7dda9e91bd Introduce empty overlay boot file and improve task name 2022-12-16 21:23:24 +01:00
Jaby c7c3ee7463 Prepare makefile 2022-12-16 04:25:48 +01:00
Jaby 14cc4cf008 Use main 2022-12-16 03:47:30 +01:00
Jaby fb49164b31 Prepare save spot for booting 2022-12-16 03:20:08 +01:00
Jaby ef91f498d7 Slowly come up with design for loading from CD 2022-12-12 04:18:35 +01:00
Jaby edb37703e6 Prepare CD code and unify header names 2022-12-12 03:43:18 +01:00
Jaby 531c87bb34 Remove executing main 2022-12-04 04:55:04 +01:00