News:

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

Main Menu

Recent posts

#51
The Orphanage / Re: how safe is face recogniti...
Last post by daydreamer - June 11, 2025, 09:05:26 PM
Quote from: zedd on June 11, 2025, 08:22:12 PM
Quote from: jj2007 on June 11, 2025, 08:15:25 PMI've printed a very nice photo of myself, it works all the time :thumbsup:
:badgrin:  :biggrin:  :rolleyes:
:rofl:
#52
The Orphanage / Re: how safe is face recogniti...
Last post by zedd - June 11, 2025, 08:22:12 PM
Quote from: jj2007 on June 11, 2025, 08:15:25 PMI've printed a very nice photo of myself, it works all the time :thumbsup:
:badgrin:  :biggrin:  :rolleyes:
#53
The Orphanage / Re: how safe is face recogniti...
Last post by jj2007 - June 11, 2025, 08:15:25 PM
I've printed a very nice photo of myself, it works all the time :thumbsup:
#54
The Orphanage / how safe is face recognition l...
Last post by daydreamer - June 11, 2025, 06:56:13 PM
Hi
How safe is face recognition login ?
Standard laptop camera usually have low resolution 640*480 pixels
If I have a clean shaved face one day and another day a big beard ?
Doesn't that interfere with scan for facial shape
Some men have very fast beard growth
If I get a scare by accident ?
If someone gets pimples one day ?
If you age and starts get very wrinkled ?

Women put on lots of makeup before going to a party and want to make a last minute check ?

Anyone had earlier experience with face regnotion login ?


#55
The Campus / Re: Parameters of SEGMENT dire...
Last post by jj2007 - June 11, 2025, 06:55:03 PM
Quote from: daydreamer on June 11, 2025, 05:56:50 PMEspecially ml 6.14 bug that makes it take an eternity when using creating big arrays

Yeah, that bug is a nuisance, but there is a workaround:

include \masm32\include\masm32rt.inc

.data?
Buffersize=16777216 ; 16 MB
MyFatArray LABEL byte
  ORG $+Buffersize-1
  db ?
EndofArray db ?

.code
start:
  mov EndofArray, "e"
  mov ecx, Buffersize
  mov al, "x"
  mov edi, offset MyFatArray
  int 3
  rep stosb
  MsgBox 0, "Buffer filled!", "Hi", MB_OK
  exit

end start

Builds in 400 milliseconds with MASM 6.14 (and in 200 milliseconds with UAsm) :cool:
#56
The Campus / Re: Parameters of SEGMENT dire...
Last post by daydreamer - June 11, 2025, 05:56:50 PM
Also prefer use
.data? If you have big arrays put them there instead otherwise it makes exe bigger
@Stewart might be good suggestions, it only supports SSE,
Especially ml 6.14 bug that makes it take an eternity when using creating big arrays in. Data section :thumbsup:
I prefer uasm because it supports all SIMD instructions and don't have that  ml 6.14 bug


#57
The Campus / Re: Parameters of SEGMENT dire...
Last post by Quan - June 11, 2025, 12:38:30 PM
Quote from: sinsi on June 10, 2025, 04:46:03 PM
Quote from: Quan on June 10, 2025, 02:07:24 PMAlso my ML.exe seems to be super outdated compared to yours. And I wasn't aware of a way to update ML.exe, where can I find that?
Microsoft (R) Macro Assembler Version 6.14.8444
I use ML from Visual Studio, the free community version.
There is a link to download the tools somewhere on the forum.
Hi, so I did try out an updated version of ml.exe and it worked. I did have to do some tweakings with the \masm32\include\winextra.inc file as mentioned in this topic. Hopefully that's the only thing I have to do to make it work normally.



Quote from: NoCforMe on June 10, 2025, 07:00:05 PMWell now that you've satisfied your curiosity I'd really, really recommend just sticking with the regular simplified segment directives.
Quote from: Vortex on June 11, 2025, 05:08:27 AMIt's preferable to use the simplified directives like .data and .code
Yea, will do  :thumbsup:
#58
The Campus / Re: Parameters of SEGMENT dire...
Last post by stoo23 - June 11, 2025, 12:20:11 PM
QuoteI use ML from Visual Studio, the free community version.
There is a link to download the tools somewhere on the forum.
Yes there was at least One thread with references and links to it here .... somewhere ...
Perhaps we Should provide an easily accessible and findable link to the most appropriate updated version for use with the MASM32 SDK.

Perhaps even Include it, along with any other items that require updating and bringing up to speed as it were in a Contemporary version release of the SDK ???
#59
The Campus / Re: Parameters of SEGMENT dire...
Last post by Vortex - June 11, 2025, 05:08:27 AM
Poasm can assemble the code below :

.686
.model flat,stdcall
option casemap:none

MessageBoxA PROTO :DWORD,:DWORD,:DWORD,:DWORD
MessageBox TEXTEQU <MessageBoxA>

ExitProcess PROTO :DWORD

PUBLIC start

_data SEGMENT 'DATA'

message1  db 'This is a test.',0
caption1  db 'Hello',0

_data ENDS

_text SEGMENT 'CODE'

start:

    xor     eax,eax
    invoke  MessageBox,eax,ADDR message1,ADDR caption1,eax

    invoke ExitProcess,0

_text ENDS

.drectve SEGMENT BYTE 'CONST'

db '-entry:_start'

.drectve ENDS

END

It's preferable to use the simplified directives like .data and .code
#60
The Campus / Re: Parameters of SEGMENT dire...
Last post by NoCforMe - June 11, 2025, 04:34:56 AM
Quote from: jj2007 on June 10, 2025, 08:20:05 PM
Quote from: NoCforMe on June 10, 2025, 07:00:05 PMIn my own programming I've never run into a situation where they didn't work for me

Self-modifying code is one example.

True, but how often is that actually used or even needed?
Very rarely is my Guess®™.