Some more dos/exe updates.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user