Go to advanced search

by Gavinmc42
Sat Dec 15, 2018 8:27 am
Forum: Gentoo
Topic: 64 Bit Gentoo Raspberry Pi 3 Benchmarks
Replies: 2
Views: 4539

Re: 64 Bit Gentoo Raspberry Pi 3 Benchmarks

A comment I made about Firefox working in Gentoo64, got someone asking about WebGL. Yes it does work, not fast and some examples crash it. So it is a benchmark of Gentoo64 or Firefox. Celeron Core Duo Mint PC Firefox 64.0 19fps for http://webglsamples.org/blob/blob.html Gentoo64 - 5fps ZTE Blade A47...
by Gavinmc42
Sat Dec 15, 2018 8:05 am
Forum: General discussion
Topic: 64-bit operating system
Replies: 252
Views: 23191

Re: 64-bit operating system

http://webglsamples.org/blob/blob.html
This runs at 29fps on my Blade A475 cheap mobile phone.
Android 5.1, 1GHz 4 core A53 with Mali T720 MP1.
Is the Mali 720 6 times faster than the VC4?
Gentoo64 uses Eric's Mesa driver, is it 6 times slower?
by Gavinmc42
Sat Dec 15, 2018 5:57 am
Forum: Beginners
Topic: I know absolutely nothing whatsoever. What now?!
Replies: 24
Views: 612

Re: I know absolutely nothing whatsoever. What now?!

Once you start heading into personal beliefs then we are entering religious territory where "true" believers push their beliefs onto those who lack knowledge or want someone to think for them. Programmers generally have to think logically. This skill can be acquired and comes in handy when facing th...
by Gavinmc42
Sat Dec 15, 2018 5:10 am
Forum: General discussion
Topic: 64-bit operating system
Replies: 252
Views: 23191

Re: 64-bit operating system

Any sign of webgl working? For example http://webglsamples.org/blob/blob.html Heater, don't have internet here for my Gentoo64 box, will get back to you on the answer. Heater - 19fps on my Celeron Core Duo Mint box and 5fps on my Gentoo64 Pi3B+. Aquarium crashed Firefox on Gentoo64 and runs 10fps o...
by Gavinmc42
Fri Dec 14, 2018 10:14 am
Forum: Beginners
Topic: I know absolutely nothing whatsoever. What now?!
Replies: 24
Views: 612

Re: I know absolutely nothing whatsoever. What now?!

The real challenge to professional programming is to bear in mind that you are writing code for someone else to use, with all that that implies. Being able to use Arduino's is the same as programming a Pic16C84? Too many ways to code, as long as "they" make it easier and less scary to learn and RPF...
by Gavinmc42
Fri Dec 14, 2018 9:40 am
Forum: Off topic discussion
Topic: Why Avoid BASIC on RPi?
Replies: 722
Views: 16547

Re: Why Avoid BASIC on RPi?

What language is going to be best for Quantum computers? Is there a language that uses other bases, Sumerian base 60 is good for Humans, but AI and future computers will use?. Trinary- Yes, No, Maybe? Trinary is pretty good for humans too, laws are black(no) and white (yes) but most of the time we l...
by Gavinmc42
Fri Dec 14, 2018 7:52 am
Forum: Off topic discussion
Topic: Why Avoid BASIC on RPi?
Replies: 722
Views: 16547

Re: Why Avoid BASIC on RPi?

Yep saving the data in a register to reuse it, copying from one register to another register takes time. Ping pong between registers? Can we make that go faster by using more registers? Most languages return subroutine results in R0? Legacy of when we only had a few registers? Been staring at the fi...
by Gavinmc42
Fri Dec 14, 2018 12:56 am
Forum: Beginners
Topic: I know absolutely nothing whatsoever. What now?!
Replies: 24
Views: 612

Re: I know absolutely nothing whatsoever. What now?!

Always remember; everyone starts by knowing absolutely nothing Yep and the more you learn the more you find out you don't know anything. Besides it could turn into a 2nd, 3rd, 4th, 5th? career. They say most jobs in the future will be coding, so unless you plan to retire at 50, get cracking on thos...
by Gavinmc42
Fri Dec 14, 2018 12:49 am
Forum: General discussion
Topic: 64-bit operating system
Replies: 252
Views: 23191

Re: 64-bit operating system

My 2 cents is that while I’d love to see a 64 bit “official” Raspian If kids NEED 64bit OS's then does the OS distribution NEED to be Raspbian? I'm assuming serious stuff needs 64bit so anyone doing that sort of stuff could learn any OS? In 10 years time kids will be saying "What's Linux, I use Ras...
by Gavinmc42
Thu Dec 13, 2018 6:57 am
Forum: Beginners
Topic: Raspberry for the Industry
Replies: 17
Views: 469

Re: Raspberry for the Industry

There are plenty of DIN rail mount cases for Pi's. This sort of suggests someone is using them in Industry. Probably no one will admit to it for lots of reasons ;) I seem to remember a comment from someone who would know, who said " about half of all Pi's are going to industry" :o Is that still true...
by Gavinmc42
Thu Dec 13, 2018 3:17 am
Forum: Gentoo
Topic: Lazarus/Free Pascal
Replies: 10
Views: 2828

Re: Lazarus/Free Pascal

Thanks Sakaki.
Just in time for some fun coding over the Xmas break.

According to this there does not seem to be anything major in 18.3.1.
https://www.mesa3d.org/relnotes/18.3.1.html
Looks like I currently have 18.3.0-rc4.
That will probably be good enough for do the OpenGL demo stuff in Pascal.
by Gavinmc42
Wed Dec 12, 2018 10:49 am
Forum: Off topic discussion
Topic: Why Avoid BASIC on RPi?
Replies: 722
Views: 16547

Re: Why Avoid BASIC on RPi?

I will achieve digital enlightenment once I figure out what Karatsuba multiplication is ;) I now know enough that just adding numbers in even 64bit will not be enough. Big number stuff, google time, that memory is too old to recover quickly. Somewhere I have 6805 BCD calculator code in C on a 5 1/4 ...
by Gavinmc42
Wed Dec 12, 2018 6:01 am
Forum: Off topic discussion
Topic: Why Avoid BASIC on RPi?
Replies: 722
Views: 16547

Re: Why Avoid BASIC on RPi?

If NEON helps why not. But as long as it does not show up in your source as some funky assembler. That is not Pascal. If Pascal allows inline assembly then it is allowed? var Value:LongWord; begin Value:=Parameter; asm ldr r0, Value add r0, r0, #123 str r0, Value end; Result:=Value; end; All good l...
by Gavinmc42
Wed Dec 12, 2018 5:37 am
Forum: Beginners
Topic: I know absolutely nothing whatsoever. What now?!
Replies: 24
Views: 612

Re: I know absolutely nothing whatsoever. What now?!

You are lucky, some people buy houses or worse when drunk ;) And you are starting young ;) Two basic programs - blink a LED and print Hello World. If you can do those you are now a programmer. You are also lucky in that the Pi has a huge amount of support. 75+ free Magazines are online, lot in there...
by Gavinmc42
Wed Dec 12, 2018 1:59 am
Forum: Gentoo
Topic: Lazarus/Free Pascal
Replies: 10
Views: 2828

Re: Lazarus/Free Pascal

Gentoo64 1.3.1 will have the new mesa-18.3.1?
Not sure about latest VC4 mesa bug fixes, can be hard to keep up ;)

Getting very close to having a Gentoo64 Pi as my first choice in Aarch64 and OpenGL/ES development.
Cross compiling is such a pain :oops:
by Gavinmc42
Wed Dec 12, 2018 1:27 am
Forum: Off topic discussion
Topic: Why Avoid BASIC on RPi?
Replies: 722
Views: 16547

Re: Why Avoid BASIC on RPi?

You will be able to climb a bit further still by using 64 bit unsigned integers. This should still be runnable on a 32 bit machine. It's no problem in C, I forget how Pascal handles 64 bit integers. Me too, had to Google, Integer seems to default to 32bit in Free Pascal, i = int64 is what is needed...
by Gavinmc42
Wed Dec 12, 2018 12:33 am
Forum: Other projects
Topic: Developer new TFT LCD driver for Linux RPI
Replies: 6
Views: 186

Re: Developer new TFT LCD driver for Linux RPI

Also keep an eye on Eric Anholt's stuff.
Support for small LCDs is getting better as the trend is towards only updating changed pixels.
This is faster than rewriting the whole display.

There are some drivers out there already, notro's stuff?
Google for TinyDRM
by Gavinmc42
Wed Dec 12, 2018 12:28 am
Forum: General discussion
Topic: 64-bit operating system
Replies: 252
Views: 23191

Re: 64-bit operating system

64-bit on the Pi is possible, and very stable. I'm writing this from a Pi 3B running 64-bit Debian MATE on Chromium with two other tabs open, and it's running smoothly for me. Try Gentoo64 with Firefox, I got up to 30+ tabs and gave up adding and counting more. It is also a bit more bleeding edge a...
by Gavinmc42
Tue Dec 11, 2018 12:12 pm
Forum: Off topic discussion
Topic: Why Avoid BASIC on RPi?
Replies: 722
Views: 16547

Re: Why Avoid BASIC on RPi?

Hmm that why Raspbian needs to be 64 bit, 32bit integer only does fibo to 47 loops.
Perhaps BCD maths in assembler?

Davids, you have a funny way to relax, I do it by turning the computers off, night ;)
by Gavinmc42
Tue Dec 11, 2018 11:58 am
Forum: Off topic discussion
Topic: Why Avoid BASIC on RPi?
Replies: 722
Views: 16547

Re: Why Avoid BASIC on RPi?

Whoops must be using 32bit maths, went negative > 2Billion
by Gavinmc42
Tue Dec 11, 2018 11:55 am
Forum: Gentoo
Topic: Lazarus/Free Pascal
Replies: 10
Views: 2828

Re: Lazarus/Free Pascal

Time to revisit this.
Free Pascal versions that compile for and on Aarch64.
ftp://ftp.freepascal.org/pub/fpc/snapsh ... h64-linux/

Still need to compile Lazarus but now there is a compiler. ;)
by Gavinmc42
Tue Dec 11, 2018 11:51 am
Forum: Off topic discussion
Topic: Why Avoid BASIC on RPi?
Replies: 722
Views: 16547

Re: Why Avoid BASIC on RPi?

You know how programming in C++ causes brain seizures, posttraumatic stress disorder, anxiety, depression and paranoia? Among other recorded symptoms up to and including thoughts of suicide. Yep that why I use Free Pascal these days, I cannot cope with C++. Oh and just a sprinkle of bicarb in a gla...
by Gavinmc42
Tue Dec 11, 2018 10:17 am
Forum: Off topic discussion
Topic: Why Avoid BASIC on RPi?
Replies: 722
Views: 16547

Re: Why Avoid BASIC on RPi?

My first home computer. https://www.youtube.com/watch?v=Qx5Iawpm5Kg The bugs on this one was loose plastic tubes. Horrible new newfangled stuff this plastic, it was never going to catch on, should have made it in brass. Very slow clock cycles too, overclocking kept crashing it. Never did find out wh...
by Gavinmc42
Tue Dec 11, 2018 5:45 am
Forum: Other projects
Topic: Developer new TFT LCD driver for Linux RPI
Replies: 6
Views: 186

Re: Developer new TFT LCD driver for Linux RPI

Parallel interface LCD is supported, 8/9/16/18 bits
Look for DPI drivers.
There is some source code in the Linux Kernel sources.
Check to see if the SSD1289 is not already supported.

Go to advanced search