Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Assembly Language > Memory behaves ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 32 Topic 5046 of 5163
Post > Topic >>

Memory behaves strangely between 0x500 and 0x7C00, but not in Bochs

by =?ISO-8859-1?Q?St=E9phane_thibaud?= <snthibaud@[EMAIL PROTECTED] > Jun 13, 2008 at 03:51 AM

I have written a lot of code that is loaded from a disc at address
0x500, this code worked like it should most of the time but now I
encountered an error that seems to have to do with corrupted memory:



mov ecx,ModuleData				;ECX contains the offset in ModuleData

add ecx,0x00000008
mov eax,dword[ecx]
cmp eax,0					;If there are no module dependencies
jz NEAR .checkGroupDeps			;skip module checking



Where ModuleData resides at 0x1274

The problem is: in Bochs it jumps (like it should do in this case) but
on real hardware it doesn't (with Microsoft's Virtual PC - it's the
same story... it doesn't jump either). The value's aren't simply
zeroed out in Bochs... I checked that the data on my CD was really
loaded by looking at the values around this dword. Does anyone know
what could reside at these addresses... after the IDT and BIOS-data
that should go up to 0x500? Remember that most of my code loaded at
0x500 does work... there's only this problem at 0x1274 (or maybe more
to come...).
 




 32 Posts in Topic:
Memory behaves strangely between 0x500 and 0x7C00, but not in Bo
=?ISO-8859-1?Q?St=E9phane  2008-06-13 03:51:41 
Re: Memory behaves strangely between 0x500 and 0x7C00, but not i
"Rod Pemberton"  2008-06-13 15:19:38 
Re: Memory behaves strangely between 0x500 and 0x7C00, but not i
"H. Peter Anvin"  2008-06-13 14:30:01 
Re: Memory behaves strangely between 0x500 and 0x7C00, but not i
"Wolfgang Kern"  2008-06-14 10:20:01 
Re: Memory behaves strangely between 0x500 and 0x7C00, but not i
=?ISO-8859-1?Q?St=E9phane  2008-06-13 12:46:40 
Re: Memory behaves strangely between 0x500 and 0x7C00, but not i
James Harris <james.ha  2008-06-13 14:36:42 
Re: Memory behaves strangely between 0x500 and 0x7C00, but not i
=?ISO-8859-1?Q?St=E9phane  2008-06-14 01:11:15 
Re: Memory behaves strangely between 0x500 and 0x7C00, but not i
James Harris <james.ha  2008-06-14 02:18:37 
Re: Memory behaves strangely between 0x500 and 0x7C00, but not i
=?ISO-8859-1?Q?St=E9phane  2008-06-14 04:32:35 
Re: Memory behaves strangely between 0x500 and 0x7C00, but not i
"Wolfgang Kern"  2008-06-14 15:01:20 
Re: Memory behaves strangely between 0x500 and 0x7C00, but not i
"H. Peter Anvin"  2008-06-14 11:13:56 
Re: Memory behaves strangely between 0x500 and 0x7C00, but not i
"Alexei A. Frounze&q  2008-06-14 05:11:34 
Re: Memory behaves strangely between 0x500 and 0x7C00, but not i
=?ISO-8859-1?Q?St=E9phane  2008-06-14 06:15:48 
Re: Memory behaves strangely between 0x500 and 0x7C00, but not i
"Alexei A. Frounze&q  2008-06-14 06:58:42 
Re: Memory behaves strangely between 0x500 and 0x7C00, but not i
=?ISO-8859-1?Q?St=E9phane  2008-06-14 07:17:30 
Re: Memory behaves strangely between 0x500 and 0x7C00, but not i
"H. Peter Anvin"  2008-06-14 11:19:06 
Re: Memory behaves strangely between 0x500 and 0x7C00, but not i
"Rod Pemberton"  2008-06-15 04:56:14 
Re: Memory behaves strangely between 0x500 and 0x7C00, but not i
"H. Peter Anvin"  2008-06-16 22:45:47 
Re: Memory behaves strangely between 0x500 and 0x7C00, but not i
"Rod Pemberton"  2008-06-15 04:56:32 
Re: Memory behaves strangely between 0x500 and 0x7C00, but not i
"Rod Pemberton"  2008-06-15 04:57:07 
Re: Memory behaves strangely between 0x500 and 0x7C00, but not i
"H. Peter Anvin"  2008-06-16 22:50:04 
Load segment
"Mike Gonta" &l  2008-06-15 08:43:20 
Re: Load segment
"H. Peter Anvin"  2008-06-16 22:44:58 
Re: Memory behaves strangely between 0x500 and 0x7C00, but not i
=?ISO-8859-1?Q?St=E9phane  2008-06-14 08:35:13 
Re: Memory behaves strangely between 0x500 and 0x7C00, but not i
=?ISO-8859-1?Q?St=E9phane  2008-06-14 09:07:13 
Re: Memory behaves strangely between 0x500 and 0x7C00, but not i
"Alexei A. Frounze&q  2008-06-14 13:23:34 
Re: Memory behaves strangely between 0x500 and 0x7C00, but not i
"H. Peter Anvin"  2008-06-14 14:38:17 
Re: Memory behaves strangely between 0x500 and 0x7C00, but not i
"Alexei A. Frounze&q  2008-06-14 15:32:13 
Re: Memory behaves strangely between 0x500 and 0x7C00, but not i
"Alexei A. Frounze&q  2008-06-14 15:34:21 
Re: Load segment
Mike Gonta <mikegonta@  2008-06-18 13:04:38 
Re: Load segment
"H. Peter Anvin"  2008-06-18 13:58:00 
Re: Load segment
"Mike Gonta" &l  2008-06-18 17:46:18 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Oct 13 9:11:06 CDT 2008.