Author Topic: CPC on the Rasberry Pi  (Read 12804 times)

0 Members and 1 Guest are viewing this topic.

Offline beaker

  • 6128 Plus
  • ******
  • Posts: 810
  • Country: ie
  • Terrible at soldering...
    • index.php?action=treasury
  • Liked: 163
  • Likes Given: 244
Re: CPC on the Rasberry Pi
« Reply #25 on: 18:32, 20 November 12 »
Maybe the Pi could be used to operate some sort of robotic operating buddy so then once again I'd have someone to control the second player in Target Renegade or Bubble Bobble like all those years ago... Now I have to make do with single player  :'( ;D

Offline steve

  • Supporter
  • 6128 Plus
  • *
  • Posts: 1.263
  • Country: gb
  • Liked: 178
  • Likes Given: 210
Re: CPC on the Rasberry Pi
« Reply #26 on: 21:14, 20 November 12 »
I might be good to install a raspberry pi for speech recognition, connected to the keyboard matrix.

Offline khisanth

  • CPC6128
  • ****
  • Posts: 246
  • Country: england
  • Retro all the way baby!
    • khisanth.com
  • Liked: 18
  • Likes Given: 20
Re: CPC on the Rasberry Pi
« Reply #27 on: 21:40, 20 November 12 »
Now I am liking that idea a lot !

 ;)

Offline Gryzor

  • Administrator
  • 6128 Plus
  • *****
  • Posts: 15.481
  • Country: gr
  • CPC-Wiki maintainer
    • CPCWiki
  • Liked: 3091
  • Likes Given: 5691
Re: CPC on the Rasberry Pi
« Reply #28 on: 17:41, 21 November 12 »
Maybe... control... a turtle?

Oh wait.

Offline Optimus

  • 464 Plus
  • *****
  • Posts: 348
  • Country: gr
  • Liked: 162
  • Likes Given: 140
Re: CPC on the Rasberry Pi
« Reply #29 on: 13:35, 23 November 12 »
CPC emul for Pi would be fun! And doable. I already have some on my mobile phone and my Gamepark Caanoo which as far as I know is slower than Pi. I think it has a port of Caprice.


And yes, finally I decided to order my Pi among with friends, we order 4 PIs in one package so that we divide the postal costs.
Maybe I will get it in December. Let's see!

Offline Gryzor

  • Administrator
  • 6128 Plus
  • *****
  • Posts: 15.481
  • Country: gr
  • CPC-Wiki maintainer
    • CPCWiki
  • Liked: 3091
  • Likes Given: 5691
Re: CPC on the Rasberry Pi
« Reply #30 on: 17:39, 23 November 12 »
If you follow their Twitter account, every now and then they retweet from shops that have stock... ust today I was reading about a shop that went from 1500 units down to 300 in one day!

Offline robcfg

  • Supporter
  • 6128 Plus
  • *
  • Posts: 2.281
  • Country: se
  • 8-Bit Technomancer
    • index.php?action=treasury
  • Liked: 1017
  • Likes Given: 2387
Re: CPC on the Rasberry Pi
« Reply #31 on: 22:27, 23 November 12 »
After waiting for 4 months, my Pi is on the way home!


The good thing is that I get the new 512MB model, can't wait to start playing with it!

Offline Gryzor

  • Administrator
  • 6128 Plus
  • *****
  • Posts: 15.481
  • Country: gr
  • CPC-Wiki maintainer
    • CPCWiki
  • Liked: 3091
  • Likes Given: 5691
Re: CPC on the Rasberry Pi
« Reply #32 on: 22:05, 24 November 12 »
Yeah, damn, and I'm stuck with 3x256MBs. Bastards!

Offline Bryce

  • The Hardware Guy.
  • Supporter
  • 6128 Plus
  • *
  • Posts: 11.336
  • Country: wf
  • It's not broken, it just hasn't been fixed yet.
    • index.php?action=treasury
  • Liked: 4017
  • Likes Given: 419
Re: CPC on the Rasberry Pi
« Reply #33 on: 22:15, 24 November 12 »
Yeah, damn, and I'm stuck with 3x256MBs. Bastards!

Add the second 256MB yourself.

Bryce.

Offline arnoldemu

  • Supporter
  • 6128 Plus
  • *
  • Posts: 5.335
  • Country: gb
    • Unofficial Amstrad WWW Resource
  • Liked: 2262
  • Likes Given: 3478
Re: CPC on the Rasberry Pi
« Reply #34 on: 12:07, 26 November 12 »
Add the second 256MB yourself.

Bryce.
you can't the ram either sits on top of the soc, or it sits below it.
they are in a stack on the pcb.

I'm not sure there is another way to add ram.
My games. My Games
My website with coding examples: Unofficial Amstrad WWW Resource

Offline Gryzor

  • Administrator
  • 6128 Plus
  • *****
  • Posts: 15.481
  • Country: gr
  • CPC-Wiki maintainer
    • CPCWiki
  • Liked: 3091
  • Likes Given: 5691
Re: CPC on the Rasberry Pi
« Reply #35 on: 12:40, 26 November 12 »
Yup, from what I've read you can't do it. Not like there's an extra socket or you can piggyback some extra RAM...  :(


Offline Bryce

  • The Hardware Guy.
  • Supporter
  • 6128 Plus
  • *
  • Posts: 11.336
  • Country: wf
  • It's not broken, it just hasn't been fixed yet.
    • index.php?action=treasury
  • Liked: 4017
  • Likes Given: 419
Re: CPC on the Rasberry Pi
« Reply #36 on: 14:04, 26 November 12 »
That's a pity. (Glad I hadn't ordered one yet :) )

Bryce.

Offline Gryzor

  • Administrator
  • 6128 Plus
  • *****
  • Posts: 15.481
  • Country: gr
  • CPC-Wiki maintainer
    • CPCWiki
  • Liked: 3091
  • Likes Given: 5691
Re: CPC on the Rasberry Pi
« Reply #37 on: 21:49, 27 November 12 »
Grrr. Maybe I could chain two of them? Dual CPU, double the memory :)


Offline Marq

  • CPC464
  • **
  • Posts: 37
  • Country: fi
  • Liked: 7
  • Likes Given: 0
Re: CPC on the Rasberry Pi
« Reply #38 on: 11:10, 28 November 12 »
The current SDL implementation on the Pi is just bad and slow, so a bit of fiddling with OpenGL ES would be needed. I made a few experiments with it and streaming the 2D buffer to a texture makes things an order of magnitude faster. If nothing else, it's straightforward to use the VideoCore for scaling for fullscreen. SDL only supports 16-bit color on the Pi IIRC.

Offline khisanth

  • CPC6128
  • ****
  • Posts: 246
  • Country: england
  • Retro all the way baby!
    • khisanth.com
  • Liked: 18
  • Likes Given: 20
Re: CPC on the Rasberry Pi
« Reply #39 on: 23:46, 28 December 12 »
next update will have twice the RAM by the way

Offline arnoldemu

  • Supporter
  • 6128 Plus
  • *
  • Posts: 5.335
  • Country: gb
    • Unofficial Amstrad WWW Resource
  • Liked: 2262
  • Likes Given: 3478
Re: CPC on the Rasberry Pi
« Reply #40 on: 15:49, 29 December 12 »
I updated "Arnold TNG" for raspberry pi. I fixed the Makefile so it recognises the platform. The emu will still use sdl though. I haven't tried modifying the opengl code to use opengl es yet.

http://www.cpctech.org.uk/arnold_tng.zip

EDIT: Reason i didn't do more on this. I have been trying to finish a game for cpc.
« Last Edit: 15:50, 29 December 12 by arnoldemu »
My games. My Games
My website with coding examples: Unofficial Amstrad WWW Resource

Offline Marq

  • CPC464
  • **
  • Posts: 37
  • Country: fi
  • Liked: 7
  • Likes Given: 0
Re: CPC on the Rasberry Pi
« Reply #41 on: 21:20, 29 December 12 »
I updated "Arnold TNG" for raspberry pi. I fixed the Makefile so it recognises the platform. The emu will still use sdl though. I haven't tried modifying the opengl code to use opengl es yet.

http://www.cpctech.org.uk/arnold_tng.zip

EDIT: Reason i didn't do more on this. I have been trying to finish a game for cpc.

I made a little framebuffer library that can stream bitmaps quickly to a texture:
svn://www.kameli.net/marq/koelli
Heavily copied from some example VC sources :)

Offline Ynot.zer0

  • CPC6128
  • ****
  • Posts: 293
  • Country: gb
  • Liked: 23
  • Likes Given: 63
Re: CPC on the Rasberry Pi
« Reply #42 on: 18:58, 05 January 13 »
... okay, it's 100% !Pi related, it's 100% BeagleBone related, but might be similar?  I just dug out my BeagleBone, upgraded the Angstrom linux and plugged the 3" LCD screen onto it.  works a treat.  After spending a little while oogling over the GUI and realising that a 320x240 desktop with 12pt fonts is just far too impractical to use in any proper manner, I dropped back out to the command line.... then this got me to thinking.  I have a usb webcam, mouse and keyboard connected...can I get an Amstrad CPC Emulator to run on this device? (obviously the webcam will be of no use..but maybe I'll be able to get a USB joystick?)
I took a look at:
Emulators - CPCWiki
and had a bit of an online google, it seems most of these emulators are expecting to be run from a windows manager, not from the command line?


I'm basically trying to look for an Amstrad CPC Emulator that I can start from the linux command line (a bit like the DOS laptop I have that runs a non-windows based Amstrad emu).
anyone got any pointers for me?

Offline Gryzor

  • Administrator
  • 6128 Plus
  • *****
  • Posts: 15.481
  • Country: gr
  • CPC-Wiki maintainer
    • CPCWiki
  • Liked: 3091
  • Likes Given: 5691
Re: CPC on the Rasberry Pi
« Reply #43 on: 21:24, 05 January 13 »
Much as I like my Pi's, I think I'm getting the next Ordroid which -I was told- will include a SATA port as well, thereby making it a fantastically viable  and extremely cheap solution for a full-capacity PC replacement...

Offline Ynot.zer0

  • CPC6128
  • ****
  • Posts: 293
  • Country: gb
  • Liked: 23
  • Likes Given: 63
Re: CPC on the Rasberry Pi
« Reply #44 on: 22:29, 05 January 13 »
I like.... although that is one monster of a heat sink!

Offline Gryzor

  • Administrator
  • 6128 Plus
  • *****
  • Posts: 15.481
  • Country: gr
  • CPC-Wiki maintainer
    • CPCWiki
  • Liked: 3091
  • Likes Given: 5691
Re: CPC on the Rasberry Pi
« Reply #45 on: 14:33, 09 January 13 »
Quote from: Ynot.zer0
I like.... although that is one monster of a heat sink!
Yeah, but look at the board's size! 52x48mm vs Pi's 86x54mm. In any case, the heatsink doubles as housing - I'm sure you can hack half of it off and it'll work just as well.

Offline Bryce

  • The Hardware Guy.
  • Supporter
  • 6128 Plus
  • *
  • Posts: 11.336
  • Country: wf
  • It's not broken, it just hasn't been fixed yet.
    • index.php?action=treasury
  • Liked: 4017
  • Likes Given: 419
Re: CPC on the Rasberry Pi
« Reply #46 on: 22:51, 09 January 13 »
Yeah, but look at the board's size! 52x48mm vs Pi's 86x54mm. In any case, the heatsink doubles as housing - I'm sure you can hack half of it off and it'll work just as well.

Yeah sure, the designer added that heatsink because he needed only half of it! Of course you can't hack half of it off! I'm pretty sure it's dimensioned to be as small as possible without overheating the CPU at full load. And I think it's tiny for the amount of power that board is going to disipate, I'd guess it already gets quite hot even at idle.

Bryce.

Offline Gryzor

  • Administrator
  • 6128 Plus
  • *****
  • Posts: 15.481
  • Country: gr
  • CPC-Wiki maintainer
    • CPCWiki
  • Liked: 3091
  • Likes Given: 5691
Re: CPC on the Rasberry Pi
« Reply #47 on: 16:06, 10 January 13 »
Nah, I was half-kidding. There's no reason to cut it anyway, since the heatsink's height is, as far as I can remember (page doesn't open for me right now) exactly as tall as the components on it (ports etc).

As for power, I think the PSU is a 5V/2A one. Given that it can be overclocked, it gets hot, yes, but not to a non-working level. It's probably more dangerous for the environment. The CPU is temperature-throttled:

First Throttle (85C): CPU goes down to 800Mhz
Second (102C): Down to 200Mhz
Software Shutdown occurs at  120oC
Hardware self protection shutdown at 123oC

But, supposedly, if you disable throttling in your Linux distro it can run up to 1700MHz without going much hotter. Never tried it, of course, but that's what they've been saying.

« Last Edit: 16:09, 10 January 13 by Gryzor »

Offline Munchausen

  • 6128 Plus
  • ******
  • Posts: 776
  • Country: gb
  • Liked: 213
  • Likes Given: 215
Re: CPC on the Rasberry Pi
« Reply #48 on: 01:55, 11 January 13 »

I'm basically trying to look for an Amstrad CPC Emulator that I can start from the linux command line (a bit like the DOS laptop I have that runs a non-windows based Amstrad emu).
anyone got any pointers for me?



Arnold is a safe bet, although on Haiku I had to hack it's build system a bit to get it to build against SDL only, disabling X etc and all the other sound options. However as you're building on linux you probably can just build against them even though you wont be using them and it ought to work. Then you only need to run on the command line:


export SDL_VIDEODRIVER=fbdev
or (depending on what framebuffer support you have on your system)

export SDL_VIDEODRIVER=fbcon

to tell SDL to use the framebuffer, and it should run fine.

Caprice is a good bet too, since it also uses SDL IIRC, and thus should be workable in a similar way to above. I think all the others though are either windows/DOS/Mac based or target X - I did a fairly thorough search when looking for a CPC emulator to port to Haiku, since it supports only SDL or it's own native API.


EDIT: I don't know why, but something funny has happened to the font sizes in this post...
« Last Edit: 01:58, 11 January 13 by Munchausen »

Offline CraigsBar

  • Supporter
  • 6128 Plus
  • *
  • Posts: 3.284
  • Country: ie
  • The party ain't over yet
    • index.php?action=treasury
  • Liked: 1172
  • Likes Given: 80
Re: CPC on the Rasberry Pi
« Reply #49 on: 17:42, 24 January 14 »
I compiled Arnold TNG last night on the Pi. And with the latest raspbian, with accelerated x, I get very close to native speeds when using the turbo over clock (1 GHz and 6volt)
Now if we can get opengl on the pi

Regards
Craig
IRC:  #Retro4All on Freenode