Ability to see the /COMMENTED assembly code in a split window right next to the Purebasic code, or in the Debug window when you click on the Asm button, underneath the register monitor, a Window that shows the assembly code. The idea is to save time from having to go to console and type in /COMMENTED command to compile special assembly version, then open up .asm file with either notepad, Word, whatever, then go back into Purebasic, make a change, save the .pb file, then go back to console, re-compile using /COMMENTED tag, etc... Somehow integrate the option to see the assembly code into the Purebasic main GUI.
Now that would rock!
Ability to see the /COMMENTED assembly code in a split windo
Re: Ability to see the /COMMENTED assembly code in a split w
> Now that would rock!
Agreed. Good way to teach a bit of ASM, too.
Agreed. Good way to teach a bit of ASM, too.
What about that one for now?
See ASM source with 2 clicks (or set a Keyboard shortcut.)
Timo
Code: Select all
; Compile to exe, and add to 'Tools' Menu.
; Set 'Arguments' in Toolsmenu to "%TEMPFILE" (include the ")
; Enter your PB directory here:
#purebasic = "C:\PureBasic\"
RunProgram(#purebasic+"Compilers\pbcompiler.exe", Chr(34)+ProgramParameter()+Chr(34)+" /COMMENTED", #purebasic+"Compilers\", 1|2)
RunProgram(#purebasic+"PureBasic.exe", Chr(34)+#purebasic+"\Compilers\PureBasic.asm"+Chr(34), #purebasic)
End
Timo
quidquid Latine dictum sit altum videtur
Hmmm...
That's an inventive solution there...lol... sort of makes me think of how this television character would always get himself out of tight situations by taking whatever he could find laying around and jimmy it to get out of a tight jam. I applaud your thinking of using the RunProgram parameter as a work around, but this is far from having the functionality I mentioned in the first message of this thread. Nevertheless, brilliant thinking and funny too. 

bug.zip - this link removed 1/6/04 by waffle (me)
try it with this project.
also has a compilier bug, posted in bug forum.
but the source does compile, just not to asm...
Compiler bug fixed in 3.82
I haven't tested the make .asm yet to see if thats fixed...
Its not a major issue for me at this time.
try it with this project.
also has a compilier bug, posted in bug forum.
but the source does compile, just not to asm...
Compiler bug fixed in 3.82
I haven't tested the make .asm yet to see if thats fixed...
Its not a major issue for me at this time.