Commit Graph

644 Commits

Author SHA1 Message Date
Jaby 3a658aa715 Set DMA priority 2024-03-06 19:08:25 -06:00
Jaby 7184517bf8 Turn only SPU GPU and CD DMA on and set to highest 2024-03-06 18:31:43 -06:00
Jaby 542d805a28 Fix CD IRQ issue 2024-02-29 21:13:23 -05:00
Jaby ba13a6c7bb Fix CD Interrupt for PS3 PSX Emulator 2024-02-28 21:42:10 -05:00
Jaby 92c392ae56 Fix CD image for PKG files 2024-02-25 15:38:30 -05: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 9c8fb44562 Support building multiple JabyEngines 2024-02-14 16:55:46 -05:00
Jaby 223f6c0037 Change CombiMake file to build all flavours; Rename CombiMake 2024-02-13 19:04:36 -05:00
Jaby 944de25b72 Detect config folder for build 2024-02-12 16:10:00 -05:00
Jaby 3ca21cfca3 Add extension for auto populated config list 2024-02-09 15:50:17 -05:00
Jaby a8868d21a4 Clean up MakeFiles 2024-02-09 15:41:56 -05:00
Jaby ce142d5643 Improve custom configuration support 2024-02-09 15:35:25 -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 985d138d25 Add Combi Target 2024-02-08 21:47:27 -05:00
Jaby 796dcd6e3f Resolve some TODOs 2024-02-08 21:29:18 -05:00
Jaby 55bee1ff67 DMA BIOS Font (not HW tested) 2024-02-08 20:22:32 -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 1474a9551f Add PAL/NTSC text to boot image 2024-02-04 22:39:24 -05:00
Jaby c96cea0ca5 Adjust DrawArea for NTSC 2024-02-04 21:43:11 -05:00
Jaby 22a530651c Add proper NTSC conversion values 2024-02-04 21:27:11 -05:00
Jaby c7e77c9823 Enable PAL and NTSC build 2024-02-04 20:35:15 -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 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 84f23ba166 Support enabeling GTE 2024-01-24 18:19:45 -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 214f653fb9 Remove support for No screen code all together 2024-01-16 21:54:16 -05:00
Jaby db6b71eacc Force versions for all Rust Tools 2024-01-03 17:59:08 -06:00
Jaby 329fe6cc64 Support tree; Do not enforce LBA source for Overlays 2024-01-03 17:45:57 -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 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 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 2484b308d3 Clean up code slightly 2023-12-19 16:26:04 -05:00
Jaby 5fcddb1259 Fix Number issue 2023-12-19 14:06:46 -05:00
Jaby 59168512b6 Load BIOS font as 16x15 2023-12-18 16:21:32 -05:00
Jaby 79a99d10bc Load BIOS font 2023-12-18 16:12:13 -05:00
Jaby 0cc9a8dc2d Fix tool build 2023-12-18 15:05:18 -05:00
Jaby 5541c425ef Use better implementation 2023-12-17 23:29:10 +01:00
Jaby 6b74ccae5e Implement buffered font loader 2023-12-17 23:10:36 +01:00
Jaby 1acfcc7ceb Sort out render_dma order 2023-12-17 21:50:47 +01:00
Jaby a8925199ff Investigate 2023-12-16 23:34:41 +01:00
Jaby 60d00b71ea Send char by char 2023-12-16 23:31:09 +01:00
Jaby b3ee745bab Test load ABCD 2023-12-16 23:10:24 +01:00
Jaby c953f9b2c0 Prepare font transfer 2023-12-15 23:00:53 -05:00
Jaby 172600ddb8 Load a BIOS font 2023-12-13 19:46:34 -05:00
Jaby d09931074c Fix TIM conversion bug in palette count 2023-11-26 18:41:31 -05:00
Jaby 03f4fe2d66 Create FontWriter Support Lib project 2023-11-23 21:27:04 -05:00
Jaby 2cafba7012 Support commenting out overlays 2023-11-04 19:43:59 -04:00
Jaby ed568319bd Measure render loop 2023-11-04 19:43:41 -04:00
Jaby 5c97221367 Make fconv delete faulty files 2023-10-12 14:03:44 +02:00
Jaby c2955698e5 Do not accept images that have wrong sizes 2023-10-12 11:06:11 +02:00
Jaby f3d0fe17e0 Disable auto crlf 2023-10-11 18:20:43 +02:00
Jaby 13be1ff800 Merge with new build technique 2023-10-09 22:38:28 +02:00
Jaby bed25d70c5 Support linux build 2023-10-09 22:34:42 +02:00
Jaby cc27ea5312 Use new build scripts 2023-10-09 21:49:40 +02:00
Jaby 9cfa073017 Update Makefiles and Template 2023-10-09 20:52:19 +02:00
Jaby 82a4a34fc9 Introduce Linux counter parts 2023-10-06 17:02:30 +02:00
Jaby dbf3e5d1de Replace define private with __friends 2023-10-06 14:50:44 +02:00
Jaby 8f915dfb9a Cherry pick files from the module branch 2023-10-06 14:23:15 +02:00
Jaby 1d11e778d3 Turn SysCalls into a C++ file 2023-10-06 10:27:03 +02:00
Jaby a14d9e8f05 Experiment with new approaches 2023-10-05 22:39:33 +02:00
Jaby dff8eb1781 Replace include guards with pragma once 2023-10-05 21:40:04 +02:00
Jaby 4e908c5fd1 Remove last constructor and remove GLOBAL SUB with it 2023-10-03 13:16:46 +02:00
Jaby 5bd70747dc Renamee IOPort 2 functions to original 2023-09-24 11:52:18 +02:00
Jaby 2ce2287656 Fix XEBRA 2023-09-24 11:40:33 +02:00
Jaby f3ff2ca0d6 Support printing 8bit as color codes and introduce color code define 2023-09-24 11:40:16 +02:00
Jaby a5a7d73620 Locate XEBRA freeze 2023-09-22 21:51:24 +02:00
Jaby 6851a09071 Implement color based debugging 2023-09-22 21:36:43 +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 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 964840c201 Fix bss init 2023-08-28 16:48:26 +02:00
Jaby ef467bd0b7 Merge branch 'ToolBox_FontWriter_BSS-Improvement' into ToolBox_FontWriter 2023-08-27 21:56:03 +02:00
Jaby 0572cd165d Clear bss section 2023-08-27 21:55:16 +02:00
Jaby e280a412e9 Introduce new timer based on vsync 2023-08-27 21:29:43 +02:00
Jaby 31f7ff8994 Finalize linker script 2023-08-27 16:45:56 +02:00
Jaby 99ae40bdfe Share bss section with planschi section 2023-08-27 02:43:59 +02:00
Jaby 8bf111ec50 Improve reliablitity of psxreadmap 2023-08-27 02:43:01 +02:00
Jaby 3bf64637df Integrate psxreadmap 2023-08-25 06:31:00 +02:00
Jaby 8ae9b0061c Change panic behaviour of tools 2023-08-25 05:44:14 +02:00
Jaby 3e42c59ba8 Use psxcdgen_ex under WSL and improve wslpath and makefiles 2023-08-25 05:15:23 +02:00
Jaby 1412a585ce Add psxreadmap to list for PSX tools 2023-08-24 00:31:36 +02:00
Jaby ddc14856e4 Improve identification of Overlays 2023-08-24 00:24:20 +02:00
Jaby 9daedb7663 Advance version number and introduce conditional compiled code 2023-08-24 00:06:03 +02:00
Jaby 39af8ec37e Color encode OVERLAPPED sections and set version to 1.0 2023-08-20 17:32:10 +02:00
Jaby ff99d3d180 Display Symbol information 2023-08-20 16:45:22 +02:00
Jaby 60c2ed847f Support different sized lists 2023-08-20 16:21:42 +02:00
Jaby 8a6ebe779f Preear Symbol list 2023-08-20 15:29:21 +02:00
Jaby 7beefdf70b Support section infos in list mode 2023-08-20 14:27:15 +02:00
Jaby 47f6617475 Display top level section information 2023-08-20 09:15:24 +02:00
Jaby 72892ac38d Create Layout for List mode 2023-08-20 08:36:08 +02:00
Jaby 248e2adc7d Introduce new 'List' entry 2023-08-20 08:10:18 +02:00
Jaby 163f00a69f Add help charcters 2023-08-16 15:31:16 +02:00
Jaby 41f1ef645e Switch between selections 2023-08-16 15:15:39 +02:00
Jaby 7f7829c602 Reduce percision for display 2023-08-16 11:21:10 +02:00
Jaby 5e05d3fc60 Cleanup selection code 2023-08-15 15:21:10 +02:00
Jaby 69465c4f56 Support sections now 2023-08-12 19:37:15 +02:00
Jaby 74640c9640 Introduce new gauge type 2023-08-12 19:13:38 +02:00
Jaby a803dbbfd4 Fix rollover of list selection 2023-08-12 12:43:00 +02:00
Jaby 690d903f33 Introduce second memory gauge 2023-08-12 12:03:57 +02:00
Jaby a527e71c4a Cleanup code 2023-08-12 11:38:51 +02:00
Jaby cd0edb98a6 Support a list with Schwimmflügel 2023-08-06 10:46:12 +02:00
Jaby 374377b2a6 Update to latest Rust 2023-08-02 22:31:40 +02:00
Jaby d2a7541804 Migrate to ratatui 2023-07-26 22:16:09 +02:00
Jaby a5e83eff55 Improve Gauge usage 2023-07-26 22:08:10 +02:00
Jaby 36028b0607 Forgot gitignore 2023-07-26 21:50:20 +02:00
Jaby 0eec17aab5 Display memory usage 2023-07-26 21:49:47 +02:00
Jaby e59042ef75 Integrated new code into GUI 2023-07-26 20:37:35 +02:00
Jaby 2aa861057f Merge with new objdump code 2023-07-26 20:22:11 +02:00
Jaby 87ef0032fc Print memory map 2023-07-24 22:22:17 +02:00
Jaby 881568baec Sort map 2023-07-24 20:41:38 +02:00
Jaby d6e459ee65 Collect Symbols 2023-07-20 20:31:25 +02:00
Jaby 3d53883fa1 Scan and print sections - prepare for SymbolTable 2023-07-17 18:41:15 +02:00
Jaby 5ee0e6f2c8 Parse with weird printf bug 2023-07-11 23:05:20 +02:00
Jaby 48173e17d9 Support scan stdout of objdump 2023-07-11 22:00:57 +02:00
Jaby 0f44f7bd8a Create objdump file 2023-07-11 21:37:37 +02:00
Jaby a66f298ea2 Present memory usage 2023-07-11 20:26:33 +02:00
Jaby bda1f69c3d Collect highest address 2023-07-11 19:00:59 +02:00
Jaby 3e161bb974 Only read key press 2023-07-09 19:24:43 +02:00
Jaby e89ea35c83 Some cleanup 2023-07-09 16:49:53 +02:00
Jaby c17416f34a Prepare memory usage 2023-07-09 16:46:49 +02:00
Jaby deea20bf35 Implemented QUIT window 2023-07-09 16:16:28 +02:00
Jaby fc6704dc76 Display titel 2023-07-09 15:38:55 +02:00
Jaby b446057dfe Setup of update and render loop for CUI 2023-07-09 14:40:44 +02:00
Jaby ac4be64d56 Create psxreadmap and move readmap project into it 2023-07-09 13:31:02 +02:00
Jaby 40f0602294 Sort addresses 2023-07-06 19:56:28 +02:00
Jaby 0279567971 Parse map and write to file 2023-07-05 21:36:12 +02:00
Jaby fa49d7abfb Read in map file 2023-07-04 21:58:15 +02:00
Jaby a846cd248d Read sub sections 2023-07-03 22:17:44 +02:00
Jaby cc4dac4b78 Parse sub section 2023-06-29 22:18:31 +02:00
Jaby 96602d7a83 Improve reading sections in 2023-06-29 21:32:49 +02:00
Jaby f4c002a8b4 Print top-level sections 2023-06-29 20:18:02 +02:00
Jaby 1ceed7c489 Detect sections; Unify printing help across the tools 2023-06-25 16:38:29 +02:00
Jaby aa40efba08 Introduce types for readmap 2023-06-25 15:58:23 +02:00
Jaby 6e37f6ae78 Create readmap tool 2023-06-25 14:37:16 +02:00
Jaby 6f30b92159 Support basic linked elements 2023-06-12 21:47:56 +02:00
Jaby 51a2c5c60c Prepare for textured sprites; better integration of GPU types 2023-05-31 22:29:19 +02:00
Jaby 1129ea40f1 Support transparency 2023-05-26 22:20:43 +02:00
Jaby f7937e3ec9 Draw first triangle 2023-05-07 00:07:20 +02:00
Jaby 3c128bf2d5 Replace unsafe code with raw trait 2023-05-01 23:01:35 +02:00
Jaby 4335e23d7f Fix image conversion and CLUT placement 2023-05-01 22:37:41 +02:00
Jaby 7168d6b2d3 Fix fconv for clut images 2023-05-01 11:02:07 +02:00
Jaby e2efa2283f Fix small bug 2023-04-30 16:40:01 +02:00
Jaby ebecae9dba Do not display help in red 2023-04-30 15:46:47 +02:00
Jaby c8d572ba56 Do not display the help in red for fconv 2023-04-30 15:33:32 +02:00
Jaby 7ea424fdc5 Add BootImage to second DisplayBuffer during boot 2023-04-30 14:18:11 +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 99e41e4e13 Add colored output to most tools; Make mkoverlay more tolerant for missing overlay files; Make psxcdgen_ex emit a warning when no license file is specified 2023-04-22 15:44:21 +02:00
Jaby 5d47718a8d Move the bit types to tool_helper and merge them 2023-04-20 21:01:27 +02:00
Jaby 50605520b4 Finish wslpath 2023-04-18 21:58:34 +02:00
Jaby 878297f138 Create wslpath project 2023-04-17 21:45:03 +02:00
Jaby e35cc68cd5 Support LZ4 compression in psxcdgen_ex 2023-04-17 21:34:24 +02:00
Jaby 6d45575a60 Fix disabled LZ4 bug 2023-04-17 21:05:22 +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 657301bf5e Improve error messages for not finding LBA sources 2023-04-13 21:22:49 +02:00
Jaby 013df1d378 Prepare to support enconding of LZ4 2023-04-13 21:06:24 +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 e9f8874bdf Fix CD pause issue 2023-04-01 15:23:32 +02:00
Jaby 86c801187b Load image w/o CircularBuffer 2023-04-01 14:57:03 +02:00
Jaby 634338c2d0 Fix LZ4 incorrect size bug 2023-04-01 14:56:08 +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 20c8c4d582 Support buffer full handling 2023-03-29 21:59:50 +02:00
Jaby e079e65f68 Separate make files for easier use 2023-03-29 21:46:32 +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 7b7db67ae2 Rename include folder to internal-include for easier destinguishing with the JabyEngine include folder 2023-03-26 14:19:48 +02:00
Jaby 688817d60f Revert restructure of project settings 2023-03-25 21:02:51 +01:00
Jaby e4d236e560 Try improving workspace structure 2023-03-22 21:28:38 +01:00