flat assembler
Message board for the users of flat assembler.
![]() Goto page 1, 2, 3 Next |
Author |
|
System86
Just put int 11h, that will call the interrupt (it doesn't matter whats in any register before you call int 11h, int 11h always does the same thing). Int 11h returns equipment information in ax. See Ralf Brown Interrupts List or HELPPC as to what exactly the bits in ax returned mean.
|
|||
![]() |
|
steward
Please help,
I am new in assembly,and i have few times to do this project. help please.if it does not matter ,i want the source code. help please |
|||
![]() |
|
System86
Use this:
int 11h ;after this, equipment installed returned in ax (or eax, most 386+ systems use the high bits as well) The meaning of the bits is as follows: ---- ---- ---- ---X 1 = disk drive(s) installed ---- ---- ---- --X- 1 = math coprocessor installed ---- ---- ---- XX-- System memory 00=16k 01=32k 10=48k 11=64k (non PS/2) ---- ---- ---- -X-- 1 = pointing device installed (PS/2) ---- ---- ---- X--- not used on PS/2 ---- ---- --XX ---- initial video mode: 01=CO40 10=CO80 11=MONO ---- ---- XX-- ---- disk drives 00=1 01=2 10=3 11=4 (zero if bit 1=0) ---- ---X ---- ---- 1 = no DMA available ---- XXX- ---- ---- number of serial ports installed (000=0 001=1 etc) ---X ---- ---- ---- 1 = game port adapter installed --X- ---- ---- ---- 1 = internal modem installed (PS/2) --X- ---- ---- ---- 1 = serial printer attached (non PS/2) XX-- ---- ---- ---- number of printers installed (00=0 01=1 10=2 11=3) above list from http://www.comp.nus.edu.sg/~malin/materials/C_lib/libc_67.html |
|||
![]() |
|
steward
thanks.but i want the code in assembly.
|
|||
![]() |
|
edfed
Code: int 11h test al,1 jz nodrive test al,2 jz nocopross test al,4 jz nopointingdevice test al,8 jz notusedonPS2 .... ... .. ![]() Last edited by edfed on 13 Apr 2008, 19:44; edited 1 time in total |
|||
![]() |
|
f0dder
steward wrote: thanks.but i want the code in assembly. _________________ ![]() |
|||
![]() |
|
steward
what is the meaning of 'test' in code?
|
|||
![]() |
|
edfed
and, without operand corruption.
did you read the manual of fasm????? there are many versions, on line, in all packages, and maybe in intel manuals. sure, google can answer cvery well and very fast to your request. Last edited by edfed on 13 Apr 2008, 19:59; edited 1 time in total |
|||
![]() |
|
System86
test is an opcode that is like and, but does not change the operands, it only affects the flags in the same way as and. Please see the fasm documentation or Intel/AMD processor manuals.
For example: test al, 1 ;ZF set after this if bit 0 of al clear |
|||
![]() |
|
edfed
cos(eax+eip*1024)
|
|||
![]() |
|
steward
Thanks alot
|
|||
![]() |
|
steward
Help me please.
complete source.please.i am in trouble |
|||
![]() |
|
edfed
no, if you want to learn assembly art, you should learn to think by yourself.
non mais ho! c'est pas la fete ici... ![]() |
|||
![]() |
|
f0dder
steward wrote: Help me please. f0dder wrote: Dump the assembly course, and try again next semester - but that time, pay attention in class. |
|||
![]() |
|
steward
I said i am new.i am networkman not developer.
help please |
|||
![]() |
|
edfed
if i help you, first, you should give me the documentations of my network card.
Accton EN2242 for omnibook. thanks. |
|||
![]() |
|
steward
Thank you.sir.you are not a good man.I said i am in trouble.
|
|||
![]() |
|
edfed
where is the spec of my card? i need it, i seek it since two weeks, and i didn't find. as you're a networkman, you can find it, no?
give me the doc, i give you the solution. |
|||
![]() |
|
steward
What do u want to do with its Documentation?i think u can find it easy in google.
|
|||
![]() |
|
Goto page 1, 2, 3 Next < Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.