Fixed dos version compilation
This commit is contained in:
@@ -197,7 +197,6 @@ NEWSYM init
|
|||||||
call loadfile
|
call loadfile
|
||||||
call showinfo
|
call showinfo
|
||||||
.noloadfile
|
.noloadfile
|
||||||
|
|
||||||
call UpdateDevices
|
call UpdateDevices
|
||||||
call init65816
|
call init65816
|
||||||
call initregr
|
call initregr
|
||||||
@@ -4812,7 +4811,6 @@ NEWSYM showinfo
|
|||||||
mov ah,9
|
mov ah,9
|
||||||
call Output_Text
|
call Output_Text
|
||||||
.nointerl
|
.nointerl
|
||||||
|
|
||||||
mov edx,.ret
|
mov edx,.ret
|
||||||
mov ah,9
|
mov ah,9
|
||||||
call Output_Text
|
call Output_Text
|
||||||
|
|||||||
@@ -77,8 +77,6 @@ section .text
|
|||||||
%ifndef __PRINTF__
|
%ifndef __PRINTF__
|
||||||
%define __PRINTF__
|
%define __PRINTF__
|
||||||
EXTSYM printf
|
EXTSYM printf
|
||||||
EXTSYM fflush
|
|
||||||
EXTSYM stdout
|
|
||||||
%endif
|
%endif
|
||||||
[section .data]
|
[section .data]
|
||||||
%%string: db %1, 0
|
%%string: db %1, 0
|
||||||
@@ -96,10 +94,7 @@ push eax
|
|||||||
mov eax, %%strformat
|
mov eax, %%strformat
|
||||||
push eax
|
push eax
|
||||||
call printf
|
call printf
|
||||||
mov eax, [stdout]
|
add esp, 16
|
||||||
push eax
|
|
||||||
call fflush
|
|
||||||
add esp, 20
|
|
||||||
popad
|
popad
|
||||||
%endmacro
|
%endmacro
|
||||||
|
|
||||||
@@ -110,8 +105,6 @@ popad
|
|||||||
%ifndef __PRINTF__
|
%ifndef __PRINTF__
|
||||||
%define __PRINTF__
|
%define __PRINTF__
|
||||||
EXTSYM printf
|
EXTSYM printf
|
||||||
EXTSYM fflush
|
|
||||||
EXTSYM stdout
|
|
||||||
%endif
|
%endif
|
||||||
[section .data]
|
[section .data]
|
||||||
%%strformat: db '%s in %s line %u',13, 10,0
|
%%strformat: db '%s in %s line %u',13, 10,0
|
||||||
@@ -128,10 +121,7 @@ push eax
|
|||||||
mov eax, %%strformat
|
mov eax, %%strformat
|
||||||
push eax
|
push eax
|
||||||
call printf
|
call printf
|
||||||
mov eax, [stdout]
|
add esp, 16
|
||||||
push eax
|
|
||||||
call fflush
|
|
||||||
add esp, 20
|
|
||||||
popad
|
popad
|
||||||
%endmacro
|
%endmacro
|
||||||
|
|
||||||
@@ -140,8 +130,6 @@ popad
|
|||||||
%ifndef __PRINTF__
|
%ifndef __PRINTF__
|
||||||
%define __PRINTF__
|
%define __PRINTF__
|
||||||
EXTSYM printf
|
EXTSYM printf
|
||||||
EXTSYM fflush
|
|
||||||
EXTSYM stdout
|
|
||||||
%endif
|
%endif
|
||||||
[section .data]
|
[section .data]
|
||||||
%%strformat: db '%x in %s line %u',13, 10,0
|
%%strformat: db '%x in %s line %u',13, 10,0
|
||||||
@@ -158,9 +146,6 @@ push eax
|
|||||||
mov eax, %%strformat
|
mov eax, %%strformat
|
||||||
push eax
|
push eax
|
||||||
call printf
|
call printf
|
||||||
mov eax, [stdout]
|
add esp, 16
|
||||||
push eax
|
|
||||||
call fflush
|
|
||||||
add esp, 20
|
|
||||||
popad
|
popad
|
||||||
%endmacro
|
%endmacro
|
||||||
|
|||||||
Reference in New Issue
Block a user