|
Post by FaberfoX on Jan 21, 2021 8:27:06 GMT
jj0, I've said it before, I'll say it again here, you are a fscking legend. Haven't had time to play much with this but can confirm it works on both my mini and my frankenpi. For C64 (and VIC20 on the Maxis), the needed ROMs are already at /usr/lib/vice, have you tried to bind mount them to make it easier?
|
|
|
Post by jj0 on Jan 21, 2021 8:56:36 GMT
jj0 , I've said it before, I'll say it again here, you are a fscking legend. Haven't had time to play much with this but can confirm it works on both my mini and my frankenpi. For C64 (and VIC20 on the Maxis), the needed ROMs are already at /usr/lib/vice, have you tried to bind mount them to make it easier? Thanks. By default the emulators are configured to look for the ROMs in /usr/lib/vice, so you are right, these could be used. But I'm actually mounting the vice directory from the USB over the /usr/lib/vice so the other way around. But I could improve the script to first mount the existing C64 and VIC-20 directories over the USB ones, so C64 on Mini and Maxi and VIC-20 on Maxi would work out of the box.
|
|
|
Post by mobluse on Jan 21, 2021 11:28:00 GMT
There are later versions of VICE 2.4 (2012) e.g. vice-2.4.33.tar.gz (2016). I believe the later versions of VICE 2.4 supports the CP/M cartridge with Z80 CPU for C64, which I would find interesting. Maybe the later 2.4 versions can run at the same speed as the earlier. sourceforge.net/projects/vice-emu/files/development-releases/Regarding the C128, how do you select which emulated screen to show on your real screen, because C128 had two screens. When you say menu buttons on joystick, do you mean A, B, C?
|
|
|
Post by kugelblitz on Jan 21, 2021 12:46:57 GMT
My educated guess would be that emulating a second CPU might bring THEC64 down to its knees - there is not enough extra horsepower really.
|
|
|
Post by kugelblitz on Jan 21, 2021 12:52:22 GMT
EDIT: I've got it working now! Thanks for taking the time to reply Seems I placed an incorrect ROM in the C64 directory.. One thing I've noticed is the silky smooth scrolling suffers from the occasional tearing, missed frames. Don't suppose it can be fixed? Well done, so what machine where you trying to force the C64 to be? ;-) Regarding tearing etc, I've no idea how to fix it. I don't understand the Mini/Maxi's graphics driver/modes very well nor how the various VICE emulators use them. So there's no optimisation like what RGL did for the Carousel version of the emulators. Would comparing the VICE code released by the RetroGames with the "official VICE" help? github.com/retro-games-ltd/vice-2.4Unless there were a lot of additional changes 4 years ago (!) the *only* thing that really changed looks like sound sync issues. github.com/retro-games-ltd/vice-2.4/commit/315987caa1671d7ff26a11613869229aa40eb929These of course could also be the source of screen tearing/stuttering because nothing syncs to REAL 50 Hz. BMC64 does the same thing because in reality a PAL C64 is not 50 Hz so in order to scroll 100% smooth there is some sync trickery. Actually the VICE 3.3 source from BMC64 might be an even better codebase to compile for? (Yes, I undestand that SNAPS would be incompatible, but Vice 3.3 has some niceties). github.com/randyrossi/bmc64/tree/master/third_party/vice-3.3Cheers, Boris
|
|
|
Post by mobluse on Jan 21, 2021 16:11:33 GMT
My educated guess would be that emulating a second CPU might bring THEC64 down to its knees - there is not enough extra horsepower really. I don't think the 6510 and Z80 runs att the same time when you use the CP/M cartridge for C64 because there is only one bus. The C128 already has two CPUs 8502 and Z80, so it's not worse than that, and in that case 8502 and Z80 don't run att the same time.
|
|
|
Post by javimm on Feb 3, 2021 19:17:00 GMT
Thank you so much for this!. I was missing some features on the official firmware and this is exactly what I wanted to have, a full featured VICE with a C64 form factor. This is awesome!!.
I'd like to ask if someone has experienced with the CRT emulation. I like scanlines so I turned it on, but when the background color is the same, for instance, blue in the startup C64 screen, the scanlines show an strange artifact, like banding in regions of 3-4 cms. I don't have those in the classic mode of TheC64.
Anyway, thanks again!!
|
|
|
Post by spannernick on Feb 6, 2021 13:46:30 GMT
Thank you so much for this!. I was missing some features on the official firmware and this is exactly what I wanted to have, a full featured VICE with a C64 form factor. This is awesome!!. I'd like to ask if someone has experienced with the CRT emulation. I like scanlines so I turned it on, but when the background color is the same, for instance, blue in the startup C64 screen, the scanlines show an strange artifact, like banding in regions of 3-4 cms. I don't have those in the classic mode of TheC64. Anyway, thanks again!! The Carousel uses Flashlight shader overlays(and uses OpenGLES 2.0) to change the way the screen looks, to change to a CRT overlay affect(Display Screen, TV icon on the bottom of the Carousel), that's why it looks different, the Carousel has it's own shaders, a bit like RetroArch dose, the Carousel kind of works the same way, where the c64emu.rgl and vic20emu.rgl are its cores, the Carousel has 2 layers one for the Carousel and 2 for the emulator that runs behind the Carousel on the second layer and overlay the shader over the top of the emulator screen. VICE uses a CRT Emulation affect inside it and is part of VICE, its not the same.
|
|
|
Post by spannernick on Feb 11, 2021 0:51:27 GMT
|
|
|
Post by veiner87 on Feb 11, 2021 8:39:12 GMT
Hi, Do you think that it is possible to add some other shaders to this standalone VICE emulator? I'm thinking about Trinitron shader, which is used in BMC64 and looks superb on 1080p but on 720p (which is resolution for thec64) also good.
|
|
|
Post by jj0 on Feb 11, 2021 10:24:21 GMT
Hi, Do you think that it is possible to add some other shaders to this standalone VICE emulator? I'm thinking about Trinitron shader, which is used in BMC64 and looks superb on 1080p but on 720p (which is resolution for thec64) also good. That depends - is there a source code repository that includes this change for 'standard' VICE?
|
|
|
Post by veiner87 on Feb 11, 2021 11:14:07 GMT
Hi jjo, As I know these shaders are not applied for 'standard' VICE. They're applied only for BMC64. Maybe there github.com/randyrossi/bmc64 will be something useful?
|
|
|
Post by jj0 on Feb 11, 2021 13:34:20 GMT
Hi jjo, As I know these shaders are not applied for 'standard' VICE. They're applied only for BMC64. Maybe there github.com/randyrossi/bmc64 will be something useful? Sorry, this is beyond my programming skills. I can see BCM64 uses vice 3.3 (vs me using 2.4) so it probably wouldn't be applicable.
|
|
|
Post by veiner87 on Feb 11, 2021 13:40:13 GMT
Hi jjo, As I know these shaders are not applied for 'standard' VICE. They're applied only for BMC64. Maybe there github.com/randyrossi/bmc64 will be something useful? Sorry, this is beyond my programming skills. I can see BCM64 uses vice 3.3 (vs me using 2.4) so it probably wouldn't be applicable. Ok. Thanks for checking :-)
|
|
|
Post by spannernick on Feb 12, 2021 12:29:37 GMT
And a RPI3 is alot more powerful than the THEC64 A20 and H3.
Just found out that Orange PI H3 can run Android 4.4(Jellybean) like the Olinuxino A20 lime2(and Cubieboard2, I had Android 4.4 running on it) so that why THEC64 Mini and Maxi can use a Android kernal, the boards can run it, the RPI3 can't do that.
And both boards are open source (OSHW), the RPI is not.
|
|
|
Post by jj0 on Feb 12, 2021 13:15:40 GMT
|
|
|
Post by spannernick on Feb 12, 2021 15:21:34 GMT
Oh ok, but Lineage OS is CFW, so someone on the XDA forum as made it, I had Lineageos on my Note 2, it reminds me of CyanogenMod Yes I am on XDA too.. I use to use CyanogenMod to make my own rom then posted on XDA, before that I use to make themes with Flash 3 for the LG Viewty and Cooke, I even made a Iphone theme so it looked like a iPhone ... it used Flash and Java for its menu and apps... wow that was like in 2007/8... I like to try everything if I can, you don't know if you can do something if you don't try first..
|
|
|
Post by spannernick on Feb 12, 2021 15:43:05 GMT
It would not work on the A20 SoC its too slow, and I think same problem with the H3 SoC too.
|
|
|
Post by javimm on Feb 12, 2021 15:52:34 GMT
Thank you so much for this!. I was missing some features on the official firmware and this is exactly what I wanted to have, a full featured VICE with a C64 form factor. This is awesome!!. I'd like to ask if someone has experienced with the CRT emulation. I like scanlines so I turned it on, but when the background color is the same, for instance, blue in the startup C64 screen, the scanlines show an strange artifact, like banding in regions of 3-4 cms. I don't have those in the classic mode of TheC64. Anyway, thanks again!! The Carousel uses Flashlight shader overlays(and uses OpenGLES 2.0) to change the way the screen looks, to change to a CRT overlay affect(Display Screen, TV icon on the bottom of the Carousel), that's why it looks different, the Carousel has it's own shaders, a bit like RetroArch dose, the Carousel kind of works the same way, where the c64emu.rgl and vic20emu.rgl are its cores, the Carousel has 2 layers one for the Carousel and 2 for the emulator that runs behind the Carousel on the second layer and overlay the shader over the top of the emulator screen. VICE uses a CRT Emulation affect inside it and is part of VICE, its not the same. Thanks for the explanation.
|
|
|
Post by spannernick on Feb 17, 2021 12:15:20 GMT
No you can't, it part of vice and BMC64 is a new emulator based on new source of Vice and new versions 3.0 and up can't run on A20 AFAIK, you need to take that into account that its got to run on both machines, A20 has 2 cores, H3 as 4 but 2 of them are turned off, so it acts like the A20 SoC.
|
|
|
Post by pollux on Feb 20, 2021 18:22:28 GMT
jj0: Thanks for the work you have done to port the complete Vice-packet to The C64. There are some bugs in the DTV64-emulator, in the emulator menu it should be possible to navigate with the joystick (like it is in the other emus too), but in this case you have to use a combination of keyboard and joystick to make your way through the options. It would be nice if you could have a look into this. @spannernick: Can you make your version with the "selector screen" available ?
|
|
|
Post by jj0 on Feb 21, 2021 10:27:48 GMT
jj0 : Thanks for the work you have done to port the complete Vice-packet to The C64. There are some bugs in the DTV64-emulator, in the emulator menu it should be possible to navigate with the joystick (like it is in the other emus too), but in this case you have to use a combination of keyboard and joystick to make your way through the options. It would be nice if you could have a look into this. @spannernick: Can you make your version with the "selector screen" available ? I didn't really try C64DTV in the standalone 'Fake Firmware' version. But in PCUAE the issue is probably because in PCUAE spannernick provided the menu for C64DTV but not the associated joystick mapping and keyboard mapping (wel OK, the C64DTV doesn't actually have a keyboard). In PCUAE you can try to copy: - Carousel_Games/Options/SDLVICE/vice/sdl-joymap-x64.vjm to Carousel_Games/Options/SDLVICE/vice/sdl-joymap-x64dtv.vjm - Carousel_Games/Options/SDLVICE/vice/sdl_sym_x64.vkm to Carousel_Games/Options/SDLVICE/vice/sdl_sym_x64dtv.vkm - Carousel_Games/Options/SDLVICE/vice/sdl_sym_x64-USB.vkm to Carousel_Games/Options/SDLVICE/vice/sdl_sym_x64dtv-USB.vkm and see if it then works as expected.
|
|
|
Post by pollux on Feb 21, 2021 13:45:24 GMT
Hi, I don't use PCUAE or the Carussel-system at all, only the ported Vice-package and hoped that you are interested in polishing your port. As mentioned in previous posts it would be really nice to improve the emulators with real 50Hz output, but I also understand that this requires detailed insight into the hardware and suitable coding skills which I also don't have. I mainly use The C64 for watching demos and had to learn that the Vice emus for Plus/4 and C128 are not nearly as advanced as the C64 one, so it is at least questionable to invest much time into improving ports that fail to recreate the latest demo stuff because the underlying source is not able to do that properly. A better Plus/4 emulator is called Yape, perhaps that one could be ported ? Edit: Here's the source on Github: github.com/calmopyrin/yapesdl
|
|
|
Post by jj0 on Feb 22, 2021 7:48:04 GMT
Hi, I don't use PCUAE or the Carussel-system at all, only the ported Vice-package and hoped that you are interested in polishing your port. As mentioned in previous posts it would be really nice to improve the emulators with real 50Hz output, but I also understand that this requires detailed insight into the hardware and suitable coding skills which I also don't have. I mainly use The C64 for watching demos and had to learn that the Vice emus for Plus/4 and C128 are not nearly as advanced as the C64 one, so it is at least questionable to invest much time into improving ports that fail to recreate the latest demo stuff because the underlying source is not able to do that properly. A better Plus/4 emulator is called Yape, perhaps that one could be ported ? Edit: Here's the source on Github: github.com/calmopyrin/yapesdlWhat model THE64 are you using (Min, Maxi, NTSC, PAL) and what do you mean with real 50Hz output, doesn't x64 already do that? Is a later vice version of Plus/4 a better emulator?
|
|
|
Post by pollux on Feb 25, 2021 11:37:19 GMT
Sorry for the late answer, I have been quite busy in the last days. I'm using The C64 Maxi in PAL-mode with PAL-software. I thought that the Vice emulators from your port don't use 50Hz output due to the fact that hardware scrolling is really jerky and stuttering. Unfortunately my TVs / monitors doesn't show the actual refresh rate, I'm not able to say if there is real 50Hz output, but the main issue seems to be the speed of emulation. Even with sound, true drive emulation and CRT-emulation turned off the emulated CPU speed drops below 60% when the emu is told to display every frame (1/1, no frame skipping), so I assume the emulator is just not fast enough. Maybe Retro Games optimized their Vice-port for the machine to achieve full frame rate.
I don't know if any real improvements have been made to newer versions of the Plus/4 Vice emulator, but Yape is in general the better and most accurate one.
|
|
|
Post by spannernick on Mar 2, 2021 11:30:38 GMT
jj0 : Thanks for the work you have done to port the complete Vice-packet to The C64. There are some bugs in the DTV64-emulator, in the emulator menu it should be possible to navigate with the joystick (like it is in the other emus too), but in this case you have to use a combination of keyboard and joystick to make your way through the options. It would be nice if you could have a look into this. @spannernick: Can you make your version with the "selector screen" available ? C64DTV now works in PCUv1.3.2..
|
|
|
Post by twilite on Mar 4, 2021 13:20:43 GMT
This is really impressive indeed. It has also restored my hope that someday a serial communications /COMPort module within Vice could be enabled through some combination of hardware software to allow BBS communications with the maxi. ?
|
|
|
Post by MeneerJansen on Apr 30, 2021 15:06:52 GMT
I really like this too. Boots up lightning fast!
However, I can't autostart game cartridges via the "Autostart image" menu. Usually that works fine (works on the Raspberry Pi and if I install PCUAE which has this Vice version to choose from too). Must some settings be changed?
|
|
|
Post by stefanor on May 1, 2021 16:58:49 GMT
Congratulations for this job.
Sorry for the noob question: the program permanently modifies thec64 or if I turn off the thec64 it returns as before with the original firmware.
Thank you
|
|
|
Post by vic2020ian on May 1, 2021 18:23:00 GMT
Congratulations for this job. Sorry for the noob question: the program permanently modifies thec64 or if I turn off the thec64 it returns as before with the original firmware. Thank you It runs from the USB and does not touch firmware UNLESS you enable auto boot. If you launch from fake firmware every time and don't use auto boot then you can revert to as sold stock firmware by powering off and removing the USB and powering back up. If you do set auto boot PCUAE to avoid using a normal boot and then a fake firmware boot then a small change to firmware is made to boot the USB to PCUAE carousel but you would never know if you later removed the USB and booted it to stock firmware.
|
|