Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
5106ee4a
Commit
5106ee4a
authored
Oct 18, 2004
by
Markus Amsler
Committed by
Alexandre Julliard
Oct 18, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Initialize .COM stack.
parent
63289cd6
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
module.c
dlls/winedos/module.c
+5
-0
No files found.
dlls/winedos/module.c
View file @
5106ee4a
...
@@ -315,6 +315,11 @@ static BOOL MZ_DoLoadImage( HANDLE hFile, LPCSTR filename, OverlayBlock *oblk )
...
@@ -315,6 +315,11 @@ static BOOL MZ_DoLoadImage( HANDLE hFile, LPCSTR filename, OverlayBlock *oblk )
init_ip
=
mz_header
.
e_ip
;
init_ip
=
mz_header
.
e_ip
;
init_ss
=
load_seg
+
mz_header
.
e_ss
;
init_ss
=
load_seg
+
mz_header
.
e_ss
;
init_sp
=
mz_header
.
e_sp
;
init_sp
=
mz_header
.
e_sp
;
if
(
old_com
){
/* .COM files exit with ret. Make sure they jump to psp start (=int 20) */
WORD
*
stack
=
PTR_REAL_TO_LIN
(
init_ss
,
init_sp
);
*
stack
=
0
;
}
TRACE
(
"entry point: %04x:%04x
\n
"
,
init_cs
,
init_ip
);
TRACE
(
"entry point: %04x:%04x
\n
"
,
init_cs
,
init_ip
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment