News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests
NB: Posting URL's See here: Posted URL Change

Main Menu

masm 10 vs 11

Started by bomz, January 22, 2013, 09:45:06 AM

Previous topic - Next topic

Magnum

You don't need any new version to make a driver.

Version 6.14 works just fine.
Take care,
                   Andy

Ubuntu-mate-18.04-desktop-amd64

http://www.goodnewsnetwork.org

bomz

#46
the deal is not in ml.exe. masm32 11 - SDK version. but to compile my driver I need
ntstatus.inc
ntddk.inc
ntddstor.inc
guiddef.inc

Much simple method to find files in cab files
Quote@ECHO OFF
COLOR 9F
SETLOCAL ENABLEDELAYEDEXPANSION
FOR /R "G:\" %%I IN (.) DO (
SET string=%%I
expand !string:~0,-1!*.cab -D>>LIST.TXT
)
pause


download mspdb100.dll 10.0.30319.1 from here
http://www.down-dll.com/index.php?file-download=mspdb100.dll&dsc=Microsoft%C2%AE-Program-Database#
and lib.exe link.exe begin working
full kit: ml.exe lib.exe link.exe msvcr100.dll mspdb100.dll cvtres.exe dumpbin.exe editbin.exe rc.exe rcdll.dll v.10.0.30319.1
ML.EXE.10.0.30319.1.ZIP

may be this dll better I rename msvcr100
http://www.dll-files.com/dllindex/dll-files.shtml?msvcr100_clr0400

Magnum

The KMD kit is much simpler.

You can have a driver written in 10 minutes using Four-F examples.

Take care,
                   Andy

Ubuntu-mate-18.04-desktop-amd64

http://www.goodnewsnetwork.org

bomz

#48
Do not post copyright material in this forum.

I don't care if you want to hide behind poor English.

bomz

#49
This was to check new version without changes files in original masm32 directory. Need only rename original directory.
This C programmers give me new files from updated studio 2010. ML.EXE 10.0.40219.1 [[[[ NO MEANS NO ]]]]
I try them - it's work. and here exactly good msvcr100_clr0400.dll
This files rghost del in a week

hfheatherfox07

Quote from: bomz on January 23, 2013, 09:04:33 AM
the deal is not in ml.exe. masm32 11 - SDK version. but to compile my driver I need
ntstatus.inc
ntddk.inc
ntddstor.inc
guiddef.inc



Please google "KmdKit"
You will find KmdKit.zip ..... Those includes are in that kit  :biggrin:
Your code and your skills will be assimilated. Your programming language is irrelevant.
We are the ASM Borg and you will become part of us. Compile and be assembled.

bomz

Yes. I add them like with masm32v10. I think that SDK version include them already.

japheth

Quote from: bomz on January 23, 2013, 03:30:03 AM
ML.exe is not Win32 application error

I checked this. The Masm 11 binary has value 6 in the "OS version" and "Subsystem version" fields of the file header - hence it requires Vista at least.

To patch ML.EXE v11 to make it work with XP? Difficult, because:

- the binary uses import GetTickCount64 in kernel32.dll, which isn't defined in XP
- the CRT MSVCRT110.dll, which is referenced by ML.EXE v11,  also expects a few exports that aren't defined in XP


bomz

It's not very important because ml.exe v.10 knows YMMWORD 256bit - so it supported high version SSE and may be some new instructions (which my proccessor not support)

Compile one my code with new files exe file 32 kb - but with ml.exe 8.0 it's only 29.5 kb. after UPS compression size equal - 14.5 kb

Used for 256-bit multimedia operands with Intel Advanced Vector Extensions (AVX) instructions.

QuoteThe width of the SIMD register file is increased from 128 bits to 256 bits, and renamed from XMM0–XMM15 to YMM0–YMM15. In processors with AVX support, the legacy SSE instructions (which previously operated on 128-bit XMM registers) now operate on the lower 128 bits of the YMM registers.

bomz

polink polib porc poasm not support AVX instructions :(
What files studio use for make dll's?


Quote@ECHO OFF
COLOR 9F
\masm32\bin\ml /c /coff /Cp MessBox.asm
\masm32\bin\link /DLL /def:MessBox.def /FILEALIGN:0x200 /subsystem:windows /libpath:C:\masm32\lib MessBox.obj
pause
:)

dedndave

Quote from: japheth on January 23, 2013, 09:02:19 PM
- the binary uses import GetTickCount64 in kernel32.dll, which isn't defined in XP
- the CRT MSVCRT110.dll, which is referenced by ML.EXE v11,  also expects a few exports that aren't defined in XP

it figures  :P
they could be provided externally, and the versions set, i suppose
but, as i said before, i doubt that it's worth all the effort

bomz

may be microsoft kill xp?


exist practically all patches for windows 98, i think xp still live about 10-15 years

dedndave

we have another year and a half in the "extended" support life cycle   :(

http://support.microsoft.com/lifecycle/?ln=en-gb&c2=1173

for the most part, that just means security updates
i don't really want to install anything more
my idea of security is a disk image

Magnum

Quote from: dedndave on January 24, 2013, 12:57:16 AM
we have another year and a half in the "extended" support life cycle   :(

http://support.microsoft.com/lifecycle/?ln=en-gb&c2=1173

for the most part, that just means security updates
i don't really want to install anything more
my idea of security is a disk image

Sometimes I am concerned about security updates.

They don't go into details about what exactly each one does.

It's very rare, but sometimes something will stop working after you have applied an update.

Agree with you about making disk images as part of your recovery toolbox.




I agree.



Take care,
                   Andy

Ubuntu-mate-18.04-desktop-amd64

http://www.goodnewsnetwork.org

bomz

Why code compilled with MASM.v.11 get exe files bigger than the same code compiled by MASM.v.10?
In the very end of file add the sign table 2 kb long. May be this ml.exe or link.exe command parametres belong?

http://i060.radikal.ru/1301/26/f98f580fcc89.png

yes - link.exe the reason