Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Oct 27th, 2005, 10:04 PM   #11
tempest
Programming Guru
 
tempest's Avatar
 
Join Date: Oct 2004
Posts: 1,041
Rep Power: 6 tempest is on a distinguished road
Send a message via ICQ to tempest Send a message via AIM to tempest Send a message via Yahoo to tempest
To answer your questions:

1) Yes the compiler will make a 32bit application.
2) Yes it will be ran in protected mode, as long as you mean it's not able to access memory that it hasn't been allocated for it.
__________________

tempest is offline   Reply With Quote
Old Oct 27th, 2005, 10:10 PM   #12
ASMvsC++
Newbie
 
Join Date: Oct 2005
Posts: 12
Rep Power: 0 ASMvsC++ is on a distinguished road
And let me ask continue

I excute that code in DOS BOx
and some doc say DOS BOX pretend VM86 Mode
so in VM86 mode how can it run in that mode ( cuz u say it run in protect mode)
ASMvsC++ is offline   Reply With Quote
Old Oct 27th, 2005, 10:21 PM   #13
tempest
Programming Guru
 
tempest's Avatar
 
Join Date: Oct 2004
Posts: 1,041
Rep Power: 6 tempest is on a distinguished road
Send a message via ICQ to tempest Send a message via AIM to tempest Send a message via Yahoo to tempest
In linux you can include <sys/vm86.h> and it has a vm86() function... but i dont know about windows...

The next link might have more information:

http://osdev.berlios.de/v86.html#ch02
__________________

tempest is offline   Reply With Quote
Old Oct 27th, 2005, 10:29 PM   #14
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
Screw your dam' anger. Anyone can sympathize with your inability to speak English fluently. We don't care. A title like "hpl me plzzzz" is against the posting guidelines. Your subject line should be descriptive. That's a thought, not just a sentence, and any thinker in any language would understand the niceties of that. Further more, you'll play hell convincing me that "what the h... are u talkin about ?? why so serious with some kinda f.... english or rulz" is because of lack of fluency. It seems readily apparent that it's because of a fair degree of laziness and immaturity. Good on you if you got the answer you were seeking. Next time, post properly. It doesn't have to be fluent, it should just be slightly advanced over the usage of a lobotomized fencepost.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers
DaWei is offline   Reply With Quote
Old Oct 27th, 2005, 11:00 PM   #15
iignotus
Professional Programmer
 
iignotus's Avatar
 
Join Date: Apr 2005
Location: Nowhere Special
Posts: 466
Rep Power: 4 iignotus is on a distinguished road
Send a message via AIM to iignotus
Quote:
Originally Posted by OpenLoop
Technically speaking, the bigger jerk here is iignotus. So what if he doesn't speak perfect english, no one is perfect. As far as i'm concerned, you're the one in violation of forums rules and not ASMvsC++.
Technically speaking, stop talking out of your ass. I had no problem with him not being familiar with the English language, I had a problem with him typing like he was in a chat room. Not only would he be able to type out the full words if he knows the shortened versions, but typing the unabridged words would be great practice to learn the language better. I (and I'm sure many others) would rather see "Halp me pleese for this questin" than "hpl me plzzzz".

I knew someone was going to be ignorant and assume that I was making fun of him being a non-native speaker.
__________________
% rc4 hexkey < input > output
#define S ,t=s[i],s[i]=s[j],s[j]=t /* rc4 hexkey <file */
unsigned char k[256],s[256],i,j,t;main(c,v,e)char**v;{++v;while(++i)s[ 
i]=i;for(c=0;*(*v)++;k[c++]=e)sscanf((*v)++-1,"%2x",&e);while(j+=s[i]
+k[i%c]S,++i);for(j=0;c=~getchar();putchar(~c^s[t+=s[i]]))j+=s[++i]S;}
iignotus is offline   Reply With Quote
Old Oct 28th, 2005, 3:32 AM   #16
ivan
Professional Programmer
 
ivan's Avatar
 
Join Date: Sep 2005
Location: serbia & montenegro
Posts: 484
Rep Power: 4 ivan is on a distinguished road
OMG another war starting here...
ivan is offline   Reply With Quote
Old Oct 28th, 2005, 4:22 AM   #17
crazykid48x
Programmer
 
crazykid48x's Avatar
 
Join Date: Apr 2005
Posts: 96
Rep Power: 4 crazykid48x is on a distinguished road
Im new in french, and I would never try to shorten french words on a french forum. For all I know my shortcuts could give my post a completly different meaning. So I have to side with iignotus
__________________
I had my portable CD player, and took it in the bathroom with me while I went to pee. And the second I whipped my penis out, the theme song to 'Rocky' started playing. I've never felt more manly than in that moment.
crazykid48x is offline   Reply With Quote
Old Oct 28th, 2005, 6:51 AM   #18
pal
Programmer
 
pal's Avatar
 
Join Date: Mar 2005
Location: Washington
Posts: 91
Rep Power: 4 pal is on a distinguished road
English is my second language as well.
Just try to logically state out exactly what is that you need ASMvsC++.
If you haven't considered reading the policy, I recommend you doing so if you're planning to post another welcomed questions. : )
pal is offline   Reply With Quote
Old Oct 28th, 2005, 12:40 PM   #19
OpenLoop
Expert Programmer
 
OpenLoop's Avatar
 
Join Date: May 2005
Location: East Lansing, MI
Posts: 663
Rep Power: 4 OpenLoop is on a distinguished road
Quote:
Originally Posted by iignotus
eye dun thnk ne1 wud asn u r ? cz u dun fllw rulze :/
-->noooo, this is not mockery.
Quote:
Originally Posted by iignotus
stop talking out of your ass.
-->wow he knows the A word. If he keeps it up, he'll master the F word by the age of ten.
OpenLoop is offline   Reply With Quote
Old Oct 28th, 2005, 1:01 PM   #20
iignotus
Professional Programmer
 
iignotus's Avatar
 
Join Date: Apr 2005
Location: Nowhere Special
Posts: 466
Rep Power: 4 iignotus is on a distinguished road
Send a message via AIM to iignotus
Stop acting like a child and trying to start a fight. You were wrong and I corrected you. End of story. Either apolgize, or drop the entire subject and let it be forgotten.
__________________
% rc4 hexkey < input > output
#define S ,t=s[i],s[i]=s[j],s[j]=t /* rc4 hexkey <file */
unsigned char k[256],s[256],i,j,t;main(c,v,e)char**v;{++v;while(++i)s[ 
i]=i;for(c=0;*(*v)++;k[c++]=e)sscanf((*v)++-1,"%2x",&e);while(j+=s[i]
+k[i%c]S,++i);for(j=0;c=~getchar();putchar(~c^s[t+=s[i]]))j+=s[++i]S;}
iignotus is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 3:12 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC