X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=run_sed.sh;h=637486a879ba8deed326f9f1a630fd854fb1f4be;hb=ea43585b82e86b5c393ead41963ba6c2eca157c7;hp=29df071ed2d0dbb2a0305a213a190b643e16a168;hpb=7ae48d73d3ecf3906a8e673edd00f26d5d25d7a3;p=ia32rtools.git diff --git a/run_sed.sh b/run_sed.sh index 29df071..637486a 100755 --- a/run_sed.sh +++ b/run_sed.sh @@ -26,16 +26,3 @@ s/\(\\)\tloc_/\1\tnear ptr loc_/;\ s/\> $f . $f - -# manual fixup: -# - 'end start' -> 'end' -# - 'mov edi, edi', 'lea ...' -> align -# - add 'near ptr' to some jumps -# - 'cmp [ebp+edx+0], cl' -> 'cmp [ebp+edx*1+0], cl' -# - 0FFxxh constants - masm treats a byte, ONLY sometimes prefix with 'word ptr' -# - jmp near: -# - jmp _strchr -# - search for 'dword_xx+N', make byte/word, also word->byte -# - get rid of type propagation, regenerate as 'simple' var_ -# - convert ds:0[eax*4] -> [eax*4+0] (h hotkey) -# - rm function chunks - they're funcs reached by tailcalls (usually)