flat assembler
Message board for the users of flat assembler.
![]() Goto page Previous 1, 2, 3, 4 Next |
Author |
|
rhyno_dagreat 11 Oct 2006, 23:46
I tried what you did and it's giving me a General Protection Fault. I'm looking into it, but if you can help out, I'd be greatly appreciative.
|
|||
![]() |
|
rhyno_dagreat 12 Oct 2006, 02:52
The area where it's screwing up is when it first hits the GetInput subroutine, I do believe.
|
|||
![]() |
|
Niels 12 Oct 2006, 15:31
I humble myself for what I know, learn the basics of my need, then try-out.
Its unwise to think you know, try-out and maybe run into basics. |
|||
![]() |
|
rhyno_dagreat 13 Oct 2006, 02:16
Well, I think the best place for me to start to learn the basics of this is to ask the question "What does General Protection Fault mean?"
|
|||
![]() |
|
Niels 13 Oct 2006, 08:41
Hello rhyno_dagreat,
If it were easy to copy...see page 225, Intel. Niels. ps. I didn't say it to break your legs. |
|||
![]() |
|
rhyno_dagreat 13 Oct 2006, 15:50
Okay, I shall, thanks for the page number. Now I know where to look it up
![]() |
|||
![]() |
|
Niels 13 Oct 2006, 16:02
Hello rhyno_dagreat,
I gave directions before, you choose the ignorend path. Niels. |
|||
![]() |
|
rhyno_dagreat 13 Oct 2006, 16:31
If you mean look up the basics of assembly language, I have. It's just that I'm still very new to the OS Deving side of things. It's far different from standard ASM in the fact that you're the one programming the interrupts as opposed to the interrupts already being there.
|
|||
![]() |
|
Niels 13 Oct 2006, 17:44
Is (american-)english your native language?
|
|||
![]() |
|
rhyno_dagreat 13 Oct 2006, 18:02
Yeah. If you wanted to try to better explain what you mean in your native language, then just tell me what your language is and then explain it in that and I'll do my best to translate it (judging that linguistics is a hobby of mine). Thanks.
|
|||
![]() |
|
Niels 13 Oct 2006, 18:48
I asked the question, now I know you should be capable of understanding at least the online-tutorials if you take the effort to do so. I assume you have an assembler book(let) somewhere in your linguistic-library.
Niels. ps. My native-language is dutch, a language spoken in Holland a.k.a The Netherlands and probably known as Les Paysbas in the french speaking part of Canada. |
|||
![]() |
|
Niels 13 Oct 2006, 18:53
My english may not be fluent but the understanding part left correctly from this side.
|
|||
![]() |
|
Niels 13 Oct 2006, 19:34
I realize I may sound direct AND cold, but the cold part would really be a misunderstanding, I may not be quivering to help but I do try to help others.
Try to situate path, perspective and ask the right question for the created environment. You can't step in/on your verhicle, close your eyes, cycle/drive/move really far away and lift with certain verhicles, till you reach the point of asking people around where you might have been going to and how you did get there. ![]() Niels. |
|||
![]() |
|
Niels 13 Oct 2006, 19:48
Do what you know and learn the future.
![]() |
|||
![]() |
|
rhyno_dagreat 13 Oct 2006, 21:09
I do have one ASM book, but it is only very general and covers a wide variety of processors. It doesn't explain much about any of the constructs for the IA-32 processors. I have also looked online before I came in here for help, but most stuff out there is in C, which I have tried to translate to ASM, but it is not always the easiest thing to do.
|
|||
![]() |
|
rhyno_dagreat 13 Oct 2006, 21:47
Niels wrote: Hello rhyno_dagreat, BTW... I'm looking at my Intel Manuals (Parts 1, 2, and 3) and I don't see anything about the faults on that page... Can you give me a link as to where you got your copy from? I've seen so far at least two-three different versions of the manuals out on the net. |
|||
![]() |
|
rhyno_dagreat 13 Oct 2006, 22:58
As far as my code, I have figured out that it's a problem with my interrupt 0x21 (keyboard int). Strange thing though, I commented out the first place that it was called, and in the second place it's called it calls the timer interrupt instead (0x20), when it's still int 0x21. And then what I did was I took off the comment off the first one and changed 0x21 to 0x20, and what happened was it came up with the correct interrupt (the timer int), but then I pressed a key (should it still have been getting keyboard input, even though they keyboard interrupt isn't called at all?) and it came up with a General protection fault. Strange thing...
|
|||
![]() |
|
rugxulo 13 Oct 2006, 23:41
rhyno_dagreat wrote: BTW... I'm looking at my Intel Manuals (Parts 1, 2, and 3) and I don't see anything about the faults on that page... Can you give me a link as to where you got your copy from? I've seen so far at least two-three different versions of the manuals out on the net. Man, those processor guys sure have complicated websites! It seems harder to find stuff than it used to be. Anyways, Pentium 4 manuals should be sufficient (unless you prefer AMD Athlon64). (Isn't there an online AMD reference somewhere? Someone have the link?) |
|||
![]() |
|
rhyno_dagreat 14 Oct 2006, 00:10
I'm using a Pentium 4. Thanks for the links though! That's strange as to how there wouldn't be one standard Intel Manual as opposed to three different versions (and I don't mean "Parts" I mean whole manuals)
|
|||
![]() |
|
Goto page Previous 1, 2, 3, 4 Next < Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.