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 x86 > Re: vga bios in...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 7 Topic 4625 of 4729
Post > Topic >>

Re: vga bios initialization entry point

by Brendan <spamtrap@[EMAIL PROTECTED] > Apr 21, 2008 at 07:07 AM

Hi,

On Apr 21, 4:24 pm, "stam...@[EMAIL PROTECTED]
"  <spamt...@[EMAIL PROTECTED]
> wrote:
> I disassembled the code at C000: and got this:
> 0000c0000 55               push bp
> 0000c0001 aa               stosb
> 0000c0002 58               pop ax
> 0000c0003 e919a8           jmp 0xba81f

> How come the vga bios jumps to code that starts at an address that is
> smaller than C0000?

Your disassembler isn't very good.

In real mode IP is 16-bit and therefore the target address would wrap
around to "0xC000:0xA81F", *without* effecting CS (which should be
0xC000).

The "push bp" line tells me that the disassembler isn't operating in
"32-bit mode", which means the disassembler is using 32-bit addressing
with 16-bit instructions when it should be using 16-bit addressing
with 16-bit instructions. Basically, your disassembler isn't very
good....


Cheers,

Brendan
 




 7 Posts in Topic:
vga bios initialization entry point
"stamari@[EMAIL PROT  2008-04-21 00:24:22 
Re: vga bios initialization entry point
Brendan <spamtrap@[EM  2008-04-21 07:07:12 
Re: vga bios initialization entry point
Cyril Novikov <spamtr  2008-04-21 08:43:11 
Re: vga bios initialization entry point
ArarghMail804NOSPAM <s  2008-04-21 05:09:11 
Re: vga bios initialization entry point
"stamari@[EMAIL PROT  2008-04-21 10:49:48 
Re: vga bios initialization entry point
"stamari@[EMAIL PROT  2008-04-21 11:33:38 
Re: vga bios initialization entry point
Mike Gonta <spamtrap@  2008-04-25 13:55:30 

Post A Reply:
  Go here to Signup

AddThis Feed Button


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

Contact
tan12V112 Thu Jul 24 14:54:43 CDT 2008.