Author Topic: .  (Read 143208 times)

0 Members and 1 Guest are viewing this topic.

Offline McKlain

  • 6128 Plus
  • ******
  • Posts: 867
  • Country: es
  • Programmable Sound Generator
    • www.mcklain.com
  • Liked: 339
  • Likes Given: 950
Re: CPCBox, your CPC emulator in Javascript
« Reply #225 on: 11:24, 22 June 11 »
If you don't use it for gaming, forget about it.

Offline Gryzor

  • Administrator
  • 6128 Plus
  • *****
  • Posts: 16.998
  • Country: gr
  • CPC-Wiki maintainer
    • CPCWiki
  • Liked: 4083
  • Likes Given: 7368
Re: CPCBox, your CPC emulator in Javascript
« Reply #226 on: 11:26, 22 June 11 »
That's what I'm thinking :( Darn...

Offline McKlain

  • 6128 Plus
  • ******
  • Posts: 867
  • Country: es
  • Programmable Sound Generator
    • www.mcklain.com
  • Liked: 339
  • Likes Given: 950
Re: CPCBox, your CPC emulator in Javascript
« Reply #227 on: 11:45, 22 June 11 »
You can always overclock the x1600  ;D

Offline Gryzor

  • Administrator
  • 6128 Plus
  • *****
  • Posts: 16.998
  • Country: gr
  • CPC-Wiki maintainer
    • CPCWiki
  • Liked: 4083
  • Likes Given: 7368
Re: CPCBox, your CPC emulator in Javascript
« Reply #228 on: 11:46, 22 June 11 »
Onwards and upwards we go!

Well, I could get it to 30fps :D

Offline PhilZeVibe

  • 464 Plus
  • *****
  • Posts: 471
  • Country: 00
  • Liked: 165
  • Likes Given: 187
Re: CPCBox, your CPC emulator in Javascript
« Reply #229 on: 12:06, 22 June 11 »
.
« Last Edit: 17:09, 30 June 21 by PhilZeVibe »

Offline McKlain

  • 6128 Plus
  • ******
  • Posts: 867
  • Country: es
  • Programmable Sound Generator
    • www.mcklain.com
  • Liked: 339
  • Likes Given: 950
Re: CPCBox, your CPC emulator in Javascript
« Reply #230 on: 12:09, 22 June 11 »
So an E6500 is not enough to run the emulator?  :'(

Offline Devilmarkus

  • Vivid source of indefiniteness
  • 6128 Plus
  • ******
  • Posts: 4.035
  • Country: de
  • WebCPC / JavaCPC developer
    • index.php?action=treasury
    • CPC-Live website
  • Liked: 1018
  • Likes Given: 926
Re: CPCBox, your CPC emulator in Javascript
« Reply #231 on: 12:11, 22 June 11 »
It has a Geforce GTX560Ti, maybe nVidia performs better.

Nope... The image rendering is the smallest problem here ;) It's fast enough.
I also get 38-45fps max. and stuttering sound...

Also this would make no sense... We both play "The Witcher 2" with many enabled details... And a fucking 768x272 screen should be too slow?  :laugh: :laugh: :laugh: :laugh:
When you put your ear on a hot stove, you can smell how stupid you are ...

Amstrad CPC games in your webbrowser

JavaCPC Desktop Full Release

Offline PhilZeVibe

  • 464 Plus
  • *****
  • Posts: 471
  • Country: 00
  • Liked: 165
  • Likes Given: 187
Re: CPCBox, your CPC emulator in Javascript
« Reply #232 on: 12:18, 22 June 11 »
.
« Last Edit: 17:09, 30 June 21 by PhilZeVibe »

Offline McKlain

  • 6128 Plus
  • ******
  • Posts: 867
  • Country: es
  • Programmable Sound Generator
    • www.mcklain.com
  • Liked: 339
  • Likes Given: 950
Re: CPCBox, your CPC emulator in Javascript
« Reply #233 on: 12:21, 22 June 11 »
Also this would make no sense... We both play "The Witcher 2" with many enabled details... And a fucking 768x272 screen should be too slow?  :laugh: :laugh: :laugh: :laugh:

Gotta tell you... I touched some setting on the motherboard (auto overclocking whatever) and now all the games run faster  :laugh:

Offline Devilmarkus

  • Vivid source of indefiniteness
  • 6128 Plus
  • ******
  • Posts: 4.035
  • Country: de
  • WebCPC / JavaCPC developer
    • index.php?action=treasury
    • CPC-Live website
  • Liked: 1018
  • Likes Given: 926
Re: CPCBox, your CPC emulator in Javascript
« Reply #234 on: 12:22, 22 June 11 »
Gotta tell you... I touched some setting on the motherboard (auto overclocking whatever) and now all the games run faster  :laugh:

I hope you can still follow them ;)
When you put your ear on a hot stove, you can smell how stupid you are ...

Amstrad CPC games in your webbrowser

JavaCPC Desktop Full Release

Offline Devilmarkus

  • Vivid source of indefiniteness
  • 6128 Plus
  • ******
  • Posts: 4.035
  • Country: de
  • WebCPC / JavaCPC developer
    • index.php?action=treasury
    • CPC-Live website
  • Liked: 1018
  • Likes Given: 926
Re: CPCBox, your CPC emulator in Javascript
« Reply #235 on: 12:28, 22 June 11 »
Yeah, I know. Haters gonna hate! ::)

http://knowyourmeme.com/memes/haters-gonna-hate

Hmmm did something went wrong for you?
I just mentioned that the timing problem is not caused because too slow screen rendering...

All cpc emulators produce a 768x272 (or 270 or whatever) screen, so I can name it "a fucking...." ;)
« Last Edit: 12:30, 22 June 11 by Devilmarkus »
When you put your ear on a hot stove, you can smell how stupid you are ...

Amstrad CPC games in your webbrowser

JavaCPC Desktop Full Release

Offline mahlemiut

  • 464 Plus
  • *****
  • Posts: 304
  • Country: nz
  • Liked: 151
  • Likes Given: 67
Re: CPCBox, your CPC emulator in Javascript
« Reply #236 on: 15:45, 22 June 11 »
So 409 seconds is not a good score in that test, huh?  :-[
- Barry Rodewald

Offline Devilmarkus

  • Vivid source of indefiniteness
  • 6128 Plus
  • ******
  • Posts: 4.035
  • Country: de
  • WebCPC / JavaCPC developer
    • index.php?action=treasury
    • CPC-Live website
  • Liked: 1018
  • Likes Given: 926
Re: CPCBox, your CPC emulator in Javascript
« Reply #237 on: 15:46, 22 June 11 »
So 409 seconds is not a good score in that test, huh?  :-[

409 seconds? For what? :D Didn't get it...
When you put your ear on a hot stove, you can smell how stupid you are ...

Amstrad CPC games in your webbrowser

JavaCPC Desktop Full Release

Offline mahlemiut

  • 464 Plus
  • *****
  • Posts: 304
  • Country: nz
  • Liked: 151
  • Likes Given: 67
Re: CPCBox, your CPC emulator in Javascript
« Reply #238 on: 15:52, 22 June 11 »
So try this benchmark on Firefox:
http://ie.microsoft.com/testdrive/Performance/SpeedReading/Default.html

EDIT: Upgraded to Firefox 5.0.  Is marginally faster, 378 seconds. :)
« Last Edit: 16:00, 22 June 11 by mahlemiut »
- Barry Rodewald

Offline PhilZeVibe

  • 464 Plus
  • *****
  • Posts: 471
  • Country: 00
  • Liked: 165
  • Likes Given: 187
Re: CPCBox, your CPC emulator in Javascript
« Reply #239 on: 16:25, 22 June 11 »
.
« Last Edit: 17:09, 30 June 21 by PhilZeVibe »

Offline antoniovillena

  • CPC664
  • ***
  • Posts: 87
  • Liked: 88
  • Likes Given: 3
Re: CPCBox, your CPC emulator in Javascript
« Reply #240 on: 17:56, 22 June 11 »
So now you know!

Actually the graphics requirement are not high, hardware acceleration is only used to perform canvas stretching. The only barrier is the Firefox drivers blacklist.
So if you have an integrated graphics chip on your motherboard, it can prove useful to unplug your graphics card and use the integrated graphics instead.

Also, keep in mind that Chrome and Opera are working right now on supporting hardware acceleration. And hopefully their drivers blacklist won't be the same as the one in Firefox ;)
And in the longer run, we have W3C working right now on defining Web Audio API, which will be the standard audio output API for browsers.


Hello phi2x


The Web Audio API is implemented in Chrome dev-channel. The specification is not totally defined, but you can implement in your emulator. Unfortunately you can not choose the sample rate or the buffer size like in Firefox. There is also a transparent API here:
https://github.com/grantgalitz/XAudioJS
that receives samples at your desired rate and do the resampling for you. The output is Web Audio API, Mozilla Audio Data Api or Adobe Flash for the rest of browsers.


I am also focused in sound, and I have problems with Web Audio API. When it works well in speccy I will traslate into Roland (my cpc emulator). If your machine is slow, try to press F9 (it uses a fastest scaling algorithm).
http://jbacteria.antoniovillena.es/128?batmant1.tap


And congratulations, your emulator is excelent
« Last Edit: 03:16, 23 June 11 by antoniovillena »

Offline PhilZeVibe

  • 464 Plus
  • *****
  • Posts: 471
  • Country: 00
  • Liked: 165
  • Likes Given: 187
Re: CPCBox, your CPC emulator in Javascript
« Reply #241 on: 19:42, 22 June 11 »
.
« Last Edit: 17:09, 30 June 21 by PhilZeVibe »

Offline Devilmarkus

  • Vivid source of indefiniteness
  • 6128 Plus
  • ******
  • Posts: 4.035
  • Country: de
  • WebCPC / JavaCPC developer
    • index.php?action=treasury
    • CPC-Live website
  • Liked: 1018
  • Likes Given: 926
Re: CPCBox, your CPC emulator in Javascript
« Reply #242 on: 20:04, 22 June 11 »
Well I still think I missed something... :D
I also ran this test: Using Firefox 5
When you put your ear on a hot stove, you can smell how stupid you are ...

Amstrad CPC games in your webbrowser

JavaCPC Desktop Full Release

Offline TFM

  • Visit the mysteries of the CPC at www.futureos.de
  • Supporter
  • 6128 Plus
  • *
  • Posts: 9.899
  • Country: aq
  • Space Chicken for FutureOS is free!
    • index.php?action=treasury
    • FutureOS - The revolution on CPC!
  • Liked: 1985
  • Likes Given: 4650
Re: CPCBox, your CPC emulator in Javascript
« Reply #243 on: 23:37, 22 June 11 »
Well I still think I missed something... :D
I also ran this test: Using Firefox 5

8 seconds... are 8.000.000 instructions on a real CPC  ;D
TFM of FutureSoft
Also visit the CPC and Plus users favorite OS: FutureOS - The Revolution on CPC6128 and 6128Plus

Offline mahlemiut

  • 464 Plus
  • *****
  • Posts: 304
  • Country: nz
  • Liked: 151
  • Likes Given: 67
Re: CPCBox, your CPC emulator in Javascript
« Reply #244 on: 03:52, 23 June 11 »
OK, found the issue - for sure I get no hardware acceleration in Firefox, apparently Firefox keeps a whitelist of supported video drivers, and under Linux the only supported driver is the proprietary NVidia X server.  I guess the version I have installed in Ubuntu 10.04 is not good enough...  Intel and AMD's drivers, or any open source drivers are "disastrously buggy" so Mozilla won't support them.  This also goes for Windows OpenGL drivers also.  OpenGL on OS X is fine, as is DirectX9/10 on Windows.
- Barry Rodewald

Offline PhilZeVibe

  • 464 Plus
  • *****
  • Posts: 471
  • Country: 00
  • Liked: 165
  • Likes Given: 187
Re: CPCBox, your CPC emulator in Javascript
« Reply #245 on: 10:11, 23 June 11 »
.
« Last Edit: 17:09, 30 June 21 by PhilZeVibe »

Offline PhilZeVibe

  • 464 Plus
  • *****
  • Posts: 471
  • Country: 00
  • Liked: 165
  • Likes Given: 187
Re: CPCBox, your CPC emulator in Javascript
« Reply #246 on: 15:40, 26 June 11 »
.
« Last Edit: 17:09, 30 June 21 by PhilZeVibe »

Offline PhilZeVibe

  • 464 Plus
  • *****
  • Posts: 471
  • Country: 00
  • Liked: 165
  • Likes Given: 187
Re: CPCBox, your CPC emulator in Javascript
« Reply #247 on: 11:15, 27 June 11 »
.
« Last Edit: 17:09, 30 June 21 by PhilZeVibe »

Offline McKlain

  • 6128 Plus
  • ******
  • Posts: 867
  • Country: es
  • Programmable Sound Generator
    • www.mcklain.com
  • Liked: 339
  • Likes Given: 950
Re: CPCBox, your CPC emulator in Javascript
« Reply #248 on: 11:34, 27 June 11 »
I may need a new computer to check the ay emulation  :laugh:

Offline PhilZeVibe

  • 464 Plus
  • *****
  • Posts: 471
  • Country: 00
  • Liked: 165
  • Likes Given: 187
Re: CPCBox, your CPC emulator in Javascript
« Reply #249 on: 22:16, 27 June 11 »
.
« Last Edit: 17:10, 30 June 21 by PhilZeVibe »