Commit Graph

359 Commits

Author SHA1 Message Date
Jaby 36e8471aba Support ClearCache command 2024-03-06 17:17:13 -06:00
Jaby 870d671d2b Cleanup code 2024-02-20 22:02:41 -05:00
Jaby ba8b729da1 Beta-MyConfig 2024-02-15 22:31:52 -05:00
Jaby bd622ce8a0 Convert Configurations to function based for overrides 2024-02-15 22:18:22 -05:00
Jaby 19b194ccac First configuratable JabyEngine prototype 2024-02-09 11:30:55 -05:00
Jaby f9a1c9470b Fix embarrising typo 2024-02-09 10:21:37 -05:00
Jaby e8b9021f7d Prepare an easy to test configuration 2024-02-09 10:18:01 -05:00
Jaby 796dcd6e3f Resolve some TODOs 2024-02-08 21:29:18 -05:00
Jaby 90ce445ed5 Force 16 Word limit for Linked List GPU 2024-02-07 22:04:28 -05:00
Jaby 76c53a31df Collect information for future work 2024-02-06 22:21:44 -05:00
Jaby 22a530651c Add proper NTSC conversion values 2024-02-04 21:27:11 -05:00
Jaby b1e3e2790f Implement Matrix stack 2024-02-01 21:29:13 -05:00
Jaby 0963f9bf45 Support getting and setting of matrix 2024-02-01 18:54:45 -05:00
Jaby 305920fe21 Support retriving rotation matrix 2024-01-31 22:22:25 -05:00
Jaby dc66014f1b Add sin/cos support 2024-01-31 21:29:57 -05:00
Jaby e8dd23bac9 Revert back GTE usage and finalize code approach 2024-01-29 21:24:14 -05:00
Jaby b0e00f1369 Move gte_instructions back 2024-01-28 22:15:21 -05:00
Jaby a34f7798cb Move GTE functions into library 2024-01-28 21:38:07 -05:00
Jaby 4aa4c911bc Prepare mult_matrix function 2024-01-28 21:23:06 -05:00
Jaby e569c78c46 Trying to run first GTE code 2024-01-24 17:29:42 -05:00
Jaby 8d1e9c20a7 Add some GTE code 2024-01-24 12:04:03 -05:00
Jaby 98d5fa674f Move GTE reference files 2024-01-24 10:27:37 -05:00
Jaby 5856c31c0f Starting step for GTE 2024-01-23 22:38:04 -05:00
Jaby fb9ef17302 Small improvements for code readability 2024-01-23 14:44:10 -05:00
Jaby 48b8e55660 Support obtaining PageOffset from SimpleTIM 2024-01-23 11:28:03 -05:00
Jaby d25650a749 Add Poly specific functions 2024-01-23 11:00:46 -05:00
Jaby 199a08a3b0 More CleanUp of JabyEngine/PoolBox 2024-01-05 23:02:14 -06:00
Jaby 97abd1ff28 Improve usage of Line types 2024-01-05 22:56:44 -06:00
Jaby 4aebb7e450 Update PoolBox with latest changes 2024-01-05 12:25:11 -06:00
Jaby 33c149a7d4 Read analoge stick positions 2024-01-04 21:36:40 -06:00
Jaby 53eb67c163 Crappy Layout 2024-01-04 17:11:40 -06:00
Jaby 514633ca16 Improve colors 2024-01-04 10:03:25 -06:00
Jaby d3f59e3892 Support original GPU test 2024-01-03 22:07:39 -06:00
Jaby 2608c63697 Support DualShock 2024-01-03 10:03:05 -06:00
Jaby 663a043ad7 Support MultiTap and read ports every other frame 2024-01-02 22:59:33 -06:00
Jaby a15172dfef Support Controller 2024-01-02 22:51:51 -06:00
Jaby 8b8ca421a9 Introduce JabyEngine configuration file 2024-01-02 20:29:36 -06:00
Jaby 684e030de0 Lift RawController code 2024-01-02 20:18:40 -06:00
Jaby 25e528868e Extend Periphery code 2024-01-02 19:47:23 -06:00
Jaby b754cde9d4 Setup Periperhy 2024-01-02 16:43:36 -06:00
Jaby 5e27a67e5d Support BIOS Font 2024-01-02 15:57:21 -06:00
Jaby 8295b7679a Support BIOS Font 2024-01-02 15:42:57 -06:00
Jaby 451c4a01bf Introduce LookUpColor4 2023-12-21 12:50:42 -05:00
Jaby 92b2d4871d Forgot to save 2023-12-21 11:44:22 -05:00
Jaby df26a7ed62 First draft for LookUpColor8 2023-12-21 11:43:24 -05:00
Jaby d49cf587b1 Upload BIOS Clut (wrong plaette yet) 2023-12-20 16:24:56 -05:00
Jaby 3b971ac483 Change to double buffering and SPRT_16 2023-12-20 15:12:21 -05:00
Jaby 2484b308d3 Clean up code slightly 2023-12-19 16:26:04 -05:00
Jaby 79a99d10bc Load BIOS font 2023-12-18 16:12:13 -05:00
Jaby 6b74ccae5e Implement buffered font loader 2023-12-17 23:10:36 +01:00
Jaby 172600ddb8 Load a BIOS font 2023-12-13 19:46:34 -05:00
Jaby b795b874c4 Support %i 2023-12-05 21:04:45 -05:00
Jaby 8bc0a33c68 Implement itoa 2023-12-05 20:46:15 -05:00
Jaby 3fe6494013 Prepare C arg list 2023-12-04 21:48:27 -05:00
Jaby 3d6be0f093 Move make code to own header 2023-12-01 22:39:44 -05:00
Jaby 854bce235c New wiggle approach 2023-12-01 22:24:00 -05:00
Jaby 7fa369a8bf Display text 2023-12-01 14:31:32 -05:00
Jaby 07d7781530 Improve naming 2023-11-26 19:44:10 -05:00
Jaby ac3903a38d Limit concat to non pointer types to avoid hard to track problems 2023-11-26 18:54:24 -05:00
Jaby f2516cf1b8 Introduce mem dump code 2023-11-26 18:45:51 -05:00
Jaby 5513d07aa6 Sketch setup of Font 2023-11-26 18:43:23 -05:00
Jaby f3d0fe17e0 Disable auto crlf 2023-10-11 18:20:43 +02:00
Jaby dbf3e5d1de Replace define private with __friends 2023-10-06 14:50:44 +02:00
Jaby 1d11e778d3 Turn SysCalls into a C++ file 2023-10-06 10:27:03 +02:00
Jaby dff8eb1781 Replace include guards with pragma once 2023-10-05 21:40:04 +02:00
Jaby 927f422a8f Add LINE to make functions as last primitive 2023-10-03 20:44:08 +02:00
Jaby 06ebf4c01a Extend make functions for POLY 2023-10-03 20:31:17 +02:00
Jaby 5bf11116cc Support TILE and SPRT for make functions 2023-10-03 17:10:10 +02:00
Jaby 87f7d78a3f Support even more make functions 2023-10-03 16:18:43 +02:00
Jaby 3dbb3fc9bb Add more make functions 2023-10-03 16:04:37 +02:00
Jaby 08267288f1 Create maker functions for Position and Size 2023-10-03 15:04:21 +02:00
Jaby 4e908c5fd1 Remove last constructor and remove GLOBAL SUB with it 2023-10-03 13:16:46 +02:00
Jaby 4bf3fdfca2 Remove primitive support types constructor 2023-10-03 09:52:04 +02:00
Jaby 5b77fd94c7 Remove Rectangle constructors 2023-09-27 22:09:15 +02:00
Jaby 08a8995a4d Remove POLY constructors 2023-09-27 21:15:53 +02:00
Jaby 425811b1dd Remove GPU Commands constructor 2023-09-25 20:45:11 +02:00
Jaby 41cafb235c Remove constructor linked elements 2023-09-25 20:35:47 +02:00
Jaby 5bd70747dc Renamee IOPort 2 functions to original 2023-09-24 11:52:18 +02:00
Jaby 1e9a21bc17 Finish clean-up 2023-09-22 20:53:26 +02:00
Jaby 48171a9619 Support CD IO and start removing old IOPort 2023-09-22 18:52:31 +02:00
Jaby 30d635cd2d Port TimerIO 2023-09-22 17:34:14 +02:00
Jaby fbc677e13e Convert SPU IO 2023-09-17 23:09:58 +02:00
Jaby fd016fa98c Convert Interrupts 2023-09-17 22:25:54 +02:00
Jaby 15d8d39879 Port GPU IO 2023-09-17 22:14:48 +02:00
Jaby a46d76a619 Support DMA with new IO 2023-09-17 12:30:43 +02:00
Jaby a2b8b35b4a Integrate new IO Code into memory_io 2023-09-17 08:50:06 +02:00
Jaby 4dcb16ed64 Prepare for new IOPort code 2023-09-13 22:23:29 +02:00
Jaby c8275cdd15 Port to latest GCC and fix CD loading bug 2023-09-03 01:57:28 +02:00
Jaby fec867f2b3 Start refactor of FontWriter 2023-08-31 05:15:34 +02:00
Jaby e280a412e9 Introduce new timer based on vsync 2023-08-27 21:29:43 +02:00
Jaby 99ae40bdfe Share bss section with planschi section 2023-08-27 02:43:59 +02:00
Jaby 272a2258e4 Make Linked elements BSS conform 2023-06-26 20:40:30 +02:00
Jaby 018d05bfab Missed cmmits 2023-06-25 16:39:07 +02:00
Jaby 408c133118 Support color in text 2023-06-22 21:52:34 +02:00
Jaby 6d3e44dbb3 Merge branch 'ToolBox' into ToolBox_FontWriter 2023-06-21 21:50:52 +02:00
Jaby 14587f9cc0 Use BSS default constructor 2023-06-21 21:45:15 +02:00
Jaby 3e5f3bd42f Fix default constructor for rectangle types 2023-06-19 22:30:52 +02:00
Jaby 35d09192c9 Testing font and color font 2023-06-15 20:48:25 +02:00
Jaby 4ea9c43f67 Support linking primitives 2023-06-13 21:21:02 +02:00
Jaby 6f30b92159 Support basic linked elements 2023-06-12 21:47:56 +02:00
Jaby 2d935be1b8 Support all primitives 2023-06-05 22:44:45 +02:00
Jaby 51a2c5c60c Prepare for textured sprites; better integration of GPU types 2023-05-31 22:29:19 +02:00
Jaby 16cca95d9b Support RectF 2023-05-30 22:06:38 +02:00
Jaby 468b22354f Support all the line types in a somewhat decent way 2023-05-28 10:36:24 +02:00
Jaby 483348184d Improve LINE_F code 2023-05-27 22:21:02 +02:00
Jaby d5e33f7034 Bound line type 2023-05-27 17:07:15 +02:00
Jaby 2b4256f4fb Introduce is_render_primitive type_trait 2023-05-27 16:40:59 +02:00
Jaby ca1e937dae Support LINE_F 2023-05-27 15:14:19 +02:00
Jaby 509932238d Cleaned up primitives 2023-05-24 22:06:56 +02:00
Jaby 2f70a2b976 Support GPU Primitives as constexpr 2023-05-24 20:55:43 +02:00
Jaby 81a0a7b85b Support POLY_GT4 2023-05-23 21:11:01 +02:00
Jaby a964af8c3e Support gouraud rectangle 2023-05-23 20:39:11 +02:00
Jaby ee81d93ecb Support POLY_FT4 2023-05-19 22:26:53 +02:00
Jaby fe2d18a6bd Support POLY_F4 2023-05-18 22:14:09 +02:00
Jaby d36ad113ba Support more primitives 2023-05-17 22:59:21 +02:00
Jaby 20df556aa5 Support Gouraud Shading 2023-05-15 21:59:06 +02:00
Jaby a4e8c51761 Support textured triangles 2023-05-15 21:14:37 +02:00
Jaby f7937e3ec9 Draw first triangle 2023-05-07 00:07:20 +02:00
Jaby 4335e23d7f Fix image conversion and CLUT placement 2023-05-01 22:37:41 +02:00
Jaby 7ea424fdc5 Add BootImage to second DisplayBuffer during boot 2023-04-30 14:18:11 +02:00
Jaby 946d669fbc Fix broken DisplayArea 2023-04-27 21:23:06 +02:00
Jaby 32f82faf9f Create a frame rate 2023-04-26 22:06:47 +02:00
Jaby 9d46658e0f Cleanup GPU code more 2023-04-26 20:42:44 +02:00
Jaby 31d6062d05 Add busy loop code and make HighResTimer work on demand rather automatically or ifdefed 2023-04-26 19:09:07 +02:00
Jaby ac25f699e0 Improve starting of the game and reduce persistent memory usage 2023-04-17 20:21:32 +02:00
Jaby e25ab9da8f Remove BootFiles. Setup code needs improving 2023-04-16 21:39:47 +02:00
Jaby 1d6a58311c Reduce CDFileProcessor size and add configuratable buffer size 2023-04-16 21:11:10 +02:00
Jaby 0949ca395c Use LZ4 file info 2023-04-13 22:10:34 +02:00
Jaby e1edd23e6f Detect LZ4 files correctly now 2023-04-13 21:51:45 +02:00
Jaby 77d84802ad Prepare new LBA representation 2023-04-12 21:59:36 +02:00
Jaby 11cc0e90a6 Remove Overlayhader and support loading overlays 2023-04-10 17:01:28 +02:00
Jaby 1b17a052d5 Fix CD cancelling commands; Cleanup CD code a bit 2023-04-03 22:00:39 +02:00
Jaby 86c801187b Load image w/o CircularBuffer 2023-04-01 14:57:03 +02:00
Jaby 8895cfc8e6 Load TIM files (broken currently) 2023-04-01 11:57:48 +02:00
Jaby 4553dbef6e 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 771776d947 Support CopyTo now 2023-03-27 22:20:42 +02:00
Jaby d8e7000a0c Successfully read in file 2023-03-27 20:43:18 +02:00
Jaby 54943fab93 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 f929e2b6a1 More cleanup 2023-03-22 21:23:52 +01:00
Jaby f5a89cf9a4 Remove ComplexBitMap header 2023-03-22 20:54:40 +01:00
Jaby d9c2d9b290 Remove the ComplexBitMap 2023-03-22 20:46:08 +01:00
Jaby 163662ba75 Improve readability of code slightly 2023-03-21 21:51:56 +01:00
Jaby 94f12db6f8 Ported CDIOs 2023-03-21 20:39:51 +01:00
Jaby ba8c5e65eb Port DMA code 2023-03-20 21:04:01 +01:00
Jaby a5c163d1ac Port GPU IOs 2023-03-20 19:06:28 +01:00
Jaby d90460b2d7 Port InterruptIOs 2023-03-20 17:53:20 +01:00
Jaby 428c451671 Converted SPU IO 2023-03-18 17:13:45 +01:00
Jaby 0bb5dab6a8 Convert Timer IO 2023-03-18 16:04:05 +01:00
Jaby a3a7db2622 Make IOPort constexpr 2023-03-18 15:02:21 +01:00
Jaby 66974eaa58 Forgot to remove Cody 2023-03-16 22:26:45 +01:00