• lr-atari800 failing to start

    Help and Support
    16
    0 Votes
    16 Posts
    792 Views
    G

    Yes this work around worked for me as well. Thank you

  • 0 Votes
    3 Posts
    642 Views
    J

    @neurocrash
    I have the same problem with segmentation fault while running atari emulator.
    I wrote two scripts:
    1 - /home/pi/joyoffon.sh - turn off, wait 30 seconds, turn on controller
    1-1.5 - this is my controller listed by lsusb -t

    sudo echo '1-1.5' | sudo tee /sys/bus/usb/drivers/usb/unbind sleep 30 sudo echo '1-1.5' | sudo tee /sys/bus/usb/drivers/usb/bind

    2 - /opt/retropie/configs/all/runcommand-onstart.sh
    run joyoffon.sh only for atari emulator

    echo "runcommand-onstart.sh" >&2 echo $1 >&2 if [[ $1 == *"atari"* ]]; then echo "This is atari - run script" >&2 /home/pi/joyoffon.sh & fi

    After running atari game I have to wait until controller message appears.

  • 0 Votes
    6 Posts
    437 Views
    S

    @Spectreman

    Just wanted to chime in here and say that I had this same exact problem, and this same exact solution fixed it for me. And the weird thing is that I definitely had 5200 stuff working previously. This problem only just started happening for me. Very weird.

  • 0 Votes
    2 Posts
    732 Views
    V

    It doesn't.

    Atari 5200 controllers aren't implemented at all. There is no analog input into the system.
    If you use something with analog, it's converted to digital first, which is why so many games don't work properly (Super Breakout, Missile Command, etc)

    Basically it's an Atari 800 emulator (Which had digital 2600-style joysticks and a keyboard) with some 5200 stuff slapped-on.

    If you have a keyboard attached, Numbers work from the keyboard. For instance, LEO in countermeasure is 123.

  • Atari800 Issues

    Help and Support
    2
    0 Votes
    2 Posts
    239 Views
    neurocrashN

    @macraem I have the same problem. Were you able to find any solution?

  • 0 Votes
    8 Posts
    631 Views
    W

    Ok, it was me not saving the config for the Rom in the Options menu...

    Now it works perfectly.

    Thanks again.

  • 1 Votes
    34 Posts
    4k Views
    BuZzB

    @mahalingam it was fixed, so if you're getting the issue open a new topic with some info.

    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

  • Atari 5200 High Pitch Noise

    Help and Support
    3
    0 Votes
    3 Posts
    307 Views
    S

    @mitu Ah - thanks for this. Doesnt look like it is going to implemented any time soon

  • 0 Votes
    28 Posts
    3k Views
    mituM

    @stoogesfan87 Please open a separate topic instead of necro-bumping old topics.

  • 0 Votes
    1 Posts
    243 Views
    No one has replied
  • 0 Votes
    2 Posts
    440 Views
    M

    Ok I just did one more test and I downloaded the Atari800 core from the retropie setup and it does have perfect sound quality (audio coming from my left speaker only, though), and it uses the same BIOs files than the lr-atari800 core. Is this normal? I want to use the lr-atari800 because of the keyboard being mapped to the joypad, or maybe if it is a way to get into the Retroarch menu in Atari800, and the set up my gamepad being Atari Joystick?

    Thanks in advance!

  • lr-Atari800 buzzing sound

    Help and Support
    4
    0 Votes
    4 Posts
    778 Views
    M

    Hi,

    I've managed to fix that by patching lr-atari800 src before build.
    Login to retropie host via ssh then do the following:

    cd ~/RetroPie-Setup/ ; sudo ./retropie_packages.sh lr-atari800 press ctlr+c in order to break compilation (just after git clone had been complete) cd /home/pi/RetroPie-Setup/tmp/build/lr-atari800 patch atari800/src/mzpokeysnd.c with included patch diff: --- mzpokeysnd.c 2019-11-23 19:26:22.000000000 +0000 +++ mzpokeysnd.c 2019-11-23 19:40:47.359683728 +0000 @@ -2341,16 +2341,16 @@ #endif #ifdef VOL_ONLY_SOUND - buffer[0] = (UBYTE)floor((generate_sample(pokey_states) + POKEYSND_sampout - MAX_SAMPLE / 2.0) - * (255.0 / MAX_SAMPLE / 4 * M_PI * 0.95) + 128 + 0.5 + 0.5 * rand() / RAND_MAX - 0.25); + buffer[0] = (UBYTE)floor((generate_sample(pokey_states) + POKEYSND_sampout) + * (255.0 / 2 / MAX_SAMPLE / 4 * M_PI * 0.95) + 128 + 0.5 + 0.5 * rand() / RAND_MAX - 0.25); #else - buffer[0] = (UBYTE)floor((generate_sample(pokey_states) - MAX_SAMPLE / 2.0) - * (255.0 / MAX_SAMPLE / 4 * M_PI * 0.95) + 128 + 0.5 + 0.5 * rand() / RAND_MAX - 0.25); + buffer[0] = (UBYTE)floor(generate_sample(pokey_states) + * (255.0 / 2 / MAX_SAMPLE / 4 * M_PI * 0.95) + 128 + 0.5 + 0.5 * rand() / RAND_MAX - 0.25); #endif for(i=1; i<num_cur_pokeys; i++) { - buffer[i] = (UBYTE)floor((generate_sample(pokey_states + i) - MAX_SAMPLE / 2.0) - * (255.0 / MAX_SAMPLE / 4 * M_PI * 0.95) + 128 + 0.5 + 0.5 * rand() / RAND_MAX - 0.25); + buffer[i] = (UBYTE)floor(generate_sample(pokey_states + i) + * (255.0 / 2 / MAX_SAMPLE / 4 * M_PI * 0.95) + 128 + 0.5 + 0.5 * rand() / RAND_MAX - 0.25); } buffer += num_cur_pokeys; nsam -= num_cur_pokeys; @@ -2389,16 +2389,16 @@ } #endif #ifdef VOL_ONLY_SOUND - buffer[0] = (SWORD)floor((generate_sample(pokey_states) + POKEYSND_sampout - MAX_SAMPLE / 2.0) - * (65535.0 / MAX_SAMPLE / 4 * M_PI * 0.95) + 0.5 + 0.5 * rand() / RAND_MAX - 0.25); + buffer[0] = (SWORD)floor((generate_sample(pokey_states) + POKEYSND_sampout) + * (65535.0 / 2 / MAX_SAMPLE / 4 * M_PI * 0.95) + 0.5 + 0.5 * rand() / RAND_MAX - 0.25); #else - buffer[0] = (SWORD)floor((generate_sample(pokey_states) - MAX_SAMPLE / 2.0) - * (65535.0 / MAX_SAMPLE / 4 * M_PI * 0.95) + 0.5 + 0.5 * rand() / RAND_MAX - 0.25); + buffer[0] = (SWORD)floor(generate_sample(pokey_states) + * (65535.0 / 2 / MAX_SAMPLE / 4 * M_PI * 0.95) + 0.5 + 0.5 * rand() / RAND_MAX - 0.25); #endif for(i=1; i<num_cur_pokeys; i++) { - buffer[i] = (SWORD)floor((generate_sample(pokey_states + i) - MAX_SAMPLE / 2.0) - * (65535.0 / MAX_SAMPLE / 4 * M_PI * 0.95) + 0.5 + 0.5 * rand() / RAND_MAX - 0.25); + buffer[i] = (SWORD)floor(generate_sample(pokey_states + i) + * (65535.0 / 2 / MAX_SAMPLE / 4 * M_PI * 0.95) + 0.5 + 0.5 * rand() / RAND_MAX - 0.25); } buffer += num_cur_pokeys; nsam -= num_cur_pokeys; @@ -2434,16 +2434,16 @@ advance_ticks(pokey_states + i, ticks); if (POKEYSND_snd_flags & POKEYSND_BIT16) { *((SWORD *)buffer) = (SWORD)floor( - (interp_read_resam_all(pokey_states + i, samp_pos) - MAX_SAMPLE / 2.0) - * (65535.0 / MAX_SAMPLE / 4 * M_PI * 0.95) + interp_read_resam_all(pokey_states + i, samp_pos) + * (65535.0 / 2 / MAX_SAMPLE / 4 * M_PI * 0.95) + 0.5 + 0.5 * rand() / RAND_MAX - 0.25 ); buffer += 2; } else *buffer++ = (UBYTE)floor( - (interp_read_resam_all(pokey_states + i, samp_pos) - MAX_SAMPLE / 2.0) - * (255.0 / MAX_SAMPLE / 4 * M_PI * 0.95) + interp_read_resam_all(pokey_states + i, samp_pos) + * (255.0 / 2 / MAX_SAMPLE / 4 * M_PI * 0.95) + 128 + 0.5 + 0.5 * rand() / RAND_MAX - 0.25 ); } execute once again
    cd ~/RetroPie-Setup/ ; sudo ./retropie_packages.sh lr-atari800 well done!

    Sound now will work as intended.

  • 1 Votes
    5 Posts
    881 Views
    rkosterR

    The keyboard fix and the four controller fix have been merged upstream by the Retroarch folks!

  • 2 Votes
    55 Posts
    15k Views
    C

    I just stumbled upon this post...is this about getting 5200(and 800) carts to auto-launch? I am getting ready to build out an 800 and 5200 section on my build. I started with the 5200 and I spent the better part of this afternoon trying to work through the RetroPie documentation of loading carts, extracting, saving, etc. and I only got three to autoload so far...

    Though in fairness, it was a busy day for me building JavaScript rules for online ordering templates for some of our customers, lol....among other things...

  • lr-atari800 buzzing noise (loud)

    Help and Support
    1
    0 Votes
    1 Posts
    192 Views
    No one has replied
  • 0 Votes
    4 Posts
    741 Views
    O

    Now I have it where if I delete .atari800.cfg and then start an Atari 5200 game it works fine. But then Atari 800 games get an error that the computer crashed. If I delete the .atari800.cfg and then launch an atari 800 game it works but I can no longer launch atari 5200 games as I get the blue screen and note pad error. I tried adding the items to my /opt/retropie/configs/atari5200 retroarch.cfg and such but hat has not positive impact. The only differences between the two .atari800.cfg are:
    MACHINE_TYPE=ATARI 400/800 OR or Atari 5200
    RAM_SIZE=48 or 16
    When the 5200 works it has these:
    ENABLE-NEW-POKEY=1 versus 0 when the Atari 800 works
    STEREO_POKEY=0 versus 1 when the Atari 800 works

    Note if I delete the .atari800.cfg in ~/ either type work the first time so it builds the proper file. I would like to be able to do this without having to delete the .atari800.cfg everytime I want to switch between 800 and 5200. Any ideas?

  • 0 Votes
    9 Posts
    783 Views
    mituM

    @Boochk said in Lr-Atari800 800/5200 Cannot Save 800XL or 5200 Console In Config Files:

    Thank you Mitu for your help! By the way, somehow I was launching a different menu that changes where you change the emulator lr-atari800 and atari800 and looking there for the settings.

    That's the Runcommand launch menu, allowing you to switch between emulators (where there is more than 1 for a system/console).

    Glad you got it fixed, have fun with your RetroPie project !

  • 0 Votes
    2 Posts
    2k Views
    S

    This is the solution of the problem:

    Step 1

    Launch any game

    If the game starts automatically then everything is OK, otherwise one of these 2 conditions may occur:

    1. Black screen

    2.
    2a. Atari logo and "Copyright 19 Atari" text
    2b. Crash screen: "!!! The Atari computer has crashed !!!" and a series of options

    If condition 1 occurs, you must do this:
    a. Press F5 if you have the keyboard inserted, or X button on the joypad
    The system will perform a "warm reset" and at this point you will arrive at condition 2.

    Step 2

    If you have the keyboard connected: press ALT + C, If you only have the joypad (not recommended, because many games require the keyboard), click A with the joypad on "Menu" and in the next menu click A with the joypad on "Cartridge Managment" Select "Cartridge: none" and press the enter key (or A with the joypad) (there may already be the name of the rom instead of "none", but it does not matter)
    Now you should see the directory (atari800) with all the roms, and the rom you have chosen in the emulation station menu already selected Press the enter key (or A with the jpypad) on that same rom
    *
    A new menu will open: "Select Cartridge Type" Select "Standard XX KB Cartridge" (where XX may vary with 8, 16, 32 or 64 depending on the selected rom) and press the enter key (or A with the joypad) Then you will return to the menu: "Cartridge Management", press ESC and again ESC (or X and again X with the joypad)

    The game will be launched!

    * it may happen that the menu: "Select Cartridge Type" does not appear. No fear, just press ESC and again ESC (or X and again X with the jpypad) to launch the game.

  • 0 Votes
    4 Posts
    1k Views
    ClydeC

    @hfgx1 Even the most trivial question may be searched for by others, too, and now they may find this thread for an answer.

  • LR-Atari800 audio with Atari 5200

    Help and Support
    9
    0 Votes
    9 Posts
    2k Views
    VirtualmanV

    @mth75 Yeah i managed to figure it out, my configs/all/retroarch.cfg global override was doing something, so i deleted retroarch.cfg in config/atari5200/ and it reset it and save directory override and all good got sound now