News:

Facebook killed the radio star. And by radio star, I mean the premise of distributed forums around the internet. And that got got by Instagram/SnapChat. And that got got by TikTok. Where the fuck is the internet we once knew?

Main Menu

JoeOS: I'm gonna try some OS Development

Started by Joe, June 16, 2005, 10:19:50 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

Joe

Quote[15:25:22] <Joe[x86]2> wtf
[15:25:24] <Joe[x86]2> well
[15:25:30] <Joe[x86]2> It loads stage 1 just fine
[15:25:37] <Joe[x86]2> attempts to load stage two
[15:25:38] <Joe[x86]2> and does
[15:25:39] <Joe[x86]2> and
[15:25:49] <Joe[x86]2> stage two prints its welcome message.. *counts*
[15:25:57] <Joe[x86]2> 10 fucking times

Oh man, I need to cut myself. I've done a lot of cutting myself lately. By the way, I hope you know I'm not serious about cutting myself. I haven't even hit my head against the wall yet.
Quote from: Camel on June 09, 2009, 04:12:23 PMI'd personally do as Joe suggests

Quote from: AntiVirus on October 19, 2010, 02:36:52 PM
You might be right about that, Joe.


Tuberload

Quote from: Joex86] link=topic=1636.msg14811#msg14811 date=1119129609]
Quote[15:25:22] <Joe[x86]2> wtf
[15:25:24] <Joe[x86]2> well
[15:25:30] <Joe[x86]2> It loads stage 1 just fine
[15:25:37] <Joe[x86]2> attempts to load stage two
[15:25:38] <Joe[x86]2> and does
[15:25:39] <Joe[x86]2> and
[15:25:49] <Joe[x86]2> stage two prints its welcome message.. *counts*
[15:25:57] <Joe[x86]2> 10 fucking times

Oh man, I need to cut myself. I've done a lot of cutting myself lately. By the way, I hope you know I'm not serious about cutting myself. I haven't even hit my head against the wall yet.

Keep at it and soon the problem will slap you in the face and be as obvious as the fact that you smell funny.
I am prepared to be ridiculed for what I believe, are you?

Joe

Shut up. You know I don't like people talking about my BO issue. =(

I already fixed it. I was ret'ing instead of jmp'ing.
Quote from: Camel on June 09, 2009, 04:12:23 PMI'd personally do as Joe suggests

Quote from: AntiVirus on October 19, 2010, 02:36:52 PM
You might be right about that, Joe.


Blaze

Quote from: Joex86] link=topic=1636.msg14869#msg14869 date=1119199649]
You know I don't like people talking about my BO issue. =(
Well, its public now.
And like a fool I believed myself, and thought I was somebody else...

Tuberload

Quote from: Joex86] link=topic=1636.msg14869#msg14869 date=1119199649]
Shut up. You know I don't like people talking about my BO issue. =(

I already fixed it. I was ret'ing instead of jmp'ing.

;D I took a lucky guess.

Good job on figuring out the problem!
I am prepared to be ridiculed for what I believe, are you?

Warrior

One must ask oneself: "do I will trolling to become a universal law?" And then when one realizes "yes, I do will it to be such," one feels completely justified.
-- from Groundwork for the Metaphysics of Trolling

Tuberload

It's just a joke, he doesn't have a BO problem. We're just trying to make people laugh!
I am prepared to be ridiculed for what I believe, are you?

Nate

Quote from: Tuberload on June 19, 2005, 04:49:57 PM
It's just a joke, he doesn't have a BO problem. We're just trying to make people laugh!

Then post a picture of your mom.  Also Joe what advantage does JoeOS have over say Windows XP?  I've been thinking of down-grading to the stone age but I don't know if you are there yet.

01Linux


Tuberload

Quote from: Nate on June 19, 2005, 05:39:23 PMThen post a picture of your mom.

Maybe you would get a laugh, superiority tends to make the jealous laugh in an attempt to keep their insecurities under wraps.

QuoteAlso Joe what advantage does JoeOS have over say Windows XP?  I've been thinking of down-grading to the stone age but I don't know if you are there yet.

You're an idiot plain and simple.
I am prepared to be ridiculed for what I believe, are you?

Joe

yeah yeah, saying I was ahead was War's idea. =p

I screwed up my stage two loading, but I can fix it.. later!
Quote from: Camel on June 09, 2009, 04:12:23 PMI'd personally do as Joe suggests

Quote from: AntiVirus on October 19, 2010, 02:36:52 PM
You might be right about that, Joe.


Warrior

As a joke and wasn't meant to go further than a joke
One must ask oneself: "do I will trolling to become a universal law?" And then when one realizes "yes, I do will it to be such," one feels completely justified.
-- from Groundwork for the Metaphysics of Trolling

Nate

#42
I know its been a while but i got bored and am trying some OSDev and ill probably start my own topic but in Warrior's print function that Joe uses 'mov ah, 0x10' makes absolutely no sense.  Shouldn't it be 'mov ah, 0x0E' or maybe 'mov ah, 0x13'?

Warrior

To be completely honest, I havn't looked at RBIL in a while so it may/may not be right. Of course anything I program is perfect so I'd say "Working as intended" unless of course..Joe managed to screw it up.
One must ask oneself: "do I will trolling to become a universal law?" And then when one realizes "yes, I do will it to be such," one feels completely justified.
-- from Groundwork for the Metaphysics of Trolling

Joe

   AH = 0Eh
   AL = character to write
   BH = page number
   BL = foreground color (graphics modes only)


Function to print, untested
(WORD) Length of the string
(WORD) String Pointer

printf:
    ; Take in the arguments
    pop ax ; String length
    pop bx ; String pointer

    ; Set the interrupt arguments
    mov ah, 0Eh
    mov bh, 0
    mov bl, 07h

    xor cx, cx ; cx is counter, set to 0

  .startloop
    mv al, [bx+cx] ;[bx+cx] is the character to print
    int 10h
    cmp cx, ax
    je .end
    jmp startloop

  .end
ret
Quote from: Camel on June 09, 2009, 04:12:23 PMI'd personally do as Joe suggests

Quote from: AntiVirus on October 19, 2010, 02:36:52 PM
You might be right about that, Joe.