Roland, probably the worst Amstrad CPC emulator

Started by antoniovillena, 14:12, 04 May 11

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

antoniovillena

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

Devilmarkus

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

MacDeath


remax

Brain Radioactivity

TFM

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

antoniovillena

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

TFM

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

Gryzor

You did this in a month without ever having had a CPC? Wow, good work, mate...

antoniovillena

Quote from: TFM/FS 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.

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?

Ygdrazil


Great achievement  :)





Quote from: antoniovillena on 14:12, 04 May 11
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

antoniovillena

Quote from: Gryzor on 10: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.


arnoldemu

#11
Quote from: antoniovillena on 11:49, 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.
My games. My Games
My website with coding examples: Unofficial Amstrad WWW Resource

antoniovillena

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/

antoniovillena

#13

  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

Devilmarkus

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

Phi2x

#15
.

antoniovillena

Quote from: phi2x 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. ;)

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

Devilmarkus

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

AMSDOS

Sound eh?? You should reconsider the name of this thread, I've only popped in a suggestion, other titles could be considered!  :)

* Using the old Amstrad Languages :D   * with the Firmware :P
* I also like to problem solve code in BASIC :)   * And type-in Type-Ins! :D

Home Computing Weekly Programs
Popular Computing Weekly Programs
Your Computer Programs
Updated Other Program Links on Profile Page (Update April 16/15 phew!)
Programs for Turbo Pascal 3

antoniovillena

Quote from: Devilmarkus 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!!!


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

antoniovillena

Quote from: CP/M User 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!  :)


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

AMSDOS

Quote from: antoniovillena on 02:49, 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 the old Amstrad Languages :D   * with the Firmware :P
* I also like to problem solve code in BASIC :)   * And type-in Type-Ins! :D

Home Computing Weekly Programs
Popular Computing Weekly Programs
Your Computer Programs
Updated Other Program Links on Profile Page (Update April 16/15 phew!)
Programs for Turbo Pascal 3

antoniovillena


  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/

Gryzor


Sykobee (Briggsy)


Powered by SMFPacks Menu Editor Mod