Dingoonity.org

Dingoo Official Firmware => Releases => Topic started by: alsp on February 14, 2010, 04:36:47 pm

Title: Atari800 v2.1.0 for Native OS
Post by: alsp on February 14, 2010, 04:36:47 pm
Hi,

Please find RC version of Atari800 emulator for Official Firmware[/b].
It is port of latest version of Atari800 emulator (v2.1.0)

Atari800 SIM & APP versions (http://dingoo.alsp.net/atari800_2_1_0-dingoo.zip) and soucre code (http://dingoo.alsp.net/atari800_2_1_0-dingoo-src.zip)
SIM version:
Just extract Atari800.SIM file to the Game folder in internal memory and add Arari games to the \Game\Atari800 folder.
Start games as usually from Interesting game menu.

APP version:
Just extract Atari800.APP to some folder and start it via "3D game" menu.
After it press "L" -> choose Run Atari Program -> Choose any Atari Image to run

Whats new:
2010-03-15
   - Keys remmapping support (just save configuration and edit keys in Atari800.cfg
      file. Possible values for keys defined in Atari800Keys.txt)
   - Unique configuration file for folder (for example - you can put the game to some
      folder and setup unique keys for this game in folder configuration file)
2010-02-27 (RC version)
   - '..' (up) in the empty folder added
   - a:, b: (drive choice) inside emulator menu added (full support of mSD card)
   - problems with '.' folder fixed
   - On Screen Keyboard in menu added (fix L key in OSC ;))
   - emulator exit at atari crash fixed
   - exit without rendering fixed
2010-02-16
   - On Screen Keyboard added (R key)
   - PNG screenshot possibility added
   - All in one pack - (all roms and required pictures packed to the one file)
2010-02-15:
        - SIM version added (XEX,ATR,XFD,DCM,CAS roms (other from emulator menu)) (thanks SiENcE for advice!!!)
        - Bug with Joystick problem in several games fixed
        - Bug with application mode on SD card is fixed

2010-02-14:
   - Initial port of original version
   Keys in emulator:
      up,down,left,right, A - joystik
      start - start
      select - select
      Y - option
      B - return
      X - space
      L - emulator menu
      R - On Screen Keyboard
      Power - soft reset

Plans:
     - possible bugs fixing ;-)


If you will detect some bugs - please report here...
Title: Re: Atari800 v2.1.0 for Native OS
Post by: SiENcE on February 14, 2010, 09:13:52 pm
hey,

why don't you make a SIM File?

Could you please post the sources. thx.

Here is the code you have to insert.

Launch.c
Code: [Select]
#ifndef WIN32
typedef struct tagSYMBOLENTRY
{
unsigned long address;
const char* name;
} SYMBOLENTRY;

#define DL_EXPORT_SYM(sym) \
__attribute__ ((section (".export_string"))) \
static const char _string_##sym[] = #sym;\
__attribute__ ((section (".export_table"))) \
static const SYMBOLENTRY _sym_##sym = { (unsigned long)&sym, _string_##sym };

/* file extension name */
int GetFileType(char* pname)
{
if (pname)
strcpy(pname, "PAC"); // Emulator ROM extensions
return 0;
}

/* to get defualt path */
int GetDefaultPath(char* path)
{
if (path)
strcpy(path, "A:\\GAME");
return 0;
}
/* module description, optional */
int GetModuleName(char* name, int code_page)
{
if (name && (0 == code_page)) // ansi
strcpy(name, "piea320.SIM");  //your Emulator Filename
return 0;
}
DL_EXPORT_SYM(GetFileType)
DL_EXPORT_SYM(GetDefaultPath)
DL_EXPORT_SYM(GetModuleName)
#endif /* WIN32 */
Title: Re: Atari800 v2.1.0 for Native OS
Post by: Chris23235 on February 14, 2010, 09:31:33 pm
Thanks, liked you Dingux port of Atari800.
I think, he didn't made a SIM, cause they only can be linked with 1 filetype, or am I wrong here? A800 supports discimages, 2 types of cartridges and executables, all come with their own extension.
Title: Re: Atari800 v2.1.0 for Native OS
Post by: SiENcE on February 14, 2010, 10:42:22 pm
You can of couse use two filetypes (as the nativ GBA emulator does).

just write instead of this:
Code: [Select]
strcpy(pname, "PAC");
this:
Code: [Select]
strcpy(pname, "GBA|JGC");
this should work :-).
Title: Re: Atari800 v2.1.0 for Native OS
Post by: alsp on February 15, 2010, 06:17:41 am
why don't you make a SIM File?
Thanks for advice! I don't do it, because I newbee in dingoo programming and just miss this possibility, but of course I will add it today.
And of cource I publish source right after make a release (I just need to fix possible bugs, add virtual keyboard and clean source code).
Title: Re: Atari800 v2.1.0 for Native OS
Post by: shanti77 on February 15, 2010, 06:53:33 am
I play this emu from SD card, it works, but in game Zybex, joystick doesn't work, under dingux this game works.
Title: Re: Atari800 v2.1.0 for Native OS
Post by: alsp on February 15, 2010, 07:38:29 am
why don't you make a SIM File?
SIM support added for XEX,ATR,XFD,DCM,CAS roms.
First post updated.
Title: Re: Atari800 v2.1.0 for Native OS
Post by: shanti77 on February 15, 2010, 07:44:25 am
Atari run also .com and .rom files
Title: Re: Atari800 v2.1.0 for Native OS
Post by: alsp on February 15, 2010, 07:51:58 am
Atari run also .com and .rom files
yes, I know - but there are no intersection with other emulators?
I think number of simulators will grown and we should do not use basic extensions for roms to exclude intersetions...
Moreover - there are small secret of Atari800 simulator - its detect file type by headers - extensions do not relevant. So we can just rename all rom images to some unique for Atari.
Title: Re: Atari800 v2.1.0 for Native OS
Post by: alsp on February 15, 2010, 01:00:09 pm
I play this emu from SD card, it works, but in game Zybex, joystick doesn't work, under dingux this game works.
Fixed - please get a latest version from the same place
Title: Re: Atari800 v2.1.0 for Native OS
Post by: SiENcE on February 15, 2010, 02:04:01 pm
@alsp: What about adding ZIP support and then renaming the Zipped File to your own extension?

I have unzip code working on nativ Dingoo in my SVN. You can use it if you want. This way you don't have to use so many extensions. What about "*.A800" as zipped extension name and people can put in the ZIP the rom with the extension they want.

I did this with my PIA port too.

my svn:
http://crankgaming.blogspot.com/2009/05/piea320-v02-by-sience-c09.html
Title: Re: Atari800 v2.1.0 for Native OS
Post by: capt_bugaloo on February 15, 2010, 04:19:55 pm
Anyone have comments on the emulator?  How does it run Star Raiders or Bruce Lee, for example?

Not near a PC for a while but I will give it a test later tonight....
Title: Re: Atari800 v2.1.0 for Native OS
Post by: shanti77 on February 15, 2010, 06:00:15 pm
Now .app version doesn't work  :( , check it, Atari800.app doesn't start...
Title: Re: Atari800 v2.1.0 for Native OS
Post by: alsp on February 15, 2010, 06:36:05 pm
Now .app version doesn't work  :( , check it, Atari800.app doesn't start...
Thanks for information! Fixed. Problem was is in exported funcs for SIM version. I.e. if functions are exported - app do not started.
Title: Re: Atari800 v2.1.0 for Native OS
Post by: alsp on February 16, 2010, 07:55:23 pm
Hi!

Please find new version in first post.
Changes:
1. On screen keyboard added - R key
2. All files packed to the resources and now there are only one file for SIM variant and one for APP variant
3. PNG screenshorts added (Just as additional thing to the OSK ;))
Title: Re: Atari800 v2.1.0 for Native OS
Post by: shanti77 on February 16, 2010, 09:56:57 pm
Thx :)
Title: Re: Atari800 v2.1.0 for Native OS
Post by: blastyrant on February 17, 2010, 01:04:47 am
this is a nice treat. thanks for taking the time to port it to the native o/s for those of us that don't use linux.

is there a complete guide on this emu? it has a ton of options (hold L + R), most of which i'm clueless about =P

when i mess with multi-disk images i can't get disk 2 to run. i tried the disk managment section. what folder do the images have to be in inorder to work? i'm getting "no files inside directory." i tried setting emulator configuration > configure directories. i set the directory for a 2 disk rom but still can't get this working.

if you have the keyboard open then hit L + R, the keyboard is over the menu and can't be closed. the menu can't be selected. using the dingoo "hard reset button" is the only option left.

galactic adventures -- i select my race and then bring up the keyboard so i can hit "Y" to use that chacter and each time it goes back to the character race selection screen as tho i hit "N".

autoduel doesn't work. graphics are garbled, etc.
gwendolyn crashes
Title: Re: Atari800 v2.1.0 for Native OS
Post by: alsp on February 17, 2010, 08:32:13 am
is there a complete guide on this emu? it has a ton of options (hold L + R), most of which i'm clueless about =P
There ano special guide for simulator, but original version have some docs. please look to original site for it
And you can use just 'L' key to enter options screen.
http://atari800.sourceforge.net/index.html (http://atari800.sourceforge.net/index.html)

when i mess with multi-disk images i can't get disk 2 to run. i tried the disk managment section. what folder do the images have to be in inorder to work? i'm getting "no files inside directory." i tried setting emulator configuration > configure directories. i set the directory for a 2 disk rom but still can't get this working.
Witch images type do you use? please send it to me to e-mail that included in atari800.txt in simulator archive.

if you have the keyboard open then hit L + R, the keyboard is over the menu and can't be closed. the menu can't be selected. using the dingoo "hard reset button" is the only option left.
It seems to be bug, but how you have open keyboard in menu mode? I try to do it hunderd of times and unable to repeat it :)

galactic adventures -- i select my race and then bring up the keyboard so i can hit "Y" to use that chacter and each time it goes back to the character race selection screen as tho i hit "N".
autoduel doesn't work. graphics are garbled, etc.
gwendolyn crashes
Please send this images to me for check too...

Thanks for report!
Title: Re: Atari800 v2.1.0 for Native OS
Post by: shanti77 on February 17, 2010, 12:26:46 pm
I have tested it (.sim version) and I confirm all this bugs. Every multidisk game when I change disk emulator crash "The Atari Computer has Crashed". Version .app of emulator works ok, games must be in a:\game\Atari800 , don't see SD Card.

disk1
http://www.atarionline.pl/arch/B/Battle%20Ships%20%28v1%29/Battle%20Ships%20%28v1%2Cs1%29.atr
disk2
http://www.atarionline.pl/arch/B/Battle%20Ships%20%28v1%29/Battle%20Ships%20%28v1%2Cs2%29.atr
Title: Re: Atari800 v2.1.0 for Native OS
Post by: segakiki on February 17, 2010, 01:31:42 pm
Wow! Atari 800, the first computer i owned!
Ive just been messing about with this emu and it runs almost every game ive tried flawlessly.
Ive tried atleast 60 games and have only found 2 that didnt work!
Ive noticed that on a few games the screen is abit garbled and jumps abit, but this can be fixed by going into the options (L trigger) and changing the select system option to pal instead of ntsc.
this seems to work on every game that has had screen problems!

Title: Re: Atari800 v2.1.0 for Native OS
Post by: alsp on February 17, 2010, 04:55:50 pm
I have tested it (.sim version) and I confirm all this bugs. Every multidisk game when I change disk emulator crash "The Atari Computer has Crashed". Version .app of emulator works ok, games must be in a:\game\Atari800 , don't see SD Card.
hm... what I doing wrong?:
1:Start emulator via first disk image
2:Wait until it say something like insert second disk and press start
3. Press L, Choose Disk management, choose D1, and select second disk file, Press B,B
4.Press start... all working correctly
?
Title: Re: Atari800 v2.1.0 for Native OS
Post by: shanti77 on February 17, 2010, 06:47:44 pm
Sorry, my mistake, I wait too short , in first picture I change disk, multidisk is ok even on SD Card.

When you on keyboard (R - key) and then push L+R then you go to menu and keyboard is on.You must block R-key when keyboard, but why some people push R+L  I don't now.

One bug, when some game crash, doesn't work "Exit Emulator" .

Title: Re: Atari800 v2.1.0 for Native OS
Post by: capt_bugaloo on February 18, 2010, 02:21:21 am
Wow - I just tried out this emulator with four or five games.  I found the sound seemed a bit off, but other than that the emulation was very good!   ;D
Title: Re: Atari800 v2.1.0 for Native OS
Post by: blastyrant on February 18, 2010, 04:01:53 am
if you have the keyboard open then hit L + R, the keyboard is over the menu and can't be closed. the menu can't be selected. using the dingoo "hard reset button" is the only option left.
It seems to be bug, but how you have open keyboard in menu mode? I try to do it hunderd of times and unable to repeat it :)

i did not know that the menu key was "L" i thought it was "L+R". press "R" to bring up the keyboard in any ROM and then hit "L and R" at the same time. The keyboard is now over the menu. this happens for me on every ROM i've tried it on.

hm... what I doing wrong?:
1:Start emulator via first disk image
2:Wait until it say something like insert second disk and press start
3. Press L, Choose Disk management, choose D1, and select second disk file, Press B,B
4.Press start... all working correctly
?

i just tested with...
Gauntlet - Disk 1.atr [4B9FA692]
Gauntlet - Disk 2.atr [9E617A43]

this is working, the problem has been the vague directions. this emu and its options have a learning curve. i had not understood what i was looking at. there is no reason to "load" the directory.

this is what worked for me:
when it says to insert disk 2
hit L to bring up the emu menu
goto disk management, hit A to select it
hit a on directory 1, which should hold the path to the disk image you are currently playing
...the next screen that comes up is to select the next disk image in the set
...find the second image and hit A
the emu goes back to the disk management screen and you will see the selected disk image is now loaded in the path
hit b to exit the disk management screen
hit b to exit the emu menu screen
hit "start" (as this game says to) to play disk 2

i am using the .sim version, by the way! =)

==============

i will send you those roms i found issues with in a few minutes. i will use sendspace so check your e-mail spam folder just in case the link goes there.

from this point on i'll e-mail you, using sendspace, any roms which cause issues for me. i will include a text file in the rar/zip which explains any problems.

cheers.
Title: Re: Atari800 v2.1.0 for Native OS
Post by: capt_bugaloo on February 23, 2010, 06:11:21 pm
I have been playing with this emulator a lot the last few days.  Last night I was sitting on the sofa playing several 8-bit games like Missile Command, Pacman, Pole Position, and Meteorites (an Asteroids rip-off that plays better than Atari's own 8-bit Asteroids...).  Even Star Raiders runs fine - but of course it's not really playable without a real keyboard.

Excellent!  Thanks a lot for releasing this emulator!
Title: Re: Atari800 v2.1.0 for Native OS
Post by: alsp on February 27, 2010, 07:06:23 am
Thanks for warm words!

And please find updated version in the first post.
Whats new:
2010-02-27 (RC version)
   - '..' (up) in the empty folder added
   - a:, b: (drive choice) inside emulator menu added (full support of miniSD card)
   - problems with '.' folder fixed
   - On Screen Keyboard in menu added (fix L key in OSC ;)) (Now you can enter names for state files and screenshots)
   - emulator exit at atari crash fixed
   - exit without rendering fixed

If there are some bugs (that depends to the dingoo version) please report here or on e-mail inside readme file at archive.
Title: Re: Atari800 v2.1.0 for Native OS
Post by: alsp on February 27, 2010, 08:02:42 am
In addition, I have publish full source code of native version with all used libraries (see first post for the link).
Title: Re: Atari800 v2.1.0 for Native OS
Post by: Chris23235 on February 27, 2010, 10:29:35 am
Thanks as always, the support of Mini SD card is much welcomed, any plans of including mapable controls (e.g. via kbd files?), causo with them many games like Star Raiders would be playable.
Title: Re: Atari800 v2.1.0 for Native OS
Post by: capt_bugaloo on February 27, 2010, 04:08:10 pm
And please find updated version in the first post.

Great - thank you!

I don't suppose you'd consider trying to port an Atari 2600 emulator, would you..?   ;D
Title: Re: Atari800 v2.1.0 for Native OS
Post by: shanti77 on February 28, 2010, 08:52:10 pm
alsp can you also fix dingux version of atari800?
Title: Re: Atari800 v2.1.0 for Native OS
Post by: alsp on March 01, 2010, 06:35:40 am
any plans of including mapable controls (e.g. via kbd files?).
I think to make some simple keys remapping possibility via .cfg file (So it will be possible to place game in some special folder with special atari800.cfg file and keys will be as needed.
Title: Re: Atari800 v2.1.0 for Native OS
Post by: alsp on March 01, 2010, 06:36:52 am
I don't suppose you'd consider trying to port an Atari 2600 emulator, would you..?   ;D
May be in the future... but my next plan to port some ZX emulator to native firmware.
Title: Re: Atari800 v2.1.0 for Native OS
Post by: alsp on March 01, 2010, 06:40:29 am
alsp can you also fix dingux version of atari800?
Ok i'll add png library and some OSC things to the Dingux version
Title: Re: Atari800 v2.1.0 for Native OS
Post by: Chris23235 on March 01, 2010, 02:58:22 pm
any plans of including mapable controls (e.g. via kbd files?).
I think to make some simple keys remapping possibility via .cfg file (So it will be possible to place game in some special folder with special atari800.cfg file and keys will be as needed.

This would be great, then I could finally play Star Raiders on the train, a dream would come true :-)
Title: Re: Atari800 v2.1.0 for Native OS
Post by: Nickeng on March 02, 2010, 02:16:35 pm
I don't suppose you'd consider trying to port an Atari 2600 emulator, would you..?   ;D
May be in the future... but my next plan to port some ZX emulator to native firmware.

Sounds good - cant wait.

Title: Re: Atari800 v2.1.0 for Native OS
Post by: alsp on March 16, 2010, 06:39:04 am
Please find new version in first post.

2010-03-15
   - Keys remmapping support (just save configuration and edit keys in Atari800.cfg
      file. Possible values for keys defined in Atari800Keys.txt)
   - Unique configuration file for folder (for example - you can put the game to some
      folder and setup unique keys for this game in folder configuration file)

Please report about bugs to the e-mail in Atari800.txt file
Title: Re: Atari800 v2.1.0 for Native OS
Post by: Chris23235 on March 16, 2010, 09:41:14 am
Thanks, the Keyboard mapping support is a great feature.