Jump to content


  • Content Count

  • Joined

  • Last visited

Everything posted by DirtyHairy

  1. I finally found time to hook up my paddles to my R77 and can reproduce the issue, so it is clearly a bug. I'll fix it for the next release.
  2. You have found a Stella bug there, I can confirm that the option cannot be focused via keyboard or game controllers. I'll create an issue. Unfortunately, there is not much that can be done about the scanlines (apart from disabling them). The emulated TV displays around 250 lines. With scanline emulation enabled, this is doubled to around 500 lines. The R77 runs at 720p, so those 500 lines have to be scaled vertically to 720 lines, and that causes a slight moirée pattern. Disabling aspect ratio correction will give you integer scaling only, but the price are black bars and an aspect ratio that does not match a real TV. I have done some experiments with 1080p on the R77 (which produces much nicer scaling), but the GPU cannot sustain 60FPS and causes frame drops.
  3. @Schvenn I am afraid I cannot reproduce any of your issues here --- the device runs stably and predictably as it should. As there are no variations between different R77 (apart from possible hardware defects), I think the issues that you are experiencing are somehow related to your setup. The SHM file does not contain any persistent data, and deleting it is of no consequence to the contents of the DB, so I do not understand how this could be related to your issues. There is no delay whatsoever when a button is pressed --- the press gets processed immediately. Your input issues with the builtin ports make me suspect a hardware defect on the input ports or the circuitry that drivers them. A few suggestions for things to check: Are you sure that your SD card is actually saving written data properly? Going into a "silent read-only" mode is a known failure mode for SD cards (happened to me only a few days ago). In order to test for that, clean out the contents of your SD card, eject it, reinsert it into your computer, check that it is still empty and then rewrite the SD image. Try a different USB power supply; maybe there are voltage fluctuations or noise on the USB bus. If there is latency, make sure that your TV is set to game mode (if available) and doesn't run any image post processing; this can cause a very noticeable lag between gameplay and video / audio. If you have a different USB Y cable, try that one, maybe the cable that you are using is defective. In addition, the firmware can dump information on the system setup into a log file. For that, create an empty file called "developer" at the root of the SD card in order to enter developer mode (the next boot will take about 30 seconds as a key file is generated, subsequents boot in dev mode will only be slightly slower than "ordinary" boots). After the device has booted, you will find a file called "sys/diagnostics.log" on the card. Post that file for both the cases of working and non-working USB controllers.
  4. Your issues with the builtin joystick ports sound like a hardware issue, I'm afraid. As for the paddles, the readout circuitry and algorithm on the R77 are crappy, and I suppose there are units that work better than others. We have added interpolation code to smooth out the jitter a few versions ago, but that doesn't cure the the original problem. That said, your USB issues sound like mapping problems to me. In order to nuke the settings, deleting the SHM file is not enough; you need to delete all settings.sqlite3.* files (settings.sqlite3 is the DB, the others are cache and journal files). In order to make sure that this is not a mapping issue, please recreate the SD card using sdcard.img and try again.
  5. Rereading what I wrote: I meant to say *no* packages that can be upgraded 😛
  6. The kernel is ancient (3.4 series from 2012). However, it is heavily patched, and you cannot just drop in a current mainline kernel. At a minimum, you'll have to overhaul the userland, port the Hyperkin input driver and enter the Mali GPU rabbit hole again (getting Mali to work was a pain in the ass ). That's a shitload of work, and I don't see any benefit from it --- even if it is ancient, the kernel works well, and the device is not connected to the internet, so there are no security issues involved. The firmware on the console is not based on any distribution, but a hand-rolled userland based on busybox with a few selected components, so there are packages that can be upgraded. EDIT: I forgot U-Boot, you'd also have to upgrade that one, and port the hardware definition to linux device tree
  7. I'm not 100% sure from the top of my head, but I think we limited the depth of the history on the R77, so it should be safe to use. Just give it a try and report if you encounter issues --- the worst thing that can happen is a crash 😏
  8. I've added an announcement to the R77 thread, too: https://atariage.com/forums/topic/289929-stella-6-on-the-r77-the-eagle-is-landing/?do=findComment&comment=4668847
  9. We have released verion 6.4.0 of Stella for the R77. The release can be downloaded on github. This release fixes a number of bugs in 6.3.0 that affected the R77 port in particular, so there shouldn't be any need to retract this one 😏 In addition to the changes in Stella 6.4.0, this release introduces support for the Atarivox connected to an USB-to-serial dongle and supports storing the dumped ROM images to SD. Please refer to the instructions in the README on how to dump ROM images. Thanks to @johnnywc for testing Atarivox support! In order to use the Atarivox, the Vox must be connected to an USB-to-serial dongle with an USB Y cable at boot. Refer to the Stella user's guide for further instructions. The dongle should show up as either ttyUSB0 or ttyACM0. Support of a specific dongle depends on the (ancient) Linux kernel used by the console, but most dongles should be supported. Have fun! (I'll update the post at the top of this thread as soon as I find time)
  10. Thanks, that's precisely what I meant 😏
  11. I wasn't thinking about a multimeter; there are meters that you plug in between USB port and power supply / hub and that measure current and power consumption over USB. As for the fan, I would do something like @SpiceWare suggested first, just to see whether this is really the issue. If it is, then it might be worthwhile to look for a more permanent solution. That's what's happening: threading is enabled, but the emulation itself isn't threaded, and that's what's loading the core. I am very sceptical about whether there is a way to thread ARM emulation --- each cycle of the CPU requires the previous cycle to complete, and I don't see a way to parallelise ARM and 6507 code either --- data for the ARM gets set up by the 6507, then the ARM runs while the 6507 is stopped on NOP, and then the 6507 runs again with the data the ARM calculated during its run.
  12. As the slowdown is intermittent, I have a vague idea that this may actually be thermal throttling. The NG firmware clocks the R77 at 1.2GHz, which is higher than the original clock speed of 1GHz, but still within the spec. However, even with the increased clock, CDF and DPC+ games drive one of the CPU cores at almost 100%. Maybe the activity of the USB bus increases power consumption of the SOC and increases the thermal load, causing the CPU to throttle every now and then in order to prevent thermal damage. Do you have equipment to measure the power consumption of the R77? It would be interesting to measure consumption with and without the daptors attached. If you feel adventurous, you could also open the casing and provide some additional cooling to the CPU (which only has a pretty small heatsink, see https://github.com/stella-emu/stella/wiki/Retron-77), like an external fan. Cheers -Christian
  13. I'm afraid we have found a few issues with Stella 6.3 that particularly affect the R77. Notably, savekey-enabled and CDF cartridges fail to work, and the dumper does not work correctly (aka 6.3 won't play real cartridges). In addition, the dumper may send Stella into a kill-restart loop. I've removed the build to keep everybody from finding out the hard way There'll be an updated R77 build soon.
  14. Yes, I think this is feasible, but you'll have to do some modifications. The R77 firmware is based on an old version of the Orange Pi uboot and kernel trees. The hardware is stripped down, though, and I am not sure whether there are any changes from hyperkin to the device tree. To my knowledge, the only things R77-specific are the dumper (which communcates with a MCU over tty) and a kernel driver that handles joysticks and hardware buttons (using GPIO and i2c). At a minimum, you'll have to remove the dumper from the init script and start Stella directly, and disabling the Hyperkin kernel driver is a good idea, too. Additional changes may be required in case there are more hardware differences, and you may have to reenable more OrangePI stuff in the kernel config. Provided some experience with (embedded) linux, I think it can be pulled off. I don't have time to do any actual works on this, but I'll be happy to give you advice
  15. The same here: do you still have plans for AtariVox support on the D9?
  16. I've uploaded a new build to github --- that one should be fine.
  17. Ups. That sounds like I built from an old tag. *slaps himself around a bit with a large trout* . I'll pull the binaries and do a new build.
  18. I have created the R77 build for Stella 6.3.0: https://github.com/DirtyHairy/r77-firmware-ng/releases/tag/stella-6.3.0 Have fun!
  19. You can definitely swap CPU and RIOT, and afaik you can swap the TIA too, you'll just get wrong colors.
  20. And another update: this fixes issues with some heavy sixers that would not previously run the Uno firmware.
  21. Now that's good news. Thanks alot for testing, and thanks alot to @batari for the hint about JAM --- that was the key. I'll release the fix as v17.
  22. You're right, that may really be what's happening. If the sixer comes out of reset while the Uno is still starting up and not emulating the firmware ROM (or running the dumper), then it could end up executing garbage from RIOT and TIA and hit a JAM.
  • Create New...