Search found 1852 matches

by Ultibo
Thu May 24, 2018 10:53 am
Forum: Graphics
Topic: Determining Console Window's Position
Replies: 4
Views: 58

Re: Determining Console Window's Position

I really need to find a better way but this has been working for a year so no hurry ;) The system must know, because I don't need to do this when doing plotting in a graphics console, it knows the 0,0 point has x, y offset in the console window. Try this, it should save an image of any window (text...
by Ultibo
Wed May 23, 2018 11:05 am
Forum: Graphics
Topic: Determining Console Window's Position
Replies: 4
Views: 58

Re: Determining Console Window's Position

If I create a Graphics Console window positioned at CONSOLE_POSITION_BOTTOMRIGHT, how can I get its co-ordinates relative to the frame buffer (namely its origin). There are two ways to do it simply, one will always work and the other might disappear in future. The first (and recommended) way is to ...
by Ultibo
Mon May 21, 2018 11:33 pm
Forum: General
Topic: using dd in ultibo
Replies: 9
Views: 163

Re: using dd in ultibo

develone wrote:These are BCM 17 pin 11, BCM 22 pin 15, and BCM25 pin 22?

No, the pin numbers shown in your config_cat script are already the correct numbers to use when talking to the GPIO device.

Simply use GPIO_PIN_17, GPIO_PIN_22 and GPIO_PIN_25 exactly as per the script and it should work.
by Ultibo
Mon May 21, 2018 11:24 pm
Forum: Graphics
Topic: Video for Ultibo
Replies: 6
Views: 217

Re: Video for Ultibo

But, argh there 's no apparent port of some video compressors on pascal... Which ones are you wanting to use? Are they available as open source? What would you use for the same thing from Windows or Linux? Many things are not available as native Pascal source, that is why we have library support. T...
by Ultibo
Mon May 21, 2018 12:43 am
Forum: General
Topic: using dd in ultibo
Replies: 9
Views: 163

Re: using dd in ultibo

All size over 4096 fail. Yes, I forgot that SPI0 has a 16bit size field in the hardware registers. Here is a updated version of the function that allows you to split the file into chunks "on the fly" function SPISendFile2(const Filename: String; BlockSize: LongWord): Boolean; var Size:Lon...
by Ultibo
Sat May 19, 2018 2:58 am
Forum: General
Topic: using dd in ultibo
Replies: 9
Views: 163

Re: using dd in ultibo

I use dd if=$1 of=/dev/spidev0.0 in a bash script plus 3 GPIO pins to program the FPGA. The files are 135100 bytes. see https://github.com/develone/catboard_yosys/blob/master/config_cat What would be the best way to test using using Ultibo to program the fpga. Thanks, We don't have anything like dd...
by Ultibo
Fri May 18, 2018 12:03 am
Forum: Feature requests
Topic: ArmV8 / Aarch64 / ARM64... what would it take?
Replies: 61
Views: 5626

Re: ArmV8 / Aarch64 / ARM64... what would it take?

Bit more on the 64 to 32 bit pointer issue for the VC4. Fixable in Paul's OMXMMAL code? You have to remember that the use of 32 bit pointers is intrinsically woven into almost every layer of the userland code and cannot be easily fixed by simple changes to header definitions. It seems to be possibl...
by Ultibo
Thu May 17, 2018 11:56 pm
Forum: General
Topic: Requesting help and permission to use code
Replies: 14
Views: 276

Re: Requesting help and permission to use code

I've been working some more on this (had to start from scratch after accidentally destroying my SD card), and have come across the egl.pas unit now. I managed to make it work, but I was wondering why Ultibo manually links to the shared object procedures ? (I used {$linklib 'brcmEGL'} and {$linklib ...
by Ultibo
Thu May 17, 2018 7:57 am
Forum: Discussion
Topic: CEC-HDMI Control TV/Receive TV Remote controller presses
Replies: 57
Views: 3279

Re: CEC-HDMI Control TV/Receive TV Remote controller presses

Gavinmc42 wrote:
# Allow OS rather than firmware control CEC
mask_gpu_interrupt1=0x100

As far as I know that is related to allowing the Eric Anholt kernel drivers to perform functions like CEC instead of the firmware, since we don't have those drivers then it would probably stop CEC from working in Ultibo.
by Ultibo
Thu May 17, 2018 7:55 am
Forum: Discussion
Topic: Setting about UART0 Serial RX
Replies: 8
Views: 163

Re: Setting about UART0 Serial RX

The flow control can not be used because the hardware change is difficult. Thanks for your advice. You're welcome. I have another question about serial RX interrupt. Can I generate a callback event when data is written to CM3's serial Rx FIFO? This is not something that is supported by the current ...

Go to advanced search