Привет всем. Начал вот втыкать в тему PSX, немного модернизировал
ghidra_psx_ldr, и добрался до дебажных символов игры по Джеки Чану (в файле
GAME_REL.SYM). Написал
разборщик формата (на основе утилиты
DUMPSYM.EXE из PsyQ SDK), но понять
инфу в самом файле не могу. Например, что такое
SLD line. Пример:
2132df: $8004b6c8 88 Set SLD to line 169 of file C:\CHAN\GAME\SRC\PSX\PSXSUBS.CPP
213309: $8004b6c8 80 Inc SLD linenum (to 170)
21330e: $8004b6cc 86 Set SLD linenum to 169
213317: $8004b6f4 80 Inc SLD linenum (to 170)
21331c: $8004b6fc 82 Inc SLD linenum by byte 5 (to 175)
213322: $8004b710 80 Inc SLD linenum (to 176)
213327: $8004b720 82 Inc SLD linenum by byte 2 (to 178)
21332d: $8004b728 86 Set SLD linenum to 177
213336: $8004b72c 80 Inc SLD linenum (to 178)
21333b: $8004b734 82 Inc SLD linenum by byte 3 (to 181)
213341: $8004b740 82 Inc SLD linenum by byte 2 (to 183)
213347: $8004b74c 80 Inc SLD linenum (to 184)
21334c: $8004b758 80 Inc SLD linenum (to 185)
213351: $8004b764 80 Inc SLD linenum (to 186)
213356: $8004b768 82 Inc SLD linenum by byte 4 (to 190)
21335c: $8004b76c 86 Set SLD linenum to 186
213365: $8004b770 80 Inc SLD linenum (to 187)
21336a: $8004b774 82 Inc SLD linenum by byte 3 (to 190)
213370: $8004b778 86 Set SLD linenum to 187
213379: $8004b77c 80 Inc SLD linenum (to 188)
21337e: $8004b780 82 Inc SLD linenum by byte 2 (to 190)
213384: $8004b78c 80 Inc SLD linenum (to 191)
213389: $8004b7e8 82 Inc SLD linenum by byte 6 (to 197)
21338f: $8004b810 80 Inc SLD linenum (to 198)
213394: $8004b828 80 Inc SLD linenum (to 199)
213399: $8004b830 82 Inc SLD linenum by byte 2 (to 201)