Commit Graph

521 Commits

Author SHA1 Message Date
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
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 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 e106547395 Refine new IO port concept 2023-03-14 22:53:32 +01:00
Jaby 7beab5e7bf New concept for IOPorts 2023-03-14 22:33:49 +01:00
Jaby fd8b0deafb Improve CircularBuffer again 2023-03-03 17:30:45 +01:00
Jaby 0edc82c5e2 Simulated load of a file 2023-03-03 14:33:29 +01:00
Jaby 03e932bfc9 Setup Cody Git server and successfully pause after 1 sector 2023-02-27 18:14:04 +01:00
Jaby 8858e17792 Refactored code 2023-02-20 13:07:58 +01:00
Jaby 29efd8e77f Support dynamic correction of LBA 2023-02-20 12:47:56 +01:00
Jaby 86d1e1c32c Support absolute LBAs now 2023-02-20 12:30:55 +01:00
Jaby 4c0d591c81 Read files with temp fix 2023-02-19 18:00:19 +01:00
Jaby 6febdae88e Set mode and improve on allocation callback 2023-02-18 10:56:46 +01:00
Jaby 672ad04c83 Get rough shape of CD file processing code 2023-02-18 09:35:15 +01:00
Jaby 856a5f1608 Fix aligned memory read of unanligend memory 2023-02-03 18:10:57 +01:00
Jaby 4d12536d69 Smol fix 2023-02-03 13:36:49 +01:00
Jaby 9d1b35bf8c Support writing LBA information into main file 2023-02-03 13:22:17 +01:00
Jaby 02e4c70dfc Add 'Main' file type to support lba for them 2023-01-27 08:10:05 +01:00
Jaby 8ef46b3ffc TMP CHANGES 2023-01-26 19:37:02 +01:00