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 > Pascal Borland > Re: Can Anyone ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 8 Topic 1086 of 1118
Post > Topic >>

Re: Can Anyone tell me why this doesn't work?

by "Jason Burgon" <jaynews@[EMAIL PROTECTED] > Feb 22, 2008 at 01:24 AM

"HubbleBubble" <phil_simmons@[EMAIL PROTECTED]
> wrote in message
news:c8858c24-d50a-4842-9d7e-622f2df575b5@[EMAIL PROTECTED]
> Hi All,
>
>
> This is a bita Vesa(256) code to get a line of pixels - it works fine
> in protected mode but hangs mysteriously in real mode - I'm fairly new
> to asm & wressling with the segment registers and I can't see what it
> is that I'm doing wrong - all suggestions welcome (Jason?)

*Always* put your "db $66" prefixes on the same line as the instruction
they
prefix, otherwise it's very Turbo Debugger unfriendly.

     db $66; shr bx,16

Use square brackets when referencing memory locations, so that it is
easier
to see what the instruction is doing:

 mov  cx,[x1]
 les   di,[Buff]

Wolfgang has found [the/a] problem, so does it work now?

--
Jay

Jason Burgon - author of Graphic Vision
http://homepage.ntlworld.com/gvision
 




 8 Posts in Topic:
Can Anyone tell me why this doesn't work?
HubbleBubble <phil_sim  2008-02-21 03:32:51 
Re: Can Anyone tell me why this doesn't work?
Wolfgang.Ehrhardt.PLEASE.  2008-02-21 18:11:48 
Re: Can Anyone tell me why this doesn't work?
"Jason Burgon"   2008-02-22 01:24:25 
Re: Can Anyone tell me why this doesn't work?
HubbleBubble <phil_sim  2008-02-22 03:49:22 
Re: Can Anyone tell me why this doesn't work?
"Jason Burgon"   2008-02-22 15:26:06 
Re: Can Anyone tell me why this doesn't work?
Marco van de Voort <ma  2008-02-22 09:52:10 
Re: Can Anyone tell me why this doesn't work?
"Jason Burgon"   2008-02-23 06:12:47 
Re: Can Anyone tell me why this doesn't work?
HubbleBubble <phil_sim  2008-02-28 01:27:40 

Post A Reply:
  Go here to Signup

AddThis Feed Button


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

Contact
tan12V112 Fri Jul 25 18:37:20 CDT 2008.