|
Post by kugelblitz on Feb 19, 2020 10:01:17 GMT
Darbyram has uncovered a GitHub Repo that has the source code for the modified VICE used in the C64Mini/Maxi: github.com/retro-games-ltdStrange that this three year old repo did not surface any earlier. It confirms stuff that was speculated here like that it excludes the RS232 support, some sound chip changes and of course throwing out the whole VICE UI (it is not compiled in, so we can't secretly access it).
|
|
|
Post by spannernick on Feb 19, 2020 15:41:55 GMT
Where did they get the code from..? If we could find the untouched code you might be able compile it on a Orange PI PC H3 to work on theC64 Maxi. I know the Retroarch Vice works on a Orange Pi.
|
|
|
Post by jj0 on Feb 19, 2020 16:43:54 GMT
Where did they get the code from..? If we could find the untouched code you might be able compile it on a Orange PI PC H3 to work on theC64 Maxi. I know the Retroarch Vice works on a Orange Pi. It's (or appears to be) from Retrogames itself. However it is not complete. If you run make (after running configure) in the redquark-sixtyfour folder you end up with c64emu.rgl and vic20.rgl.
|
|
|
Post by darbyram on Feb 19, 2020 17:13:38 GMT
Darbyram has uncovered a GitHub Repo that has the source code for the modified VICE used in the C64Mini/Maxi: github.com/retro-games-ltdStrange that this three year old repo did not surface any earlier. It confirms stuff that was speculated here like that it excludes the RS232 support, some sound chip changes and of course throwing out the whole VICE UI (it is not compiled in, so we can't secretly access it). I'm just passing on what someone else pointed out to me that's all 😉
|
|
|
Post by spannernick on Feb 19, 2020 17:58:48 GMT
Weird they called the file C64emu when there is a C64.emu.. could them rgl(retro Games Ltd) files be bin files..? the user on Github is Chris Smith who uploaded it. You can open the .rgl files with 7zip
|
|
|
Post by gurce on Feb 19, 2020 19:17:41 GMT
Oh? You can create an .rgl file? From what I sniffed of the code/binaries in the past, I think that's a good thing!
From what I recall seeing, "the64" binary (in more recent firmware) just contained the code for the carousel/gui, but had a reference within it that referred to the .rgl file, so I assume that was the carousel code starting up vice.
So maybe if you swap out the .rgl file in y9ur firmware with the one you've compiled, you're good to go? :-)
|
|
|
Post by spannernick on Feb 19, 2020 19:51:24 GMT
It's a bin file... This is what x64 file looks like in 7zip, it's the file you run to start the C64 emulator up in linux,its like the x64.exe This is the Debian version. See if you can run the x64 bin file from a shell script on TheC64 Maxi or Mini..?? The .rgl files are located in usr/lib. I think when you use Boot Mode on thec64 Maxi to boot to basic on startup, it just runs the C64emu.rgl.
|
|
pod
Creatures
Posts: 15
|
Post by pod on Feb 20, 2020 7:12:50 GMT
has anyone got a build environment working on *nix for Arm7a and can build this? I was thinking about making a docker container for the purpose, since it looks like the Makefiles don't support CROSS_COMPILE prefixes...
|
|
|
Post by jj0 on Feb 20, 2020 10:16:45 GMT
has anyone got a build environment working on *nix for Arm7a and can build this? I was thinking about making a docker container for the purpose, since it looks like the Makefiles don't support CROSS_COMPILE prefixes... See my earlier post that has the resulting built files attached. I used an Armbian rootfs for the 'A20 OlinuXino Lime' board on my regular laptop + qemu-user-static and then 'systemd-nspawn -D <Armbian rootfs directory>'
|
|
|
Post by darbyram on Feb 20, 2020 17:32:01 GMT
It's a bin file... This is what x64 file looks like in 7zip, it's the file you run to start the C64 emulator up in linux,its like the x64.exe This is the Debian version. See if you can run the x64 bin file from a shell script on TheC64 Maxi or Mini..?? The .rgl files are located in usr/lib. I think when you use Boot Mode on thec64 Maxi to boot to basic on startup, it just runs the C64emu.rgl. I just get "Segmentation fault" when trying to execute via shell.
|
|
|
Post by spannernick on Feb 20, 2020 17:49:14 GMT
What the C64emu.rgl,I guess it would,it will not work without the64 program.It looks very similar to a bin file(has the same files in it,the only file the x64 bin file don't have is this one ".data.rel.ro") but probably has a check in it stopping you running it without the carousel.
The carousel stops working if you replace that file with something else,the boot screen comes up then black screen,probably the64 carousel has a check in it to see if its the right file.
The source code needs looking at to see what difference that are in it with the Vice code so you can see what they have added.
It looks like to me the64 program is a wrapper around it.
|
|
|
Post by jj0 on Feb 20, 2020 19:01:37 GMT
It's a bin file... This is what x64 file looks like in 7zip, it's the file you run to start the C64 emulator up in linux,its like the x64.exe This is the Debian version. See if you can run the x64 bin file from a shell script on TheC64 Maxi or Mini..?? The .rgl files are located in usr/lib. I think when you use Boot Mode on thec64 Maxi to boot to basic on startup, it just runs the C64emu.rgl. I just get "Segmentation fault" when trying to execute via shell. Yes, me too . But if I follow gurce's hunch and replace /usr/lib/c64emu.rgl and /usr/lib/vic20.rgl (and reboot) the Carousel still runs and the C64 and VIC20 emulation still works! So there's definitely an opportunity here. Regarding what you see in 7zip, this is a reflection of the ELF format which is the way executables are structured.
|
|
|
Post by darbyram on Feb 20, 2020 19:12:21 GMT
Well i was being hopeful and ambitious in trying to run this.😂🤣 vic20emu.rgl -cartmega mega-cart-1f0784.rom -mcnvramwriteback -mcnvramfile mega-cart.nv
|
|
|
Post by spannernick on Feb 20, 2020 19:15:42 GMT
I just get "Segmentation fault" when trying to execute via shell. Yes, me too . But if I follow gurce's hunch and replace /usr/lib/c64emu.rgl and /usr/lib/vic20.rgl (and reboot) the Carousel still runs and the C64 and VIC20 emulation still works! So there's definitely an opportunity here. Regarding what you see in 7zip, this is a reflection of the ELF format which is the way executables are structured. what did you replace them with,the files you complied..? I was showing them in 7zip to show they are executables from the Vice emulator,they are really x64 and xvic bin files with code in them stopping them from being run on their own. That means the rest of the libraries are in there if you wanted to put the x64 bin file in it but it would need to be the right x64 file that works with TheC64.
|
|
|
Post by jj0 on Feb 20, 2020 19:46:29 GMT
Yes, me too . But if I follow gurce 's hunch and replace /usr/lib/c64emu.rgl and /usr/lib/vic20.rgl (and reboot) the Carousel still runs and the C64 and VIC20 emulation still works! So there's definitely an opportunity here. Regarding what you see in 7zip, this is a reflection of the ELF format which is the way executables are structured. what did you replace them with,the files you complied..? Well, with the ones I linked to in my earlier post that I compiled myself. Not sure yet how to add features though.
|
|
|
Post by spannernick on Feb 20, 2020 22:15:47 GMT
I see its using sid6581 and Resid I wonder if you change that to SID_MODEL_8580 would it change the sid it's using, can you try it JJ0..?This is from the c64emu.c file in redquark-sixtyfour-1.3.2\src\c64emu\..? (1.3.2 is the latest update isn't it...?)I can't test it, not set up too. Can you compile this on Commodore OS (its Linux Mint based) or do you have to compile it on Arm based Linux...? (I think it's codenamed Red Quark cause of the Red Led Power Light on the C64 Breadbin case... Red Quark )
|
|
|
Post by darbyram on Feb 20, 2020 23:43:36 GMT
I see its using sid6581 and Resid I wonder if you change that to SID_MODEL_8580 would it change the sid it's using, can you try it JJ0..?This is from the c64emu.c file in redquark-sixtyfour-1.3.2\src\c64emu\..? (1.3.2 is the latest update isn't it...?)I can't test it, not set up too. Can you compile this on Commodore OS (its Linux Mint based) or do you have to compile it on Arm based Linux...? (I think it's codenamed Red Quark cause of the Red Led Power Light on the C64 Breadbin case... Red Quark ) redquark-sixtyfour- 1.3.2? where did the 1.3.2 come from
|
|
|
Post by darbyram on Feb 20, 2020 23:51:34 GMT
what did you replace them with,the files you complied..? Well, with the ones I linked to in my earlier post that I compiled myself. Not sure yet how to add features though. I guess the c64emu and vic20emu wont execute via shell as they will need extra stuff adding them to make them do so. The ones we currently have will only work within the the64's graphical interface i would imagine, maybe, possibly. 😂😉😀
|
|
|
Post by spannernick on Feb 21, 2020 2:00:50 GMT
I see its using sid6581 and Resid I wonder if you change that to SID_MODEL_8580 would it change the sid it's using, can you try it JJ0..?This is from the c64emu.c file in redquark-sixtyfour-1.3.2\src\c64emu\..? (1.3.2 is the latest update isn't it...?)I can't test it, not set up too. Can you compile this on Commodore OS (its Linux Mint based) or do you have to compile it on Arm based Linux...? (I think it's codenamed Red Quark cause of the Red Led Power Light on the C64 Breadbin case... Red Quark ) redquark-sixtyfour- 1.3.2? where did the 1.3.2 come from github.com/retro-games-ltd/redquark-sixtyfour/releases
|
|
|
Post by darbyram on Feb 21, 2020 2:20:18 GMT
Cheers did not realise that. Lol
|
|
|
Post by jj0 on Feb 21, 2020 8:58:09 GMT
Cheers did not realise that. Lol #redquark-sixtyfour$ git describe --tags v1.3.2
|
|
|
Post by jj0 on Feb 21, 2020 10:21:15 GMT
I see its using sid6581 and Resid I wonder if you change that to SID_MODEL_8580 would it change the sid it's using, can you try it JJ0..?Yes that works: reSID: MOS8580, filter on, sampling rate 44100Hz - fast And: Here's the c64emu.rgl with 8580 enabled: c64emu-8580.zip (764.23 KB). Works for me both on the Maxi and the Mini. You can compile it: - on your Orange Pi using the Orange Pi OS.
- on your Commodore OS or any other Linux distribution if it supports systemd-nspawn as described here but instead of the rootfs.img use a directory with the rootfs for the 'A20 OlinuXino Lime' or similar (e.g. Cubieboard/Cubietruck) board. You can basically use any rootfs that's meant to run on the A20 or H3 I guess.
- To compile follow the instructions in the README and first do './configure' in the redquark-sixtyfour directory as that will tell you if you miss any required packages
|
|
|
Post by kugelblitz on Feb 21, 2020 14:38:57 GMT
Now that SID stuff is interesting. What might be the reason to kick out the 8580? Memory issues? Speed? Because they had the parameter in the TSG and at some point somebody must have made the decision to exclude it.
|
|
|
Post by jj0 on Feb 21, 2020 17:36:18 GMT
Now that SID stuff is interesting. What might be the reason to kick out the 8580? Memory issues? Speed? Because they had the parameter in the TSG and at some point somebody must have made the decision to exclude it. Yes, I agree. Unfortunately the Carousel code seems to be excluded, otherwise we could add in parsing the SID parameter.
|
|
|
Post by spannernick on Feb 21, 2020 19:14:38 GMT
Nice to hear Jars Revenge properly,love the music.
Noticed one thing the original c64emu.rgl file is 2.2 MB and this one is 1.7MB..?
|
|
|
Post by jj0 on Feb 21, 2020 20:34:54 GMT
Nice to hear Jars Revenge properly,love the music. Noticed one thing the original c64emu.rgl file is 2.2 MB and this one is 1.7MB..? Erm... Bonus space saving? I don't know...
|
|
|
Post by spannernick on Feb 22, 2020 9:42:43 GMT
Nice to hear Jars Revenge properly,love the music. Noticed one thing the original c64emu.rgl file is 2.2 MB and this one is 1.7MB..? Erm... Bonus space saving? I don't know... hehe...I just mount bind the c64emu-8580.rgl.. and it works. I was thinking of some kind of bash script menu,text menu so you can choose if you want use sid6581 or sid8580.
|
|
|
Post by jj0 on Feb 22, 2020 10:23:04 GMT
Erm... Bonus space saving? I don't know... hehe...I just mount bind the c64emu-8580.rgl.. and it works. I was thinking of some kind of bash script menu,text menu so you can choose if you want use sid6581 or sid8580. Or a custom upgrade script that swaps them every time you run it?
|
|
|
Post by spannernick on Feb 22, 2020 16:45:04 GMT
My Idea is I want to use one update for everything so you don't need to change or remove things from your USB Stick, so you could have.. So abit like Grub, a boot menu so can choose what you want to do. Because USB Mount uses the same update 9.9.9 as your X Windows Mod. I hope you understand,your better at this than me.. Is the Flags in TheC64 Carousel the64 or in the emulator files(thec64emu.rgl/vic20emu.rgl), does anyone know..? And when did they spit the carousel and emulators apart from one and other,must of when they made the TheC64 Maxi..?
|
|
|
Post by spannernick on Feb 22, 2020 22:08:33 GMT
oh I just realised something... can you change the admin passwd using the start.sh..? (writing a script for it) you in the system already when the carousel is running right..?
|
|