Go to advanced search

by DavidS
Wed Dec 19, 2018 2:40 pm
Forum: Raspbian
Topic: 1 bug 1 flaw, no followup.
Replies: 10
Views: 1060

Re: 1 bug 1 flaw, no followup.

Please file a bug on our github tracker. Although I suspect this is an upstream issue rather than specific to Raspberry Pi. It's also very obscure, so hardly surprising its not been seen or detected. As for the swap thing, that almost certainly a kernel issue and nothing to do with us. If you don't...
by DavidS
Wed Dec 19, 2018 2:27 pm
Forum: General discussion
Topic: pi one still supported?
Replies: 17
Views: 645

Re: pi one still supported?

Yes, I buy the Micro SD cards with adapter. So I now have plenty of adapters around to put the microSD into the original pi. The goal is to have my scanner connected and I had just hooked that up when the troubles started. Maybe the printer is outputting 12V on the VUSB? Nope. 0V. And the scanner i...
by DavidS
Wed Dec 19, 2018 2:22 pm
Forum: General discussion
Topic: pi one still supported?
Replies: 17
Views: 645

Re: pi one still supported?

Hi, Is the original PI still supported? I need a "linux computer with USB and ethernet" and even a PI one would be overkill. So I thought I'd use the old pi that is collecting dust somewhere for this application, but somewhere in the process it suddenly died. And I got another pi one from the pile ...
by DavidS
Wed Dec 19, 2018 7:17 am
Forum: Raspbian
Topic: 1 bug 1 flaw, no followup.
Replies: 10
Views: 1060

1 bug 1 flaw, no followup.

I have found one bug and one flaw (seperate issues) with the Raspbian distro that should not have been able to come through. The bug: When using xkill to terminate an x client, if the client window belonging to the client to be killed is clicked within a short distance of a border (verified with top...
by DavidS
Mon Dec 17, 2018 10:49 pm
Forum: Off topic discussion
Topic: Why Avoid BASIC on RPi?
Replies: 1377
Views: 51969

Re: Why Avoid BASIC on RPi?

So just because someone at ARM likes to change the wording from how ARM had always worded things before does not mean that everyone that is a long time ARM coder is going to fall in line with the lunacy. We tend to like it the way the opcode says it is. I think its done to improve the instruction s...
by DavidS
Mon Dec 17, 2018 6:56 pm
Forum: Off topic discussion
Topic: Why Avoid BASIC on RPi?
Replies: 1377
Views: 51969

Re: Why Avoid BASIC on RPi?

Even though Arm's own documentation state that MOV (shifted register) is the pseudo-instruction and that LSL, LSR etc. are the instructions to use when disassembled. The problem with gas for DavidS is that it supports the official standard ARM assemblers like UAL, T32, A32, A64 etc Apparently that'...
by DavidS
Mon Dec 17, 2018 4:40 am
Forum: Other projects
Topic: Introducing Pi386
Replies: 47
Views: 7595

Re: Introducing Pi386

While this looks like an interesting project, and one that may be of use to Windows users: What advantage does it have over running Windows 98SE or ReactOS in !FastDOSBox? While other emulators (qemu et al) are a bit slow on the RPi 3 series !FastDOSBox is more than fast enough to run ReactOS smooth...
by DavidS
Mon Dec 17, 2018 4:14 am
Forum: Off topic discussion
Topic: Why Avoid BASIC on RPi?
Replies: 1377
Views: 51969

Re: Why Avoid BASIC on RPi?

Is there a Debian/Raspbian package for AsAsm? I can't find one and google is not finding the sources for AsAsm. I guess we need instructions for downloading, building, installing that first. There are a simple set of instructions for downloading and compiling asasm on just about any Linux, that wor...
by DavidS
Mon Dec 17, 2018 1:42 am
Forum: Bare metal, Assembly language
Topic: Unable to read directory content properly
Replies: 5
Views: 908

Re: Unable to read directory content properly

You are aware that you posted this in Bare Metal? Seems a bit Linux releated to me, so may get more answers in other programming languages.

Though I am not seeing any error at a glance.
by DavidS
Mon Dec 17, 2018 1:37 am
Forum: Off topic discussion
Topic: Why Avoid BASIC on RPi?
Replies: 1377
Views: 51969

Re: Why Avoid BASIC on RPi?

DavidS, As for making the SD card, just need to drop the binary on the SD card that has the firmware along with the config.txt file, in the first fat partition. Indeed. However solutions are expected to be presented as source code. That will require instructions as to how to build it. Preferably on...
by DavidS
Sun Dec 16, 2018 10:27 pm
Forum: Off topic discussion
Topic: Why Avoid BASIC on RPi?
Replies: 1377
Views: 51969

Re: Why Avoid BASIC on RPi?

A bare metal solution would indeed be impressive. It would need to come with all the source, build scripts and documentation required to create a bootable SD from Raspbian. I would certainly try it out. Even if it is a pain to find a spare SD card and dd it. I don't particularly get the idea, it's ...
by DavidS
Sun Dec 16, 2018 10:23 pm
Forum: Off topic discussion
Topic: Why Avoid BASIC on RPi?
Replies: 1377
Views: 51969

Re: Why Avoid BASIC on RPi?

Bizarro, I you going out of your way to make sure nobody ever runs it? I think a bare metal implementation is very impressive. Not many people could do it. Presumably you can just dd it to an SD card and boot the Pi. I will run it! DavidS, The only comments are:- 1) A simple text output is enough. ...
by DavidS
Sun Dec 16, 2018 8:00 pm
Forum: Off topic discussion
Topic: Why Avoid BASIC on RPi?
Replies: 1377
Views: 51969

Re: Why Avoid BASIC on RPi?

While this is rather nice and easy in Assembly, the whole many other projects taking more of my time thing is another story. As far as I can tell the core implementation is correct on everything. Now working on adding a simple bitmap font, some simple mailbox code and a bit of DMA code for writing t...
by DavidS
Sun Dec 16, 2018 1:56 am
Forum: Bare metal, Assembly language
Topic: Need help with an os for a game console
Replies: 5
Views: 876

Re: Need help with an os for a game console

What do you mean by EXE Files? If you are talking about DOS/Windows/OS/2 format executable formats, than you are in the wrong train of thought. If you are using the slang of binary executable code on any platform, then I do not understand why be specific (as all OS's have that). Is there a specific ...
by DavidS
Sun Dec 16, 2018 1:43 am
Forum: Off topic discussion
Topic: Why Avoid BASIC on RPi?
Replies: 1377
Views: 51969

Re: Why Avoid BASIC on RPi?

Now consider the question of how expressive are other high-level languages compared to BASIC. The fact that C has been used to write operating systems and is sometimes called a machine-independent assembler testifies to its efficient expressiveness. In support of this testimony, it is worth mention...
by DavidS
Sat Dec 15, 2018 7:40 pm
Forum: Off topic discussion
Topic: Why Avoid BASIC on RPi?
Replies: 1377
Views: 51969

Re: Why Avoid BASIC on RPi?

@ Heater : It is irrelevant because we needed to agree on an algorithm for comparison, once we had agreed that it needs be done in a way that does not rely on non-standard libraries, thus a way that puts all languages on even footing. Though there is still the implementation that holds some potenti...
by DavidS
Sat Dec 15, 2018 6:34 pm
Forum: Off topic discussion
Topic: Why Avoid BASIC on RPi?
Replies: 1377
Views: 51969

Re: Why Avoid BASIC on RPi?

If the "big picture" were calculating the Nth fibonacci number, correctly, and as efficiently as possible, then this discussion would be over long ago. The library function takes one simple line of code, is correct, and is orders of magnitude faster than any hand written method, in any language, pr...
by DavidS
Sat Dec 15, 2018 5:49 pm
Forum: Off topic discussion
Topic: Why Avoid BASIC on RPi?
Replies: 1377
Views: 51969

Re: Why Avoid BASIC on RPi?

OOPS, Posted wrong file in my post above. Lost file intended, will strike out the above post, though leave it incase someone already read it.

Will come back once either locate or recreate text file intended to post.
by DavidS
Sat Dec 15, 2018 5:48 pm
Forum: Off topic discussion
Topic: Why Avoid BASIC on RPi?
Replies: 1377
Views: 51969

Re: Why Avoid BASIC on RPi?

Todays site updates WIP: FOR YANGTOS NEWS <b>Dec-15-2018 (C):</b>The YANGTOS user space API is coming together finally. As this is a preemptive-multitasking OS with SMP support there was the need for something more than the RISC OS style provides. The API is based on that of Atari MiNT+TOS, using SW...
by DavidS
Sat Dec 15, 2018 5:01 pm
Forum: Off topic discussion
Topic: More printing on the Pi bottom please
Replies: 17
Views: 2117

Re: More printing on the Pi bottom please

Now this thread is kindof making me interested in the RPi 0 (as it is the board in question). I have never got one, as I can not find them at a price that makes the RPiF a proffit (so that they can use the money for there other projects), so have yet to get one.
by DavidS
Sat Dec 15, 2018 4:53 pm
Forum: Off topic discussion
Topic: Why Avoid BASIC on RPi?
Replies: 1377
Views: 51969

Re: Why Avoid BASIC on RPi?

Here is a micro-optimization example that saves 20 seconds runtime from the Fibonacci code which uses the definition to compute the 4784969th number. /* fibob2.c -- Compute the nth Fibonacci Number Written December 15, 2018 by Eric Olson This program is provided for completeness as an example of ex...
by DavidS
Sat Dec 15, 2018 4:46 pm
Forum: Off topic discussion
Topic: Why Avoid BASIC on RPi?
Replies: 1377
Views: 51969

Re: Why Avoid BASIC on RPi?

I have learned a lot from this challenge, including an optimal multiplication algorithm that I could have never imagined, and is only of use in some archane applications like this one. Fast multiplication algorithms for big number arithmetics are used in almost every public-key encryption system an...
by DavidS
Sat Dec 15, 2018 1:34 pm
Forum: Bare metal, Assembly language
Topic: Assembly challange
Replies: 19
Views: 2407

Re: Assembly challange

That's what gives the beauty of this challange, everybody doubts it is possible :-) But I can assure you, it's doable. I wouldn't made this challange if I weren't sure there's at least one good solution. That would be unfair, even evil to start a race without a finish line :-) And although DavidS h...
by DavidS
Sat Dec 15, 2018 1:10 pm
Forum: Off topic discussion
Topic: Why Avoid BASIC on RPi?
Replies: 1377
Views: 51969

Re: Why Avoid BASIC on RPi?

DavidS, I would say 272 times faster is frikken huge. You would never get that kind of performance boost by rewriting your naive algorithm in Python into C or assembler. You could tinker around micro-optimizing that and never make any significant progress. And don't forget the performance gap gets ...
by DavidS
Sat Dec 15, 2018 12:56 pm
Forum: General discussion
Topic: Reflash Pi Zero W factory rom?
Replies: 18
Views: 782

Re: Reflash Pi Zero W factory rom?

As it is the correct SoC with the correct board, it should be possible to still access the HW, you just need to recode drivers to do what they should regardless of what the board/firmware reports to the OS (which would take a bit of work, though should still be doable). And if you have an applicatio...

Go to advanced search