Re: One for Simon Owen re : Simcoupi

2012-07-31 Thread Wayne Weedon

On 31/07/2012 00:34, Simon Owen wrote:

On 30/07/2012 17:39, wayne wrote:

Tried to build Simcoupi on my recently aquired RPI.


There was a missing component in the SourceForge path, fixed now!  The
newer distro also simplifies things slightly, so I'll post updated
instructions when I get a chance.

In the meantime, try this updated binary built on Rasbian:
   http://simcoupe.org/files/simcoupi-r1439.zip

You might get the odd sound underrun reported in the console when
entering and leaving the GUI, especially if you're running it from
within X.  I've never seen the error you reported, though I misread your
message and didn't try the old binary.

OpenGL SE support is still a work in progress, but should hopefully give
a bit more speed, and options for 50Hz sync (with audio resample).

Si





Simon..  Yep that one works, Thanks!

Sound works out the box too.   Will keep my daughter happy playing the 
Manic Miner demo anyway.


Wonder how many more ported emulators will crop other the next few 
months.   Also being a QL fan I'd like to see uQLx on there, though I 
suspect it will be rather sluggish.


Wayne...


One for Simon Owen re : Simcoupi

2012-07-30 Thread wayne

Tried to build Simcoupi on my recently aquired RPI.

No luck from Source but then tried Simons pre-prepared Binary.

That crashes on Raspian Wheezy with the following error.

http://fdos-design.com/temp_files/2012-07-30-162759_1184x624_scrot.png

Something missing somewhere?

The error I was getting via SSH session from my Windoze PC was 
segmentation error


That same binary runs quite well under Puppy Linux on the Raspberry Pi 
at least.


http://fdos-design.com/temp_files/prodos-simcoupe-rpi.png

Any pointers?

Wayne


Re: One for Simon Owen re : Simcoupi

2012-07-30 Thread Wayne Weedon



Managed to find a link to the sqeeze distro hidden away on the rpi 
site and Simcoupi runs fine on that.


So seems some vital libraries have changed between squeeze and wheezy.

Wayne...


Re: One for Simon Owen re : Simcoupi

2012-07-30 Thread Simon Owen
On 30/07/2012 17:39, wayne wrote:
 Tried to build Simcoupi on my recently aquired RPI.

There was a missing component in the SourceForge path, fixed now!  The
newer distro also simplifies things slightly, so I'll post updated
instructions when I get a chance.

In the meantime, try this updated binary built on Rasbian:
  http://simcoupe.org/files/simcoupi-r1439.zip

You might get the odd sound underrun reported in the console when
entering and leaving the GUI, especially if you're running it from
within X.  I've never seen the error you reported, though I misread your
message and didn't try the old binary.

OpenGL SE support is still a work in progress, but should hopefully give
a bit more speed, and options for 50Hz sync (with audio resample).

Si


Re: SimCoupi

2012-04-25 Thread Andrew Collier
On 16 Apr 2012, at 16:28, Simon Owen wrote:
 On 16 Apr 2012, at 16:13, Andrew Collier wrote:
 It still amuses me that the biggest side-effect of my contributions to
 the Sam scene was to necessitate accuracy in the emulators :)
 
 Getting the textured scroller right in part 2 of MNEMOdemo1 was definitely a 
 grail moment, where everything had to be right.  Even now, if you build 
 SimCoupe on the Mac and use Clang rather than gcc the scroller is wrong!  
 I've not put any effort into tracking that down yet, but it's almost 
 certainly a compiler issue (gcc and MSVC are fine).

I was intrigued by this, so I had a look:

CPU.cpp: 84
#define PORT_ACCESS(a)  { (g_dwCycleCounter += 4) += ((a) = BASE_ASIC_PORT) 
?abPortContention[g_dwCycleCounter7] : 0; }

I don't have a copy of KR to hand, but I reckon this is ambiguous (i.e. the 
value of g_dwCycleCounter7 depends on the whether this is evaluated before or 
after the += 4. Honestly I'm a bit surprised that the left hand side is an 
lvalue at all...). Substituting a clearly non-ambiguous version cleans up the 
problems, so I've checked in the change.

Andrew



Re: SimCoupi

2012-04-25 Thread Simon Owen
On 25 Apr 2012, at 15:23, Andrew Collier wrote:
 I don't have a copy of KR to hand, but I reckon this is ambiguous (i.e. the 
 value of g_dwCycleCounter7 depends on the whether this is evaluated before 
 or after the += 4. Honestly I'm a bit surprised that the left hand side is an 
 lvalue at all…).

I don't remember how it came to be like that, but I'd suspect it was fastest 
with VS6 back in the day.  It was pretty nasty, so good riddance to it.

Thanks for the fix!  :)

Si



Re[2]: SimCoupi

2012-04-17 Thread Andy Chandler
I've received my email from Farnell and they've taken payment.
Apparently more will be shipping today so could have mine in the next
few days to a week if lucky.

Well done on getting yours so early Simon!  (and I was up at 6am on
the Farnell site)


Andy



Monday, April 16, 2012, 12:13:41 PM, you wrote:

Simon No special treatment, just some luck in getting an order
Simon through on the Farnell website (just before 8am).  Perhaps enough people
Simon switched to trying phone orders when they opened that the
Simon website recovered very briefly?  It was pretty much inaccessible before 
and
Simon after that, as anyone that tried will remember!

Simon Si

Simon On 16 Apr 2012, at 11:51, war...@wdlee.co.uk wrote:

 That's very cool! :-D
 
 God knows how long it'll take before they start shipping RPs to general 
 customers though, after all the promo stuff with schools and
 such... how'd you get hold of one this early? :-D
 
 
 
 Quoting Simon Owen simon.o...@simcoupe.org:
 
 Seems like a promising start: http://simonowen.com/raspberrypi
 
 Speed is fine with the normal SDL build, even with demanding titles like 
 MNEMOdemo1 part 2.  It ran at about 450% with the
 emulator turbo button held (max speed but video capped at 5fps).
 
 The OpenGL version ran very slowly in X, as though it was missing hardware 
 acceleration.  That will be needed for the 5:4 aspect
 ratio feature, to make it look more like the original display.
 
 There wasn't any sound from the 3.5mm jack, and I did see some warnings 
 about not being able to find a sound device.  My monitor
 doesn't have speakers so I haven't checked whether there's anything over 
 HDMI, but I doubt it.  I'm using the latest Debian build from
 13th April, so I'll need to look into drivers etc.
 
 I had to head off to work so it's just a brief look for now...
 
 Si
 
 
 
 



Re: SimCoupi

2012-04-17 Thread Simon Owen
On 16/04/2012 16:17, Tommo H wrote:
 Versus running it on a normal computer, do we get genuine 50Hz output?

Setting an option in /boot/config.txt overrides the auto HDMI mode, so
it's be easy to force 50Hz (it'd be even better if it could selected on
demand at runtime).  Composite defaults to NTSC but can be configured as
PAL too.  I'll probably still need to implement some sound scaling to
keep it in sync with the vsynced video.

I'll also need to adapt the existing OpenGL code to use OpenGL ES for
hardware acceleration.  Regular OpenGL seems to be stuck in software
mode (glxgears gets just 16fps!).  The bundled GL ES demo ran perfectly
smoothly, of course.

On the sound side, the current ALSA driver is still very buggy.  Using
it gives a kernel 'oops' when anything tries to use it, so we might have
to wait a bit longer for that.

Si


RE: SimCoupi

2012-04-17 Thread Stefan Drissen
From: owner-sam-us...@nvg.ntnu.no [mailto:owner-sam-us...@nvg.ntnu.no] On
Behalf Of Simon Owen
Sent: dinsdag 17 april 2012 23:13

 On the sound side, the current ALSA driver is still very buggy.  Using it
gives a kernel 'oops' when anything tries to use it, so we might have to
wait a bit longer for that.

Just connect a SAMdac... hmmm usb version perhaps? ;-)





SimCoupi

2012-04-16 Thread Simon Owen
Seems like a promising start: http://simonowen.com/raspberrypi

Speed is fine with the normal SDL build, even with demanding titles like 
MNEMOdemo1 part 2.  It ran at about 450% with the emulator turbo button held 
(max speed but video capped at 5fps).

The OpenGL version ran very slowly in X, as though it was missing hardware 
acceleration.  That will be needed for the 5:4 aspect ratio feature, to make it 
look more like the original display.

There wasn't any sound from the 3.5mm jack, and I did see some warnings about 
not being able to find a sound device.  My monitor doesn't have speakers so I 
haven't checked whether there's anything over HDMI, but I doubt it.  I'm using 
the latest Debian build from 13th April, so I'll need to look into drivers etc.

I had to head off to work so it's just a brief look for now...

Si



RE: SimCoupi

2012-04-16 Thread Adrian Brown
Its alright for some I cant get hold of one at the moment :(

-Original Message-
From: owner-sam-us...@nvg.ntnu.no [mailto:owner-sam-us...@nvg.ntnu.no]
On Behalf Of Simon Owen
Sent: 16 April 2012 11:31
To: sam-users@nvg.ntnu.no
Subject: SimCoupi

Seems like a promising start: http://simonowen.com/raspberrypi

Speed is fine with the normal SDL build, even with demanding titles like
MNEMOdemo1 part 2.  It ran at about 450% with the emulator turbo button
held (max speed but video capped at 5fps).

The OpenGL version ran very slowly in X, as though it was missing
hardware acceleration.  That will be needed for the 5:4 aspect ratio
feature, to make it look more like the original display.

There wasn't any sound from the 3.5mm jack, and I did see some warnings
about not being able to find a sound device.  My monitor doesn't have
speakers so I haven't checked whether there's anything over HDMI, but I
doubt it.  I'm using the latest Debian build from 13th April, so I'll
need to look into drivers etc.

I had to head off to work so it's just a brief look for now...

Si






Re: SimCoupi

2012-04-16 Thread warren

That's very cool! :-D

God knows how long it'll take before they start shipping RPs to  
general customers though, after all the promo stuff with schools and  
such... how'd you get hold of one this early? :-D




Quoting Simon Owen simon.o...@simcoupe.org:


Seems like a promising start: http://simonowen.com/raspberrypi

Speed is fine with the normal SDL build, even with demanding titles  
like MNEMOdemo1 part 2.  It ran at about 450% with the emulator  
turbo button held (max speed but video capped at 5fps).


The OpenGL version ran very slowly in X, as though it was missing  
hardware acceleration.  That will be needed for the 5:4 aspect ratio  
feature, to make it look more like the original display.


There wasn't any sound from the 3.5mm jack, and I did see some  
warnings about not being able to find a sound device.  My monitor  
doesn't have speakers so I haven't checked whether there's anything  
over HDMI, but I doubt it.  I'm using the latest Debian build from  
13th April, so I'll need to look into drivers etc.


I had to head off to work so it's just a brief look for now...

Si







Re: SimCoupi

2012-04-16 Thread Simon Owen
No special treatment, just some luck in getting an order through on the Farnell 
website (just before 8am).  Perhaps enough people switched to trying phone 
orders when they opened that the website recovered very briefly?  It was pretty 
much inaccessible before and after that, as anyone that tried will remember!

Si

On 16 Apr 2012, at 11:51, war...@wdlee.co.uk wrote:

 That's very cool! :-D
 
 God knows how long it'll take before they start shipping RPs to general 
 customers though, after all the promo stuff with schools and such... how'd 
 you get hold of one this early? :-D
 
 
 
 Quoting Simon Owen simon.o...@simcoupe.org:
 
 Seems like a promising start: http://simonowen.com/raspberrypi
 
 Speed is fine with the normal SDL build, even with demanding titles like 
 MNEMOdemo1 part 2.  It ran at about 450% with the emulator turbo button held 
 (max speed but video capped at 5fps).
 
 The OpenGL version ran very slowly in X, as though it was missing hardware 
 acceleration.  That will be needed for the 5:4 aspect ratio feature, to make 
 it look more like the original display.
 
 There wasn't any sound from the 3.5mm jack, and I did see some warnings 
 about not being able to find a sound device.  My monitor doesn't have 
 speakers so I haven't checked whether there's anything over HDMI, but I 
 doubt it.  I'm using the latest Debian build from 13th April, so I'll need 
 to look into drivers etc.
 
 I had to head off to work so it's just a brief look for now...
 
 Si
 
 
 
 



Re: SimCoupi

2012-04-16 Thread Wayne Weedon

On 16/04/2012 11:29, Simon Owen wrote:

Seems like a promising start: http://simonowen.com/raspberrypi

Speed is fine with the normal SDL build, even with demanding titles like 
MNEMOdemo1 part 2.  It ran at about 450% with the emulator turbo button held 
(max speed but video capped at 5fps).

The OpenGL version ran very slowly in X, as though it was missing hardware 
acceleration.  That will be needed for the 5:4 aspect ratio feature, to make it 
look more like the original display.

There wasn't any sound from the 3.5mm jack, and I did see some warnings about 
not being able to find a sound device.  My monitor doesn't have speakers so I 
haven't checked whether there's anything over HDMI, but I doubt it.  I'm using 
the latest Debian build from 13th April, so I'll need to look into drivers etc.

I had to head off to work so it's just a brief look for now...

Si


I just get a 403 error following that link..  Do you have some .htaccess 
rule in there somewhere?




Re: SimCoupi

2012-04-16 Thread Simon Owen
On 16 Apr 2012, at 15:48, Wayne Weedon wrote:
 I just get a 403 error following that link..  Do you have some .htaccess rule 
 in there somewhere?

Oops!  In case of caching, try this instead: http://simonowen.com/simcoupi

I renamed the album title and that must have changed the link somehow.  A 
missing slash in the .htaccess also broke the shamview link a few days ago, so 
I've not been doing too well overall.

Si



Re: SimCoupi

2012-04-16 Thread Andrew Collier
On 16 April 2012 11:29, Simon Owen simon.o...@simcoupe.org wrote:
 Seems like a promising start: http://simonowen.com/raspberrypi

 Speed is fine with the normal SDL build, even with demanding titles like 
 MNEMOdemo1 part 2.

Oooh! Nice.

It still amuses me that the biggest side-effect of my contributions to
the Sam scene was to necessitate accuracy in the emulators :)

Andrew


Re: SimCoupi

2012-04-16 Thread Tommo H
Having managed to get hold of a Raspberry Pi differentiates you from
99% of the world; using Google+ differentiates you from 99.9%.

Looking good though! Versus running it on a normal computer, do we get
genuine 50Hz output?

On 16 Apr 2012, at 08:04, Simon Owen simon.o...@simcoupe.org wrote:

 On 16 Apr 2012, at 15:48, Wayne Weedon wrote:
 I just get a 403 error following that link..  Do you have some .htaccess 
 rule in there somewhere?

 Oops!  In case of caching, try this instead: http://simonowen.com/simcoupi

 I renamed the album title and that must have changed the link somehow.  A 
 missing slash in the .htaccess also broke the shamview link a few days ago, 
 so I've not been doing too well overall.

 Si



Re: SimCoupi

2012-04-16 Thread Simon Owen
On 16 Apr 2012, at 16:13, Andrew Collier wrote:
 It still amuses me that the biggest side-effect of my contributions to
 the Sam scene was to necessitate accuracy in the emulators :)

Getting the textured scroller right in part 2 of MNEMOdemo1 was definitely a 
grail moment, where everything had to be right.  Even now, if you build 
SimCoupe on the Mac and use Clang rather than gcc the scroller is wrong!  I've 
not put any effort into tracking that down yet, but it's almost certainly a 
compiler issue (gcc and MSVC are fine).

Even before MNEMOdemo, the mode-switching scroller in E-Tunes Player was a 
challenge!

Si



Re: SimCoupi

2012-04-16 Thread Simon Owen
On 16 Apr 2012, at 16:17, Tommo H wrote:
 Having managed to get hold of a Raspberry Pi differentiates you from
 99% of the world; using Google+ differentiates you from 99.9%.

The images were uploaded from Picasa, to something which used to be called 
PicasaWeb.  It looks like Google have pulled that into the Google+ brand, with 
a nag for non-G+ users.  I do have an account but don't actually use it.  So 
just the 99% then  ;)


 Looking good though! Versus running it on a normal computer, do we get
 genuine 50Hz output?

That's something I'm aiming for too, as it'd make a huge difference to the 
experience.

Si



Re: SimCoupi

2012-04-16 Thread Andrew Collier
On 16 April 2012 16:48, Simon Owen simon.o...@simcoupe.org wrote:
 On 16 Apr 2012, at 16:17, Tommo H wrote:

 Looking good though! Versus running it on a normal computer, do we get
 genuine 50Hz output?

 That's something I'm aiming for too, as it'd make a huge difference to the 
 experience.

Sounds good! It might even give me an excuse to upgrade my TV
(currently 4:3 CRT and a bit of a dinosaur, but at least scrollies
look great on it!)

Andrew


Re: SimCoupi

2012-04-16 Thread david

Quoting Simon Owen simon.o...@simcoupe.org:


Seems like a promising start: http://simonowen.com/raspberrypi


Wowzers!