MCode Tutorial (Compiled Code in AHK)
Re: MCode Tutorial (Compiled Code in AHK)
Nice
I should share my NASM code too.
I should share my NASM code too.
Recommends AHK Studio
Re: MCode Tutorial (Compiled Code in AHK)
Well he has stated something in the German forum a while ago.
I will sum it up for you:
"I cannot keep it the way it is because I have a slower connection now."
And also he said something about using GCC in an Web server that uses exec to compile the program..
I will sum it up for you:
"I cannot keep it the way it is because I have a slower connection now."
And also he said something about using GCC in an Web server that uses exec to compile the program..
Recommends AHK Studio
Re: MCode Tutorial (Compiled Code in AHK)
Yeah, it looks very nice. I plan on using it.
Re: MCode Tutorial (Compiled Code in AHK)
Contribute any ideas, commits, etc. It has bugged me a quite while, that all online generators are now gone...
"Let's just make it offline, and open source for everyone."
"Let's just make it offline, and open source for everyone."
Windows 10 x64 Professional, Intel i5-8500, NVIDIA GTX 1060 6GB, 2x16GB Kingston FURY Beast - DDR4 3200 MHz | [About Me] | [About the AHK Foundation] | [Courses on AutoHotkey]
[ASPDM - StdLib Distribution] | [Qonsole - Quake-like console emulator] | [LibCon - Autohotkey Console Library]
Re: MCode Tutorial (Compiled Code in AHK)
There was an offline generator already I think.
Recommends AHK Studio
Re: MCode Tutorial (Compiled Code in AHK)
Yes, I believe so... But I think it was for ahk 1.0 or something, or maybe visual studio... I don't remember
Windows 10 x64 Professional, Intel i5-8500, NVIDIA GTX 1060 6GB, 2x16GB Kingston FURY Beast - DDR4 3200 MHz | [About Me] | [About the AHK Foundation] | [Courses on AutoHotkey]
[ASPDM - StdLib Distribution] | [Qonsole - Quake-like console emulator] | [LibCon - Autohotkey Console Library]
Re: MCode Tutorial (Compiled Code in AHK)
Hi, nnnik
Could you add MCode4GCC and MCodeGen to your tutorial, especially since the one suggested (bentschi's) is now offline?
https://github.com/joedf/MCode4GCC
http://www.autohotkey.com/board/topic/5 ... nto-mcode/
Could you add MCode4GCC and MCodeGen to your tutorial, especially since the one suggested (bentschi's) is now offline?
https://github.com/joedf/MCode4GCC
http://www.autohotkey.com/board/topic/5 ... nto-mcode/
Windows 10 x64 Professional, Intel i5-8500, NVIDIA GTX 1060 6GB, 2x16GB Kingston FURY Beast - DDR4 3200 MHz | [About Me] | [About the AHK Foundation] | [Courses on AutoHotkey]
[ASPDM - StdLib Distribution] | [Qonsole - Quake-like console emulator] | [LibCon - Autohotkey Console Library]
Re: MCode Tutorial (Compiled Code in AHK)
Oh lol I thought you did that already
BTW make a topic about your compiler
BTW make a topic about your compiler
Recommends AHK Studio
Re: MCode Tutorial (Compiled Code in AHK)
Oh you're right! here we go!
http://ahkscript.org/boards/viewtopic.php?f=6&t=4642
http://ahkscript.org/boards/viewtopic.php?f=6&t=4642
Windows 10 x64 Professional, Intel i5-8500, NVIDIA GTX 1060 6GB, 2x16GB Kingston FURY Beast - DDR4 3200 MHz | [About Me] | [About the AHK Foundation] | [Courses on AutoHotkey]
[ASPDM - StdLib Distribution] | [Qonsole - Quake-like console emulator] | [LibCon - Autohotkey Console Library]
Re: MCode Tutorial (Compiled Code in AHK)
I have figured a way of making all of the code work using output from .obj files.
Recommends AHK Studio
Re: MCode Tutorial (Compiled Code in AHK)
I have the visual studio machine code compiler somewhere. It works very well, but I'm really bad at C/C++ level pointer management
Re: MCode Tutorial (Compiled Code in AHK)
http://www.symantec.com/connect/article ... s-part-one
That's the best source I have found.
That's the best source I have found.
Recommends AHK Studio
Re: MCode Tutorial (Compiled Code in AHK)
Hey, what needs changing to compile for x64 as well as x86?
For the example given
I get
Would save me looking through the source if someone knows. Many thanks
For the example given
Code: Select all
int stringlen(char *str)
{
int i=0;
for (; str[i]!=0; i++);
return i;
}
Code: Select all
2,x86:gDkAdBpIg8EBMcAPH0QAAEiDwQGDwAGAef8AdfPzwzHAw5CQkJCQkJCQkJCQkJCQ
Re: MCode Tutorial (Compiled Code in AHK)
I used to use VC++ but am trying now with x86_64-w64-mingw32-gcc-4.9.2.exe
Re: MCode Tutorial (Compiled Code in AHK)
I was never able to compile x64 with VC++. Gave up on that.
Recommends AHK Studio