Commit Graph

344 Commits

Author SHA1 Message Date
Jaby 7d3d080129 Remove the ComplexBitMap 2023-03-22 20:46:08 +01:00
Jaby 1829f1f5e3 Improve readability of code slightly 2023-03-21 21:51:56 +01:00
Jaby e35bd6000a Ported CDIOs 2023-03-21 20:39:51 +01:00
Jaby 76a2c51655 Port DMA code 2023-03-20 21:04:01 +01:00
Jaby 9431c931e1 Port GPU IOs 2023-03-20 19:06:28 +01:00
Jaby 22db8a26a6 Converted SPU IO 2023-03-18 17:13:45 +01:00
Jaby 01e72e300d Convert Timer IO 2023-03-18 16:04:05 +01:00
Jaby 706daa04ac Refine new IO port concept 2023-03-14 22:53:32 +01:00
Jaby fcece53854 New concept for IOPorts 2023-03-14 22:33:49 +01:00
Jaby cfbf47f188 Improve CircularBuffer again 2023-03-03 17:30:45 +01:00
Jaby c92b0d8a2e Simulated load of a file 2023-03-03 14:33:29 +01:00
Jaby c48d65e476 Setup Cody Git server and successfully pause after 1 sector 2023-02-27 18:14:04 +01:00
Jaby 85c84cca7b Refactored code 2023-02-20 13:07:58 +01:00
Jaby 795be5bb82 Support dynamic correction of LBA 2023-02-20 12:47:56 +01:00
Jaby 4327358d52 Support absolute LBAs now 2023-02-20 12:30:55 +01:00
Jaby 80aaf39fec Read files with temp fix 2023-02-19 18:00:19 +01:00
Jaby 7b5c277271 Set mode and improve on allocation callback 2023-02-18 10:56:46 +01:00
Jaby 4ad01da83a Get rough shape of CD file processing code 2023-02-18 09:35:15 +01:00
Jaby a2c50512b3 Fix aligned memory read of unanligend memory 2023-02-03 18:10:57 +01:00
Jaby 4510feb811 Smol fix 2023-02-03 13:36:49 +01:00
Jaby 53b01f19b1 Support writing LBA information into main file 2023-02-03 13:22:17 +01:00
Jaby 3a63261842 Add 'Main' file type to support lba for them 2023-01-27 08:10:05 +01:00
Jaby 6c85f8f9f9 TMP CHANGES 2023-01-26 19:37:02 +01:00
Jaby e59139f565 Fix and improve mkoverlay 2023-01-24 22:12:37 +01:00
Jaby dfc8c94213 Allow overlapping Overlays 2023-01-22 16:37:36 +01:00
Jaby 304165e407 Encode word size into OverlayLBA structure 2023-01-22 14:37:09 +01:00
Jaby ef2280bdf9 Setup CD drive 2023-01-22 14:07:58 +01:00
Jaby f4635a3b5a Prepare setup of CD drive 2023-01-22 11:02:27 +01:00
Jaby 6e40dacdec Finished CD_IOs 2023-01-21 12:18:02 +01:00
Jaby 70ca7814e8 On a better way 2023-01-17 22:04:35 +01:00
Jaby 0a3a61f40e Use write and read for BitRangeValues 2023-01-15 20:21:48 +01:00
Jaby b0f3e5f357 Add new IOPort design 2023-01-15 16:49:38 +01:00
Jaby c601847f93 New proposal 2023-01-13 19:34:01 +01:00
Jaby 57d4fa4e67 Add boot namespace and adjust names 2023-01-12 22:02:11 +01:00
Jaby 16350d3828 First proposial for CD support 2023-01-12 21:51:08 +01:00
Jaby 9e8cdba8a6 Create CD related files 2023-01-11 20:51:47 +01:00
Jaby d429605523 Add internal namespace to easily tell header apart 2023-01-11 20:45:17 +01:00
Jaby a4fb2d008b Support HighResolutionTimer in a better fashion 2023-01-10 20:36:28 +01:00
Jaby 7b9e3e6aa9 Support High Percision Counter 2023-01-09 22:27:10 +01:00
Jaby b0f2a40ad6 Improve struct and namespace usage 2023-01-08 21:08:23 +01:00
Jaby a0fd915fc7 Cleanup code 2023-01-08 16:39:26 +01:00
Jaby c60b97a75e Use GlobalTime 2023-01-08 16:20:30 +01:00
Jaby a1c8b3aea6 Fix IO Port code again 2023-01-08 13:56:26 +01:00
Jaby 2e4106436d Save progress 2023-01-06 22:15:03 +01:00
Jaby ae2b85f70b Sketch Timer and implement Interrupt support 2023-01-06 15:18:35 +01:00
Jaby e5175d0f9c Prepare IO Ports for timer 2023-01-06 12:14:53 +01:00
Jaby 8c6c9e23d6 Improve LZ4 decompression 2023-01-03 21:20:53 +01:00
Jaby f20e729ff3 Implement LZ4 strip and make tools write errors to err instead of out 2023-01-03 16:34:39 +01:00
Jaby a1743c0a7a 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 e2d2332368 Make LZ4 Decompressor return a state value 2022-12-29 13:25:48 +01:00
Jaby e8d4c2fdeb Setup LZ4 decompressor but have it copy data for now 2022-12-27 22:06:14 +01:00
Jaby 243ad7ca00 LZ4 compress splash images 2022-12-27 20:59:07 +01:00
Jaby 09195f9093 Make jaby_engine_fconv output lz4 files on request 2022-12-27 20:58:43 +01:00
Jaby 3b014b4c75 Improves return types with Progress type 2022-12-23 22:06:10 +01:00
Jaby b13fb0e5de Create LZ4 decompressor files 2022-12-23 21:18:44 +01:00
Jaby 014baa2cbf Introduce the JabyEngine namespace to all files 2022-12-23 21:18:25 +01:00
Jaby 291641e599 Test Circular Buffer 2022-12-23 20:33:36 +01:00
Jaby c6c0f10143 Update mkoverlay with new overlay strategy 2022-12-20 20:34:03 +01:00
Jaby bce13e12ff Prepare CircularBuffer 2022-12-16 21:54:01 +01:00
Jaby 7dda9e91bd Introduce empty overlay boot file and improve task name 2022-12-16 21:23:24 +01:00
Jaby cd017c65ab Add update feature to cargo for easier rebuild 2022-12-16 21:13:34 +01:00
Jaby c7c3ee7463 Prepare makefile 2022-12-16 04:25:48 +01:00
Jaby 14cc4cf008 Use main 2022-12-16 03:47:30 +01:00
Jaby fb49164b31 Prepare save spot for booting 2022-12-16 03:20:08 +01:00
Jaby ef91f498d7 Slowly come up with design for loading from CD 2022-12-12 04:18:35 +01:00
Jaby edb37703e6 Prepare CD code and unify header names 2022-12-12 03:43:18 +01:00
Jaby 646f3d02c4 Implement writing LBA header 2022-12-09 04:08:29 +01:00
Jaby 5c412bc517 Setup infrastructure to update filetype 2022-12-08 04:08:03 +01:00
Jaby 4b46ae0c19 Calculate file sizes easily 2022-12-08 03:10:02 +01:00
Jaby a3c4c12c21 Find files 2022-12-08 02:02:07 +01:00
Jaby ebe6b8da6b Read in LBA file path from header file 2022-12-07 03:53:48 +01:00
Jaby 85810c33e9 Prepare reading in LBA Source for Overlay 2022-12-07 02:50:46 +01:00
Jaby 2641005c45 Support LZ4 compression 2022-12-06 04:56:40 +01:00
Jaby 9fd9cb00ec Use WSL for linux targets for more reliablitity 2022-12-06 04:56:26 +01:00
Jaby 5829c436f4 LZ7 compress 2022-12-06 03:12:31 +01:00
Jaby 37cb8ba114 Read Overlay header 2022-12-06 02:31:05 +01:00
Jaby b5dc4a80a2 Treat overlay as regular file 2022-12-06 01:18:01 +01:00
Jaby eb7340edf7 Introduce Overlay Header and LBAs 2022-12-04 04:55:53 +01:00
Jaby 531c87bb34 Remove executing main 2022-12-04 04:55:04 +01:00
Jaby 61563c66c8 Finish mkoverlay 2022-12-04 04:03:03 +01:00
Jaby efc299fff1 Enable CommandLine arguments 2022-12-04 03:13:48 +01:00
Jaby 4c06001b48 Create makefile output 2022-12-03 04:19:12 +01:00
Jaby 3643380189 Small improvements 2022-12-03 03:08:10 +01:00
Jaby da2fb45442 Parse JSON into linker script 2022-12-03 02:55:12 +01:00
Jaby 837f431547 Write LD file 2022-12-01 04:02:38 +01:00
Jaby e4ac622a34 Write default linker script if no overlay were specified 2022-12-01 02:56:18 +01:00
Jaby 3389b586bc Get overlay structure ready 2022-12-01 02:34:24 +01:00
Jaby 613df250b6 Create mkoverlay project 2022-12-01 02:17:13 +01:00
Jaby a618d30320 Implement Overlay generation 2022-11-30 02:36:17 +01:00
Jaby e0bada0886 Call which will be a overlay later 2022-11-29 03:28:42 +01:00
Jaby ab4d2ca345 Merge common attributes 2022-11-27 23:54:31 +01:00
Jaby eb0bb52141 Design LBA file in XML 2022-11-27 23:38:41 +01:00
Jaby a4e34641d4 Support padded size 2022-11-27 23:13:47 +01:00
Jaby 3932249923 Clean up error handling 2022-11-27 22:32:14 +01:00
Jaby ac6d7fea67 Remove ErrorString 2022-11-27 22:21:06 +01:00
Jaby 8013c1fb5c Removed new type error 2022-11-27 22:19:43 +01:00
Jaby d912ea949e Cause error on not a number padded_size value 2022-11-27 22:15:30 +01:00
Jaby 2994569970 Rename extended size to padded size and implement validation 2022-11-24 03:36:56 +01:00
Jaby a0a41652d4 Print hidden state better 2022-11-24 03:05:44 +01:00
Jaby c30bda6a3a Test and support hidden files and directories 2022-11-24 02:03:11 +01:00