08.02.2021, 23:49
(Dieser Beitrag wurde zuletzt bearbeitet: 09.02.2021, 22:51 von siebenstreich.)
Danke für diese ausführliche Antwort!
So ganz funktioniert es leider noch nicht.
Das Skript ./disassemble.sh (das ich noch ausführbar machen musste) liefert bei mir
Der Fehler "IndexError: list index out of range" ist vermutlich nicht so gewollt.
Und das Compilieren geht auch nicht, leider. Auskommentieren der seg038-Zeile in compile.bat und anschließendes Ausführen von tools/bc.sh liefert
Anscheinend findet er die Bibliotheks-Dateien nicht. Unter src/custom/drive_c/BORLANDC/INCLUDE gäbe es bei mir die Dateien STDIO.H, STDLIB.H und DOS.H.
Hast du zufällig noch eine Idee, wie ich weiterkommen könnte? Ich würde wirklich gerne kontrollieren, wie viel ich mit meinen ganzen Änderungen mittlerweile kaputt gemacht habe.
So ganz funktioniert es leider noch nicht.
Das Skript ./disassemble.sh (das ich noch ausführbar machen musste) liefert bei mir
Code:
SEG001.dis near = 3 far = 25 changed
SEG002.dis near = 92 far = 338 changed
SEG003.dis near = 0 far = 9 changed
SEG004.dis near = 30 far = 67 changed
SEG005.dis near = 2 far = 63 changed
SEG006.dis near = 3 far = 33 changed
SEG007.dis near = 1 far = 0 changed
SEG008.dis
SEG009.dis
SEG010.dis near = 0 far = 2 changed
SEG011.dis
SEG024.dis near = 1 far = 23 changed
SEG025.dis near = 14 far = 143 changed
SEG026.dis near = 9 far = 160 changed
SEG027.dis near = 0 far = 140 changed
SEG028.dis near = 7 far = 129 changed
SEG029.dis near = 2 far = 56 changed
SEG030.dis near = 3 far = 118 changed
SEG031.dis near = 1 far = 29 changed
SEG032.dis near = 0 far = 88 changed
SEG033.dis near = 0 far = 124 changed
SEG034.dis near = 0 far = 82 changed
SEG035.dis near = 0 far = 32 changed
SEG036.dis near = 0 far = 49 changed
SEG037.dis near = 0 far = 34 changed
SEG038.dis near = 1 far = 8 changed
SEG039.dis near = 0 far = 27 changed
SEG040.dis near = 0 far = 27 changed
SEG041.dis near = 1 far = 40 changed
SEG042.dis near = 0 far = 129 changed
SEG043.dis near = 0 far = 138 changed
SEG044.dis near = 0 far = 23 changed
SEG045.dis near = 0 far = 12 changed
SEG046.dis near = 0 far = 108 changed
SEG047.dis near = 0 far = 17 changed
SEG048.dis near = 0 far = 87 changed
SEG049.dis near = 0 far = 63 changed
SEG050.dis near = 0 far = 68 changed
SEG051.dis near = 2 far = 87 changed
SEG052.dis near = 0 far = 46 changed
SEG053.dis near = 0 far = 66 changed
SEG054.dis near = 0 far = 79 changed
SEG055.dis near = 2 far = 39 changed
SEG056.dis near = 0 far = 100 changed
SEG057.dis near = 0 far = 107 changed
SEG058.dis near = 2 far = 87 changed
SEG059.dis near = 0 far = 45 changed
SEG060.dis near = 1 far = 115 changed
SEG061.dis near = 3 far = 86 changed
SEG062.dis near = 0 far = 74 changed
SEG063.dis near = 3 far = 88 changed
SEG064.dis near = 0 far = 7 changed
SEG065.dis near = 0 far = 134 changed
SEG066.dis near = 55 far = 111 changed
SEG067.dis near = 9 far = 114 changed
SEG068.dis near = 2 far = 125 changed
SEG069.dis near = 0 far = 48 changed
SEG070.dis near = 0 far = 86 changed
SEG071.dis near = 0 far = 70 changed
SEG072.dis near = 5 far = 64 changed
SEG073.dis near = 0 far = 21 changed
SEG074.dis near = 13 far = 34 changed
Traceback (most recent call last):
File "./nc2fc.py", line 63, in <module>
opcode = int(pushline[1][:2], 16)
IndexError: list index out of range
SEG076.dis near = 9 far = 87 changed
SEG077.dis near = 0 far = 61 changed
SEG078.dis near = 0 far = 119 changed
SEG079.dis near = 1 far = 107 changed
SEG080.dis near = 0 far = 98 changed
SEG081.dis near = 0 far = 141 changed
SEG082.dis near = 0 far = 55 changed
SEG083.dis near = 12 far = 118 changed
SEG084.dis near = 0 far = 125 changed
SEG085.dis near = 0 far = 102 changed
SEG086.dis near = 0 far = 76 changed
SEG087.dis near = 0 far = 162 changed
SEG088.dis near = 0 far = 30 changed
SEG089.dis near = 28 far = 105 changed
SEG090.dis near = 4 far = 76 changed
SEG091.dis near = 7 far = 57 changed
SEG092.dis near = 1 far = 90 changed
SEG093.dis near = 0 far = 46 changed
SEG094.dis near = 5 far = 56 changed
SEG095.dis near = 20 far = 60 changed
SEG096.dis near = 14 far = 12 changed
SEG097.dis near = 6 far = 89 changed
SEG098.dis near = 2 far = 81 changed
SEG099.dis near = 0 far = 81 changed
SEG100.dis near = 0 far = 79 changed
SEG101.dis near = 0 far = 80 changed
SEG102.dis near = 0 far = 35 changed
SEG103.dis near = 0 far = 88 changed
SEG104.dis near = 0 far = 80 changed
SEG105.dis near = 1 far = 27 changed
SEG106.dis near = 0 far = 126 changed
SEG107.dis near = 0 far = 57 changed
SEG108.dis near = 0 far = 85 changed
SEG109.dis near = 4 far = 147 changed
SEG110.dis near = 4 far = 166 changed
SEG111.dis near = 0 far = 152 changed
SEG112.dis near = 3 far = 125 changed
SEG113.dis near = 3 far = 163 changed
SEG114.dis near = 0 far = 159 changed
SEG115.dis near = 0 far = 152 changed
SEG116.dis near = 0 far = 171 changed
SEG117.dis near = 0 far = 174 changed
SEG118.dis near = 0 far = 117 changed
SEG119.dis near = 0 far = 74 changed
SEG120.dis near = 1 far = 178 changed
SEG121.dis near = 0 far = 40 changed
SEG122.dis
Und das Compilieren geht auch nicht, leider. Auskommentieren der seg038-Zeile in compile.bat und anschließendes Ausführen von tools/bc.sh liefert
Code:
seg038.cpp
Error seg038.cpp 13: Unable to open include file 'string.h'
Error v302de.h 12: Unable to open include file 'stdlib.h'
Error v302de.h 973: Unable to open include file 'DOS.H'
[...]
Hast du zufällig noch eine Idee, wie ich weiterkommen könnte? Ich würde wirklich gerne kontrollieren, wie viel ich mit meinen ganzen Änderungen mittlerweile kaputt gemacht habe.