Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

starting from hardware

Hi!

Let's say that we have a hardware based on x86 for example but noting else.

Then how to start?

how to implement a compiler, a text editor.....?

I would be grateful to get some links or informations,

Thanks a lot!

Angeltpp

Comments

  • IDKIDK Member Posts: 1,784
    : Hi!
    :
    : Let's say that we have a hardware based on x86 for example but noting else.
    :
    : Then how to start?
    :
    : how to implement a compiler, a text editor.....?
    :
    What do you mean?

    Do you got a computer, or just a x86 chip?

    Do you want to make a compiler and a text editor for that?

    Is there any OS? If not, begin making your own.

    Happy coding wishes
    the one and only
    [b]Niklas Ulvinge[/b] [white]aka [b]IDK[/b][/white]

  • ANGELTPPANGELTPP Member Posts: 18
    reply: yes, that's it!

    a computer architecture but nothing else than the BIOS.

    So, now for example how to start with ?

    How can I implement a text editor,?

    a compiler?

    I guess this is the minimum requirement for building up an OS.

    But How?

    Thanks a lot,

    Angeltpp




    : : Hi!
    : :
    : : Let's say that we have a hardware based on x86 for example but noting else.
    : :
    : : Then how to start?
    : :
    : : how to implement a compiler, a text editor.....?
    : :
    : What do you mean?
    :
    : Do you got a computer, or just a x86 chip?
    :
    : Do you want to make a compiler and a text editor for that?
    :
    : Is there any OS? If not, begin making your own.
    :
    : Happy coding wishes
    : the one and only
    : [b]Niklas Ulvinge[/b] [white]aka [b]IDK[/b][/white]
    :
    :

  • IDKIDK Member Posts: 1,784
    : reply: yes, that's it!
    :
    : a computer architecture but nothing else than the BIOS.
    :
    : So, now for example how to start with ?
    :
    : How can I implement a text editor,?
    :
    : a compiler?
    :
    : I guess this is the minimum requirement for building up an OS.
    :
    : But How?
    :
    : Thanks a lot,
    :
    : Angeltpp
    :
    :

    First make an interupt that output characers to the screen.
    Second make an interupt that takes input from the keyboard.

    Now begin with the hard part of doing a text editor.
  • ANGELTPPANGELTPP Member Posts: 18
    reply: thanks a lot, you seem to know a lot about this..

    any link? tutorial? reference?

    Thanks!
    Atpp


    : : reply: yes, that's it!
    : :
    : : a computer architecture but nothing else than the BIOS.
    : :
    : : So, now for example how to start with ?
    : :
    : : How can I implement a text editor,?
    : :
    : : a compiler?
    : :
    : : I guess this is the minimum requirement for building up an OS.
    : :
    : : But How?
    : :
    : : Thanks a lot,
    : :
    : : Angeltpp
    : :
    : :
    :
    : First make an interupt that output characers to the screen.
    : Second make an interupt that takes input from the keyboard.
    :
    : Now begin with the hard part of doing a text editor.
    :

  • IDKIDK Member Posts: 1,784
    : reply: thanks a lot, you seem to know a lot about this..
    :
    : any link? tutorial? reference?
    :

    If you know asm, or if you don't you can learn how to do interupts here:
    http://webster.cs.ucr.edu/AoA/DOS/AoADosIndex.html
    (I think you can learn it from there)

    To get input from the keyboard you need to use port 60 like this:
    in al, 60

    Note, this should be done in the keyboard interupt.
    Remember to do something about the IRQ to.

    To output to the screen move something to 0A000h or 0B800h or wherever your screen buffer.

    I've never done an interupt or an OS, I'm just a kid who knows a lot.
    (I turned 16 today...)
  • ANGELTPPANGELTPP Member Posts: 18

    reply: Congratulations and HAPPY BIRTHDAY!

    You are lucky to be so skilled in programming.

    I am self learning after work; my job being far away from programming!!!!

    Art of Assemly language, thanks for the link!

    Also, I was interested by the History of Linux and how it was made! Interesting!

    thanks a lot!

    Angeltpp

    : : reply: thanks a lot, you seem to know a lot about this..
    : :
    : : any link? tutorial? reference?
    : :
    :
    : If you know asm, or if you don't you can learn how to do interupts here:
    : http://webster.cs.ucr.edu/AoA/DOS/AoADosIndex.html
    : (I think you can learn it from there)
    :
    : To get input from the keyboard you need to use port 60 like this:
    : in al, 60
    :
    : Note, this should be done in the keyboard interupt.
    : Remember to do something about the IRQ to.
    :
    : To output to the screen move something to 0A000h or 0B800h or wherever your screen buffer.
    :
    : I've never done an interupt or an OS, I'm just a kid who knows a lot.
    : (I turned 16 today...)
    :

Sign In or Register to comment.