Go to advanced search

by DavidS
Thu Apr 19, 2018 2:38 am
Forum: Off topic discussion
Topic: Windows 10 Arm on Raspberry pi3
Replies: 14
Views: 6117

Re: Windows 10 Arm on Raspberry pi3

How did you get UEFI to work on Pi3 and to then boot into Windows 10 on ARM? QEMU solution works but there is a problem KVM right now, so it runs extremely slow. The ReactOS seems interesting; can it really run x86 apps? Not yet, at least not on ARM yet. The ARM port still needs more work, the x86 ...
by DavidS
Thu Apr 19, 2018 2:11 am
Forum: Other programming languages
Topic: A Extended Pascal Implementation : CONCEPT.
Replies: 49
Views: 3139

Re: A Extended Pascal Implementation : CONCEPT.

As an irony: I am writing the compiler in Pascal on RISC OS without any existing Pascal Compiler. As such to bootstrap it I am hand translating my Pascal Code to ARM BASIC V in order to test it and bootstrap the real thing. It would be quicker to not bootstrap it: there is no need for a compiler to...
by DavidS
Tue Apr 17, 2018 3:40 pm
Forum: Raspbian
Topic: SWI Kernel Calls broke?
Replies: 8
Views: 1024

Re: SWI Kernel Calls broke?

Well, the argument of thumb mode is only a valid argument in systems that are thumb only. Remember it is very easy to switch between thumb and ARM mode, and an ARM mode OS should require system calls in ARM form. But linux may be compiled and run on a processor that only has thumb mode. Linux has b...
by DavidS
Mon Apr 16, 2018 8:00 pm
Forum: General discussion
Topic: GPIO Pin Layout
Replies: 5
Views: 371

Re: GPIO Pin Layout

The assignment of GPIO functions to the pins I believe is what you are speaking of. The reasons this is of strange order, include trace routing, the fact that not every pin on the header is a GPIO, some are power and ground, and the way it worked out when the expanded to the 40 pin header in the new...
by DavidS
Mon Apr 16, 2018 7:51 pm
Forum: General discussion
Topic: what the differeance between these os?
Replies: 7
Views: 560

Re: what the differeance between these os?

With the lite version you do NOT get:
X11, Window Manager, Desktop, etc.
Any of the programs that require the above, which are a very large number.
Many of the configuration aids, as they require X11.
by DavidS
Mon Apr 16, 2018 7:47 pm
Forum: Other programming languages
Topic: A Extended Pascal Implementation : CONCEPT.
Replies: 49
Views: 3139

Re: A Extended Pascal Implementation : CONCEPT.

This might help you get your pascal bare metal setup going https://github.com/mvdhoning/fprpbm I saw it while looking at the opengl stuff from the same person which should work with ultibo now. D./ No interest in using FreePascal or attempting to write a compiler that can deal with the very odd ani...
by DavidS
Fri Apr 13, 2018 4:12 pm
Forum: Other programming languages
Topic: A Extended Pascal Implementation : CONCEPT.
Replies: 49
Views: 3139

Re: A Extended Pascal Implementation : CONCEPT.

It is looking like I may get far enough to begin sharing soon. I am quickly getting the tokenizer/lexer to a usable point, and working on defining the language within the form I chose to implement them. The language definition to start with is just a subset of Pascal, with a little loser rules about...
by DavidS
Fri Apr 13, 2018 9:05 am
Forum: Other programming languages
Topic: A Extended Pascal Implementation : CONCEPT.
Replies: 49
Views: 3139

Re: A Extended Pascal Implementation : CONCEPT.

Well I have been playing with the implementation of my very simple parser, just to see that it is going to be as modifiable as I want. Still a few modifications needed before I formalize the implementation, though it is looking good so far. The primary goal is a simple recursive decent implementatio...
by DavidS
Thu Apr 12, 2018 8:24 pm
Forum: Other programming languages
Topic: A Extended Pascal Implementation : CONCEPT.
Replies: 49
Views: 3139

Re: A Extended Pascal Implementation : CONCEPT.

Well it is interesting, as my parser is already changing. Like I said this is fun and play. I decided to take a bit of a middle road to start with, a bit BASIC like and a bit Pascal like. It is still likely to end up also doing some later modification to make a Pascal version. Though to do Pascal wi...
by DavidS
Thu Apr 12, 2018 1:54 pm
Forum: Off topic discussion
Topic: Odd RPi + Linux behavior.
Replies: 2
Views: 1113

Re: Odd RPi + Linux behavior.

[ RAMBLE ] This issue is getting me thinking, would it be possible to setup an operating system that uses one of the existing kernels (such as FreeBSD), though is a non-n*x OS. Something that has a more modern style userland than n*x systems. Thinking something along the lines of a BSD kernel (for ...
by DavidS
Thu Apr 12, 2018 1:34 pm
Forum: Other programming languages
Topic: A Extended Pascal Implementation : CONCEPT.
Replies: 49
Views: 3139

Re: A Extended Pascal Implementation : CONCEPT.

I have never been one for Bison, Lex, yacc, etc. I prefer to hand code the lexer in the target language to create a self hosting compiler. If you give some thought to the implementation of your code it is pretty simple to make it possible to change the grammar to be compiled. It is just a matter of ...
by DavidS
Thu Apr 12, 2018 1:13 pm
Forum: Off topic discussion
Topic: Odd RPi + Linux behavior.
Replies: 2
Views: 1113

Odd RPi + Linux behavior.

This morning I sat down in front of one of my Raspberry Pi 3B's, went to check my E-Mail and look around. Name resolution was consistently failing, even after reboot. This was the case also on 3 other RPi's running Linux, 4 total (1 Puppy, 2 Raspbian, and one Ubuntu). During this time I verified on ...
by DavidS
Thu Apr 12, 2018 3:26 am
Forum: Other programming languages
Topic: A Extended Pascal Implementation : CONCEPT.
Replies: 49
Views: 3139

Re: A Extended Pascal Implementation : CONCEPT.

@ Gavinmc42 : You always give interesting perspectives. On FreePascal and Open Source: The compiler is under the restrictive GPL, while open source still a bit more restrictive than should be. Most units are under a modified version of the LGPL that provides to many restrictions. These are often re...
by DavidS
Thu Apr 12, 2018 2:29 am
Forum: General discussion
Topic: GPIO input voltage and Python script help
Replies: 9
Views: 438

Re: GPIO input voltage and Python script help

Unfortunately i do not use Python, sorry. If you had asked about doing it in C, Pascal, FreeBASIC, or ARM Assembly I could likely help, though not Python. I really do not use Linux all that much at all prefering RISC OS or bare metal.

Hopefully someone else will be along to help.
by DavidS
Thu Apr 12, 2018 1:34 am
Forum: Other programming languages
Topic: A Extended Pascal Implementation : CONCEPT.
Replies: 49
Views: 3139

Re: A Extended Pascal Implementation : CONCEPT.

It might be worth taking a look at Ultibo which is pretty much 'Pascal for bare metal' on a Pi - www.ultibo.org Have looked at Ultibo, more of an OS than what I am going for. I am just going for a very simple system, that does not rely on anything as closed source as FreePascal, going for much simp...
by DavidS
Wed Apr 11, 2018 10:25 pm
Forum: Other programming languages
Topic: A Extended Pascal Implementation : CONCEPT.
Replies: 49
Views: 3139

A Extended Pascal Implementation : CONCEPT.

Was looking at BASIC, though had forgoten about Pascal, Pascal is a much better option. The Concept : in brief: The goal is a simple Pascal compiler that is easy to use, with an integrated IDE, specifically targeting ARMv5/ARMv6/ARMv7/ARMv8 CPU's, and with extras specific to the Raspberry Pi. In add...
by DavidS
Wed Apr 11, 2018 9:16 pm
Forum: Other programming languages
Topic: Structured Procedural BASIC, why not?
Replies: 10
Views: 951

Re: Structured Procedural BASIC, why not?

I am definitely going to switch directions to Pascal. After looking at the problem as a whole it makes good sence. Though I will be including some typecasting to get around the super strong typing of Pascal (though most pascal implementations do the same to solve the same problem). I will also add a...
by DavidS
Wed Apr 11, 2018 9:06 pm
Forum: General discussion
Topic: GPIO input voltage and Python script help
Replies: 9
Views: 438

Re: GPIO input voltage and Python script help

That you can do. Just wait until the input pin changes to high, then change your output. Though you do know you can do that with only a resistor, an LED, and a power source, correct? No need for a Raspberry Pi in the middle. Now going from red to green will require the addition of a pull-down transi...
by DavidS
Wed Apr 11, 2018 6:53 pm
Forum: Raspbian
Topic: HOWTO: Use Raspbian based RPi as WiFi to Ethernet Bridge?
Replies: 4
Views: 304

Re: HOWTO: Use Raspbian based RPi as WiFi to Ethernet Bridge?

epoch1970 wrote:
Wed Apr 11, 2018 2:30 pm
BTW, you don't need a crossover cable, the Pi 3 (all of them I suppose) supports auto-MDIX. A standard cable will do.
Did not know that.

Thank you again
by DavidS
Wed Apr 11, 2018 6:51 pm
Forum: General discussion
Topic: GPIO input voltage and Python script help
Replies: 9
Views: 438

Re: GPIO input voltage and Python script help

The RPi GPIO'd do not provide ADC, so you can not trigger on a given voltage, just high or low.
by DavidS
Wed Apr 11, 2018 6:47 pm
Forum: Bare metal, Assembly language
Topic: low cost or free assembler books / tutorials?
Replies: 10
Views: 915

Re: low cost or free assembler books / tutorials?

How do you get as (Gnu as aka gas) to assemble the common syntax of !objasm, and the many other common RISC OS assemblers (where the arm began)? You cannot of course, there is no reason for as to support even more versions of ARM assembler syntax, especially something decades out of date. Not as fa...
by DavidS
Wed Apr 11, 2018 6:41 pm
Forum: General programming discussion
Topic: Raspberry Pi Benchmarks
Replies: 116
Views: 49395

Re: Raspberry Pi Benchmarks

If you are benchmarking the performance under an OS then running in an OS makes since, if you are benchmarking a computer system then NO OS is the way to go (why do you think there are so many benchmarks for the x86 PC that run on bare HW without an OS?). My near 50 years of experience in benchmark...
by DavidS
Wed Apr 11, 2018 6:25 pm
Forum: Off topic discussion
Topic: The Case for the Pi3A+
Replies: 103
Views: 14896

Re: The Case for the Pi3A+

This is even more of a rubbish idea than a RPI 3A, going backwards not forwards, nice to have you back though, missed your entertaining posts. Shows differing views. From my view the concept of a RPi 3A is more rubbish than the concept of a B+ with WiFi and Bluetooth. Of course I would also like to...
by DavidS
Wed Apr 11, 2018 5:46 pm
Forum: Other programming languages
Topic: Structured Procedural BASIC, why not?
Replies: 10
Views: 951

Re: Structured Procedural BASIC, why not?

Now a language that does well for parallel processing is Spin, though that is designed to run on the 8-core Parallax Propeller P8X32A, and do to the HW setup of only allowing one core (or COG) access to shared memory at a time there are fewer issues with resource contention. The Propeller hardware ...
by DavidS
Wed Apr 11, 2018 5:36 pm
Forum: General discussion
Topic: How to make the Pi faster?
Replies: 16
Views: 1144

Re: How to make the Pi faster?

If you need to have a remotely accessible database, you should do so in a way that does not require a web browser, and considers security as much as possible. As to IP phone, there are many light weight options. Yes you can do what you want on a Raspberry Pi, so long as you are willing to STOP think...

Go to advanced search