Page 2 of 3
Re: Emulador
Posted: Tue May 28, 2013 12:32 pm
by yogev_ezra
angel: I have edited your posts and divided the HEX string into a few lines, because it broke some browsers since it was too long. Sorry for that.
Re: Emulador
Posted: Tue May 28, 2013 1:55 pm
by SoUrcerer
MTDBG has help file in DOCPACK (look for icon on desktop).
Also, you can type "help" and look some useful commands. For example, Ctrl+F7 is "step", Ctrl+F8 is "wide step".
Re: Emulador
Posted: Tue May 28, 2013 2:36 pm
by angel
yogev_ezra wrote:angel: I have edited your posts and divided the HEX string into a few lines, because it broke some browsers since it was too long. Sorry for that.
Thank you very much for your concern
Muchas gracias por preocuparte
SoUrcerer wrote:MTDBG has help file in DOCPACK (look for icon on desktop).
Also, you can type "help" and look some useful commands. For example, Ctrl+F7 is "step", Ctrl+F8 is "wide step".
Thank you so much, it is very interesting
Muchisimas gracias, es muy interesante
Re: Emulador
Posted: Fri May 31, 2013 6:25 pm
by angel
Continuo analizando el programa:
6C6F6F6B2773206C696B6520796F752068617665206A75737420636F6D70696C6564202020796F7
5722066697273742070726F6772616D20666F72204B6F6C696272694F532E2020202020202020202020202
020202020202020202020202020202020202020202020202020202020202020202020436F6E67726174756
C6174696F6E7321202020202020202020202020202020202020202020202020004578616D706C652061707
06C69636174696F6E00
Todo esto son datos, concretamente:
text db "It look's like you have just compiled "
db "your first program for KolibriOS. "
db " "
db "Congratulations! ", 0
title db "Example application", 0
Pero esto:
C3497420
¿Que es?
¿Puedo usar otra aplicación ademas del MTDBG? otra en la que se vea claramente la cabecera, datos y titulo
Muchas gracias, sois todos muy amables
Re: Emulador
Posted: Fri May 31, 2013 7:08 pm
by SoUrcerer
You can use "d" command to dump any data.
try "d 0", "d 100" etc
Re: Emulador
Posted: Sun Jun 02, 2013 3:16 pm
by angel
Re: Emulador
Posted: Sun Jun 02, 2013 3:18 pm
by Leency
angel
Please, use last nightbuild, not three years old distro.
Download from here:
http://builds.kolibrios.org/
Re: Emulador
Posted: Sun Jun 02, 2013 4:19 pm
by angel
I changed to a newer version
. But the problem is the same
, I can not disassemble the data
. Can anyone help?
Re: Emulador
Posted: Sun Jun 02, 2013 5:40 pm
by SoUrcerer
Use "d", Luke.
Re: Emulador
Posted: Sun Jun 02, 2013 8:58 pm
by angel
SoUrcerer wrote:Use "d", Luke.
Yes, I have, in the window appears on top, but not disassembled ...
Would need to know which are the bytes that are ahead of the data (title and text). Is there any option in MTDBG to find out?
Re: Emulador
Posted: Mon Jun 03, 2013 4:20 pm
by hidnplayr
Angel:
Please read the instructions MTDBG gives you, it tells you to type help for help, everything is explained pretty well from that point on...
Re: Emulador
Posted: Mon Jun 03, 2013 4:26 pm
by SoUrcerer
You can't disassemble data just because it's data
So, "MENUET01" is "MENUET01", and nothing else
Just data.
Also, you're using latest builds in QEMU? Make sure you use -vga vmware option, it's useful for 24-bit and 32-bit color.
Re: Emulador
Posted: Mon Jun 03, 2013 7:48 pm
by angel
SoUrcerer wrote:You can't disassemble data just because it's data
So, "MENUET01" is "MENUET01", and nothing else
Just data.
Also, you're using latest builds in QEMU? Make sure you use -vga vmware option, it's useful for 24-bit and 32-bit color.
No lo acabo de entender....
Me he puesto otro pequeño ejemplo
I just do not understand ....
I've put another small example
Re: Emulador
Posted: Mon Jun 03, 2013 7:50 pm
by angel
El ensamblador queda así
He resaltado en rojo los datos
The assembler is thus
I have highlighted in red the data
Re: Emulador
Posted: Mon Jun 03, 2013 7:52 pm
by angel
He trabajado con MTDBG... También he señalado en rojo los datos...pero están desensamblados ¿Como interpreto esto?
Muchas gracias
Ángel
I have worked with MTDBG ... I've also noted in red ... but data are disassembled How to interpret this?
thank you very much
Ángel