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 codes,who could tell where to download,
or who could send me by e-mail?My e-mail is leetow2003@yahoo.com.cn ,
Thank you very much.
MASM32 Downloads (http://masm32.com/masmdl.htm). It's in the upper right corner of the forum home page. Look in the examples folder.
Quote from: GregL on November 18, 2010, 05:24:20 AM
MASM32 Downloads (http://masm32.com/masmdl.htm). It's in the upper right corner of the forum home page. Look in the examples folder.
http://masm32.com/masmdl.htm
you mean on this website to download masm32 and set up,and then
get the folder examples,don't you?
I do that according to you,and find the folder,but I
want to get the source codes under pure 80386 assemble,don't
want to get the win32 assemble codes,could you tell how to
get the pure 80386 assemble source codes?
leetow2003,
For which OS?
you'd probably enjoy this site...
http://forum.osdev.org/
they are always discussing this subject
from time to time, they have contests to see who can write the smallest boot code :P
Quote from: GregL on November 19, 2010, 01:30:09 AM
leetow2003,
For which OS?
My OS is XP,or reset to DOS
If you are going to create your own OS, this is not the place. FASM board should be more suitable. Anyway, MASM License is no allowing you to create your own OS.
Anyway, MASM is also known as Microsoft Macro Assembler.
leetow2003,
There is no such thing as pure assembler code that will run in a protected mode OS like Windows, you cannot interact with the OS at all unless you use the documented operating system functions to do it, disk IO, memory access and thousands of other things. You can write pure assembler algorithms that protected mode code can use but your IO must be done through operating system functions.
The Windows API functions and later COM and similar are many and complex but there is no simple shortcut to avoid them, learn to use at least some of them or you will not succeed in getting code to work in Windows.
Quoting the OP:
Quote from: leetow2003 on November 18, 2010, 04:36:53 AM
I am learning assemble about protected mode under 80386,
Quote from: leetow2003
My OS is XP,or reset to DOS
it's pretty clear from these statements that leetow2003 doesn't want to write Windows programs or his "own OS".
So, pals, why do feel obliged to "answer" if you don't read the questions?
i tend to give the benefit of doubt, especially when the poster has no mastery of English
i believe it may well be a language barrier issue, and that the poster has not expressed goals properly
in fact, what i gather is that they are trying to write code for a 386 embedded system
not much use in writing malicious code on that platform :P
Quote from: dedndave on November 23, 2010, 10:32:17 AM
what i gather is that they are trying to write code for a 386 embedded system
? That's quite a deduction Sherlock :lol
:bg
i'm not as dumb as i look :lol