Atari Lynx Emulator

Post Reply
pelle7
Posts: 48
Joined: Sun Jun 02, 2019 4:12 am
languages_spoken: english, german
ODROIDs: ODROID-GO, ODROID-HC1, ODROID-N2
Has thanked: 7 times
Been thanked: 45 times
Contact:

Atari Lynx Emulator

Unread post by pelle7 » Fri Jul 05, 2019 2:20 am

In the last weeks the Atari Lynx Emulator runs now many games with sound in "full speed".

My port is based on: https://github.com/libretro/libretro-handy
My repo is here: https://github.com/pelle7/go-play ; Branch: feature-lynx

Old thread: viewtopic.php?f=159&t=31558&p=261033#p260336

The SD-card must contain the file "/roms/lynx/lynxboot.img"
And the roms must be uncompressed and they must be located at: /roms/lynx/

2019-07-30 https://github.com/pelle7/odroid-go-han ... 7-20190730
* 30% faster!


odroid-go-atari-lynx-chip's-challenge-2.JPG
odroid-go-atari-lynx-chip's-challenge-2.JPG (184.08 KiB) Viewed 132 times


--- Old versions:

2019-07-23 https://github.com/pelle7/odroid-go-han ... 7-20190723
* frameskip is reduced to one
* small performance improvements. On the debug line with the fps counter it is measurable, 4%

2019-07-07 https://github.com/pelle7/odroid-go-han ... estversion

On the first startup there is a little file selector. Keys UP and DOWN. LEFT and RIGHT jumps to the next letter. On the next boot hold SELECT for selecting another game or press the MENU button.
QuickSave und QuickLoad also works. Savegame to SD-card is also supported. Audio, rotation, filter and scale configuration are stored per game.

With the volume button a little menu will popup.


Older versions:

2019-07-04 viewtopic.php?f=159&t=35584&p=261388#p261388

On the first startup there is a little file selector. It only visualizes one row, but for testing different games it is ok. Keys UP and DOWN. LEFT and RIGHT steps with 10. On the next boot hold SELECT for selecting another game.
QuickSave und QuickLoad also works. Not to the SD-card yet.

With the volume button a little menu will popup. For now, you should only use: audio, quicksave, quickload

2019-07-01 viewtopic.php?f=159&t=31558&p=261033#p261112


Performanz Tests with Chip's Challenge (ingame):
2019-07-04 FPS:81.317513 (frameskip: 2, audio disabled)
2019-07-01 FPS:71.133553 (frameskip: 2, audio disabled)
FPS:60 (frameskip: 2, audio enabled)
Last edited by pelle7 on Mon Aug 12, 2019 12:40 am, edited 7 times in total.
These users thanked the author pelle7 for the post:
Di1Ly (Thu Aug 15, 2019 10:19 pm)

pelle7
Posts: 48
Joined: Sun Jun 02, 2019 4:12 am
languages_spoken: english, german
ODROIDs: ODROID-GO, ODROID-HC1, ODROID-N2
Has thanked: 7 times
Been thanked: 45 times
Contact:

Re: Atari Lynx Emulator

Unread post by pelle7 » Fri Jul 05, 2019 3:34 am

I have experimented and tested and tested.
Performanz Tests with Chip's Challenge (ingame):
2019-07-04
FPS:81.317513

I will search for a game which is slow and has consistent fps.
Attachments
lynx.fw.zip
(345.52 KiB) Downloaded 24 times
These users thanked the author pelle7 for the post (total 2):
odroid (Fri Jul 05, 2019 9:36 am) • meveric (Fri Jul 05, 2019 10:03 pm)

User avatar
meveric
Posts: 10389
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go, H2 (N4100), N2
Has thanked: 15 times
Been thanked: 117 times
Contact:

Re: Atari Lynx Emulator

Unread post by meveric » Sat Jul 06, 2019 4:26 pm

The emulator is quite fun although some games are a little slow, but still playable (but then again I always play with sound on).
Is there a way to configure frameskip?
Or is it activated by default?

Thanks a lot for this emulator, it's quite "handy" ;)
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.

pelle7
Posts: 48
Joined: Sun Jun 02, 2019 4:12 am
languages_spoken: english, german
ODROIDs: ODROID-GO, ODROID-HC1, ODROID-N2
Has thanked: 7 times
Been thanked: 45 times
Contact:

Re: Atari Lynx Emulator

Unread post by pelle7 » Sun Jul 07, 2019 8:11 am

I have added a new version: 2019-07-07.
  • I have reactivated the filtering options
  • Rotation support
  • Savegame to SD-card (include audio, scale, filter and rotate configuration
  • Modified the simple file selector
  • Modified the HOME button. Long pressing -> Savegame is created, else a popup appears
  • Audio is activated by default. If a save game exists, the configured value is used
Last edited by pelle7 on Sun Jul 07, 2019 8:18 am, edited 1 time in total.

pelle7
Posts: 48
Joined: Sun Jun 02, 2019 4:12 am
languages_spoken: english, german
ODROIDs: ODROID-GO, ODROID-HC1, ODROID-N2
Has thanked: 7 times
Been thanked: 45 times
Contact:

Re: Atari Lynx Emulator

Unread post by pelle7 » Sun Jul 07, 2019 8:16 am

meveric wrote:
Sat Jul 06, 2019 4:26 pm
The emulator is quite fun although some games are a little slow, but still playable (but then again I always play with sound on).
Is there a way to configure frameskip?
Or is it activated by default?

Thanks a lot for this emulator, it's quite "handy" ;)
Thank you, now I can replay Chip's Challenge 8-)

Yes, only a few games are playable with sound.

Currently frameskip is hardcoded for performance, I take a look, if can make it configurable without impacting performance.
These users thanked the author pelle7 for the post:
aadhoc7800 (Fri Jul 19, 2019 11:30 am)

leomarius89
Posts: 1
Joined: Mon Jul 08, 2019 8:18 pm
languages_spoken: english
ODROIDs: Odroid Go
Has thanked: 0
Been thanked: 0
Contact:

Re: Atari Lynx Emulator

Unread post by leomarius89 » Mon Jul 08, 2019 8:37 pm

This is amazing! I have been hoping for a Lynx emulator since I got my Go, and this works better than I hoped.
Todds Adventures In Slime World works really well without sound, allthough I cant find a button assigned to use items.
Even Hard Drivin works at playable fps (relatively speaking for 3D from that generation)!

Keep up the good work, hoping for better sound optimalization and alternative button maps in future releases!

pelle7
Posts: 48
Joined: Sun Jun 02, 2019 4:12 am
languages_spoken: english, german
ODROIDs: ODROID-GO, ODROID-HC1, ODROID-N2
Has thanked: 7 times
Been thanked: 45 times
Contact:

Re: Atari Lynx Emulator

Unread post by pelle7 » Tue Jul 23, 2019 12:13 pm

New version :-) Frameskip is now 1 instead of 2! And the performance is increased by 4%.

https://github.com/pelle7/odroid-go-han ... 7-20190723

or

https://github.com/pelle7/odroid-go-emu ... sion-0.9.1
These users thanked the author pelle7 for the post:
meveric (Tue Jul 23, 2019 3:34 pm)

pjexposito
Posts: 7
Joined: Thu Jul 25, 2019 6:03 am
languages_spoken: english
ODROIDs: Odroid Go
Has thanked: 0
Been thanked: 0
Contact:

Re: Atari Lynx Emulator

Unread post by pjexposito » Thu Jul 25, 2019 6:05 am

Please, can you upload a compiled version of the last update?

I always get these errors:

Code: Select all

/Users/pedro/Downloads/odroid-go-handy-develop/handy-go/components/odroid/odroid_display.c: In function 'ili9341_write_frame_8bit':
/Users/pedro/Downloads/odroid-go-handy-develop/handy-go/components/odroid/odroid_display.c:967:5: error: implicit declaration of function 'spi_device_acquire_bus' [-Werror=implicit-function-declaration]
     spi_device_acquire_bus(spi, portMAX_DELAY);
     ^
/Users/pedro/Downloads/odroid-go-handy-develop/handy-go/components/odroid/odroid_display.c:1044:5: error: implicit declaration of function 'spi_device_release_bus' [-Werror=implicit-function-declaration]
     spi_device_release_bus(spi);
(and some warnings)

when I try to compile.

Thanks :D

pelle7
Posts: 48
Joined: Sun Jun 02, 2019 4:12 am
languages_spoken: english, german
ODROIDs: ODROID-GO, ODROID-HC1, ODROID-N2
Has thanked: 7 times
Been thanked: 45 times
Contact:

Re: Atari Lynx Emulator

Unread post by pelle7 » Thu Jul 25, 2019 7:15 am

I did forget to click on "update release" on GitHub. Now the firmware file is available.

pjexposito
Posts: 7
Joined: Thu Jul 25, 2019 6:03 am
languages_spoken: english
ODROIDs: Odroid Go
Has thanked: 0
Been thanked: 0
Contact:

Re: Atari Lynx Emulator

Unread post by pjexposito » Thu Jul 25, 2019 7:26 am

Thank you!

Did you know why I'm having these warnings when I tried to compile?

pelle7
Posts: 48
Joined: Sun Jun 02, 2019 4:12 am
languages_spoken: english, german
ODROIDs: ODROID-GO, ODROID-HC1, ODROID-N2
Has thanked: 7 times
Been thanked: 45 times
Contact:

Re: Atari Lynx Emulator

Unread post by pelle7 » Mon Jul 29, 2019 3:14 am

pjexposito wrote:
Thu Jul 25, 2019 6:05 am
Please, can you upload a compiled version of the last update?

I always get these errors:

Code: Select all

/Users/pedro/Downloads/odroid-go-handy-develop/handy-go/components/odroid/odroid_display.c: In function 'ili9341_write_frame_8bit':
/Users/pedro/Downloads/odroid-go-handy-develop/handy-go/components/odroid/odroid_display.c:967:5: error: implicit declaration of function 'spi_device_acquire_bus' [-Werror=implicit-function-declaration]
     spi_device_acquire_bus(spi, portMAX_DELAY);
     ^
/Users/pedro/Downloads/odroid-go-handy-develop/handy-go/components/odroid/odroid_display.c:1044:5: error: implicit declaration of function 'spi_device_release_bus' [-Werror=implicit-function-declaration]
     spi_device_release_bus(spi);
(and some warnings)

when I try to compile.

Thanks :D
I used esp-idf release/v3.2-odroid. Perhaps this is the issue.

pjexposito
Posts: 7
Joined: Thu Jul 25, 2019 6:03 am
languages_spoken: english
ODROIDs: Odroid Go
Has thanked: 0
Been thanked: 0
Contact:

Re: Atari Lynx Emulator

Unread post by pjexposito » Mon Jul 29, 2019 4:44 pm

Thanks. I was using brach 3.1 :facepalm:

pelle7
Posts: 48
Joined: Sun Jun 02, 2019 4:12 am
languages_spoken: english, german
ODROIDs: ODROID-GO, ODROID-HC1, ODROID-N2
Has thanked: 7 times
Been thanked: 45 times
Contact:

Re: Atari Lynx Emulator

Unread post by pelle7 » Wed Jul 31, 2019 1:20 am

A new version is available:

https://github.com/pelle7/odroid-go-han ... 7-20190730
or
https://github.com/pelle7/odroid-go-emu ... cher-1.0.1

It's 30% faster! Many games now run at full speed. Some games still need 10%-15% more, f.e. S.T.U.N. Runner.

- Chip's Challenge Ingame: full speed
- Chip's Challenge Intro: nearly full speed, now 58,2fps, before 44,6fps
- California Games (BMX) Ingame: full speed 56,2 -> 60
- Gauntlet Ingame: full speed 54 -> 60
- Shadow of the Beast Ingame: full speed 56,7 -> 60
- S,T,U,N, Runner (Startscreen): 52,3 -> 60
- S,T,U,N, Runner (Select): 58 -> 60
- S,T,U,N, Runner (ingame, outdoor): 43 -> 56
- S,T,U,N, Runner (ingame, indoor): 41 -> 53
These users thanked the author pelle7 for the post:
hartleyshc (Mon Aug 19, 2019 8:59 am)

Di1Ly
Posts: 8
Joined: Tue Nov 27, 2018 9:20 pm
languages_spoken: english
ODROIDs: Odroid GO
Has thanked: 1 time
Been thanked: 0
Contact:

Re: Atari Lynx Emulator

Unread post by Di1Ly » Thu Aug 15, 2019 10:15 pm

Thank you for amazing work! What about to implement emulation for 8 bit Atari computer ? Atari800 project https://github.com/atari800/atari800

Post Reply

Return to “Game Emulators”

Who is online

Users browsing this forum: No registered users and 2 guests