Lots of changes, moved some code around

This commit is contained in:
pagefault
2001-12-23 01:48:31 +00:00
parent 4e41b51bbc
commit c515f088ae
4 changed files with 25 additions and 32 deletions

View File

@@ -55,11 +55,6 @@ NEWSYM UIAsmStart
; Search for CMDLINE= for commandline entry
NEWSYM CmdLineNetPlay, db 0
NEWSYM CmdLineTCPIPAddress, db 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
EXTSYM TCPIPAddress
SECTION .text
NEWSYM zstart
@@ -75,21 +70,6 @@ NEWSYM zstart
cld ;clear direction flag
cmp byte[CmdLineNetPlay],0
je .nocmdlinenetplay
mov ecx,28/4
mov esi,CmdLineTCPIPAddress
mov edi,TCPIPAddress
.netplayloop
mov eax,[esi]
add esi,byte 4
mov [edi],eax
add edi,byte 4
dec ecx
jnz .netplayloop
xor eax,eax
.nocmdlinenetplay
%ifndef __MSDOS__
cmp byte[FirstTimeData],1
je .nofirsttime