Commit Graph

474 Commits

Author SHA1 Message Date
Jaby 927d67fc5b Remove warnings 2022-11-11 15:29:08 +01:00
Jaby f0133e688a Add clap 2022-11-09 23:11:30 +01:00
Jaby 8f4b5a1e39 Pass lba calculation function as function 2022-11-08 22:19:43 +01:00
Jaby afd6365278 Write via XML 2022-11-08 22:13:06 +01:00
Jaby e5a63d5195 Convert configuration to CDDesc 2022-11-08 21:28:05 +01:00
Björn Gaier aa4da7bbca Parse XML 2022-11-04 15:10:26 +01:00
Björn Gaier 75c32c98eb Improved error handling 2022-11-04 11:32:55 +01:00
Björn Gaier 5a8c7fb56c Read simple XML in 2022-11-04 09:28:32 +01:00
Björn Gaier 6d8e99841e Update Clap 2022-11-04 08:53:05 +01:00
Jaby ae4616fde2 Write cue file 2022-10-28 22:02:04 +02:00
Jaby 8ed59961b3 Successfully write BIN 2022-10-27 22:22:54 +02:00
Jaby efaef79046 Write DirectoryRecord 2022-10-26 21:43:54 +02:00
Jaby 9f9b491481 Complete new property implementation 2022-10-26 20:58:18 +02:00
Jaby 74e7760d0b Prepare shared properties 2022-10-25 22:47:25 +02:00
Jaby 4055689ab5 Improve creation of DirectoryRecords 2022-10-25 21:37:14 +02:00
Jaby 6611b025a4 Parse and write PathTable 2022-10-25 19:56:50 +02:00
Jaby 3cf2193039 Untrack planschi.bin 2022-10-23 16:32:10 +02:00
Jaby da329e4395 Create raw path table 2022-10-23 16:31:07 +02:00
Jaby e2750b105e Improve member name 2022-10-23 16:30:51 +02:00
Jaby f9220ed14f Support \x00 and \x01 as valid D characters 2022-10-23 15:46:41 +02:00
Jaby 393a000645 Use function to update DirectoryRecord 2022-10-23 15:38:26 +02:00
Jaby e9fe50e009 Write PVD completed 2022-10-23 14:57:11 +02:00
Jaby fa848df2e1 Write PathTable infos, publisher name and more 2022-10-23 14:39:51 +02:00
Jaby fb595bddef Write more PVD values 2022-10-23 13:58:34 +02:00
Jaby cb1d27887a Prepare filling in PVD 2022-10-20 22:12:46 +02:00
Jaby 20fefdb490 Introduce PSX encoder to handle lba calculation better and improve many things 2022-10-20 21:28:34 +02:00
Jaby 182358f849 Write sectors 2022-10-20 20:11:00 +02:00
Jaby 23b2696398 Improve lba naming 2022-10-19 20:48:39 +02:00
Jaby b8b4ec0c76 LBAs are track relative 2022-10-19 20:42:58 +02:00
Jaby 4b2ed4b3de Encode first sector 2022-10-19 19:44:52 +02:00
Jaby 1a3da8f412 Have encoder and writer in place 2022-10-18 22:23:32 +02:00
Jaby fe5c70507a Prepare bin/cue writer 2022-10-18 21:00:20 +02:00
Jaby 7aa2f4851e Create dummy files for writing 2022-10-17 20:44:12 +02:00
Jaby e3d2780d28 Changed code to have elements calculate itself 2022-10-17 20:10:37 +02:00
Jaby a6031e004a Create File map 2022-10-16 21:35:56 +02:00
Jaby 15c3d7eba9 Small Layout improvement 2022-10-16 16:14:52 +02:00
Jaby 2c11e52f14 Simplified Layout code 2022-10-16 16:13:24 +02:00
Jaby 9e037d98f1 Improve code 2022-10-16 16:08:12 +02:00
Jaby 74ef109c73 Inital setup 2022-10-16 15:58:38 +02:00
Jaby 0a0672c115 Calculate LBAs 2022-10-16 14:47:21 +02:00
Jaby 27fc25ab32 Calculate LBAs for PathTables 2022-10-12 21:11:51 +02:00
Jaby 6208ce4277 Start calculating LBAs 2022-10-12 20:26:26 +02:00
Jaby efa4a76f6f Add PathTables to Layout 2022-10-12 19:35:00 +02:00
Jaby 8651b7ac9b Calculate size for DirectoryRecords 2022-10-11 21:12:28 +02:00
Jaby 441096e52f Revert back to properties 2022-10-11 20:47:40 +02:00
Jaby 8192cdfecb Sorting Elements 2022-10-11 20:44:29 +02:00
Jaby 11a33fdc54 Introduce Content 2022-10-11 19:45:06 +02:00
Jaby c27e62709f Keep size of names 2022-10-11 19:41:23 +02:00
Jaby 58ab918eca Improve properties 2022-10-11 19:27:34 +02:00
Jaby de41985b16 Prepare for calculating LBAs 2022-10-10 22:06:11 +02:00
Jaby c222e4b8cc Replace Data with File 2022-10-10 20:59:37 +02:00
Jaby 23b0b20b59 Add SystemArea and PVD 2022-10-10 20:50:20 +02:00
Jaby ff51f7db68 Use memory layout feature 2022-10-09 18:17:09 +02:00
Jaby 0358f8673d Add memory layout feature 2022-10-09 18:16:58 +02:00
Jaby b7ea0bc03b Stashing 2022-10-09 16:26:21 +02:00
Björn Gaier d1962048e3 Create recursive iterator 2022-10-07 17:00:30 +02:00
Björn Gaier 05cf190a8a Return iterator instead of dir 2022-10-07 16:20:08 +02:00
Björn Gaier dbeb3746bf Dump CDDesc 2022-10-07 16:12:12 +02:00
Björn Gaier c0e67feca7 Construct DirectoryIterator 2022-10-07 15:04:07 +02:00
Björn Gaier 595e6901bb Add data to cd desc 2022-10-07 11:30:30 +02:00
Jaby 5017558290 Create CD desc 2022-10-06 21:23:40 +02:00
Jaby 013ab8c82f Created constructor functions and paniced 2022-10-06 21:09:45 +02:00
Jaby ac3031e9aa Rename cdgen to psxcdgen_ex to limit scope 2022-10-06 20:34:59 +02:00
Jaby d3a9fcdc12 Introduce new types 2022-10-06 20:30:56 +02:00
Jaby c2c6492379 Create cdgen project 2022-10-06 20:08:56 +02: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 0ccb7476d1 Use buffered read and write for better performance 2022-09-28 21:21:15 +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 5669990588 Support CLUT alignment 2022-09-28 19:59:52 +02:00
Jaby 4bb7fa0e30 Fill Palette if needed 2022-09-28 19:53:50 +02:00
Jaby 60f7e34d15 Convert IndexedImages 2022-09-27 20:52:44 +02:00
Jaby b1a71b4e38 Start reading in indexed PNG file 2022-09-25 19:32:58 +02:00
Jaby 44df48965d Allow writing clut data 2022-09-25 18:46:15 +02:00
Jaby 517429bed0 Improved running the tests again 2022-09-25 18:21:28 +02:00
Jaby 99d07e05fe Deconstruct PNG imag 2022-09-25 16:31:11 +02:00
Jaby f12476a9d3 Run clut code 2022-09-23 22:35:55 +02:00
Jaby 1398cd62ef Write clut16 2022-09-23 22:01:52 +02:00
Jaby e0ad7221dd Implement convert functions for RGB(A) 2022-09-22 21:18:01 +02:00
Jaby 487a48690e Introduce PSXImageConverter 2022-09-22 20:09:19 +02:00
Jaby e358ad7bd6 Build linux under windows with MUSL 2022-09-22 19:26:13 +02:00
Jaby 1a1749531c Add Header basics 2022-09-21 21:52:21 +02:00
Jaby 82000fe4e9 Basic Color support 2022-09-21 20:43:08 +02:00
Jaby 33b69823ec Support bit operations 2022-09-20 22:10:17 +02:00
Jaby 29f720243b Improve Error 2022-09-19 21:06:44 +02:00
Jaby 77e4f855ae Prepare reading in files 2022-09-19 20:20:43 +02:00
Jaby 3d5f544de1 Calling un-implemented convert function 2022-09-17 17:31:51 +02:00
Jaby 5a0b2266b4 Fix input file for cpp_out 2022-09-17 17:15:23 +02:00
Jaby 9b7f1adb4c Prepare for simple TIM conversion 2022-09-17 17:12:53 +02:00
Jaby f65b19cdff Offer configuration for windows and linux 2022-09-17 16:08:10 +02:00
Jaby 21e7d29697 Do not delete bin folder when running any clean command 2022-09-17 14:59:15 +02:00
Jaby bdfd2e1a66 Creation of jaby_engine_fconv 2022-09-17 14:54:44 +02:00
Jaby 5b2cbc3d5f Finish cpp_out 2022-09-17 14:44:13 +02:00
Jaby f166a169ca Change name of variable 2022-09-17 14:31:20 +02:00
Jaby 53cd8eeed1 Create source files 2022-09-17 13:54:19 +02:00
Jaby d8b529a55a Use functors instead of parameters 2022-09-14 22:00:26 +02:00
Jaby 390f306bef Read settings in a bit 2022-09-14 21:52:54 +02:00
Jaby 0e38801bd5 Produce first output 2022-09-13 21:35:52 +02:00
Jaby f87fbe96e9 Prepare convert function 2022-09-13 21:19:42 +02:00
Jaby 44a0142d0a Create tool_helper library 2022-09-13 21:06:41 +02:00
Jaby 6b1aba1082 Prepare tool_helper 2022-09-13 20:49:02 +02:00
Jaby 2542c0dab5 Add test makefile for easy execution 2022-09-12 22:18:56 +02:00
Jaby a134fef281 Use WSL to build Rust Linux 2022-09-11 21:38:30 +02:00
Jaby f7c0e5e4b9 Build tool with musl for now 2022-09-11 20:50:15 +02:00
Jaby 55cf02045a Support cpp_out 2022-09-11 19:53:20 +02:00
Jaby 94ebe832be Support run cmd now 2022-09-11 19:53:04 +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
Jaby 9f916d79ee Prepare GPU setup 2022-09-08 20:36:36 +02:00
Jaby d9da876bab Implement GPUSTAT and update IOPort design 2022-09-07 21:45:28 +02:00
Jaby a2532b03fc Merge branch 'main' into GPU-Setup 2022-09-07 19:49:51 +02:00
Jaby a605c1e2df Add Port namespace for DMA 2022-09-07 19:49:37 +02:00
Jaby 4deaa5fb04 Small cleanup of boot related sources 2022-09-07 19:47:56 +02:00
Jaby 83e21bfdbf Create files and call hirachy for GPU 2022-09-07 19:17:59 +02:00
Jaby 2893acae19 Final clean up of IOPort 2022-09-07 19:08:11 +02:00
Jaby beb3d6cb86 Support 'with' 2022-09-05 22:35:38 +02:00
Jaby 34876bf23e Remove endless loop 2022-09-05 21:05:51 +02:00
Jaby 2ecd72a447 Improve IOPort code 2022-09-05 20:58:33 +02:00
Jaby acfa8dae92 Replaced a magic value with a namedmagic value 2022-09-05 17:23:51 +02:00
Jaby 21e53d178f Setup SPU 2022-09-02 22:29:44 +02:00
Jaby 8ab74622a3 Almost finished setup SPU 2022-09-02 18:05:21 +02:00
Jaby 73c70d98ba Clear voices 2022-09-02 13:04:24 +02:00
Jaby 024e94f7b2 Use new fancy way to set values at build time 2022-09-02 12:07:22 +02:00
Jaby 2306cddeeb Clear Control Register 2022-09-02 11:33:42 +02:00
Jaby 24d8f830e2 Clear MainVolume and improve port code 2022-09-02 11:02:56 +02:00
Jaby 094bd46eae Clear Voice Keys 2022-09-02 10:23:32 +02:00
Jaby bcb6191431 Using new IO Port 2022-08-31 23:02:40 +02:00
Jaby f056972b15 Create new IO Port 2022-08-31 22:51:13 +02:00
Jaby 89ab744486 DTC 2022-08-31 22:16:16 +02:00
Jaby a84b2c4f14 SPU Controll Register 2022-08-31 22:00:38 +02:00
Jaby de7d0945a1 Continue setup SPU 2022-08-31 21:17:14 +02:00
Jaby c58520c26b Re-arranged files 2022-08-31 20:01:39 +02:00
Jaby c63bdb8e3a Support Volume Steps now for easier support of fractions 2022-08-31 17:17:17 +02:00
Jaby fde4ae9c71 Prepare MainVolume 2022-08-31 17:05:22 +02:00
Jaby febdfb0162 Prepare SPU and IO Ports related code 2022-08-31 15:18:30 +02:00
Jaby 367e4d5b3f Support Hello World 2022-08-31 10:55:25 +02:00
Jaby d69e7e9162 Linker Script for PSX 2022-08-28 19:35:30 +02:00
Jaby 3e096e9ea1 Hello World functional 2022-08-28 11:15:13 +02:00
Jaby 365b31c0c1 Prepare IntelliSense Settings 2022-08-28 09:20:32 +02:00
Jaby b872a8db15 Copy library instead of building it directly 2022-08-23 20:05:53 +02:00
Jaby 9245b8538d Fix pscdgen and psexe build 2022-08-21 20:36:34 +02:00
Jaby aff3e4acd1 Build library 2022-08-21 19:30:49 +02:00
Jaby 0c52689ebe Setup build enviorment 2022-08-21 16:25:37 +02:00
Jaby 90eac84874 Prepare new JabyEngine project 2022-08-21 14:58:17 +02:00
Jaby 23a3350ad8 Created batch files for building tools 2022-08-21 14:46:07 +02:00
Jaby 6693e44d93 Moved psxcdgen files to tools folder 2022-08-21 13:20:53 +02:00
Jaby 0e43e056cc Ported psxcdgen over 2022-08-21 13:06:39 +02:00