DOS-console for very fast eyes

Started by Rsir, August 02, 2009, 02:37:48 PM

Previous topic - Next topic

Rsir

Hi Ketil,
While setting up a new project in RadASM
I use the path: Masm - Console app ,Project Name - next - next - next - finish.
No problem so far.
editing an app.
Hit the Go button.
The 'output window' is activated.
And in a glimpse I see a DOS-window with the result of my prg.
Have you any suggestion how to change settings so that i can read what's on the 'console'?
I 'm still using version 2.2.1.3
regards, Rsir

rags

Rsir,
In radsasm, select Tools>GoTo Dos, to open a cmd window.
Then run your program from there.
Rags
God made Man, but the monkey applied the glue -DEVO

Rsir

Thank you rags,
An open DOSbox makes life easy.
But while running my application from RADasm
the console is visible too short for reading what's going on.
You're right that after building the .exe
I can run it again in the DOSbox and see what happend,
but that is not what i want.
Rsir

Rsir

got it.
i just forgot the inkey at the end.

    .
    .
    inkey "any key to continue...",13,10
exit
    end start

problem solved.

dedndave

i was playing with inkey today
i noticed that "inkey 0" hangs but "inkey NULL" works with no message
they must look for the "NULL" text in the macro

as for "inkey "any key to continue...",13,10", the 13,10 isn't needed

Rsir

hi dedndave,
...and "any key to continue ..." neither.
syntax for macro inkey:

inkey                      ; gives you the standard "any key to continue"
inkey NULL                 ; no response to the console
inkey "any text you want"  ; whatever between the quotes

found in Hutch's "MASM32 Macro High Level Reference"

dedndave

yes - i see that
but, "NULL" is an equate set to 0
normally, you can put a 0 in its place
this hangs....

        inkey   0

this works fine....

        inkey   NULL

i don't get it - lol
actually, i do get it - the macro looks for the text "NULL", rather than looking for a dword parm