--
You received this message because you are subscribed to the Google Groups "xblite" group.
To unsubscribe from this group and stop receiving emails from it, send an email to xblite+unsubscribe@googlegroups.com.
To post to this group, send email to xbl...@googlegroups.com.
Visit this group at https://groups.google.com/group/xblite.
For more options, visit https://groups.google.com/d/optout.
Hi David.
For
the past 10 years, I had such a great time writing programs in XBLite
that I'm sure it shows in the materials of my website. I'm really
thankful to David Szafranski for his huge work. Actually, I’d like
very much to keep XBLite alive, because it’s a great development
tool for Windows or Linux Wine.
My latest contributions are 3 directives that should boost our productions: CODE, GRAB and STRIP.
CODE allows GoAsm code injection;
GRAB is an improved IMPORT and can be seen as a snippet syringe;
STRIP removes the function bodies of function uncalled for.
I use these directives for my pet application viXen, and they allow me:
CODE to replace XstCopyMemory with GoAsm code;
GRAB to re-use many pieces of XBLite code, especially from Callum Lowcay’s WinX.dll;
STRIP to keep vxbl.asm under a GoAsm’s size limit.
'-RtlMoveMemory (&nmtv, lParam, SIZE (nmtv)) ' fill nmhdr using lParam
'-ZeroMemory (lParam, SIZE (NMHDR))
destAddr = &nmhdr
bytes = SIZE (NMHDR)
CODE
mov edi,[GetNotifyMsg.destAddr]
mov esi,[GetNotifyMsg.lParam]
mov ecx,[GetNotifyMsg.bytes]
cld
rep movsb
mov edi,[GetNotifyMsg.destAddr]
mov ecx,[GetNotifyMsg.bytes]
mov eax,0
cld
rep stosb
END CODE
'-bu_x = LOWORD (bu)
'-bu_y = HIWORD (bu)
bu_x = 0
bu_y = 0
CODE
mov eax,d[WndProc.bu]
mov ebx,65536
cdq
idiv ebx
mov d[WndProc.bu_y],eax ; eax = HIWORD
mov d[WndProc.bu_x],edx ; edx = LOWORD
END CODE
I believe we have a great development tool and we should be more productive for all sorts of little tools. You can find some personal contributions in my website, .exe and sources. Feel free to improve them and share back. I learnt so much by studying D’s code!
So, let’s keep together XBLite alive!
Bye! Guy