flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
Night Rider 05 Aug 2005, 18:35
What exactly do you mean 'there is always an error.' . Where from do you know it? What error? During compilation time or what? Message appears?
Who(what i mean) reports about error? Try to comment part of code and figure out, where error occures. Try to comment mov al, 0xaa and next strings etc. Use bochs.... ![]() |
|||
![]() |
|
SouthernMunk 06 Aug 2005, 04:44
Sorry, I should have been more specific.
The program compiles fine, but the result of the KBC command 0xAA (self test) is not 0x55 (OK). Or perhaps I'm not checking the result properly, I don't know. The result is always Quote:
Also, do most modern processors support Fast A20? |
|||
![]() |
|
Night Rider 06 Aug 2005, 19:14
Try debug it with Bochs
|
|||
![]() |
|
SouthernMunk 07 Aug 2005, 00:10
The same message appears with Bochs.
You can't see a problem with the code? |
|||
![]() |
|
LocoDelAssembly 07 Aug 2005, 01:20
I think the problem is you jump to TestKBC_Success if al != 0x55
Change "jnz .TestKBC_Success" with "jz .TestKBC_Success" [edit]Note when the test is OK you return instead of call Die, take in mind when you return there is no more code after the call to TestKBC[/edit] |
|||
![]() |
|
Night Rider 07 Aug 2005, 16:17
Oh, hell! I didn't say "try to execute your code with Bochs" I said try to DEBUG it with Bochs.
There is a debugger - put breakpoints etc and figure out, where error is! |
|||
![]() |
|
Night Rider 07 Aug 2005, 16:20
Yes, locodelassembly, you are right.
SouthernMunk, put jz not jnz (which is the same as 'jmp if not equal') je and it must go on. Code is right and response is OK, but you print 'failed' if everything is ok... |
|||
![]() |
|
SouthernMunk 08 Aug 2005, 01:28
Sweedish, thankyou (I should have guessed it was a simple mistake).
![]() |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.