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
[Assembly] Printing text without any int
- Griwes
- Member
- Posts: 374
- Joined: Sat Jul 30, 2011 10:07 am
- Libera.chat IRC: Griwes
- Location: Wrocław/Racibórz, Poland
- Contact:
Re: [Assembly] Printing text without any int
The scary thing is the fact you failed hard at reading wiki, not your English...
Reaver Project :: Repository :: Ohloh project page
<klange> This is a horror story about what happens when you need a hammer and all you have is the skulls of the damned.
<drake1> as long as the lock is read and modified by atomic operations
<klange> This is a horror story about what happens when you need a hammer and all you have is the skulls of the damned.
<drake1> as long as the lock is read and modified by atomic operations
-
- Posts: 2
- Joined: Sun Sep 23, 2012 1:30 pm
Re: [Assembly] Printing text without any int
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
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.
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.