Board.KolibriOS.org

Official KolibriOS board
It is currently Sun May 19, 2019 3:45 pm

All times are UTC+03:00




Post new topic  Reply to topic  [ 31 posts ]  Go to page Previous 1 2 3 Next
Author Message
 Post subject: Re: Emulador
PostPosted: Tue May 28, 2013 12:32 pm 
Offline
Public Relations
User avatar

Joined: Mon Jun 07, 2010 12:01 pm
Posts: 1879
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.


Top
   
 Post subject: Re: Emulador
PostPosted: Tue May 28, 2013 1:55 pm 
Offline

Joined: Mon Sep 24, 2007 11:11 am
Posts: 2814
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".


Top
   
 Post subject: Re: Emulador
PostPosted: Tue May 28, 2013 2:36 pm 
Offline
User avatar

Joined: Mon Apr 13, 2009 11:46 am
Posts: 58
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 :D

Muchas gracias por preocuparte :D

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 :twisted:

Muchisimas gracias, es muy interesante :twisted:


Top
   
 Post subject: Re: Emulador
PostPosted: Fri May 31, 2013 6:25 pm 
Offline
User avatar

Joined: Mon Apr 13, 2009 11:46 am
Posts: 58
Continuo analizando el programa: :roll:

Quote:
6C6F6F6B2773206C696B6520796F752068617665206A75737420636F6D70696C6564202020796F7
5722066697273742070726F6772616D20666F72204B6F6C696272694F532E2020202020202020202020202
020202020202020202020202020202020202020202020202020202020202020202020436F6E67726174756
C6174696F6E7321202020202020202020202020202020202020202020202020004578616D706C652061707
06C69636174696F6E00


Todo esto son datos, concretamente: :shock:

Quote:
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: :? :?

Quote:
C3497420


¿Que es? :?: ¿Puedo usar otra aplicación ademas del MTDBG? otra en la que se vea claramente la cabecera, datos y titulo :oops:

Muchas gracias, sois todos muy amables :D


Top
   
 Post subject: Re: Emulador
PostPosted: Fri May 31, 2013 7:08 pm 
Offline

Joined: Mon Sep 24, 2007 11:11 am
Posts: 2814
You can use "d" command to dump any data.
try "d 0", "d 100" etc


Top
   
 Post subject: Re: Emulador
PostPosted: Sun Jun 02, 2013 3:16 pm 
Offline
User avatar

Joined: Mon Apr 13, 2009 11:46 am
Posts: 58
The MTDBG is marvelous!!!! :D :D

Can I Disassemble the data from the line 50? :roll: How? :shock: :shock:

Thank you so much :D :D :wink:


Attachments:
Captura de pantalla.png
Captura de pantalla.png [ 129.08 KiB | Viewed 2876 times ]
Top
   
 Post subject: Re: Emulador
PostPosted: Sun Jun 02, 2013 3:18 pm 
Offline
Designer
User avatar

Joined: Thu Jan 25, 2007 3:33 pm
Posts: 5047
angel
Please, use last nightbuild, not three years old distro.
Download from here: http://builds.kolibrios.org/

_________________
Через тернии к звездам


Top
   
 Post subject: Re: Emulador
PostPosted: Sun Jun 02, 2013 4:19 pm 
Offline
User avatar

Joined: Mon Apr 13, 2009 11:46 am
Posts: 58
Leency wrote:
angel
Please, use last nightbuild, not three years old distro.
Download from here: http://builds.kolibrios.org/


I changed to a newer version :D :D . But the problem is the same :cry: , I can not disassemble the data :evil: :evil: . Can anyone help? :twisted:


Attachments:
Captura de pantalla.png
Captura de pantalla.png [ 200.42 KiB | Viewed 2863 times ]
Top
   
 Post subject: Re: Emulador
PostPosted: Sun Jun 02, 2013 5:40 pm 
Offline

Joined: Mon Sep 24, 2007 11:11 am
Posts: 2814
Use "d", Luke.


Attachments:
Выделение_126.png
Выделение_126.png [ 9.38 KiB | Viewed 2857 times ]
Top
   
 Post subject: Re: Emulador
PostPosted: Sun Jun 02, 2013 8:58 pm 
Offline
User avatar

Joined: Mon Apr 13, 2009 11:46 am
Posts: 58
SoUrcerer wrote:
Use "d", Luke.


Yes, I have, in the window appears on top, but not disassembled ... :cry:

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? :?:


Attachments:
Pantallazo-QEMU.png
Pantallazo-QEMU.png [ 30.52 KiB | Viewed 2844 times ]
Top
   
 Post subject: Re: Emulador
PostPosted: Mon Jun 03, 2013 4:20 pm 
Offline
Mentor/Kernel Developer
User avatar

Joined: Fri Jun 30, 2006 9:01 am
Posts: 1247
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...

_________________
"Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction." Albert Einstein


Top
   
 Post subject: Re: Emulador
PostPosted: Mon Jun 03, 2013 4:26 pm 
Offline

Joined: Mon Sep 24, 2007 11:11 am
Posts: 2814
You can't disassemble data just because it's data :D 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.


Top
   
 Post subject: Re: Emulador
PostPosted: Mon Jun 03, 2013 7:48 pm 
Offline
User avatar

Joined: Mon Apr 13, 2009 11:46 am
Posts: 58
SoUrcerer wrote:
You can't disassemble data just because it's data :D 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


Attachments:
fuente.PNG
fuente.PNG [ 61.55 KiB | Viewed 2798 times ]
Top
   
 Post subject: Re: Emulador
PostPosted: Mon Jun 03, 2013 7:50 pm 
Offline
User avatar

Joined: Mon Apr 13, 2009 11:46 am
Posts: 58
El ensamblador queda así

He resaltado en rojo los datos

The assembler is thus

I have highlighted in red the data


Attachments:
ensamblador.PNG
ensamblador.PNG [ 134.62 KiB | Viewed 2796 times ]
Top
   
 Post subject: Re: Emulador
PostPosted: Mon Jun 03, 2013 7:52 pm 
Offline
User avatar

Joined: Mon Apr 13, 2009 11:46 am
Posts: 58
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


Attachments:
programa_completo.PNG
programa_completo.PNG [ 21.11 KiB | Viewed 2796 times ]
Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 31 posts ]  Go to page Previous 1 2 3 Next

All times are UTC+03:00


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited