Commit Graph

358 Commits

Author SHA1 Message Date
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 99ae40bdfe Share bss section with planschi section 2023-08-27 02:43:59 +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 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 e2efa2283f Fix small bug 2023-04-30 16:40:01 +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 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 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 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 9a68951827 Setup CD drive 2023-01-22 14:07:58 +01:00
Jaby ec61f082a1 Prepare setup of CD drive 2023-01-22 11:02:27 +01:00
Jaby b4bce4bfe3 Finished CD_IOs 2023-01-21 12:18:02 +01:00
Jaby 1550f9c08d On a better way 2023-01-17 22:04:35 +01:00
Jaby f3d82c1885 Use write and read for BitRangeValues 2023-01-15 20:21:48 +01:00
Jaby 019022a035 Add new IOPort design 2023-01-15 16:49:38 +01:00
Jaby 8d59d38524 New proposal 2023-01-13 19:34:01 +01:00
Jaby 25fc43064a Add boot namespace and adjust names 2023-01-12 22:02:11 +01:00
Jaby 954f660929 First proposial for CD support 2023-01-12 21:51:08 +01:00
Jaby 9c34578932 Create CD related files 2023-01-11 20:51:47 +01:00
Jaby fe0c16ea05 Add internal namespace to easily tell header apart 2023-01-11 20:45:17 +01:00
Jaby 4ec13192f3 Support HighResolutionTimer in a better fashion 2023-01-10 20:36:28 +01:00
Jaby 9950484f9a Support High Percision Counter 2023-01-09 22:27:10 +01:00
Jaby 068eb48557 Improve struct and namespace usage 2023-01-08 21:08:23 +01:00
Jaby 274b3dc243 Cleanup code 2023-01-08 16:39:26 +01:00
Jaby 69c29e4dcd Use GlobalTime 2023-01-08 16:20:30 +01:00
Jaby dd7c195b1a Fix IO Port code again 2023-01-08 13:56:26 +01:00
Jaby 758c4c305a Save progress 2023-01-06 22:15:03 +01:00
Jaby d444222d49 Sketch Timer and implement Interrupt support 2023-01-06 15:18:35 +01:00
Jaby 4870813d2d Prepare IO Ports for timer 2023-01-06 12:14:53 +01:00
Jaby c503ce663d Improve LZ4 decompression 2023-01-03 21:20:53 +01:00
Jaby fc91b572ec Implement LZ4 strip and make tools write errors to err instead of out 2023-01-03 16:34:39 +01:00
Jaby 0fe106fcaa 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 1ec9d9f1a7 Make LZ4 Decompressor return a state value 2022-12-29 13:25:48 +01:00
Jaby 8655fdc897 Setup LZ4 decompressor but have it copy data for now 2022-12-27 22:06:14 +01:00
Jaby 3815f2ea94 LZ4 compress splash images 2022-12-27 20:59:07 +01:00
Jaby c995fe0713 Improves return types with Progress type 2022-12-23 22:06:10 +01:00
Jaby 9857b367aa Create LZ4 decompressor files 2022-12-23 21:18:44 +01:00
Jaby 9d97cf746d Introduce the JabyEngine namespace to all files 2022-12-23 21:18:25 +01:00
Jaby 89ac06806c Prepare CircularBuffer 2022-12-16 21:54:01 +01:00
Jaby 44e4953e34 Introduce empty overlay boot file and improve task name 2022-12-16 21:23:24 +01:00
Jaby c8b92ecb02 Prepare makefile 2022-12-16 04:25:48 +01:00
Jaby 9fd9da783c Use main 2022-12-16 03:47:30 +01:00
Jaby 054592ab90 Prepare save spot for booting 2022-12-16 03:20:08 +01:00
Jaby 90e3569a4d Slowly come up with design for loading from CD 2022-12-12 04:18:35 +01:00
Jaby 4c4f1cafad Prepare CD code and unify header names 2022-12-12 03:43:18 +01:00
Jaby 19f13e2974 Remove executing main 2022-12-04 04:55:04 +01:00
Jaby 53882edbd6 Implement Overlay generation 2022-11-30 02:36:17 +01:00
Jaby d296667b44 Call which will be a overlay later 2022-11-29 03:28:42 +01:00
Jaby 3f65b12588 Support PAL and NTSC splash image 2022-10-05 22:01:01 +02:00
Jaby 4ad93cbd23 Setup Display to standard resolution instead of high res 2022-10-04 21:54:40 +02:00
Jaby a5823364cf Setup DisplayArea 2022-10-03 16:23:35 +02:00
Jaby 4faaf46b7b Separate between Display and Screen 2022-10-03 15:40:46 +02:00
Jaby c5f0bec3f7 Configurate Screen 2022-10-03 15:38:54 +02:00
Jaby 85b8cacb1b Emit PAL/NTSC library depending on the configuration 2022-10-03 14:54:59 +02:00
Jaby a7cb6ce0f6 Create Macros for PAL/NTSC 2022-10-02 17:47:24 +02:00
Jaby fe6cad2c27 Start configurating GPU 2022-10-02 17:32:23 +02:00
Jaby 8273207a31 Correct header file extension 2022-10-02 16:45:02 +02:00
Jaby da60502c98 Support CLUT (untested) 2022-10-02 14:18:35 +02:00
Jaby 96ed4b54a0 Improve code 2022-10-02 14:12:02 +02:00
Jaby 64b0baee4d Clean Up 2022-10-02 13:17:38 +02:00
Jaby c255c9259f Upload Direct16 pic 2022-10-02 13:14:30 +02:00
Jaby 32e136701a Improvements to parse Texture data 2022-10-02 11:49:55 +02:00
Jaby 6004faf3ea Include SplashImage and detect right type 2022-10-02 11:01:42 +02:00
Jaby a9a89e19f3 Generated hpp file instead of cpp 2022-10-02 11:01:22 +02:00
Jaby 7c63dfa6b9 Use continous memory for loading files 2022-10-02 10:18:27 +02:00
Jaby 1ade863fbb Verify basic usage of FileProcessor 2022-10-01 22:40:40 +02:00
Jaby fd693abaee Build and integrate Splash Image 2022-09-29 20:51:18 +02:00
Jaby f03ff2da2b Use cpp_out 2022-09-28 21:21:45 +02:00
Jaby b032f90e5b Create Splash.cpp 2022-09-28 20:53:32 +02:00
Jaby 705c73e061 Prepare splash target 2022-09-28 20:27:48 +02:00
Jaby a6f13db22c Add Splash image 2022-09-28 20:22:03 +02:00
Jaby 7befd492cc Remove Port namespace and clean up 2022-09-11 15:51:09 +02:00
Jaby b28c381c0d Use DMA for GPU 2022-09-11 15:44:45 +02:00
Jaby ae5a4a80dd Create pattern 2022-09-11 13:40:20 +02:00
Jaby d25565d030 Clean Up 2022-09-11 11:44:58 +02:00
Jaby fdf8ba0e9a Making ComplexBitMap a POD part 1 2022-09-11 11:36:51 +02:00
Jaby 9da81fc5d0 Added named colors 2022-09-11 10:17:02 +02:00
Jaby 6f9339ce7f Introduce internal and normal GPU functions 2022-09-11 10:10:51 +02:00
Jaby 6809923701 Introduce QuickFill 2022-09-08 21:36:12 +02:00
Jaby e83b5350a7 Make SPU wait for boot up sound to finish 2022-09-08 20:36:54 +02:00
Jaby 564e8a6e8b Prepare GPU setup 2022-09-08 20:36:36 +02:00
Jaby ab9d47dde8 Implement GPUSTAT and update IOPort design 2022-09-07 21:45:28 +02:00
Jaby 64c289715f Merge branch 'main' into GPU-Setup 2022-09-07 19:49:51 +02:00
Jaby 27716c020c Add Port namespace for DMA 2022-09-07 19:49:37 +02:00
Jaby f30716767f Small cleanup of boot related sources 2022-09-07 19:47:56 +02:00
Jaby 2a55463efd Create files and call hirachy for GPU 2022-09-07 19:17:59 +02:00
Jaby ebbfe28777 Final clean up of IOPort 2022-09-07 19:08:11 +02:00
Jaby 3ee83c049f Support 'with' 2022-09-05 22:35:38 +02:00
Jaby cf38a28107 Remove endless loop 2022-09-05 21:05:51 +02:00
Jaby 23733abc2b Improve IOPort code 2022-09-05 20:58:33 +02:00
Jaby c21b545166 Replaced a magic value with a namedmagic value 2022-09-05 17:23:51 +02:00
Jaby 52fdcdb197 Setup SPU 2022-09-02 22:29:44 +02:00
Jaby 3a0a53c458 Almost finished setup SPU 2022-09-02 18:05:21 +02:00
Jaby e3a53bfd42 Clear voices 2022-09-02 13:04:24 +02:00
Jaby 595b6e0ec5 Use new fancy way to set values at build time 2022-09-02 12:07:22 +02:00
Jaby c7608b7934 Clear Control Register 2022-09-02 11:33:42 +02:00
Jaby e3e22db78a Clear MainVolume and improve port code 2022-09-02 11:02:56 +02:00
Jaby 25b33490ba Clear Voice Keys 2022-09-02 10:23:32 +02:00
Jaby 1b14057f9c Using new IO Port 2022-08-31 23:02:40 +02:00
Jaby 5a2b0b9a50 Create new IO Port 2022-08-31 22:51:13 +02:00
Jaby 9622dd0b82 DTC 2022-08-31 22:16:16 +02:00
Jaby 3d54094376 SPU Controll Register 2022-08-31 22:00:38 +02:00
Jaby 21489c1bb1 Continue setup SPU 2022-08-31 21:17:14 +02:00
Jaby 20421d9340 Re-arranged files 2022-08-31 20:01:39 +02:00
Jaby 16eb1b4fd8 Support Volume Steps now for easier support of fractions 2022-08-31 17:17:17 +02:00
Jaby e15c63f949 Prepare MainVolume 2022-08-31 17:05:22 +02:00
Jaby 25d5e44fc8 Prepare SPU and IO Ports related code 2022-08-31 15:18:30 +02:00
Jaby c1d0e5d23a Support Hello World 2022-08-31 10:55:25 +02:00
Jaby 5fa9a2c426 Linker Script for PSX 2022-08-28 19:35:30 +02:00
Jaby aeaa43201e Hello World functional 2022-08-28 11:15:13 +02:00
Jaby 6ccfcf7c78 Prepare IntelliSense Settings 2022-08-28 09:20:32 +02:00
Jaby 7096c7efb2 Copy library instead of building it directly 2022-08-23 20:05:53 +02:00
Jaby 90638d5203 Fix pscdgen and psexe build 2022-08-21 20:36:34 +02:00
Jaby 1892d094cd Build library 2022-08-21 19:30:49 +02:00
Jaby c565fcdb69 Setup build enviorment 2022-08-21 16:25:37 +02:00
Jaby ebcf25ad0b Prepare new JabyEngine project 2022-08-21 14:58:17 +02:00