Commit Graph

286 Commits

Author SHA1 Message Date
Jaby 17d6ca5329 Load a BIOS font 2023-12-13 19:46:34 -05:00
Jaby 7a9d27862f Create FontWriter Support Lib project 2023-11-23 21:27:04 -05:00
Björn Gaier f5e9ba0279 Measure render loop 2023-11-04 19:43:41 -04:00
Jaby Blubb e603a11840 Disable auto crlf 2023-10-11 18:20:43 +02:00
Jaby e284ba197c Merge with new build technique 2023-10-09 22:38:28 +02:00
Jaby d230d1579a Support linux build 2023-10-09 22:34:42 +02:00
Jaby 5cc8007fc5 Update Makefiles and Template 2023-10-09 20:52:19 +02:00
Björn Gaier c78f103ca7 Replace define private with __friends 2023-10-06 14:50:44 +02:00
Björn Gaier 46fc185be5 Cherry pick files from the module branch 2023-10-06 14:23:15 +02:00
Björn Gaier 074e2d073f Turn SysCalls into a C++ file 2023-10-06 10:27:03 +02:00
Jaby db1bbec06e Replace include guards with pragma once 2023-10-05 21:40:04 +02:00
Jaby Blubb 993adc3f26 Remove last constructor and remove GLOBAL SUB with it 2023-10-03 13:16:46 +02:00
Jaby Blubb 2ff0e6a4bf Renamee IOPort 2 functions to original 2023-09-24 11:52:18 +02:00
Jaby Blubb d3733c6aae Fix XEBRA 2023-09-24 11:40:33 +02:00
Jaby Blubb 5487d9aca8 Support printing 8bit as color codes and introduce color code define 2023-09-24 11:40:16 +02:00
Jaby Blubb 053dbd3f90 Locate XEBRA freeze 2023-09-22 21:51:24 +02:00
Jaby Blubb c19729ce23 Implement color based debugging 2023-09-22 21:36:43 +02:00
Jaby Blubb 283878d5bc Finish clean-up 2023-09-22 20:53:26 +02:00
Jaby Blubb fb841de9e2 Support CD IO and start removing old IOPort 2023-09-22 18:52:31 +02:00
Jaby Blubb 9e0f9acdd1 Port TimerIO 2023-09-22 17:34:14 +02:00
Jaby Blubb 66d3eb3337 Convert SPU IO 2023-09-17 23:09:58 +02:00
Jaby Blubb e2c8283076 Port GPU IO 2023-09-17 22:14:48 +02:00
Jaby Blubb a1ed1f28e8 Support DMA with new IO 2023-09-17 12:30:43 +02:00
Jaby Blubb 1792038283 Integrate new IO Code into memory_io 2023-09-17 08:50:06 +02:00
Jaby Blubb 5f87cfee09 Prepare for new IOPort code 2023-09-13 22:23:29 +02:00
Jaby Blubb 30759b85c7 Port to latest GCC and fix CD loading bug 2023-09-03 01:57:28 +02:00
Jaby Blubb d45e61b462 Fix bss init 2023-08-28 16:48:26 +02:00
Jaby Blubb 79fdc3a26c Merge branch 'ToolBox_FontWriter_BSS-Improvement' into ToolBox_FontWriter 2023-08-27 21:56:03 +02:00
Jaby Blubb 5b0b303ddd Clear bss section 2023-08-27 21:55:16 +02:00
Jaby Blubb e707fae349 Introduce new timer based on vsync 2023-08-27 21:29:43 +02:00
Jaby Blubb 5c40ef119e Share bss section with planschi section 2023-08-27 02:43:59 +02:00
Jaby c705c3627c Support basic linked elements 2023-06-12 21:47:56 +02:00
Jaby 299ba7a9d6 Prepare for textured sprites; better integration of GPU types 2023-05-31 22:29:19 +02:00
Jaby 09b16dae16 Draw first triangle 2023-05-07 00:07:20 +02:00
Jaby de4ba5e1f3 Fix image conversion and CLUT placement 2023-05-01 22:37:41 +02:00
Jaby Blubb 04ec3f89f1 Fix small bug 2023-04-30 16:40:01 +02:00
Jaby Blubb 60049cc9e5 Add BootImage to second DisplayBuffer during boot 2023-04-30 14:18:11 +02:00
Jaby df9506b585 Create a frame rate 2023-04-26 22:06:47 +02:00
Jaby bd6891b371 Cleanup GPU code more 2023-04-26 20:42:44 +02:00
Jaby c1ff1187f9 Add busy loop code and make HighResTimer work on demand rather automatically or ifdefed 2023-04-26 19:09:07 +02:00
Jaby f893c99b65 Fix disabled LZ4 bug 2023-04-17 21:05:22 +02:00
Jaby 9c7a94ea6a Improve starting of the game and reduce persistent memory usage 2023-04-17 20:21:32 +02:00
Jaby Blubb 74d58a5a50 Remove BootFiles. Setup code needs improving 2023-04-16 21:39:47 +02:00
Jaby Blubb d1e710a283 Reduce CDFileProcessor size and add configuratable buffer size 2023-04-16 21:11:10 +02:00
Jaby a0aeef9e3e Use LZ4 file info 2023-04-13 22:10:34 +02:00
Jaby 1329536586 Detect LZ4 files correctly now 2023-04-13 21:51:45 +02:00
Jaby a2c7af2e12 Prepare new LBA representation 2023-04-12 21:59:36 +02:00
Jaby Blubb 12e1b54ce9 Remove Overlayhader and support loading overlays 2023-04-10 17:01:28 +02:00
Jaby c37a011b9a Fix CD cancelling commands; Cleanup CD code a bit 2023-04-03 22:00:39 +02:00
Jaby 6e99221ab6 Fix CD pause issue 2023-04-01 15:23:32 +02:00
Jaby a633b74db1 Load image w/o CircularBuffer 2023-04-01 14:57:03 +02:00
Jaby 5770d4f77e Fix LZ4 incorrect size bug 2023-04-01 14:56:08 +02:00
Jaby 8b94760130 Load TIM files (broken currently) 2023-04-01 11:57:48 +02:00
Jaby 658d092315 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 864ecf4412 Support buffer full handling 2023-03-29 21:59:50 +02:00
Jaby 2b8f3d69d6 Separate make files for easier use 2023-03-29 21:46:32 +02:00
Jaby bdceb88fd0 Support CopyTo now 2023-03-27 22:20:42 +02:00
Jaby 0add2f5794 Successfully read in file 2023-03-27 20:43:18 +02:00
Jaby 2582d6ea21 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 932824a68f Rename include folder to internal-include for easier destinguishing with the JabyEngine include folder 2023-03-26 14:19:48 +02:00
Jaby Blubb 9b27ad6200 Revert restructure of project settings 2023-03-25 21:02:51 +01:00
Jaby 0a5c1fec37 Try improving workspace structure 2023-03-22 21:28:38 +01:00
Jaby dfab120bfb Remove the ComplexBitMap 2023-03-22 20:46:08 +01:00
Jaby 9a964a702e Improve readability of code slightly 2023-03-21 21:51:56 +01:00
Jaby f4cc1c5ea5 Ported CDIOs 2023-03-21 20:39:51 +01:00
Jaby fc47ca7c6a Port DMA code 2023-03-20 21:04:01 +01:00
Jaby bbfa7a24c8 Port GPU IOs 2023-03-20 19:06:28 +01:00
Jaby 1143f73f9b Converted SPU IO 2023-03-18 17:13:45 +01:00
Jaby d185641a2a Convert Timer IO 2023-03-18 16:04:05 +01:00
Jaby a361f8e4a0 Refine new IO port concept 2023-03-14 22:53:32 +01:00
Jaby 37192b537b New concept for IOPorts 2023-03-14 22:33:49 +01:00
Björn Gaier b7f3d40a7c Improve CircularBuffer again 2023-03-03 17:30:45 +01:00
Björn Gaier d593dd97d1 Simulated load of a file 2023-03-03 14:33:29 +01:00
Jaby ae7edb5692 Setup Cody Git server and successfully pause after 1 sector 2023-02-27 18:14:04 +01:00
Jaby 6aecc8d9c2 Support absolute LBAs now 2023-02-20 12:30:55 +01:00
Jaby 362c43509d Read files with temp fix 2023-02-19 18:00:19 +01:00
Jaby d2fe06eef4 Set mode and improve on allocation callback 2023-02-18 10:56:46 +01:00
Jaby 26cd4bd4c4 Get rough shape of CD file processing code 2023-02-18 09:35:15 +01:00
Björn Gaier b7eb02ce8e Fix aligned memory read of unanligend memory 2023-02-03 18:10:57 +01:00
Jaby d452a022cf Setup CD drive 2023-01-22 14:07:58 +01:00
Jaby aae1d3e066 Prepare setup of CD drive 2023-01-22 11:02:27 +01:00
Jaby dd1a5ba6da Finished CD_IOs 2023-01-21 12:18:02 +01:00
Jaby 98743f7948 On a better way 2023-01-17 22:04:35 +01:00
Jaby bde5656f38 Use write and read for BitRangeValues 2023-01-15 20:21:48 +01:00
Jaby fc915a887a Add new IOPort design 2023-01-15 16:49:38 +01:00
Jaby f30ecbe46c New proposal 2023-01-13 19:34:01 +01:00
Jaby 4e445b2b91 Add boot namespace and adjust names 2023-01-12 22:02:11 +01:00
Jaby cf62ef783c First proposial for CD support 2023-01-12 21:51:08 +01:00
Jaby 600e3666fd Create CD related files 2023-01-11 20:51:47 +01:00
Jaby bde6651138 Add internal namespace to easily tell header apart 2023-01-11 20:45:17 +01:00
Jaby 3bd3a57801 Support HighResolutionTimer in a better fashion 2023-01-10 20:36:28 +01:00
Jaby 2b34d105c8 Support High Percision Counter 2023-01-09 22:27:10 +01:00
Jaby 4a09d57e5c Improve struct and namespace usage 2023-01-08 21:08:23 +01:00
Jaby 0544ec17dd Cleanup code 2023-01-08 16:39:26 +01:00
Jaby 149105a3fa Use GlobalTime 2023-01-08 16:20:30 +01:00
Jaby 3d57dfdc92 Fix IO Port code again 2023-01-08 13:56:26 +01:00
Jaby 7824a2d916 Save progress 2023-01-06 22:15:03 +01:00
Björn Gaier ec6b93942c Sketch Timer and implement Interrupt support 2023-01-06 15:18:35 +01:00
Björn Gaier 6608d92934 Prepare IO Ports for timer 2023-01-06 12:14:53 +01:00
Jaby 9c77967c7f Improve LZ4 decompression 2023-01-03 21:20:53 +01:00
Jaby da2bfa77d8 Implement LZ4 strip and make tools write errors to err instead of out 2023-01-03 16:34:39 +01:00
Jaby cdb3abd43f 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 87d7bf8efa Make LZ4 Decompressor return a state value 2022-12-29 13:25:48 +01:00
Jaby c7b9e4e301 Setup LZ4 decompressor but have it copy data for now 2022-12-27 22:06:14 +01:00
Jaby 948fc7d2a7 LZ4 compress splash images 2022-12-27 20:59:07 +01:00
Jaby 8d48aecbab Improves return types with Progress type 2022-12-23 22:06:10 +01:00
Jaby c63f949c1f Create LZ4 decompressor files 2022-12-23 21:18:44 +01:00
Jaby 82a3b1f74e Introduce the JabyEngine namespace to all files 2022-12-23 21:18:25 +01:00
Björn Gaier 53f8d43342 Prepare CircularBuffer 2022-12-16 21:54:01 +01:00
Björn Gaier d193856e2a Introduce empty overlay boot file and improve task name 2022-12-16 21:23:24 +01:00
Jaby 5a4dbc170e Prepare makefile 2022-12-16 04:25:48 +01:00
Jaby 04739004f5 Use main 2022-12-16 03:47:30 +01:00
Jaby 8a6293dc87 Prepare save spot for booting 2022-12-16 03:20:08 +01:00
Jaby 01148b8c52 Slowly come up with design for loading from CD 2022-12-12 04:18:35 +01:00
Jaby 20ffbc5fa9 Prepare CD code and unify header names 2022-12-12 03:43:18 +01:00
Jaby 1bfef10a1a Remove executing main 2022-12-04 04:55:04 +01:00
Jaby 2f823aa2ec Implement Overlay generation 2022-11-30 02:36:17 +01:00
Jaby 351f90da41 Call which will be a overlay later 2022-11-29 03:28:42 +01:00
Jaby f31e0407b4 Support PAL and NTSC splash image 2022-10-05 22:01:01 +02:00
Jaby ec4bdac5ec Setup Display to standard resolution instead of high res 2022-10-04 21:54:40 +02:00
Jaby 051ae637f1 Setup DisplayArea 2022-10-03 16:23:35 +02:00
Jaby 3ee0ba72b2 Separate between Display and Screen 2022-10-03 15:40:46 +02:00
Jaby 83c00992aa Configurate Screen 2022-10-03 15:38:54 +02:00
Jaby 9e69aec9bd Emit PAL/NTSC library depending on the configuration 2022-10-03 14:54:59 +02:00
Jaby 8a117a0670 Create Macros for PAL/NTSC 2022-10-02 17:47:24 +02:00
Jaby 63df4e8ad8 Start configurating GPU 2022-10-02 17:32:23 +02:00
Jaby e5943cb3d2 Correct header file extension 2022-10-02 16:45:02 +02:00
Jaby bf439893aa Support CLUT (untested) 2022-10-02 14:18:35 +02:00
Jaby fc50f62fd3 Improve code 2022-10-02 14:12:02 +02:00
Jaby 1a40b4726b Clean Up 2022-10-02 13:17:38 +02:00
Jaby 7c682bdd30 Upload Direct16 pic 2022-10-02 13:14:30 +02:00
Jaby 6ea257f650 Improvements to parse Texture data 2022-10-02 11:49:55 +02:00
Jaby 6407f89667 Include SplashImage and detect right type 2022-10-02 11:01:42 +02:00
Jaby 400236ac2a Generated hpp file instead of cpp 2022-10-02 11:01:22 +02:00
Jaby 04358ed368 Use continous memory for loading files 2022-10-02 10:18:27 +02:00
Jaby 949c502d5d Verify basic usage of FileProcessor 2022-10-01 22:40:40 +02:00
Jaby c872723409 Build and integrate Splash Image 2022-09-29 20:51:18 +02:00
Jaby eee76203d8 Use cpp_out 2022-09-28 21:21:45 +02:00
Jaby 15c9ff3408 Create Splash.cpp 2022-09-28 20:53:32 +02:00
Jaby b06c8089f2 Prepare splash target 2022-09-28 20:27:48 +02:00
Jaby 899d95cff9 Add Splash image 2022-09-28 20:22:03 +02:00
Jaby e97c805f5a Remove Port namespace and clean up 2022-09-11 15:51:09 +02:00
Jaby 303ffbccc9 Use DMA for GPU 2022-09-11 15:44:45 +02:00
Jaby 3adf7c54a3 Create pattern 2022-09-11 13:40:20 +02:00
Jaby 54de6c3f70 Clean Up 2022-09-11 11:44:58 +02:00
Jaby 28122a8e1c Making ComplexBitMap a POD part 1 2022-09-11 11:36:51 +02:00
Jaby db3196b290 Added named colors 2022-09-11 10:17:02 +02:00
Jaby 3317867f1d Introduce internal and normal GPU functions 2022-09-11 10:10:51 +02:00
Jaby b523c2c73f Introduce QuickFill 2022-09-08 21:36:12 +02:00
Jaby 00cdabb5de Make SPU wait for boot up sound to finish 2022-09-08 20:36:54 +02:00