Recent Posts

Pages: [1] 2 3 ... 10
1
The Orphanage / Re: High speed chase
« Last post by Magnum on Today at 10:49:20 AM »
 :thumbsup:
2
The Orphanage / Re: High speed chase
« Last post by felipe on Today at 10:17:07 AM »
That the survivor driver is lucky to be alive i guess... :icon_idea:
3
The Laboratory / Re: Trasparent Clock
« Last post by TouEnMasm on Today at 06:35:24 AM »

test this one,he used a different type of paint message,clic on to quit
4
The Campus / Re: push/pop in 64 bit
« Last post by JK on Today at 05:22:10 AM »
Thanks for all your input! I think i got it now.
5
The Campus / Re: Allocate memory in MASM
« Last post by i Z ! on Today at 04:05:42 AM »
I cannot allocate memory in a project I'm working on.

Try this:

Code: [Select]
invoke GlobalAlloc,0,dataLength
mov  hMem,eax
invoke GlobalLock,hMem
mov  ptrMem,eax
...

And when you're done, free the memory up by:
Code: [Select]
     invoke GlobalFree, hMem 
6
The Campus / Re: push/pop in 64 bit
« Last post by hutch-- on July 03, 2020, 11:35:10 PM »
 :biggrin:

That's because you are playing with small stuff, allocate 32 gig and let 'er rip.  :tongue:
7
The Campus / Re: push/pop in 64 bit
« Last post by jj2007 on July 03, 2020, 11:33:50 PM »
Speed gain from 16- to 32-bit was roughly a factor 5. From 32- to 64-bit it's +-5% :tongue:

And I've never, ever run out of registers in an innermost loop (of course, using the whole range of SSE instructions) :cool:
8
The Campus / Re: push/pop in 64 bit
« Last post by hutch-- on July 03, 2020, 09:47:37 PM »
 :biggrin:

That's what the MS-DOS guys used to say. The extra registers are another story, 16 integer regs and almost never having to touch RBP and RSP, you can live in a small world of 32 bit with 3 free registers but 64 bit hits the big time. 2 gig plus some higher that 2 gig with the right linker options is the limit for 32 bit, with 64 bit its how much memory you install.

Much greater freedom of design, much greater power and the capacity to properly use SSE, AVX and AVX2 + AVX 512.
9
The Campus / Re: push/pop in 64 bit
« Last post by jj2007 on July 03, 2020, 08:51:40 PM »
Going from 16-bit to 32-bit was a huge improvement, absolutely. More memory, no selectors, more speed - fantastic.
Going from 32-bit to 64-bit is a tiny improvement, if and only if you regularly need more than 2GB of memory :cool:
10
MASM64 SDK / Re: May 20, update.
« Last post by hutch-- on July 03, 2020, 08:31:57 PM »
In MASM I use the following.

externdef __imp__i64toa:PPROC
vc__i64toa equ <__imp__i64toa>

Unless you use a consistent prefix, you get naming conflicts. The above works perfectly.
Pages: [1] 2 3 ... 10