Go to advanced search

by DavidS
Sun Sep 09, 2018 4:54 pm
Forum: Raspbian
Topic: Will people please think about low res displays?
Replies: 45
Views: 1444

Re: Will people please think about low res displays?

That would be a lot of work to make Pi specific versions of every application that uses a window that doesn't resize to fit smaller screens. Also, every time a new version of the application is released, it would have to have the same patches applied. If anything this is a Debian issue, or somethin...
by DavidS
Sun Sep 09, 2018 4:47 pm
Forum: Raspbian
Topic: what to do with 64GB micro sd?
Replies: 28
Views: 1015

Re: what to do with 64GB micro sd?

Etcher is momentarily the preferred way to image an SD card from a .img file, dd is a previously used imager, but Etcher is safer, and easier to use. Versions of Etcher exist for Windows, Mac OS, and (x86) Linux. it an app based on electron, which is based on javascript and Chromium, and so yes, it...
by DavidS
Sun Sep 09, 2018 4:25 pm
Forum: Raspbian
Topic: what to do with 64GB micro sd?
Replies: 28
Views: 1015

Re: what to do with 64GB micro sd?

Slightly off topic: What is this Etcher? I always just write images to SD Cards with: #sudo dd if=./imagename.img of=/dev/sdX bs=8M #sudo sync Where /dev/sdX is the device name of the SD card on your system. Remember to make sure it is not mounted first. Is there supposed to be another step that I a...
by DavidS
Sun Sep 09, 2018 4:16 pm
Forum: Raspbian
Topic: Raspberry Pi suddenly throws FAILEDs on boot
Replies: 11
Views: 460

Re: Raspberry Pi suddenly throws FAILEDs on boot

PelegPLT wrote:
Sun Sep 09, 2018 2:55 pm
epoch1970 wrote:
Sat Sep 08, 2018 2:08 pm
Disk full? Dead SD card?
Nope, I could read from the SD card on windows and no chance it's full.
Just because you can read from the card does not mean it is still good. I have had one SD Card with BSD fail, it still reads well, though trying to write to it is hit or miss.
by DavidS
Sun Sep 09, 2018 4:13 pm
Forum: Raspbian
Topic: Will people please think about low res displays?
Replies: 45
Views: 1444

Re: Will people please think about low res displays?

Yes you can drag windows around, that is known. Though it is an extra pain to have to repeatedly drag a window up and down while changing settings, or working on some project or another using some application that does not vertically fit. It is true that a lot of this is from legacy, as many of the ...
by DavidS
Sat Sep 08, 2018 8:46 pm
Forum: Raspbian
Topic: Will people please think about low res displays?
Replies: 45
Views: 1444

Will people please think about low res displays?

Using a display that is marketed for the Raspberry Pi having a resolution of 800x480, I am finding many programs that are included with Raspbian, or otherwise common, that do not fit within the bounds of the screen, including some of the settings . Beings as lower resolution monitors are becoming po...
by DavidS
Thu Apr 19, 2018 2:38 am
Forum: Off topic discussion
Topic: Windows 10 Arm on Raspberry pi3
Replies: 14
Views: 8581

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: 65
Views: 4931

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: 1099

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: 408

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: 595

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: 65
Views: 4931

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: 65
Views: 4931

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: 65
Views: 4931

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: 65
Views: 4931

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: 1145

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: 65
Views: 4931

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: 1145

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: 65
Views: 4931

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: 530

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: 65
Views: 4931

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: 65
Views: 4931

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: 1028

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: 530

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: 561

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

Go to advanced search