Search found 12 matches

by Poi
Thu Feb 21, 2019 1:17 pm
Forum: Graphics
Topic: How to set framebuffer properties flags
Replies: 5
Views: 63

Re: How to set framebuffer properties flags

I though that building the color value as a big endian straight away would be easy and save me the call to SwapEndian. Then I took a look at how the bits look after applying the SwapEndian function on a little endian number... I back tracked immediately and decided to just use SwapEndian. The red an...
by Poi
Wed Feb 20, 2019 10:11 am
Forum: Graphics
Topic: How to set framebuffer properties flags
Replies: 5
Views: 63

Re: How to set framebuffer properties flags

Oooohhhhhh, so you don't set the flags, you can only get them. Got it! :)

Yeah, everything makes sense, I am just trying to find the most elegant path to set a color. Converting everything on my side using SwapEndian, while effective, seemed wrong.

Thanks for the clarification.
by Poi
Tue Feb 19, 2019 11:57 pm
Forum: Graphics
Topic: How to set framebuffer properties flags
Replies: 5
Views: 63

How to set framebuffer properties flags

How do you set the FramebufferProperties.Flags property? I know it has something to do with bitwise xor and those constants defined in framebuffer.pas, but I was never too comfortable with bitwise operations :P I have been doing some digging around and found out in the comments that those values are...
by Poi
Sat Feb 09, 2019 11:07 pm
Forum: Discussion
Topic: Building from source in OSX
Replies: 18
Views: 515

Re: Building from source in OSX

Just tried it out and it is working just fine. Thanks for the support :)

Now I only need to do something amazing :P
by Poi
Thu Jan 24, 2019 1:15 am
Forum: Discussion
Topic: Building from source in OSX
Replies: 18
Views: 515

Re: Building from source in OSX

That's great to hear, I was wondering if you guys were working on that or if you were too busy with other things.
by Poi
Mon Jan 14, 2019 1:15 am
Forum: Discussion
Topic: Building from source in OSX
Replies: 18
Views: 515

Re: Building from source in OSX

To sum it all up. I am using macOS version 10.13.1 (High Sierra) Downloaded the latest code for Ultibo Core from https://github.com/ultibohub/Core Downloaded the latest code for FPC Ultibo edition from https://github.com/ultibohub/FPC I then checked the main Makefile from the repo FPC Ultibo edition...
by Poi
Fri Jan 11, 2019 11:50 am
Forum: Discussion
Topic: Building from source in OSX
Replies: 18
Views: 515

Re: Building from source in OSX

Just tried out the blinking example and it works alright.
by Poi
Fri Jan 11, 2019 12:44 am
Forum: Discussion
Topic: Building from source in OSX
Replies: 18
Views: 515

Re: Building from source in OSX

I have been trying to get my bare bones example up and running, but failing at that :P I was able to build a kernel.img from the following code, but when I turn on the Pi Zero, the screen is just blank. It is getting power, but nothing else seems to be going on. I should be seeing the text "Hel...
by Poi
Wed Jan 09, 2019 9:55 pm
Forum: Discussion
Topic: Building from source in OSX
Replies: 18
Views: 515

Re: Building from source in OSX

Managed to get all the way to the end! Renaming ppcrossarm to ppcarm did the trick. After that, it was all smooth sailing. Although it seems like it is a bug. I was looking at the source code and right in the part where it decides which executable to use, there is a special case for darwin . This is...
by Poi
Wed Jan 09, 2019 11:53 am
Forum: Discussion
Topic: Building from source in OSX
Replies: 18
Views: 515

Re: Building from source in OSX

The thing that stands out is that it is looking for ppcarm but the cross compiler should normally be called ppcrossarm instead. Do you have ppcrossarm in /Users/johndoe/ultibo/core/fpc/bin ? Do you have ppcarm anywhere at all? If you copy ppcrossarm to ppcarm does it help? I have ppcrossarm , copie...

Go to advanced search