[Release] Vice3DS (C64 Emulator)

Discussion in '3DS - Homebrew Development and Emulators' started by Badda, Mar 31, 2019.

  1. AikoT_T

    AikoT_T Advanced Member

    Newcomer
    1
    May 2, 2019
    United States
    first of all, THANK YOU!!

    Ive been enjoying this alot recently,

    Question,

    I just switched to a new sd card, i redownloaded vice3ds to install on this one, but for some reason after installing, (installed fine)
    When going to delete it, fbi gave an error,
    the cia is 'read-only'

    Thats odd, it wasnt like that 2 weeks ago when i installed it on the other SD card..
     
  2. Badda
    OP

    Badda GBAtemp Regular

    Member
    4
    Feb 26, 2016
    Tokelau
    Nirvana
    Just found out that turning off true drive emu actually works - you just need to turn on "virtual device traps" as well. Then loading is blazingly fast ...
    Virtual device traps will be turned on per default in the next version.
     
    Muxi and Elwyndas like this.
  3. Elwyndas

    Elwyndas Advanced Member

    Newcomer
    3
    Dec 19, 2018
    United States
    Jack Tramiel rising from his grave, giving you a fat Polish smile and a high five!
    [​IMG]
     
    Last edited by Elwyndas, May 10, 2019
  4. Badda
    OP

    Badda GBAtemp Regular

    Member
    4
    Feb 26, 2016
    Tokelau
    Nirvana
    New version v1.1 is out. Some nice new features :-)
    • Customizeable soft buttons on bottom screen. To customize a button, touch "M" in vice menu, then touch the button. The selcted menu entry will now be bound to the button.
    • Changed standard assignment of autofire buttons: Joy1=R, Joy2=ZR
    • True drive emulation now turned off by default
    • Emu-speed adjustable with 3d slider (0=100%, max=Warp)
    • Added menu 'Misc' with some helpers: RUN/STOP + RESTORE; LOAD"*",8,1
    • Bugfix for loading external ROMs and other sysfiles (@Elwyndas: Loading jiffy-dos should work now)

    Important: If you're updating from a previous version, make sure to delete the config directory on your SD-card /3ds/vice3ds/config before starting the emulator. Otherwise new config settings, hotkeys and key mappings will not be updated and will not work.

    I'm too lazy right now to update the initial post, will do this weekend.

    By the way, I suck at designing graphics (you can see from my button icons), so I'm looking for the following:
    - Icons for the soft buttons (need to be 40x40px png with transparency)
    - A new banner image (I hate the current one)

    If anybody can help here, that would be highly appreciated :-)

    https://github.com/badda71/vice3ds/releases

    q.
     
    Last edited by Badda, May 10, 2019
  5. snoofly

    snoofly GBAtemp Advanced Fan

    Member
    7
    Aug 18, 2015
    United States
    Looks good Badda.
    Some nice usability improvements there!
     
  6. spinal_cord

    spinal_cord Knows his stuff

    Member
    8
    Jul 21, 2007
    somewhere
    @Badda I don't know if @gamesquest1 is still active, but that's who made the 3D c64 banner for breadbox. Not sure how easy it would be to rip that from one of the breadbox.cia files, but it's a really nice banner, I wouldn't have any issue with you using it.
     
    Badda likes this.
  7. Mikitok

    Mikitok Advanced Member

    Newcomer
    1
    Jan 14, 2019
    New Zealand
    please made a version for O3ds TT
     
  8. P34ch

    P34ch Member

    Newcomer
    1
    Apr 11, 2019
    United Kingdom
    This is great Badda, the emulators really shaping up nicely now. So much so I bit the bullet and installed b9s on mine lol.
    Thank you.
     
    Last edited by P34ch, May 10, 2019
    Badda likes this.
  9. gamesquest1

    gamesquest1 Nabnut

    Moderator
    21
    GBAtemp Patron
    gamesquest1 is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    Sep 23, 2013
    yeah he is more than welcome to re-use the breadbox banner, afaik it should be fairly simple to rip the banner from the CIA to re-use
     
    Badda and Elwyndas like this.
  10. Elwyndas

    Elwyndas Advanced Member

    Newcomer
    3
    Dec 19, 2018
    United States
    A small step for Vice, but a giant leap for 3DS, this is. Thank you.
    I ran some tests.
    1) Alternative system ROMs like Jiffy DOS for faster disk loading (10x) and improved BASIC commands work now.
    In order for it to work you must
    a) in settings, go to DRIVE, Drive 8 settings, and double check that 1541-II is selected as type
    b) Still in DRIVE settings, ensure that True Drive Emulation is ON, and Drive Sound Emulation is ON (fun).
    c) Still in DRIVE settings, go to Autostart settings, and DEACTIVATE Autostart warp
    c) go back, and then to Machine Settings, then ROM settings, then Drive ROMs, and select the appropriate JiffyDOS ROM .bin for the 1541-II floppy drive which you have sourced from somewhere. You can also install, while you are there, the ROMs for all the other drives like 1581, as default ROMs
    d) Go back, and under Computer ROMs, select Kernal, and select the JiffyDOS C64 ROM from your collection. No other ROMs need to be changed.
    e) Go back to main menu. Go to Settings management, and save current settings. If you don't do this, you will have to do all of the above again next time you load the emulator.
    f) Restart the emulator. For some reason JiffyDOS will not really kick in otherwise.

    As a result you will have a fast disk loading that is truthful to C64, without warping, and it's 99.999999 compatible. JiffyDOS also has improved command functions: https://www.c64-wiki.com/wiki/JiffyDOS

    2) Screen button (widgets) and virtual keyboard
    a) They cause some kind of distortion if used. You will notice if you run software that uses sound. For example if you press any of the widgets, or keyboard keys like shift, there is a distortion. Ideally, this kind of distortion wouldn't happen
    b) the Load "*", 8,1 should be followed be the RUN command to make sense.

    I have some more observations and ideas but that's it for now. Very grateful to see this emulator developing nicely.
     
    Last edited by Elwyndas, May 15, 2019
    Badda likes this.
  11. Badda
    OP

    Badda GBAtemp Regular

    Member
    4
    Feb 26, 2016
    Tokelau
    Nirvana
    Thanks for the offer, but the image does say "Breadbox" ....
    COMMON1.

    — Posts automatically merged - Please don't double post! —

    I would love to but as of now, vice needs more CPU power than the O3DS can offer. Vice emulation actually emulates the C64 hardware - that's why most programs run on it (including the ones using undocumented hardware features). However, this is also the reason why it is very CPU intensive. I might be able to strip some functionality to make it run faster - but I think I won't be able to optimize it to run on O3DS.
     
  12. spinal_cord

    spinal_cord Knows his stuff

    Member
    8
    Jul 21, 2007
    somewhere
    Oh no, not that one, this one

    [​IMG]
     
    Last edited by spinal_cord, May 11, 2019
  13. Badda
    OP

    Badda GBAtemp Regular

    Member
    4
    Feb 26, 2016
    Tokelau
    Nirvana
    Ah, ok. Yes that's pretty cool. I would, however, like to change the textures a bit before using it. Need to read up on how to do that ...
     
  14. gamesquest1

    gamesquest1 Nabnut

    Moderator
    21
    GBAtemp Patron
    gamesquest1 is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    Sep 23, 2013
    from what i remember the 3ds is quite strict on how big the textures have to be when it comes to the banners so it was kinda tricky finding the right balance with the texture, but i think since then the 3DS official dev tools for making banners was leaked that might allow more options, another option was splitting things into separate pieces to allow bigger texture sizes as you could save space by using much smaller textures on areas that don't need detail so you could make the areas that need detail have more space allocated to them
     
    Last edited by gamesquest1, May 11, 2019
  15. Elwyndas

    Elwyndas Advanced Member

    Newcomer
    3
    Dec 19, 2018
    United States
    Some small things:

    One of my favorite features is the drive LED and drive "noise" emulation. It's so realistic. My understanding is that this originates from the original VICE project? Anyway, the LED used for this is red. But the LED on the original floppy drive is green. I know that the 3DS LED is able to be green (or at least yellow). I have seen this when there is some kind of Nintendo online activity. I'm assuming that there are actually two or more different LED's behind that "light". Having it blink in green would be more realistic, and also different from the default Nintendo low power warning blinking in red. Also, I noticed that as soon as a non-1541 drive is assigned, or used, the sound emulation is gone.

    There should be a way to turn off/on the bottom screen. Like a soft button to turn off, and tapping the lower screen to turn on. This is more interesting than just turning off/on the soft keyboard.

    To further the goal of continuity in emulation, the settings menu should open on the lower screen, while the upper screen with emulation continues to run uninterrupted. The keyboard and soft buttons are not being used while in settings, so this should be ok in terms of usability

    One of the soft keys should be for pausing/unpausing the emulation.

    Putting the 3DS to sleep with lid closing sometimes crashes the emulator. Haven't tried this often enough to know why it sometimes happens or not.

    Sound setting should be 48Khz frequency by default to create the best experience from the get go. It would only make sense on O3DS to have a lower setting.

    Having the Start button assigned to quitting the emulator doesn't make much sense. We have the home button to get out, or Rosalina combo (left shoulder, directional pad down, and select). The start button should be assigned to something more glorious, like auto-starting something.

    Once an alternative system ROM like Jiffy was selected, it's not possible to change back to original stock, because the ROM files are not available. It seems that those ROMs are built-in and hard coded. If that's a case, there should be an option to return to stock ROMs.

    On the soft keyboard it would make sense to have all F keys visible. These are often used in games, or ROM mods like JiffyDOS, and it's inconvenient to have to press shift. Also, some keys are used all the time, while others are practically never being used. For example: Return, direction keys (even though we have our own cool little joystick assigned to that - eat that, WinVICE), shift (we can eliminate one of the two to create real estate, because the ergonomic requirement of having one on each side is obsolete on that mini screen of ours), run/stop and also inst/del. The space key doesn't have to be that wide, for the same reason as we don't need two shift keys. The shift keys are effectively triggering shift/lock, so that key is now obsolete and the real estate can be re-used. The keys available by pressing shift and the number keys, like $, are used often and deserve their own always on line, perhaps next to F keys. I know redesigning the keyboard is a big deal, so this should maybe be put on the backburner because there are more pressing issues.
     
    Last edited by Elwyndas, May 13, 2019
  16. Muxi

    Muxi GBAtemp Fan

    Member
    5
    Jun 1, 2016
    Germany
    @Badda Is it necessary to delete the entire config folder of the old version after an update, or only certain files, so that the setting up of individual key bindings does not have to be set up again after each update?
     
  17. Badda
    OP

    Badda GBAtemp Regular

    Member
    4
    Feb 26, 2016
    Tokelau
    Nirvana
    The keybindings ("Start"-button and all the soft buttons) are defined in sdl-hotkey-C64.vkm. You can merge these two files manually is you don't want to delete everything.
     
    Muxi likes this.
  18. Badda
    OP

    Badda GBAtemp Regular

    Member
    4
    Feb 26, 2016
    Tokelau
    Nirvana
    Yes, the drive noise emu is built into vice originally. I believe the green LED on the 1541 was the power led, the red one was the LED to signal access and/or errors. Vice3DS is actually showing drive access or errors with the LED, so I think red color is good :-)

    That's doable - but what would be the benefit of that?

    This will take away some functionaly - e.g. you would not be able to use soft buttons or the keyboard while in vice menu (and thus not be able to map anything to these buttons). Not sure if this is a good idea ...

    In the next version, the functionality of the 3d-slider will be configurable (disable, speed-up or slow-down). If set to slow-down and the 3d-slider is on max, the emulation will be paused. Does this meet your suggestion?

    Can't really reproduce this. Can you say more specifically when this happens?

    The current default is 44kHz. Are you sure that you can actually hear any difference between 48kHz and 44kHz?? ;-)

    That's actually 3ds-homebrew standard.

    Yes, the stock roms are built-in. I need to check how to get this done (->ToDo list).

    I like the idea with the F-Keys (->ToDo list). As for the others, do you have a suggestion on what the keyboard should look like exactly?
     
    Last edited by Badda, May 17, 2019
  19. urherenow

    urherenow GBAtemp Psycho!

    Member
    9
    Mar 8, 2009
    United States
    Japan
    Wow. I went out to sea for a week, just built the latest source... man, all I can say is that @Badda you're on fire! This emulator is superior to the Windows version!

    Edit: C128 next? :bow:
     
    Last edited by urherenow, May 18, 2019
    Badda likes this.
  20. Badda
    OP

    Badda GBAtemp Regular

    Member
    4
    Feb 26, 2016
    Tokelau
    Nirvana
    Thanks, always nice to get positive feedback :-)
    As for C128, I need to check if that can be done easily or if I would have to start from scratch ...
     
Loading...