Positioning Texts
Positioning Texts
Hello,
I'm trying to develop my ARM OS, but I need to know how could I position text on the screen. The only information that I hate at the time, is the address that I got from the Integrator/CP Reference Manual, that is 0x16000030, but I don1t know what to do with the value. Someone could help me with this?
Best Regards,
Nathan Paulino Campos
I'm trying to develop my ARM OS, but I need to know how could I position text on the screen. The only information that I hate at the time, is the address that I got from the Integrator/CP Reference Manual, that is 0x16000030, but I don1t know what to do with the value. Someone could help me with this?
Best Regards,
Nathan Paulino Campos
- Brynet-Inc
- Member
- Posts: 2426
- Joined: Tue Oct 17, 2006 9:29 pm
- Libera.chat IRC: brynet
- Location: Canada
- Contact:
- Combuster
- Member
- Posts: 9301
- Joined: Wed Oct 18, 2006 3:45 am
- Libera.chat IRC: [com]buster
- Location: On the balcony, where I can actually keep 1½m distance
- Contact:
Re: Positioning Texts
It's a serial port, not a display. There is no position.
Find out what's interpreting the data coming out, and seek out the reference for that.
Find out what's interpreting the data coming out, and seek out the reference for that.
Re: Positioning Texts
I haven't found anything like that in the reference.Combuster wrote:It's a serial port, not a display. There is no position.
Find out what's interpreting the data coming out, and seek out the reference for that.
Re: Positioning Texts
Just look at the board. What is connected to the port? Is it the display? If so, are there any markings on it that tell what kind of display it is?
Re: Positioning Texts
Check the QEMU docs (although the documentation seems to be awful for non-x86 system emulation..) or the source (this will have the answer)Nathan wrote:I don't have the board, I just emulate it using Qemu.
EDIT: From reading the QEMU documentation and looking through hw/integrator.c in the qemu source tree because I really didn't have anything better
to do at the moment, it looks like there's a PL110 LCD controller at address 0xC0000000. You can find the offsets from looking through hw/pl110.c, or
ARM has the PL110 datasheet on their infocenter. Research is a good idea.
Re: Positioning Texts
I've understood it, but still don't know what syntax should I use to make work. Someone can help me?
- Combuster
- Member
- Posts: 9301
- Joined: Wed Oct 18, 2006 3:45 am
- Libera.chat IRC: [com]buster
- Location: On the balcony, where I can actually keep 1½m distance
- Contact:
Re: Positioning Texts
No. Ask a smart question first. You just failed about all the rules on those.Nathan wrote:Someone can help me?
- JackScott
- Member
- Posts: 1032
- Joined: Thu Dec 21, 2006 3:03 am
- Location: Hobart, Australia
- Mastodon: https://aus.social/@jackscottau
- GitHub: https://github.com/JackScottAU
- Contact:
Re: Positioning Texts
Try the syntax you think should work, and see what errors you get. If you have honestly no idea where to even start with the syntax, go back to step 1 and learn C.
Re: Positioning Texts
I don't even know what syntax to use, because I don't have the necessary information to think on it.
- JackScott
- Member
- Posts: 1032
- Joined: Thu Dec 21, 2006 3:03 am
- Location: Hobart, Australia
- Mastodon: https://aus.social/@jackscottau
- GitHub: https://github.com/JackScottAU
- Contact:
Re: Positioning Texts
Then either learn C, or GTFO. It's your choice.