- Top Stats

Top Posters Top Topic Starters Top Topics
Devilmarku... 888
Gryzor 493
arnoldemu 345
TFM 326
PhilZeVibe 278
Devilmarku... 46
13
freemac 9
Gryzor 9
arnoldemu 7
CPCBox, your C... - 99774 Views phi2x 20:49, 09 September 10
JavaCPC Deskto... - 62590 Views Devilmarku... 23:46, 25 December 09
JavaCPC Deskto... - 56508 Views Devilmarku... 13:05, 14 August 11
'CPCInAJar' em... - 40027 Views Devilmarku... 16:56, 12 January 11
arnold wip - 26321 Views arnoldemu 21:52, 20 January 16


Author Topic: Roland, probably the worst Amstrad CPC emulator  (Read 14982 times)

0 Members and 1 Guest are viewing this topic.

Offline antoniovillena

  • CPC664
  • ***
  • Posts: 87
  • Liked: 88
  • Likes Given: 3
Hello

I am the developper of this piece of shit:
http://roland.antoniovillena.es/

This thread is for send me every crappy comment about the emulator, like:
"your shit doesn't work with game XXX"

I will also accept every scatological suggestion
 :P

Offline Devilmarkus

  • Vivid source of indefiniteness
  • 6128 Plus
  • ******
  • Posts: 4.039
  • Country: de
  • WebCPC / JavaCPC developer
    • index.php?action=treasury
    • CPC-Live website
  • Liked: 1007
  • Likes Given: 926
Re: Roland, probably the worst Amstrad CPC emulator
« Reply #1 on: 14:30, 04 May 11 »
Burnin' Rubber doesn't work...
What a piece of shi..
































Argglllllll!!!
Just joking ;)
Nice work!!! Keep going!
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 MacDeath

  • Chaotic post writer and mock-up specialist
  • Supporter
  • 6128 Plus
  • *
  • Posts: 4.041
  • Country: fr
  • Liked: 1109
  • Likes Given: 619
Re: Roland, probably the worst Amstrad CPC emulator
« Reply #2 on: 16:47, 04 May 11 »
Don't no if serious.

Offline remax

  • 6128 Plus
  • ******
  • Posts: 1.056
  • Country: fr
  • Liked: 371
  • Likes Given: 405
Re: Roland, probably the worst Amstrad CPC emulator
« Reply #3 on: 16:59, 04 May 11 »
Don't no if serious.


Don't nderstan what you to mean.

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: 1977
  • Likes Given: 4650
Re: Roland, probably the worst Amstrad CPC emulator
« Reply #4 on: 21:48, 04 May 11 »
Aehm... can't see that much at the HP. However, if would be great if is would support expansion RAM and ROMs.
TFM of FutureSoft
Also visit the CPC and Plus users favorite OS: FutureOS - The Revolution on CPC6128 and 6128Plus

Offline antoniovillena

  • CPC664
  • ***
  • Posts: 87
  • Liked: 88
  • Likes Given: 3
Re: Roland, probably the worst Amstrad CPC emulator
« Reply #5 on: 23:40, 04 May 11 »
MacDeath, the post is a little sarcastic, but also is serious.

Devilmarcus, I found Burnin' Rubber DSK but... that is a CPC+ game, now I understand the joke. Sorry, I didn't have a CPC machine. I started learning in the world of CPC one month ago, for programming the emulator. I only have read technical documents, from cpcwiki.eu and from grimware.com. So my game knowledge is null, only remember games that were similar in spectrum (I owns a ZX Spectrum +2A).

TFM/FS, what does HP mean, Hewlet Packard? Expansion RAM is supported only up to 128Kb and in games that uses it (like Batman the Movie). So tell me the game that you want to see working and I will upgrade the machine for it. About ROM expansion, what of these ROMs http://www.cpcwiki.eu/index.php/Category:Expansion_ROM
do you want to see?

Thank you everybody for the feedback

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: 1977
  • Likes Given: 4650
Re: Roland, probably the worst Amstrad CPC emulator
« Reply #6 on: 23:50, 04 May 11 »
HP = Homepage  ;)
 
Well, to have expansion RAM would be great in general. 512 K is enought. If you can work with 128 k, the 512 k is nearly the same.
 
About ROMs, would be great to be able to add expansion ROMs.
 
However I must admit that I can't check out the emulator here at work, will do that later at home. So maybe I got a bit a wrong picture of it.
TFM of FutureSoft
Also visit the CPC and Plus users favorite OS: FutureOS - The Revolution on CPC6128 and 6128Plus

Online Gryzor

  • Administrator
  • 6128 Plus
  • *****
  • Posts: 14.869
  • Country: gr
  • CPC-Wiki maintainer
    • CPCWiki
  • Liked: 2880
  • Likes Given: 4975
Re: Roland, probably the worst Amstrad CPC emulator
« Reply #7 on: 10:49, 05 May 11 »
You did this in a month without ever having had a CPC? Wow, good work, mate...

Offline antoniovillena

  • CPC664
  • ***
  • Posts: 87
  • Liked: 88
  • Likes Given: 3
Re: Roland, probably the worst Amstrad CPC emulator
« Reply #8 on: 11:35, 05 May 11 »
HP = Homepage  ;)
 
Well, to have expansion RAM would be great in general. 512 K is enought. If you can work with 128 k, the 512 k is nearly the same.
 
About ROMs, would be great to be able to add expansion ROMs.
 
However I must admit that I can't check out the emulator here at work, will do that later at home. So maybe I got a bit a wrong picture of it.

Roland emulator has 2 ways for loading software. 1. Loads from the server, with the filename in the URL. 2. From your local storage, dragging a file into screen area.

The first option is targeted to non-experienced cpc-users, that doesn't have dsks or taps images in their hardrives. Also they don't know how to load the software: run", |cpm, so all this will be occur transparently.

The second one is for cpc-users. You can load a local file (like in cpcbox), but also must type the start command.

So I can put a 4th machine: 6128 with 512k. And you can load locally the dsk that you want. Also I can upload some software to the server that uses that expansion.

To add ROM I have this idea:
-You drag into emulator a 16k raw rom file.
-Emulator ask you from bank number: http://www.cpcwiki.eu/index.php/Upper_ROM_Bank_Number

What do you think?

Offline Ygdrazil

  • Global Moderator
  • 464 Plus
  • *****
  • Posts: 478
  • Country: dk
  • Liked: 43
  • Likes Given: 230
Re: Roland, probably the worst Amstrad CPC emulator
« Reply #9 on: 11:42, 05 May 11 »

Great achievement  :)





Hello

I am the developper of this piece of shit:
http://roland.antoniovillena.es/

This thread is for send me every crappy comment about the emulator, like:
"your shit doesn't work with game XXX"

I will also accept every scatological suggestion
 :P

Offline antoniovillena

  • CPC664
  • ***
  • Posts: 87
  • Liked: 88
  • Likes Given: 3
Re: Roland, probably the worst Amstrad CPC emulator
« Reply #10 on: 11:49, 05 May 11 »
You did this in a month without ever having had a CPC? Wow, good work, mate...

Yes but starting with a good tested ZX Spectrum emulator. The jbacteria takes me more time. The hardest part of writting an emulator is the CPU core.

Emulators are simpler than people should think. But also are very difficult to debug, so you can write an emulator in a week, and spend months to fix all the bugs to make it stable.


Offline arnoldemu

  • Supporter
  • 6128 Plus
  • *
  • Posts: 5.331
  • Country: gb
    • Unofficial Amstrad WWW Resource
  • Liked: 2245
  • Likes Given: 3477
Re: Roland, probably the worst Amstrad CPC emulator
« Reply #11 on: 11:58, 05 May 11 »
Yes but starting with a good tested ZX Spectrum emulator. The jbacteria takes me more time. The hardest part of writting an emulator is the CPU core.

Emulators are simpler than people should think. But also are very difficult to debug, so you can write an emulator in a week, and spend months to fix all the bugs to make it stable.

I find the most difficult thing is the accuracy.
Some things are still being discovered about how the crtc, fdc etc work exactly.

The CPC is a lot more complex than the Spectrum, but I agree that writing an emulator is also about making a great CPU core etc

EDIT: Keep going. You are doing great.
« Last Edit: 12:05, 05 May 11 by arnoldemu »
My games. My Games
My website with coding examples: Unofficial Amstrad WWW Resource

Offline antoniovillena

  • CPC664
  • ***
  • Posts: 87
  • Liked: 88
  • Likes Given: 3
Re: Roland, probably the worst Amstrad CPC emulator
« Reply #12 on: 19:15, 05 May 11 »
Thank you everybody for the feedback.

Yes, accuracy is very difficult, but I don't pretend go to the limit. My target is to make most games playable. Cpcbox is (and will be) better in accuracy.

In ZX Spectrum AFAIK is possible perfect emulation (only recently) thank to that russian hacker that discover the MEMPTR register and Chris Smith http://www.zxdesign.info/book/

Offline antoniovillena

  • CPC664
  • ***
  • Posts: 87
  • Liked: 88
  • Likes Given: 3
Re: Roland, probably the worst Amstrad CPC emulator
« Reply #13 on: 23:48, 25 June 11 »

  Hi

  Roland has now sound emulation. Audio Data Api for Firefox 4+ and Web Audio Api for Chrome dev-channel (then enabled in about:flags).

http://roland.antoniovillena.es/

  For embed the emulator in another web page, here is an example: http://antoniovillena.es/2011/05/roland-cpc-javascript

  Also you can play in a dedicated window, with links like:
http://roland.antoniovillena.es/6128?batmanth.dsk/run%22disc
http://roland.antoniovillena.es/6128s?batmanth.dsk/run%22disc

  Regards
« Last Edit: 23:52, 25 June 11 by antoniovillena »

Offline Devilmarkus

  • Vivid source of indefiniteness
  • 6128 Plus
  • ******
  • Posts: 4.039
  • Country: de
  • WebCPC / JavaCPC developer
    • index.php?action=treasury
    • CPC-Live website
  • Liked: 1007
  • Likes Given: 926
Re: Roland, probably the worst Amstrad CPC emulator
« Reply #14 on: 00:16, 26 June 11 »
Hi Antonio,
That's really great news!
The sound works fine and no stuttering on my system.
Just 1 little thing:
Could you try to playback the sound @ ca. 1 octave deeper?
It's too high...
;)
In rest, thats really cool!
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: 460
  • Country: fr
    • CPCBox - CPC emulator in JavaScript
  • Liked: 154
  • Likes Given: 182
Re: Roland, probably the worst Amstrad CPC emulator
« Reply #15 on: 00:20, 26 June 11 »
I just tried Roland with Batman The Movie on Firefox 5. Audio output works without sound cuts on my notebook. Really cool. 8)

The audio seems to be pitched too high though.
Perhaps are you emulating the AY chip with spectrum clocking (~1.7MHz)? The AY chip on CPC is only clocked at 1MHz. ;)
Atwood's law (2007): "Any application that can be written in JavaScript, will eventually be written in JavaScript."

Offline antoniovillena

  • CPC664
  • ***
  • Posts: 87
  • Liked: 88
  • Likes Given: 3
Re: Roland, probably the worst Amstrad CPC emulator
« Reply #16 on: 01:42, 26 June 11 »
I just tried Roland with Batman The Movie on Firefox 5. Audio output works without sound cuts on my notebook. Really cool. 8)

The audio seems to be pitched too high though.
Perhaps are you emulating the AY chip with spectrum clocking (~1.7MHz)? The AY chip on CPC is only clocked at 1MHz. ;)

Thank you phi2x and Devilmarkus for the anotation.

The CPU runs 60.000 cycles every frame (at 50Hz), so before the divisor was 16. 60000/16= 3750 samples * 50 = 187500 samples/second
Now the divisor is 24, 60000/24= 2500 samples * 50= 125000 samples/second

In other words, the AY chip was clocked at 1.5Mhz and now runs at 1Mhz as phi2x suggested

Offline Devilmarkus

  • Vivid source of indefiniteness
  • 6128 Plus
  • ******
  • Posts: 4.039
  • Country: de
  • WebCPC / JavaCPC developer
    • index.php?action=treasury
    • CPC-Live website
  • Liked: 1007
  • Likes Given: 926
Re: Roland, probably the worst Amstrad CPC emulator
« Reply #17 on: 01:53, 26 June 11 »
Yeahhh now it really rocks!  8)

Hmmmm Zynaps slows down the emulation to 28%?!?

But other games I checked work really fine! Cool!!!
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 AMSDOS

  • Supporter
  • 6128 Plus
  • *
  • Posts: 3.602
  • Country: au
    • index.php?action=treasury
    • Programs for Turbo Pascal 3
  • Liked: 869
  • Likes Given: 1514
Re: Roland, no longer the worst Amstrad CPC emulator?
« Reply #18 on: 02:14, 26 June 11 »
Sound eh?? You should reconsider the name of this thread, I've only popped in a suggestion, other titles could be considered!  :)
* Using some of the hardly used Amstrad compilers :D
* I use Firmware in my Assembly code :P
* Have interpreted some BASIC 1.1 programs for BASIC 1.0. :)

Offline antoniovillena

  • CPC664
  • ***
  • Posts: 87
  • Liked: 88
  • Likes Given: 3
Re: Roland, probably the worst Amstrad CPC emulator
« Reply #19 on: 02:47, 26 June 11 »
Yeahhh now it really rocks!  8)

Hmmmm Zynaps slows down the emulation to 28%?!?

But other games I checked work really fine! Cool!!!


I suggest you to try the other render version. Click at "SLOW RENDER" in upper-rigth corner in the game list.

Offline antoniovillena

  • CPC664
  • ***
  • Posts: 87
  • Liked: 88
  • Likes Given: 3
Re: Roland, a javascript CPC emulator, NOW WITH SOUND
« Reply #20 on: 02:49, 26 June 11 »
Sound eh?? You should reconsider the name of this thread, I've only popped in a suggestion, other titles could be considered!  :)


Sorry, I have opened an old thread, when I created the emulator. The title is changed.

Offline AMSDOS

  • Supporter
  • 6128 Plus
  • *
  • Posts: 3.602
  • Country: au
    • index.php?action=treasury
    • Programs for Turbo Pascal 3
  • Liked: 869
  • Likes Given: 1514
Re: Roland, a javascript CPC emulator, NOW WITH SOUND
« Reply #21 on: 03:12, 26 June 11 »

Sorry, I have opened an old thread, when I created the emulator. The title is changed.


Perfectly fine by me, cause I'm a fan when it comes down to using Old Threads!  :D  I like the new title too!  :)
* Using some of the hardly used Amstrad compilers :D
* I use Firmware in my Assembly code :P
* Have interpreted some BASIC 1.1 programs for BASIC 1.0. :)

Offline antoniovillena

  • CPC664
  • ***
  • Posts: 87
  • Liked: 88
  • Likes Given: 3
Re: Roland, now with a HUGE DATABASE
« Reply #22 on: 12:35, 28 July 11 »

  Hello

  I have updated the emulator with the next changes:

-More accurate emulation. Now I am using the correct Z80 timings for CPC (before it was emulated spectrum timing).
-Bugfix in OUTD (OUTI, OTIR, OTDR) instruction that causes bad sound in some games like 1943.


  And the most important think, thanks to Mauricio, Litos and Raúl now you can play it with a HUGE DATABASE of 3600 games. Load screen, in-game screen and inlays are available for each game.

  http://amstradcpc.es/emulador/

Online Gryzor

  • Administrator
  • 6128 Plus
  • *****
  • Posts: 14.869
  • Country: gr
  • CPC-Wiki maintainer
    • CPCWiki
  • Liked: 2880
  • Likes Given: 4975
Re: Roland, probably the worst Amstrad CPC emulator
« Reply #23 on: 09:25, 05 August 11 »
This is an excellent effort... wow!

Offline Sykobee (Briggsy)

  • 6128 Plus
  • ******
  • Posts: 663
  • Country: gb
  • Liked: 220
  • Likes Given: 324
Re: Roland, probably the worst Amstrad CPC emulator
« Reply #24 on: 00:37, 06 August 11 »
Great stuff! Works great.