Commit Graph

105 Commits

Author SHA1 Message Date
coah
0792087bf1 Salvage CDBAttr, CDBSystem, nand_drv, iplGraphics and RFL_NANDAccess matches (#221)
* feat: match CDBAttr unit

Make CDBAttrGetDescOffset static and fold the IV generation into
CDBAttrInitIV with a function-local seed, then link the unit.

Salvaged from agent/hard0928/clibs.

* feat: match CDBSystem unit

Implement the database and record pool functions, give the CDB work
buffer pointer a real name (shared with CDBDatabase), size s_mutex as a
plain OSMutex, and link the unit.

Salvaged from agent/hard0928/clibs.

* feat: match VF develop nand_drv unit

Make the NAND write/seek/create/delete wrappers inline so they fold into
_CreatePrfFile, test the override callbacks directly, fix the order of
the retry and sleep globals, size l_nandFunc without the trailing
padding, and link the unit. _MountPrfFile stays the existing asm.

Salvaged from agent/hard0928/clibs and
agent/continue0923/libs_revoex_src_vf_develop_nand_drv.

* feat: match iplGraphics unit

Compute the ortho projection bounds in the original order, size
Graphics::mArg without the trailing .bss padding, and link the unit.

Salvaged from agent/continue0923/src_utility_iplgraphics (without its
struct padding member).

* feat: complete RFL_NANDAccess data

Inline the NAND command block helpers so they no longer leave extab
entries, bringing extabindex to 100%.

Salvaged from agent/continue0924/rfl-nandaccess-data.

* feat: add eZiText zkokeyp source

Decompile the Korean keypad candidate functions. The unit stays
NonMatching: Zi8_81483118 matches exactly and the rest differ only by
register allocation or larger control-flow differences.

Salvaged from agent/hard0928/clibs.
2026-09-28 00:00:39 -05:00
coah
a8c6bcf550 Match Zi8GetZHuwdPtr 2026-09-22 05:19:33 +00:00
coah
0cb0e2974c Match eZiText work data layout 2026-09-20 08:55:56 +00:00
coah
f62a09fae0 Match Zi8GetTableData 2026-09-20 06:13:40 +00:00
coah
1e870eb9f8 Match TMCCJPEGDecGetInfoEXIF 2026-09-20 01:13:03 +00:00
coah
067e300421 Match TMCJPEGDEC ThumbnailCheck 2026-09-20 00:39:49 +00:00
coah
2e4c1c054f Match TMCJPEGDEC_set_HuffmanTable 2026-09-19 23:27:21 +00:00
coah
77316c0ff1 Match TMCJPEGDEC_make_huffdec 2026-09-19 22:50:03 +00:00
coah
65806fe8fd Match TMCJPEGDEC_err_restart 2026-09-19 22:45:24 +00:00
coah
b24b120231 Match TMCJPEGDEC_restart_interval 2026-09-19 22:44:14 +00:00
coah
745e49ecfe Match TMCJPEGDEC_imagestart 2026-09-19 22:43:10 +00:00
coah
149eba0fb5 Match TMCJPEGDEC_parse_sos 2026-09-19 22:42:02 +00:00
coah
8b254ee99c Match TMCJPEGDEC_parse_para 2026-09-19 22:40:47 +00:00
coah
9fb0ca8123 Match TMCJPEGDEC_init_buff_thumbnail 2026-09-19 22:39:25 +00:00
coah
776188b174 Match TMCJPEGDEC_parse_sof 2026-09-19 22:37:49 +00:00
coah
c7a20454d5 Match TMCJPEGDEC_parse_dht 2026-09-19 22:35:35 +00:00
coah
810e494f85 Match TMCJPEGDEC_decode_iquant_rc 2026-09-19 22:33:35 +00:00
coah
82288be583 Match TMCJPEGDEC_scan_varinit 2026-09-19 22:31:15 +00:00
coah
1991751095 Match TMCJPEGDEC_parse_dqt 2026-09-19 22:26:17 +00:00
koopthekoopa
18213a8f5d Equivalent match iplChannelTitle.cpp 2026-07-22 19:41:35 +01:00
koopthekoopa
25f93e26dc More progress on iplUtility.cpp 2026-07-10 11:20:55 +01:00
Tim Schneeberger
60dbdd8d42 Declutter Texture_MCUtoRGBA8.c and extract inlined function 2026-07-09 22:26:35 +02:00
Tim Schneeberger
051ac1986c Fix naming & formatting 2026-07-09 22:03:56 +02:00
Tim Schneeberger
0cc9743ef8 Final cleanup 2026-07-09 19:31:26 +02:00
Tim Schneeberger
49d91e7555 Minor TMCJPEGDEC_set_converterRGBA8 improvement 2026-07-09 19:31:26 +02:00
Tim Schneeberger
6553f4365b Improve idct_block_var.c 2026-07-09 19:31:26 +02:00
Tim Schneeberger
1e940f4d7e Equivalent match TMCJPEGDEC_decode_iquant_rc 2026-07-09 19:31:26 +02:00
Tim Schneeberger
de82aad38c 100% TMCJPEGDEC_decompmcu and cleanup jdec_main.c and mkhdec.h 2026-07-09 19:31:26 +02:00
Tim Schneeberger
3c7ddd5674 Improve TMCJPEGDEC_IdctBlock4x4_Col 2026-07-09 19:31:26 +02:00
Tim Schneeberger
cd70fcf90e Improve TMCJPEGDEC_IdctBlock4x4_Col 2026-07-09 19:31:26 +02:00
Tim Schneeberger
a234315bdf WIP idct4x4 improvement 2026-07-09 19:31:26 +02:00
Tim Schneeberger
510a9eb55b Use inline functions & match TMCJPEGDEC_IdctBlock2x2 100% 2026-07-09 19:31:26 +02:00
Tim Schneeberger
7992e555c5 Remove gotos from rewind_ptr 2026-07-09 19:31:26 +02:00
Tim Schneeberger
8f8a17625e 100% buffer_system.c 2026-07-09 19:31:26 +02:00
Tim Schneeberger
24b8653cf3 Several matches, fix function order, add function pointers 2026-07-09 19:31:26 +02:00
Tim Schneeberger
ae080df6b4 various cleanup 2026-07-09 19:31:26 +02:00
Tim Schneeberger
09aa05c70e improve and cleanup TMCJPEGDEC_load_buff 2026-07-09 19:31:26 +02:00
Tim Schneeberger
da33014a4f Clean up buffer system 2026-07-09 19:31:26 +02:00
Tim Schneeberger
4544aea9d6 Match var_init equiv 2026-07-09 19:31:26 +02:00
Tim Schneeberger
3df5ae4e35 fix some function signatures 2026-07-09 19:31:26 +02:00
Tim Schneeberger
898dd5f310 Add error code 2026-07-09 19:31:26 +02:00
Tim Schneeberger
953ef01e20 improve TMCJPEGDEC_decode_iquant_rc 2026-07-09 19:31:26 +02:00
Tim Schneeberger
37340a46c0 improve TMCJPEGDEC_decode_iquant_rc 2026-07-09 19:31:26 +02:00
Tim Schneeberger
6269a8f90b improve getcode, texture 2026-07-09 19:31:26 +02:00
Tim Schneeberger
3f1bcbaff7 type casting cleanup 2026-07-09 19:31:26 +02:00
Tim Schneeberger
d9a7a21df6 100% jdec! 2026-07-09 19:31:26 +02:00
Tim Schneeberger
07a6b3bd9c Cleanup 2026-07-09 19:31:26 +02:00
Tim Schneeberger
70f6068cee 100% TMCJPEGDEC_set_HuffmanTable 2026-07-09 19:31:26 +02:00
Tim Schneeberger
e69ff15dce 100% decapi.c 2026-07-09 19:31:25 +02:00
Tim Schneeberger
d0a3278668 100% improve TMCCJPEGDecSetResolution 2026-07-09 19:31:25 +02:00