CPCWiki forum

General Category => Emulators => Topic started by: jcgamestoy on 16:53, 21 October 17

Title: WIP Retro Virtual Machine v2.0.
Post by: jcgamestoy on 16:53, 21 October 17
Hello forum!


Some progress in my new emulator (for MacOs and Windows).


This time I show you the emulation of the CRTC/Monitor with the game Relentless and the Mario demo by Batman Group.


At the end of the video you can see also the low level (mfm) emulation of the disc system in Discology.


https://youtu.be/kJR37C8yOcI


Enjoy, there are a lot of things to finish yet. But i make a great progress in the last Month
Title: Re: WIP Retro Virtual Machine v2.0.
Post by: Gryzor on 12:05, 26 October 17
How can we beta-test this? :)
Title: Re: WIP Retro Virtual Machine v2.0.
Post by: ThomH on 02:01, 02 November 17
Most minor observation ever: I think perhaps you don't quite have the correct output aspect ratio. Pixels in Mode 1 aren't quite square. Pixels run for 40/64ths of the line, which is close to 77% of the visible area. 320 pixels of height would be about 111% of the visible area. So I make each Mode 1 pixel only about 92% as wide as tall.

EDIT: proper workings:

Per PAL, 52us of each line is visible and 288 lines are visible, with the screen having an aspect ratio of 4/3. In Mode 1 there are 320 pixels across and they take 40us to output, with each line being unique.

So each pixel is 1/288th of the screen tall and (40/52) * (1/320) = 1/416th of the screen wide. Correcting for screen aspect ratio, each pixel has an aspect ratio of (288*4)/(416*3) = 12/13.

So, a touch thinner than tall.
Title: Re: WIP Retro Virtual Machine v2.0.
Post by: jcgamestoy on 16:29, 04 November 17
How can we beta-test this? :)
 


Soon, but there are a lot of things to finish.


Most minor observation ever: I think perhaps you don't quite have the correct output aspect ratio. Pixels in Mode 1 aren't quite square. Pixels run for 40/64ths of the line, which is close to 77% of the visible area. 320 pixels of height would be about 111% of the visible area. So I make each Mode 1 pixel only about 92% as wide as tall.

EDIT: proper workings:

Per PAL, 52us of each line is visible and 288 lines are visible, with the screen having an aspect ratio of 4/3. In Mode 1 there are 320 pixels across and they take 40us to output, with each line being unique.

So each pixel is 1/288th of the screen tall and (40/52) * (1/320) = 1/416th of the screen wide. Correcting for screen aspect ratio, each pixel has an aspect ratio of (288*4)/(416*3) = 12/13.

So, a touch thinner than tall.



Thanks for the info, I know, the development versions use a 1-1 pixels but how i use OpenGL for the video i will correct this in the final version. The overscan is configurable also.


By the way, I'm working in a Linux version too  :P

https://www.youtube.com/watch?v=golJpJ4tOXc&t=11s
Title: Re: WIP Retro Virtual Machine v2.0.
Post by: ThomH on 20:39, 07 November 17
By the way, I'm working in a Linux version too  :P
That's pretty cool! Dull questions: which underlying library are you using for the Linux port? As in: SDL, Qt or something like that? And is your code ES 2.x compatible, for a potential Raspberry Pi build?

(I checked for source code to try to answer this question for myself, but found none; apologies if you are open source and I should have been able to find out without asking)

I'm a Mac user usually, so I've used the previous version of your emulator, but I have a Pi behind the TV. Also I'm partway through porting my efforts via SDL but finding window management to be a hassle. It's one call in Cocoa but there actually seems to be no functioning way to request that a resizeable window will maintain a certain content-size aspect ratio in X11 and quite a few of the window managers ignore programmatic window events while the mouse button is down so you can't intercede there either. I guess that's why VLC doesn't even try.
Title: Re: WIP Retro Virtual Machine v2.0.
Post by: jcgamestoy on 16:55, 14 November 17
That's pretty cool! Dull questions: which underlying library are you using for the Linux port? As in: SDL, Qt or something like that? And is your code ES 2.x compatible, for a potential Raspberry Pi build?

(I checked for source code to try to answer this question for myself, but found none; apologies if you are open source and I should have been able to find out without asking)

I'm a Mac user usually, so I've used the previous version of your emulator, but I have a Pi behind the TV. Also I'm partway through porting my efforts via SDL but finding window management to be a hassle. It's one call in Cocoa but there actually seems to be no functioning way to request that a resizeable window will maintain a certain content-size aspect ratio in X11 and quite a few of the window managers ignore programmatic window events while the mouse button is down so you can't intercede there either. I guess that's why VLC doesn't even try.


I'm using SDL2 but i'm in the process of making my own library. The final version will not use SDL2 at all.


The OpenGL part is OpenGL v2.1, then yes is "almost" OpenGL ES 2.x compatible.
Title: Re: WIP Retro Virtual Machine v2.0.
Post by: PhilZeVibe on 18:01, 14 November 17
Wow, this emulator feels of very high quality. :o
Title: Re: WIP Retro Virtual Machine v2.0.
Post by: jcgamestoy on 15:10, 22 November 17
I made some progress now we have a new phosphor screen shader  :P :


https://www.youtube.com/watch?v=o8pBiy3qc9k


And the CRTC implementation seems stable now.


Stay tunned  ;)
Title: Re: WIP Retro Virtual Machine v2.0.
Post by: Gryzor on 15:29, 22 November 17
I just love this. I really do! Say, after this, can you do a terminal program for Windows (ssh please!) with those kinds of filters? I'd pay for one :D
Title: Re: WIP Retro Virtual Machine v2.0.
Post by: jcgamestoy on 20:36, 05 January 18
Another video this time, showing the first device implemented in the Amstrad CPC (Toto's X-Mem)


And a short view of the debugger.


https://youtu.be/R3eKzs9Mtu4


Enjoy
Title: Re: WIP Retro Virtual Machine v2.0.
Post by: Gryzor on 20:39, 05 January 18
So sexy! Please bring the Windows version forward :)
Title: Re: WIP Retro Virtual Machine v2.0.
Post by: alan.turner on 22:28, 05 January 18
This is very nice - love it on the Mac!! When can I get it???


Sent from my iPhone using Tapatalk Pro
Title: Re: WIP Retro Virtual Machine v2.0.
Post by: tjohnson on 15:48, 06 January 18
This looks cool, on you're first video you had an untuned tv effect i presume this doesn't represent ctm640 emulation which would fade up when switched on.   The green screen, the general screen wobble and  line slowly running down the screen, did they do that? I haven't got one but is be surprised if this represents a healthy screen.  great work keep it up.  Trevor

Sent from my E5823 using Tapatalk

Title: Re: WIP Retro Virtual Machine v2.0.
Post by: blackdalek on 16:07, 06 January 18
I'm keen to try out the linux version. Looks great.
Title: Re: WIP Retro Virtual Machine v2.0.
Post by: remax on 00:06, 14 January 18
Wow... it's amazing !
Title: Re: WIP Retro Virtual Machine v2.0.
Post by: arnoldemu on 15:42, 14 January 18

This looks cool, on you're first video you had an untuned tv effect i presume this doesn't represent ctm640 emulation which would fade up when switched on.   The green screen, the general screen wobble and  line slowly running down the screen, did they do that? I haven't got one but is be surprised if this represents a healthy screen.  great work keep it up.  Trevor

Sent from my E5823 using Tapatalk
None of those effects happen on the CPC or Plus.


The CPC screen was always solid and clear.
Title: Re: WIP Retro Virtual Machine v2.0.
Post by: VincentGR on 15:44, 14 January 18
I need this.
Title: Re: WIP Retro Virtual Machine v2.0.
Post by: Apollo on 05:34, 02 March 18
Looks really good!!
Any news when a beta version is available? Seems like it is stable enough already to give some other hands the chance to find bugs  ;D
Title: Re: WIP Retro Virtual Machine v2.0.
Post by: jcgamestoy on 21:37, 13 March 18
New video.


https://youtu.be/wks6g79soVg


Low pass filter in the audio working.
Tape recording (CDT, PZX, TZX, CSW) working.


The Beta 1 is more close now. Stay tunned



Title: Re: WIP Retro Virtual Machine v2.0.
Post by: robcfg on 22:35, 13 March 18
Looking forward to try it!  :D
Title: Re: WIP Retro Virtual Machine v2.0.
Post by: Gryzor on 19:21, 21 April 18
I want this :)
Title: Re: WIP Retro Virtual Machine v2.0.
Post by: VincentGR on 19:34, 21 April 18
I want this :)


You will burn in hell if you want this sorcery  ;D
Title: Re: WIP Retro Virtual Machine v2.0.
Post by: dXoXb on 19:19, 06 May 18
This looks fantastic!  :o 8) Please, please keep this up  :)
Title: Re: WIP Retro Virtual Machine v2.0.
Post by: jcgamestoy on 20:21, 10 July 18
More work.


Now supporting the "CPC Dandanator" cartridge.


https://youtu.be/DkENuyTVDxM


Enjoy
Title: Re: WIP Retro Virtual Machine v2.0.
Post by: dXoXb on 18:21, 14 July 18
Very nice  8) :)

When do we get to play around with the Windows version?
Title: Re: WIP Retro Virtual Machine v2.0.
Post by: jcgamestoy on 21:43, 25 August 18
Another video, this time showing the Linux version  8)


https://youtu.be/J0RYRdW0TEU


And a lot of things... the debugger... the assembler.


Enjoy


PD: To be released when is finished.
Title: Re: WIP Retro Virtual Machine v2.0.
Post by: robcfg on 00:54, 26 August 18
You just blew my mind!


The development tools are just incredible, such a fine job.


Looking forward to use it, when it's finished, of course!  ;)
Title: Re: WIP Retro Virtual Machine v2.0.
Post by: Gryzor on 09:24, 26 August 18
Please, stop teasing us. Where do I send the money?
Title: Re: WIP Retro Virtual Machine v2.0.
Post by: GUNHED on 19:19, 26 August 18

Great work so far. In case of the CPC: Does it support RAM-expansion, ROM-expansion, other expansions (most usual ones of course)?
Title: Re: WIP Retro Virtual Machine v2.0.
Post by: Iridium on 14:51, 09 September 18
I'm really looking forward to this, both on the PC and Linux!  ;D
Any ETA?
Thanks.
Title: Re: WIP Retro Virtual Machine v2.0.
Post by: Dabz on 21:04, 10 September 18
Know what I would love with this...


Basically, a little raspberry pi, plonked in a little 3D printed Amstrad 6128, where I could just switch it on and voila... Retro Virtual Machine ready to go! :)


That'll be a nice thing


Dabz
Title: Re: WIP Retro Virtual Machine v2.0.
Post by: jcgamestoy on 23:28, 09 December 18
Last video in this thread...


RVMv2 Beta 1 will be available on December 22th


https://www.youtube.com/watch?v=TiNVFGSshdE


 ;)
Title: Re: WIP Retro Virtual Machine v2.0.
Post by: Gryzor on 14:38, 13 December 18
Xmas present :)
Title: Re: WIP Retro Virtual Machine v2.0.
Post by: XeNoMoRPH on 20:50, 20 December 18
https://youtu.be/HzITlTihWBA
Title: Re: WIP Retro Virtual Machine v2.0.
Post by: Gryzor on 21:22, 20 December 18
Great feature! No CPC games tho ;)
Title: Re: WIP Retro Virtual Machine v2.0.
Post by: XeNoMoRPH on 15:33, 29 January 19
https://youtu.be/P-3TGJwQ9eY
Title: Re: WIP Retro Virtual Machine v2.0.
Post by: TorpedoJavi on 14:19, 07 February 19
Best current CPC emulator with a GREAT interface (works flawlessly in Linux).
Juancar, will RVM v3 support MSX2 or C64?

Title: Re: WIP Retro Virtual Machine v2.0.
Post by: invent on 00:51, 04 March 19
This is excellent, just about to try it. Caters for the 3 platforms I'm on (Mac, PC, AmigaOS/Linux)



Title: Re: WIP Retro Virtual Machine v2.0.
Post by: Gryzor on 09:57, 04 March 19
I think I found a bug: if I put my laptop on standby, when resuming the machine that was running has no sound. One time I was able to get sound back by opening a new machine, the other I had to completely shut down the emulator an relaunch it...