Commit Graph

477 Commits

Author SHA1 Message Date
jaby b5427e3cec Cleanup selection code 2023-08-15 15:21:10 +02:00
jaby 94e015229f Support sections now 2023-08-12 19:37:15 +02:00
jaby f2328601ed Introduce new gauge type 2023-08-12 19:13:38 +02:00
jaby 3a73641951 Fix rollover of list selection 2023-08-12 12:43:00 +02:00
jaby 331c55f572 Introduce second memory gauge 2023-08-12 12:03:57 +02:00
jaby 520f0d028a Cleanup code 2023-08-12 11:38:51 +02:00
jaby 282db4e91e Support a list with Schwimmflügel 2023-08-06 10:46:12 +02:00
jaby b98cbf9514 Update to latest Rust 2023-08-02 22:31:40 +02:00
jaby f26b4ad7b0 Migrate to ratatui 2023-07-26 22:16:09 +02:00
jaby c8e86dcea4 Improve Gauge usage 2023-07-26 22:08:10 +02:00
jaby 76b22fed4b Forgot gitignore 2023-07-26 21:50:20 +02:00
jaby 5fcb0c8330 Display memory usage 2023-07-26 21:49:47 +02:00
jaby 23000d1d17 Integrated new code into GUI 2023-07-26 20:37:35 +02:00
jaby 64f4a628bb Merge with new objdump code 2023-07-26 20:22:11 +02:00
jaby 990fcb8548 Print memory map 2023-07-24 22:22:17 +02:00
jaby cc70e97021 Sort map 2023-07-24 20:41:38 +02:00
jaby dc69edbab3 Collect Symbols 2023-07-20 20:31:25 +02:00
jaby 6e088716b8 Scan and print sections - prepare for SymbolTable 2023-07-17 18:41:15 +02:00
jaby 5fba2a82b1 Parse with weird printf bug 2023-07-11 23:05:20 +02:00
jaby 4b9a2e46fd Support scan stdout of objdump 2023-07-11 22:00:57 +02:00
jaby 9b1f2e11f6 Create objdump file 2023-07-11 21:37:37 +02:00
jaby f3aebbcf81 Present memory usage 2023-07-11 20:26:33 +02:00
jaby 9f20537352 Collect highest address 2023-07-11 19:00:59 +02:00
jaby 5db0b74720 Only read key press 2023-07-09 19:24:43 +02:00
jaby 5db7dfc622 Some cleanup 2023-07-09 16:49:53 +02:00
jaby 6e85fdc29c Prepare memory usage 2023-07-09 16:46:49 +02:00
jaby 131405962b Implemented QUIT window 2023-07-09 16:16:28 +02:00
jaby b15281f702 Display titel 2023-07-09 15:38:55 +02:00
jaby ceb275cf22 Setup of update and render loop for CUI 2023-07-09 14:40:44 +02:00
jaby 50c211d93f Create psxreadmap and move readmap project into it 2023-07-09 13:31:02 +02:00
jaby 4298bf3208 Sort addresses 2023-07-06 19:56:28 +02:00
jaby 3108990266 Parse map and write to file 2023-07-05 21:36:12 +02:00
jaby 26ea6c3838 Read in map file 2023-07-04 21:58:15 +02:00
jaby eb34dd2e45 Read sub sections 2023-07-03 22:17:44 +02:00
jaby 3133b03759 Parse sub section 2023-06-29 22:18:31 +02:00
jaby a77c8aae8d Improve reading sections in 2023-06-29 21:32:49 +02:00
jaby ef233d5d07 Print top-level sections 2023-06-29 20:18:02 +02:00
jaby 5937bbd763 Detect sections; Unify printing help across the tools 2023-06-25 16:38:29 +02:00
jaby 660faeb1a2 Introduce types for readmap 2023-06-25 15:58:23 +02:00
jaby 1a54249a29 Create readmap tool 2023-06-25 14:37:16 +02:00
jaby 04fa09e7e7 Support basic linked elements 2023-06-12 21:47:56 +02:00
jaby d99b7445be Prepare for textured sprites; better integration of GPU types 2023-05-31 22:29:19 +02:00
jaby 6f735eeefb Support transparency 2023-05-26 22:20:43 +02:00
jaby 3831c3a3eb Draw first triangle 2023-05-07 00:07:20 +02:00
jaby a50e0ec544 Replace unsafe code with raw trait 2023-05-01 23:01:35 +02:00
jaby 513275fba8 Fix image conversion and CLUT placement 2023-05-01 22:37:41 +02:00
jaby 5dc83be87f Fix fconv for clut images 2023-05-01 11:02:07 +02:00
jaby 1b35ab2a3f Fix small bug 2023-04-30 16:40:01 +02:00
jaby 1f39f08dc9 Do not display help in red 2023-04-30 15:46:47 +02:00
jaby 27c8ab71a0 Do not display the help in red for fconv 2023-04-30 15:33:32 +02:00
jaby 73a0245b0d Add BootImage to second DisplayBuffer during boot 2023-04-30 14:18:11 +02:00
jaby a2c735f158 Create a frame rate 2023-04-26 22:06:47 +02:00
jaby f566383467 Cleanup GPU code more 2023-04-26 20:42:44 +02:00
jaby 9dc25e469c Add busy loop code and make HighResTimer work on demand rather automatically or ifdefed 2023-04-26 19:09:07 +02:00
jaby 5a137ce644 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 f6de41dc87 Move the bit types to tool_helper and merge them 2023-04-20 21:01:27 +02:00
jaby 919d208a78 Finish wslpath 2023-04-18 21:58:34 +02:00
jaby dff169ae10 Create wslpath project 2023-04-17 21:45:03 +02:00
jaby 8a43b836cb Support LZ4 compression in psxcdgen_ex 2023-04-17 21:34:24 +02:00
jaby 6481e06808 Fix disabled LZ4 bug 2023-04-17 21:05:22 +02:00
jaby e833b758cc Improve starting of the game and reduce persistent memory usage 2023-04-17 20:21:32 +02:00
jaby e6042808ee Remove BootFiles. Setup code needs improving 2023-04-16 21:39:47 +02:00
jaby e4657337f9 Reduce CDFileProcessor size and add configuratable buffer size 2023-04-16 21:11:10 +02:00
jaby e21d7c5d50 Use LZ4 file info 2023-04-13 22:10:34 +02:00
jaby 30561183fd Detect LZ4 files correctly now 2023-04-13 21:51:45 +02:00
jaby 37156a1432 Improve error messages for not finding LBA sources 2023-04-13 21:22:49 +02:00
jaby 9d7e77393f Prepare to support enconding of LZ4 2023-04-13 21:06:24 +02:00
jaby 320fa8934c Prepare new LBA representation 2023-04-12 21:59:36 +02:00
jaby 1a0d175779 Remove Overlayhader and support loading overlays 2023-04-10 17:01:28 +02:00
jaby 7a373a38ff Fix CD cancelling commands; Cleanup CD code a bit 2023-04-03 22:00:39 +02:00
jaby 1edae637c7 Fix CD pause issue 2023-04-01 15:23:32 +02:00
jaby 6333581c4c Load image w/o CircularBuffer 2023-04-01 14:57:03 +02:00
jaby 0f78e62ab0 Fix LZ4 incorrect size bug 2023-04-01 14:56:08 +02:00
jaby 173c31dede Load TIM files (broken currently) 2023-04-01 11:57:48 +02:00
jaby e9cc5f299a 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 7550795af4 Support buffer full handling 2023-03-29 21:59:50 +02:00
jaby d789bdd845 Separate make files for easier use 2023-03-29 21:46:32 +02:00
jaby 2882ddfc34 Support CopyTo now 2023-03-27 22:20:42 +02:00
jaby 206c95f295 Successfully read in file 2023-03-27 20:43:18 +02:00
jaby 50eaedde6a 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 1aec7b541e Rename include folder to internal-include for easier destinguishing with the JabyEngine include folder 2023-03-26 14:19:48 +02:00
jaby e7b9e23132 Revert restructure of project settings 2023-03-25 21:02:51 +01:00
jaby a352430530 Try improving workspace structure 2023-03-22 21:28:38 +01:00
jaby 94c078dc9f Remove the ComplexBitMap 2023-03-22 20:46:08 +01:00
jaby 550d657478 Improve readability of code slightly 2023-03-21 21:51:56 +01:00
jaby 8e883ad1d1 Ported CDIOs 2023-03-21 20:39:51 +01:00
jaby 44685184f8 Port DMA code 2023-03-20 21:04:01 +01:00
jaby 9243a3a17f Port GPU IOs 2023-03-20 19:06:28 +01:00
jaby bc5164ce04 Converted SPU IO 2023-03-18 17:13:45 +01:00
jaby 33b5d4d3b7 Convert Timer IO 2023-03-18 16:04:05 +01:00
jaby 218b8e0e3b Refine new IO port concept 2023-03-14 22:53:32 +01:00
jaby 46aedaa067 New concept for IOPorts 2023-03-14 22:33:49 +01:00
jaby d8e7772ee5 Improve CircularBuffer again 2023-03-03 17:30:45 +01:00
jaby 45371bc2f0 Simulated load of a file 2023-03-03 14:33:29 +01:00
jaby 0b3eba80d9 Setup Cody Git server and successfully pause after 1 sector 2023-02-27 18:14:04 +01:00
jaby c2e45a833b Refactored code 2023-02-20 13:07:58 +01:00
jaby e08c6a85e6 Support dynamic correction of LBA 2023-02-20 12:47:56 +01:00
jaby 484765b18a Support absolute LBAs now 2023-02-20 12:30:55 +01:00
jaby db5366f35b Read files with temp fix 2023-02-19 18:00:19 +01:00
jaby fa8c3ae822 Set mode and improve on allocation callback 2023-02-18 10:56:46 +01:00
jaby a8cef82e58 Get rough shape of CD file processing code 2023-02-18 09:35:15 +01:00
jaby 8df55d1594 Fix aligned memory read of unanligend memory 2023-02-03 18:10:57 +01:00
jaby 6dc4d620ee Smol fix 2023-02-03 13:36:49 +01:00
jaby 09f1ece6bb Support writing LBA information into main file 2023-02-03 13:22:17 +01:00
jaby 2297996d58 Add 'Main' file type to support lba for them 2023-01-27 08:10:05 +01:00
jaby 4cd5c51915 TMP CHANGES 2023-01-26 19:37:02 +01:00
jaby b24a9085e1 Fix and improve mkoverlay 2023-01-24 22:12:37 +01:00
jaby f16e991b9f Allow overlapping Overlays 2023-01-22 16:37:36 +01:00
jaby 22efc808ca Encode word size into OverlayLBA structure 2023-01-22 14:37:09 +01:00
jaby c07556895d Setup CD drive 2023-01-22 14:07:58 +01:00
jaby 2250be6df9 Prepare setup of CD drive 2023-01-22 11:02:27 +01:00
jaby 5a23249032 Finished CD_IOs 2023-01-21 12:18:02 +01:00
jaby 817e51b95d On a better way 2023-01-17 22:04:35 +01:00
jaby db8a51fff9 Use write and read for BitRangeValues 2023-01-15 20:21:48 +01:00
jaby 3da34d0686 Add new IOPort design 2023-01-15 16:49:38 +01:00
jaby 509c25dfec New proposal 2023-01-13 19:34:01 +01:00
jaby e3499dcd1e Add boot namespace and adjust names 2023-01-12 22:02:11 +01:00
jaby 974793c17b First proposial for CD support 2023-01-12 21:51:08 +01:00
jaby c1bee684b9 Create CD related files 2023-01-11 20:51:47 +01:00
jaby 5626e8ecb1 Add internal namespace to easily tell header apart 2023-01-11 20:45:17 +01:00
jaby 101fdd9299 Support HighResolutionTimer in a better fashion 2023-01-10 20:36:28 +01:00
jaby 0d1e9c3df8 Support High Percision Counter 2023-01-09 22:27:10 +01:00
jaby a791f0bffd Improve struct and namespace usage 2023-01-08 21:08:23 +01:00
jaby 297526e4d0 Cleanup code 2023-01-08 16:39:26 +01:00
jaby 7b1cefac0a Use GlobalTime 2023-01-08 16:20:30 +01:00
jaby 2d174dc79a Fix IO Port code again 2023-01-08 13:56:26 +01:00
jaby 5e7aa29e9c Save progress 2023-01-06 22:15:03 +01:00
jaby b9b3656180 Sketch Timer and implement Interrupt support 2023-01-06 15:18:35 +01:00
jaby d0f52aa494 Prepare IO Ports for timer 2023-01-06 12:14:53 +01:00
jaby 0d6b05e148 Improve LZ4 decompression 2023-01-03 21:20:53 +01:00
jaby b55d033f17 Implement LZ4 strip and make tools write errors to err instead of out 2023-01-03 16:34:39 +01:00
jaby 3d56532a3b 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 3554394e11 Make LZ4 Decompressor return a state value 2022-12-29 13:25:48 +01:00
jaby fa993cc63e Setup LZ4 decompressor but have it copy data for now 2022-12-27 22:06:14 +01:00
jaby 3645d4fc25 LZ4 compress splash images 2022-12-27 20:59:07 +01:00
jaby 2103e3fdb2 Make jaby_engine_fconv output lz4 files on request 2022-12-27 20:58:43 +01:00
jaby 4b644aa813 Improves return types with Progress type 2022-12-23 22:06:10 +01:00
jaby 64b36f4f85 Create LZ4 decompressor files 2022-12-23 21:18:44 +01:00
jaby def6c6d3b9 Introduce the JabyEngine namespace to all files 2022-12-23 21:18:25 +01:00
jaby 791fe85ab8 Test Circular Buffer 2022-12-23 20:33:36 +01:00
jaby 4d6c701a22 Update mkoverlay with new overlay strategy 2022-12-20 20:34:03 +01:00
jaby a47b94c3a9 Prepare CircularBuffer 2022-12-16 21:54:01 +01:00
jaby dd5262c016 Introduce empty overlay boot file and improve task name 2022-12-16 21:23:24 +01:00
jaby ec96ace44f Add update feature to cargo for easier rebuild 2022-12-16 21:13:34 +01:00
jaby d470e716fd Prepare makefile 2022-12-16 04:25:48 +01:00
jaby bc15dae5d1 Use main 2022-12-16 03:47:30 +01:00
jaby c7e651f2e7 Prepare save spot for booting 2022-12-16 03:20:08 +01:00
jaby 723864fcaa Slowly come up with design for loading from CD 2022-12-12 04:18:35 +01:00
jaby 0e4e53f3a4 Prepare CD code and unify header names 2022-12-12 03:43:18 +01:00
jaby 396f6da113 Implement writing LBA header 2022-12-09 04:08:29 +01:00