News:

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

Main Menu

Check the forum for new posts

Started by jj2007, March 11, 2021, 01:45:19 PM

Previous topic - Next topic

jj2007

Quote from: zedd151 on January 01, 2023, 07:43:27 AM
The only link option was "/SUBSYSTEM:WINDOWS", I tried polink as well, with no success. :toothy:

\masm32\bin\UAsm64 /c /coff %1
\masm32\bin\polink /Subsystem:Console %~n1.obj
%~n1.exe

zedd151

Uasm64? Duh! I didn't know was 64 bit code. Was using 32 bit binaries.  :biggrin:
No wonder I was having issues.  :tongue:


I'll return to this later, I'll grab 64 bit uasm then...  :eusa_dance: 
Now you know why I tend to stick with code I know, and the binaries to assemble/link with.  :mrgreen:

jj2007

Actually, it is 32-bit code, but UAsm is a fairly flexible program :cool:

Drag your asm source over the attached batch file.

zedd151

Quote from: jj2007 on January 01, 2023, 08:06:20 AM
Actually, it is 32-bit code, but UAsm is a fairly flexible program :cool:

Drag your asm source over the attached batch file.
A bit later, I'm outside at the moment enjoying the weather with the dogs...

zedd151

Quote from: jj2007 on January 01, 2023, 08:06:20 AM
Drag your asm source over the attached batch file.

Okay this test piece (code from reply #9) assemble and links without issue now, but crashes
Problem signature:
  Exception Code:   c000001d
  Exception Offset:   00001005

Seems to crash at "pcmpistri xmm0, OWORD ptr [eax], 1100b"
My cpu doesn't recognize that instruction? So, I gather that my computer cannot run the forum watcher program.

Thats exactly where ollydbg doesn't recognize the code sequence, either.
Therefor your test piece is not compatible with ollydbg 110. :tongue:

zedd151

For thoroughness, I tested the other versions...
Okay, I tried out v.2 and v.3 which worked.  :thumbsup:
But v. 4 worked but did not display the recent posts. Just The window which was blank. :thdn:
Of course v. 5 is the one that would not run on my machine. :thdn: 


two out of 4 ain't bad.  :tongue:

jj2007

Quote from: zedd151 on January 01, 2023, 11:24:17 AMThats exactly where ollydbg doesn't recognize the code sequence, either.
Therefor your test piece is not compatible with ollydbg 110. :tongue:

Try Olly 2.0 :biggrin:

CPU Disasm
Address   Hex dump          Command                                  Comments
00401000  /$  B8 00304000   mov eax, offset someO
00401005  |.  CC            int3
00401006  |.  660F3A6300 0C pcmpistri xmm0, [eax], 0C
0040100C  |.  6A 00         push 0                                   ; /Type = MB_OK|MB_DEFBUTTON1|MB_APPLMODAL
0040100E  |.  68 19304000   push offset ??001B                       ; |Caption = "Hello Z"
00401013  |.  68 10304000   push offset ??0019                       ; |Text = "No crash"
00401018  |.  6A 00         push 0                                   ; |hOwner = NULL
0040101A  |.  E8 07000000   call MessageBoxA                         ; \USER32.MessageBoxA
0040101F  |.  6A 00         push 0                                   ; /ExitCode = 0
00401021  \.  E8 06000000   call ExitProcess                         ; \KERNEL32.ExitProcess

jj2007

Quote from: zedd151 on January 01, 2023, 04:17:19 PM
Okay, I tried out v.2 and v.3 which worked.  :thumbsup:
But v. 4 worked but did not display the recent posts. Just The window which was blank. :thdn:
Of course v. 5 is the one that would not run on my machine. :thdn: 

Now the mystery remains why cpuid doesn't deliver the right info on your machine. Can you please run the attached exe? It's just PrintCpu 1



zedd151


Intel(R) Core(TM)2 Duo CPU     E8400  @ 3.00GHz (MMX, SSE, SSE2, SSE3, SSSE3, SSE4.1)

jj2007

Quote from: zedd151 on January 01, 2023, 09:29:17 PM

Intel(R) Core(TM)2 Duo CPU     E8400  @ 3.00GHz (MMX, SSE, SSE2, SSE3, SSSE3, SSE4.1)

Thanks. Damnit, that's correct. So why the hell does it not work for the proggie? One more bug chasing session :sad:

zedd151

Quote from: jj2007 on January 01, 2023, 09:43:00 PM
One more bug chasing session
What could possibly need SSE4.2 to simply display a web page? Seems like overkill ...

jj2007

Quote from: zedd151 on January 01, 2023, 10:08:08 PMWhat could possibly need SSE4.2 to simply display a web page? Seems like overkill ...

:biggrin:

The display of the website is still the job of Opera, Edge, Firefox, Chrome & friends...

Check the new version, it should work for you now.

zedd151

I'm on the back porch on the iPad, gimme a few minutes...

zedd151

The .htm file is fine, but ForumOld.txt and ForumNew.txt are empty. I have ran it several times. The display does not show anything.

jj2007

Quote from: zedd151 on January 02, 2023, 02:49:43 AM
The .htm file is fine, but ForumOld.txt and ForumNew.txt are empty. I have ran it several times. The display does not show anything.

That's a pity, sorry. I just checked with my XP VM, same problem: empty display :sad:

On Win7 and Win10 it works, but on Win10 the links don't open :sad: