Go to advanced search

by bloodline
Sun Sep 08, 2013 6:04 pm
Forum: C/C++
Topic: Sending data between seperate programs
Replies: 3
Views: 1237

Re: Sending data between seperate programs

Simply create a file in /dev/shm and mmap() it into all your processes, you will be responsible for locking and arbitrating access to the file ;)
by bloodline
Sun Sep 08, 2013 5:52 pm
Forum: C/C++
Topic: Learning
Replies: 10
Views: 2229

Re: Learning

I personally don't like Python... My preferred language is C (specifically Objective-C), but C++ is excellent: I suggest these free books called "Thinking in C++" which will help you: http://www.mindviewinc.com/downloads/TICPP-2nd-ed-Vol-two.zip There is also thinking in C... Which is only worth rea...
by bloodline
Sun Sep 08, 2013 5:19 pm
Forum: C/C++
Topic: GPIO access in C++
Replies: 2
Views: 1692

GPIO access in C++

Hi all, I have written a simple GPIO class to allow easy access of the 17 GPIO pins exposed on the Raspi. So far, setting a pin high or low works and I also have software PWM working on any pin too. A couple of issues I want to sort out before I throw this online for those that might find it useful....
by bloodline
Thu Aug 29, 2013 8:56 am
Forum: Graphics programming
Topic: SDL 2.0 on Pi?
Replies: 15
Views: 14349

Re: SDL 2.0 on Pi?

The texture blend mode also needs to be set to blend, if you don't set the blend mode or set it to none, the console/X11 frame buffer shows through. Also, I am only able to get 40fps (with very occasional little jumps up to my monitor's refresh rate) and this is with VSync on. Which looks jerky, not...
by bloodline
Tue Aug 27, 2013 6:14 pm
Forum: Graphics programming
Topic: SDL 2.0 on Pi?
Replies: 15
Views: 14349

Re: SDL 2.0 on Pi?

Ok, The blending modes seem to be messed up (or I don't under stand them properly). To stop the Console/X11 framebuffer showing through you need to set this: SDL_SetRenderDrawBlendMode(renderer, SDL_BLENDMODE_BLEND); Where renderer is the pointer to your renderer... I'm now experimenting with the Te...
by bloodline
Tue Aug 27, 2013 5:02 pm
Forum: Graphics programming
Topic: SDL 2.0 on Pi?
Replies: 15
Views: 14349

Re: SDL 2.0 on Pi?

I've got SDL 2.0 working with hardware acceleration without X . "patch" at http://jbeekman.nl/pub/sdl2_video_rpi.tbz . This is mostly the pandora code with modifications to make it work on the RPi. This is a huge hack, but it works. Events don't work, I'm not sure if I will be implementing those. T...
by bloodline
Sat Jun 01, 2013 9:29 am
Forum: Other
Topic: AROS (AmigaOS API-compatible)
Replies: 106
Views: 36016

Re: AROS (AmigaOS API-compatible)

That was the plan some *month* ago, IIRC. I think it's a waste of time, as a working USB-OTG driver is necessary anyway and toying with AROS through a serial mouse has little value except demonstrating a moving pointer. Since I have no experience or ability with USB, I was just thinking about a qui...
by bloodline
Fri May 31, 2013 10:58 pm
Forum: Other
Topic: AROS (AmigaOS API-compatible)
Replies: 106
Views: 36016

Re: AROS (AmigaOS API-compatible)

Yeah, I'm running a build now as well... I spoke with Nic and he hasn't got the USB working yet, but soon :) Yup, I've just spotted the USB comments on aros-exec.org forum... Anyway it's great work even if not being able to use AROS due to missing USB support is a bit disappointing it was great to ...
by bloodline
Fri May 31, 2013 10:51 pm
Forum: Other
Topic: AROS (AmigaOS API-compatible)
Replies: 106
Views: 36016

Re: AROS (AmigaOS API-compatible)

Ahhh, I expect any errors right now will be due to Staf's new standard C library changes... :-/ Good to know. Anyway I've been able to finally compile AROS for Rpi! :D It works... kind of... since it does not detect my USB mouse nor keyboard unfortunatly so I'm stuck with Workbench screen. Any idea...
by bloodline
Mon May 27, 2013 12:19 am
Forum: Other
Topic: AROS (AmigaOS API-compatible)
Replies: 106
Views: 36016

Re: AROS (AmigaOS API-compatible)

Ahhh, I expect any errors right now will be due to Staf's new standard C library changes... :-/
by bloodline
Sun May 26, 2013 12:56 pm
Forum: Other
Topic: AROS (AmigaOS API-compatible)
Replies: 106
Views: 36016

Re: AROS (AmigaOS API-compatible)

AROS now runs native on the Raspberry Pi, but there isn't a nightly build yet... I really need to publish some binaries on my website as soon as I get time :( :( This is great news :D Could you tell us more about building environment. Michals cross compiling instructions does not work unfortunately...
by bloodline
Sun May 26, 2013 8:03 am
Forum: Other
Topic: AROS (AmigaOS API-compatible)
Replies: 106
Views: 36016

Re: AROS (AmigaOS API-compatible)

thradtke wrote:Good news. Is Ethernet and USB working?
AKAIK USB yes as that is both required and standard; Ethernet no, as there are no drivers for this chip yet.
by bloodline
Sat May 25, 2013 10:58 pm
Forum: Other
Topic: AROS (AmigaOS API-compatible)
Replies: 106
Views: 36016

Re: AROS (AmigaOS API-compatible)

AROS now runs native on the Raspberry Pi, but there isn't a nightly build yet... I really need to publish some binaries on my website as soon as I get time :( :(
by bloodline
Tue Apr 16, 2013 9:44 am
Forum: Gaming
Topic: UAE4ALL1 : Full speed Amiga 500 emulator with DispmanX
Replies: 126
Views: 67361

Re: Full speed Amiga emulator ( UAE )

Ok... It's time to D/L and fire up this badboy! ;)
by bloodline
Mon Mar 18, 2013 6:28 am
Forum: Other
Topic: AROS (AmigaOS API-compatible)
Replies: 106
Views: 36016

Re: AROS (AmigaOS API-compatible)

BTW, is there a plan to port Gordons USB driver to AROS or is there a different solution? AROS uses it's own USB drivers, as such I don't think the Ethernet is supported yet. I expect the AROS drivers will be inspired by the latest Linux drivers where necessary and thus include Gordon's improvement...
by bloodline
Mon Mar 18, 2013 6:23 am
Forum: Other
Topic: AROS (AmigaOS API-compatible)
Replies: 106
Views: 36016

Re: AROS (AmigaOS API-compatible)

I have to say, the high barrier to entry for getting into the modern AmigaOS descendants has stood in the way for me. AROS still offers '90th user experience, so not modern in this sense (not that it hasn't all the nice features still not found on Win :lol: ). Hopefully new users won't be distracte...
by bloodline
Fri Mar 15, 2013 8:15 am
Forum: Other
Topic: AROS (AmigaOS API-compatible)
Replies: 106
Views: 36016

Re: AROS (AmigaOS API-compatible)

Deadwood beat me to it, but AROS now boots natively on the Pi!
by bloodline
Thu Mar 07, 2013 12:19 pm
Forum: Other
Topic: AROS (AmigaOS API-compatible)
Replies: 106
Views: 36016

Re: AROS (AmigaOS API-compatible)

i would love to use AROS on the RPi, if only they hada native port (no linux needed). I have looked at the source a little, and I do not think it would be very hard to port. Unortunately I can not port AROS because I do not have the resources to comply with there license. Hi David, Can you explain ...
by bloodline
Sun Mar 03, 2013 6:24 pm
Forum: Other
Topic: AROS (AmigaOS API-compatible)
Replies: 106
Views: 36016

Re: AROS (AmigaOS API-compatible)

Hi there, Bloodline! (from A.org tradition :) ) This is going to be great! AROS natively running on the Pi! AmigaDOS is home for me (along with Linux, but as a personal computer OS goes, AmigaDOS is unsurpassed). Yup, that's me... One of the A.org elders :) The Raspi is pretty much a dream come tru...
by bloodline
Sun Mar 03, 2013 9:15 am
Forum: Other
Topic: AROS (AmigaOS API-compatible)
Replies: 106
Views: 36016

Re: AROS (AmigaOS API-compatible)

i would love to use AROS on the RPi, if only they hada native port (no linux needed). I have looked at the source a little, and I do not think it would be very hard to port. Unortunately I can not port AROS because I do not have the resources to comply with there license. Hi David, Can you explain ...
by bloodline
Wed Feb 20, 2013 12:50 pm
Forum: General discussion
Topic: Can I use a 9V battery?
Replies: 43
Views: 31076

Re: Can I use a 9V battery?

In reply to the original poster; I built a simple Female USB A plug with a 4 AA battery holder hooked up to the outer two pins (ensuring correct polarity). This works fine for testing the pi out in the field :) -edit- I forgot to mention as it seemed obvious to me, that by using my adaptor I can jus...
by bloodline
Tue Feb 19, 2013 8:31 pm
Forum: General discussion
Topic: Can I use a 9V battery?
Replies: 43
Views: 31076

Re: Can I use a 9V battery?

I run my Raspi UAV using the ESC BEC which provides a nice clean supply

Image

PS you can't fly a UAV in the UK without a licence... Mine is obviously a proof of concept :)
by bloodline
Tue Jan 29, 2013 2:39 pm
Forum: General discussion
Topic: Possible FreeDOS port?
Replies: 7
Views: 11863

Re: Possible FreeDOS port?

Some people like DOS. If there was an ARM port of FreeDOS, while it wouldn't be binary compatible with the original x86 version it might make for a comfortable/familiar platform for some users/developers :D
by bloodline
Sun Jan 27, 2013 7:14 pm
Forum: Other
Topic: AROS (AmigaOS API-compatible)
Replies: 106
Views: 36016

Re: AROS (AmigaOS API-compatible)

i would love to use AROS on the RPi, if only they hada native port (no linux needed). I have looked at the source a little, and I do not think it would be very hard to port. Unortunately I can not port AROS because I do not have the resources to comply with there license. You won't have to wait too...
by bloodline
Mon Dec 03, 2012 10:31 am
Forum: Other programming languages
Topic: BBC Basic
Replies: 70
Views: 23081

Re: BBC Basic

RichardUK wrote:My dad would like AMOS (old gaming basic for the Amiga) :)
XAMOS (a Linux based AMOS clone) compiles and runs well on the raspberry pi... It even has support for AMAL! :)

Go to advanced search