Some more dos/exe updates.

This commit is contained in:
Markus F.X.J. Oberhumer
2007-02-13 02:25:32 +01:00
parent 1695096d18
commit 0d5ae77efc
7 changed files with 35 additions and 12 deletions
+1 -1
View File
@@ -108,7 +108,7 @@ endef
# Borland C/C++ 5.02
ifneq ($(wildcard $(BC502DIR)/bin/.),)
c := tc.method-lzma.bcc
$c = @$(WINEENV) CL='$(CL)' wine cmd.exe /c tmp/bcc.bat
$c = @$(WINEENV) wine cmd.exe /c tmp/bcc.bat
$c += -mc
$c += -O1 -1
$c += -w
+1 -1
View File
@@ -139,7 +139,7 @@ def main(argv):
if m.group(3): args = m.group(3).strip()
#
if inst in ["movl",] and re.search(r"\b[de]s\b", args):
# correct objdump bug
# fix bug in objdump
inst = "movw"
m = re.search(r"^(.+?)\b0x0\s+(\w+):\s+[12]\s+(__\w+)$", args)
if m:
+4 -4
View File
@@ -30,8 +30,8 @@
; ------------- DECOMPRESSION -------------
; Input:
; si - source
; di - dest
; ds:si - source
; es:di - dest
; cld
; Output:
@@ -111,10 +111,10 @@ __PIA_V03:
#else
// optimized version
inc ax
jnes .L1
jnes 1f
add dh, (__AHINCR >> 8)
movw ds, dx
.L1:
1:
mov WORD PTR [bp-12],ax
#endif
ret