flat assembler
Message board for the users of flat assembler.

Index > OS Construction > Comand Line Start

Goto page Previous  1, 2, 3, 4  Next
Author
Thread Post new topic Reply to topic
rhyno_dagreat



Joined: 31 Jul 2006
Posts: 487
Location: Maryland, Unol Daleithiau
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.
Post 11 Oct 2006, 23:46
View user's profile Send private message Reply with quote
rhyno_dagreat



Joined: 31 Jul 2006
Posts: 487
Location: Maryland, Unol Daleithiau
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.
Post 12 Oct 2006, 02:52
View user's profile Send private message Reply with quote
Niels



Joined: 17 Sep 2006
Posts: 255
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.
Post 12 Oct 2006, 15:31
View user's profile Send private message Reply with quote
rhyno_dagreat



Joined: 31 Jul 2006
Posts: 487
Location: Maryland, Unol Daleithiau
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?"
Post 13 Oct 2006, 02:16
View user's profile Send private message Reply with quote
Niels



Joined: 17 Sep 2006
Posts: 255
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.
Post 13 Oct 2006, 08:41
View user's profile Send private message Reply with quote
Niels



Joined: 17 Sep 2006
Posts: 255
Niels 13 Oct 2006, 08:44
rhyno_dagreat wrote:
Quote:
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?"


Wrong start by the way.

Niels.
Post 13 Oct 2006, 08:44
View user's profile Send private message Reply with quote
rhyno_dagreat



Joined: 31 Jul 2006
Posts: 487
Location: Maryland, Unol Daleithiau
rhyno_dagreat 13 Oct 2006, 15:50
Okay, I shall, thanks for the page number. Now I know where to look it up Razz. And how can that be a wrong start?
Post 13 Oct 2006, 15:50
View user's profile Send private message Reply with quote
Niels



Joined: 17 Sep 2006
Posts: 255
Niels 13 Oct 2006, 16:02
Hello rhyno_dagreat,

I gave directions before, you choose the ignorend path.

Niels.
Post 13 Oct 2006, 16:02
View user's profile Send private message Reply with quote
rhyno_dagreat



Joined: 31 Jul 2006
Posts: 487
Location: Maryland, Unol Daleithiau
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.
Post 13 Oct 2006, 16:31
View user's profile Send private message Reply with quote
Niels



Joined: 17 Sep 2006
Posts: 255
Niels 13 Oct 2006, 17:44
Is (american-)english your native language?
Post 13 Oct 2006, 17:44
View user's profile Send private message Reply with quote
rhyno_dagreat



Joined: 31 Jul 2006
Posts: 487
Location: Maryland, Unol Daleithiau
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.
Post 13 Oct 2006, 18:02
View user's profile Send private message Reply with quote
Niels



Joined: 17 Sep 2006
Posts: 255
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.
Post 13 Oct 2006, 18:48
View user's profile Send private message Reply with quote
Niels



Joined: 17 Sep 2006
Posts: 255
Niels 13 Oct 2006, 18:53
My english may not be fluent but the understanding part left correctly from this side.
Post 13 Oct 2006, 18:53
View user's profile Send private message Reply with quote
Niels



Joined: 17 Sep 2006
Posts: 255
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. Smile

Niels.
Post 13 Oct 2006, 19:34
View user's profile Send private message Reply with quote
Niels



Joined: 17 Sep 2006
Posts: 255
Niels 13 Oct 2006, 19:48
Do what you know and learn the future. Smile
Post 13 Oct 2006, 19:48
View user's profile Send private message Reply with quote
rhyno_dagreat



Joined: 31 Jul 2006
Posts: 487
Location: Maryland, Unol Daleithiau
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.
Post 13 Oct 2006, 21:09
View user's profile Send private message Reply with quote
rhyno_dagreat



Joined: 31 Jul 2006
Posts: 487
Location: Maryland, Unol Daleithiau
rhyno_dagreat 13 Oct 2006, 21:47
Niels wrote:
Hello rhyno_dagreat,

If it were easy to copy...see page 225, Intel.

Niels.

ps.
I didn't say it to break your legs.


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.
Post 13 Oct 2006, 21:47
View user's profile Send private message Reply with quote
rhyno_dagreat



Joined: 31 Jul 2006
Posts: 487
Location: Maryland, Unol Daleithiau
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...
Post 13 Oct 2006, 22:58
View user's profile Send private message Reply with quote
rugxulo



Joined: 09 Aug 2005
Posts: 2341
Location: Usono (aka, USA)
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?)
Post 13 Oct 2006, 23:41
View user's profile Send private message Visit poster's website Reply with quote
rhyno_dagreat



Joined: 31 Jul 2006
Posts: 487
Location: Maryland, Unol Daleithiau
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)
Post 14 Oct 2006, 00:10
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  
Goto page Previous  1, 2, 3, 4  Next

< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.