Page 1 of 1

[Assembly] Printing text without any int

Posted: Sun Sep 23, 2012 1:46 pm
by benjamindu11
Hi all,
I've began to write an operating system in assembly.

My boot sector loads my kernel (written in assembly) at address 0x1000.
In protected mode there are no interrupts so we must write in video memory (0xB8000).

But I don't know how to create a function that can prints text.
I just don't know how to get the text in RAM and copy it in the video RAM...

Don't be scared about my (very) bad English, that's because I'm french :)

Thank you :)

A young 14 Y.O. beginner :)

Re: [Assembly] Printing text without any int

Posted: Sun Sep 23, 2012 2:19 pm
by Griwes
The scary thing is the fact you failed hard at reading wiki, not your English...

Re: [Assembly] Printing text without any int

Posted: Mon Sep 24, 2012 9:41 am
by benjamindu11
You don't understand I want a function that prints texts on the screen in assembly, because when I try I write a 100 line long function and it doesn't print my text... In the wiki there's the function that I want, but in C...

Re: [Assembly] Printing text without any int

Posted: Mon Sep 24, 2012 11:39 am
by iansjack
This is about the simplest initial step in adventures in OS programming. If you can't do this with the information available in this Wiki and elsewhere on the net then I seriously doubt that you are ready for OS development.

Start with something a little simpler and come back when you have learnt a little more. You are going to find OS design too frustrating. Alternatively, search the Internet - there are plenty of beginner's tutorials on OS work.