Commit Graph

335 Commits

Author SHA1 Message Date
jaby 9197652d9b Create FontWriter Support Lib project 2023-11-23 21:27:04 -05:00
jaby fa8e121ffd Measure render loop 2023-11-04 19:43:41 -04:00
jaby 6d4916178c Disable auto crlf 2023-10-11 18:20:43 +02:00
jaby 9e235a310c Merge with new build technique 2023-10-09 22:38:28 +02:00
jaby 58db6351f3 Support linux build 2023-10-09 22:34:42 +02:00
jaby b279dd8bdb Update Makefiles and Template 2023-10-09 20:52:19 +02:00
jaby 8b0c47c1db Replace define private with __friends 2023-10-06 14:50:44 +02:00
jaby 4bab1e30fc Cherry pick files from the module branch 2023-10-06 14:23:15 +02:00
jaby 6994d8d05a Turn SysCalls into a C++ file 2023-10-06 10:27:03 +02:00
jaby c976141c51 Replace include guards with pragma once 2023-10-05 21:40:04 +02:00
jaby baa9e8c5de Remove last constructor and remove GLOBAL SUB with it 2023-10-03 13:16:46 +02:00
jaby a9da459823 Renamee IOPort 2 functions to original 2023-09-24 11:52:18 +02:00
jaby fb9e346e51 Fix XEBRA 2023-09-24 11:40:33 +02:00
jaby 624335f0d5 Support printing 8bit as color codes and introduce color code define 2023-09-24 11:40:16 +02:00
jaby 2d8d44ade1 Locate XEBRA freeze 2023-09-22 21:51:24 +02:00
jaby dec085ab70 Implement color based debugging 2023-09-22 21:36:43 +02:00
jaby 09aed0ffc4 Finish clean-up 2023-09-22 20:53:26 +02:00
jaby 32682aa2f0 Support CD IO and start removing old IOPort 2023-09-22 18:52:31 +02:00
jaby 2aaa41302f Port TimerIO 2023-09-22 17:34:14 +02:00
jaby e51d9ebb3a Convert SPU IO 2023-09-17 23:09:58 +02:00
jaby d7df0b038b Port GPU IO 2023-09-17 22:14:48 +02:00
jaby 87a7a349cc Support DMA with new IO 2023-09-17 12:30:43 +02:00
jaby 19c5485658 Integrate new IO Code into memory_io 2023-09-17 08:50:06 +02:00
jaby b0189469cd Prepare for new IOPort code 2023-09-13 22:23:29 +02:00
jaby 101e44b1ac Port to latest GCC and fix CD loading bug 2023-09-03 01:57:28 +02:00
jaby 98395df929 Fix bss init 2023-08-28 16:48:26 +02:00
jaby d2d58db6fc Merge branch 'ToolBox_FontWriter_BSS-Improvement' into ToolBox_FontWriter 2023-08-27 21:56:03 +02:00
jaby ad0144fd4c Clear bss section 2023-08-27 21:55:16 +02:00
jaby c40a8f44a5 Introduce new timer based on vsync 2023-08-27 21:29:43 +02:00
jaby 83cdade874 Share bss section with planschi section 2023-08-27 02:43:59 +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 3831c3a3eb Draw first triangle 2023-05-07 00:07:20 +02:00
jaby 513275fba8 Fix image conversion and CLUT placement 2023-05-01 22:37:41 +02:00
jaby 1b35ab2a3f Fix small bug 2023-04-30 16:40:01 +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 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 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 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 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 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 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 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 8a54e5f1ea Remove executing main 2022-12-04 04:55:04 +01:00
jaby 20328b3226 Implement Overlay generation 2022-11-30 02:36:17 +01:00
jaby c666dd6810 Call which will be a overlay later 2022-11-29 03:28:42 +01:00
jaby a0c9be0d2a Support PAL and NTSC splash image 2022-10-05 22:01:01 +02:00
jaby 32e5b55b0a Setup Display to standard resolution instead of high res 2022-10-04 21:54:40 +02:00
jaby 1e329bb691 Setup DisplayArea 2022-10-03 16:23:35 +02:00
jaby 69a84952ba Separate between Display and Screen 2022-10-03 15:40:46 +02:00
jaby 97226300d6 Configurate Screen 2022-10-03 15:38:54 +02:00
jaby 587f5ecb97 Emit PAL/NTSC library depending on the configuration 2022-10-03 14:54:59 +02:00
jaby 04af1daf6c Create Macros for PAL/NTSC 2022-10-02 17:47:24 +02:00
jaby 733921f4ce Start configurating GPU 2022-10-02 17:32:23 +02:00
jaby e126fdaceb Correct header file extension 2022-10-02 16:45:02 +02:00
jaby 194b1f0f9c Support CLUT (untested) 2022-10-02 14:18:35 +02:00
jaby 17f7ba545e Improve code 2022-10-02 14:12:02 +02:00
jaby d95c421b53 Clean Up 2022-10-02 13:17:38 +02:00
jaby 5a0e5d5df6 Upload Direct16 pic 2022-10-02 13:14:30 +02:00
jaby e5e622072a Improvements to parse Texture data 2022-10-02 11:49:55 +02:00
jaby e69974672b Include SplashImage and detect right type 2022-10-02 11:01:42 +02:00
jaby 1daeefc407 Generated hpp file instead of cpp 2022-10-02 11:01:22 +02:00
jaby 7cfb2dab33 Use continous memory for loading files 2022-10-02 10:18:27 +02:00
jaby a9790688f5 Verify basic usage of FileProcessor 2022-10-01 22:40:40 +02:00
jaby 8917932bc7 Build and integrate Splash Image 2022-09-29 20:51:18 +02:00
jaby 7baeb4d1e2 Use cpp_out 2022-09-28 21:21:45 +02:00
jaby 6d86f4e99f Create Splash.cpp 2022-09-28 20:53:32 +02:00
jaby 403cfc1948 Prepare splash target 2022-09-28 20:27:48 +02:00
jaby 3d38313b48 Add Splash image 2022-09-28 20:22:03 +02:00
jaby 1eacebb014 Remove Port namespace and clean up 2022-09-11 15:51:09 +02:00
jaby 30824748ea Use DMA for GPU 2022-09-11 15:44:45 +02:00
jaby e2af03a268 Create pattern 2022-09-11 13:40:20 +02:00
jaby 14d9caef43 Clean Up 2022-09-11 11:44:58 +02:00
jaby d30a975725 Making ComplexBitMap a POD part 1 2022-09-11 11:36:51 +02:00
jaby 9cb0b70308 Added named colors 2022-09-11 10:17:02 +02:00
jaby a8f0bddc89 Introduce internal and normal GPU functions 2022-09-11 10:10:51 +02:00
jaby 679899279d Introduce QuickFill 2022-09-08 21:36:12 +02:00
jaby b5533733c3 Make SPU wait for boot up sound to finish 2022-09-08 20:36:54 +02:00
jaby f5d1453555 Prepare GPU setup 2022-09-08 20:36:36 +02:00
jaby 5c7d464425 Implement GPUSTAT and update IOPort design 2022-09-07 21:45:28 +02:00
jaby 24244307a5 Merge branch 'main' into GPU-Setup 2022-09-07 19:49:51 +02:00
jaby b590d4c870 Add Port namespace for DMA 2022-09-07 19:49:37 +02:00
jaby 727aaf2b62 Small cleanup of boot related sources 2022-09-07 19:47:56 +02:00
jaby 36eef616a2 Create files and call hirachy for GPU 2022-09-07 19:17:59 +02:00
jaby c9d4af9376 Final clean up of IOPort 2022-09-07 19:08:11 +02:00
jaby 3448d3c115 Support 'with' 2022-09-05 22:35:38 +02:00
jaby 907a04bc9a Remove endless loop 2022-09-05 21:05:51 +02:00
jaby 1510e27b00 Improve IOPort code 2022-09-05 20:58:33 +02:00
jaby d6259b22f5 Replaced a magic value with a namedmagic value 2022-09-05 17:23:51 +02:00
jaby 0a720dc906 Setup SPU 2022-09-02 22:29:44 +02:00
jaby 16bf7ac465 Almost finished setup SPU 2022-09-02 18:05:21 +02:00
jaby cf663aee73 Clear voices 2022-09-02 13:04:24 +02:00
jaby 181ff65c9c Use new fancy way to set values at build time 2022-09-02 12:07:22 +02:00
jaby 7071acead1 Clear Control Register 2022-09-02 11:33:42 +02:00
jaby dac33a77c6 Clear MainVolume and improve port code 2022-09-02 11:02:56 +02:00
jaby 5c15b66873 Clear Voice Keys 2022-09-02 10:23:32 +02:00
jaby f953044f23 Using new IO Port 2022-08-31 23:02:40 +02:00
jaby 6719250fa7 Create new IO Port 2022-08-31 22:51:13 +02:00
jaby a9f5d783ee DTC 2022-08-31 22:16:16 +02:00
jaby 10dbcbeef7 SPU Controll Register 2022-08-31 22:00:38 +02:00
jaby 48ba6a4f8b Continue setup SPU 2022-08-31 21:17:14 +02:00
jaby b070dc655a Re-arranged files 2022-08-31 20:01:39 +02:00
jaby 7243b50fbc Support Volume Steps now for easier support of fractions 2022-08-31 17:17:17 +02:00
jaby 41c8c32db8 Prepare MainVolume 2022-08-31 17:05:22 +02:00
jaby ba095f2064 Prepare SPU and IO Ports related code 2022-08-31 15:18:30 +02:00
jaby bb37343ba7 Support Hello World 2022-08-31 10:55:25 +02:00
jaby fe8ed935e1 Linker Script for PSX 2022-08-28 19:35:30 +02:00
jaby c9e5496735 Hello World functional 2022-08-28 11:15:13 +02:00
jaby 3d1d19ea90 Prepare IntelliSense Settings 2022-08-28 09:20:32 +02:00
jaby 220117cf1a Copy library instead of building it directly 2022-08-23 20:05:53 +02:00
jaby f7f43f50c6 Fix pscdgen and psexe build 2022-08-21 20:36:34 +02:00
jaby 7d6b7d3db5 Build library 2022-08-21 19:30:49 +02:00
jaby fbe296b758 Setup build enviorment 2022-08-21 16:25:37 +02:00
jaby 92819b716b Prepare new JabyEngine project 2022-08-21 14:58:17 +02:00