Search found 444 matches

by pjde
Sat Dec 08, 2018 2:31 am
Forum: Graphics
Topic: Ultibo game programming
Replies: 75
Views: 38742

Re: Ultibo game programming

But that said, there is some interesting stuff here
https://github.com/maccasoft/raspberry-pi


Has anyone been able to compile this code?

I am using make for windows but am getting the error "The syntax of the command is incorrect."

Regards

Paul
by pjde
Wed Dec 05, 2018 9:33 pm
Forum: Graphics
Topic: Ultibo game programming
Replies: 75
Views: 38742

Re: Ultibo game programming

Tried compiling it for Ultibo quite a few months back.

Couldn't seem to get the confgure right and kept getting compile errors.

If you can compile the source, they are quite a few pascal header files written for it so it should be able to be integrated into Ultibo.

Regards

Paul
by pjde
Wed Dec 05, 2018 9:06 pm
Forum: Discussion
Topic: ultibo-kernel-sampler
Replies: 7
Views: 739

Re: ultibo-kernel-sampler

Hi Mark

Tried the first two examples on a PI B (The one that says Raspberry Pi (c)2011.12) and a PI3B.

Both worked.

Regards

Paul
by pjde
Sun Dec 02, 2018 11:31 pm
Forum: Projects
Topic: Window manager
Replies: 146
Views: 42320

Re: Window manager

Try this

As a demo, it loads different icons for the Calculator and the Text Editor.

Regards

Paul
by pjde
Sun Dec 02, 2018 8:54 pm
Forum: General
Topic: String with nulls inside
Replies: 2
Views: 590

Re: String with nulls inside

I regularly do something similar
If you have buff as a pointer and bufflen as the length of data and s as the string


SetLength (s, bufflen);
System.Move (buff^, s[1], bufflen);

Regards

Paul
by pjde
Sat Dec 01, 2018 8:02 pm
Forum: General
Topic: HDMI Audio support
Replies: 6
Views: 6129

Re: HDMI Audio support

Check out https://ultibo.org/forum/viewtopic.php?f=12&t=497&p=7430&hilit=audio#p7430

There is an OMX example to play wave files via HDMI.

Regards

Paul
by pjde
Thu Nov 29, 2018 9:55 pm
Forum: Projects
Topic: Window manager
Replies: 146
Views: 42320

Re: Window manager

Hi Piotr

Was trying to add a LoadICONFromFile function.

Will wait for the 32 bit version as this will be easier to match colours.

Keep up the good work.

Paul
by pjde
Wed Nov 28, 2018 10:58 pm
Forum: Discussion
Topic: USB connector identification
Replies: 7
Views: 760

Re: USB connector identification

This might help. I use it to differentiate serial ports. (* From Front of Pi3 +-----+-----+ | 1 | 3 | +-----+-----+ | 2 | 4 | +-----+-----+ *) function FindDeviceOnPort (port : integer) : PUSBDevice; var Hub : PUSBHub; i : integer; begin Result := nil; if not (port in [1..4]) then begin Log1 ('Inval...
by pjde
Wed Nov 28, 2018 10:45 pm
Forum: Discussion
Topic: Micro:Bit inventory
Replies: 7
Views: 867

Re: Micro:Bit inventory

I have one hiding in plain sight somewhere.

Regards

Paul
by pjde
Wed Nov 28, 2018 10:44 pm
Forum: Projects
Topic: Window manager
Replies: 146
Views: 42320

Re: Window manager

Hi Piotr

I noticed that the retro window uses a 8 bit colour scheme.

Which flavour ot this do you use?

Regards

Paul

Go to advanced search