User avatar
Laurens-wuyts
Posts: 716
Joined: Wed Aug 21, 2013 7:35 pm
Location: Belgium
Contact: Website

Weird framebuffer output

Sun Jan 17, 2016 2:45 pm

Hey everyone

Recently I started bare metal programming on a raspberry pi (zero).
I have good knowledge of different programming languages, including assembler on a xc888 (so I know the basics)
I have followed the baking pi tutorials and downloaded pifox.

I was playing a little with the framebuffer for using a different background buffer (like pifox).
I wrote some code, but i doesn't seem to work. :(
The code has some weird output on my screen.
https://www.youtube.com/watch?v=Qy6qsByiXG8

I hope some of you can help me with this issue.

Laurens
Attachments
source.rar
The code
(58.34 KiB) Downloaded 57 times

User avatar
Laurens-wuyts
Posts: 716
Joined: Wed Aug 21, 2013 7:35 pm
Location: Belgium
Contact: Website

Re: Weird framebuffer output

Wed Jan 20, 2016 11:36 am

Bump, I don't know if any of you have had the same issue (or know what's going on).
Otherwise, I'll need to find it out myself. ;)

Thanks in advance
Laurens

User avatar
Laurens-wuyts
Posts: 716
Joined: Wed Aug 21, 2013 7:35 pm
Location: Belgium
Contact: Website

Re: Weird framebuffer output

Wed Jan 20, 2016 9:59 pm

Well, I got it working like it should (finally) :P
It had something to do with the _start label which wasn't set correctly.

Laurens

Return to “Bare metal, Assembly language”