I am learning assemble about protected mode under 80386,
but I find almost codes on book cann't run well,I want to
get some source codes about protected mode 80386,
who could tell where to download,
or who could send me by e-mail?My e-mail is [email protected] ,
Thank you very much.
Who could tell where to download source code
-
- Member
- Posts: 70
- Joined: Fri Nov 19, 2010 6:54 pm
Re: Who could tell where to download source code
Every good solution is obvious once you've found it.
Re: Who could tell where to download source code
@leetow2003: Can I suggest perhaps learning x86 assembly, before jumping into P-mode? If you do not know the basics your not going to go anywere. (if you knew the basic's chances are you wouldn't need to ask this question.)
My hero, is Mel.
-
- Member
- Posts: 70
- Joined: Fri Nov 19, 2010 6:54 pm
Re: Who could tell where to download source code
Thanks for your advice,I have learned 8088 assembly for a long time,and now I want to learnCoddy wrote:@leetow2003: Can I suggest perhaps learning x86 assembly, before jumping into P-mode? If you do not know the basics your not going to go anywere. (if you knew the basic's chances are you wouldn't need to ask this question.)
P-mode,but I read some books and copy those codes,and they don't run well,so I want to
get some source code about P-mode.
Re: Who could tell where to download source code
May I suggest an assembly oriented forum, perhaps one relating to your assembler of choice?
- gravaera
- Member
- Posts: 737
- Joined: Tue Jun 02, 2009 4:35 pm
- Location: Supporting the cause: Use \tabs to indent code. NOT \x20 spaces.
Re: Who could tell where to download source code
Hi:
--All the best,
gravaera
You can look at 90% of the source in arch/i386 of the linux tree for "pmode" source: it's all written for protected mode. What you want is an understanding of the semantics of protected mode. For that, you should read the intel reference manuals.leetow2003 wrote:Thanks for your advice,I have learned 8088 assembly for a long time,and now I want to learn
P-mode,but I read some books and copy those codes,and they don't run well,so I want to
get some source code about P-mode.
--All the best,
gravaera
17:56 < sortie> Paging is called paging because you need to draw it on pages in your notebook to succeed at it.
Re: Who could tell where to download source code
Hi ,
Do not put your email address like that. Your mailbox will be a target for spam bots if you do so
--Thomas
At the risk of going off topic , sometimes looking at the code is the only thing you can do . Esp when you have to work with internally developed toolkits and so forth written by overworked employees who had little time to document them . I think its nice to have a set of examples to learn though : http://flatassembler.net/examples.php . Try with hello world , then proceed with simple things like matrix multiplication and so forth. Once you get the hang rest of the things are easy . you might want to read the book advanced programming for the 386 by James Turley.Looking at source code is the wrong approach.
Do not put your email address like that. Your mailbox will be a target for spam bots if you do so
--Thomas
-
- Member
- Posts: 70
- Joined: Fri Nov 19, 2010 6:54 pm
Re: Who could tell where to download source code
Thank you Thomas,and I download the files,but I find most codes
are for win32 assembler,I hope those files are codes for pure pretected
mode,do you have these codes?Thanks for your advice.
are for win32 assembler,I hope those files are codes for pure pretected
mode,do you have these codes?Thanks for your advice.
- Combuster
- Member
- Posts: 9301
- Joined: Wed Oct 18, 2006 3:45 am
- Libera.chat IRC: [com]buster
- Location: On the balcony, where I can actually keep 1½m distance
- Contact:
Re: Who could tell where to download source code
QFT.gravaera wrote:What you want is an understanding of the semantics of protected mode. For that, you should read the intel reference manuals.
Learn what protected mode is before making more of a fool of yourself.