Jump to content

Homebrew Bounty Forum Rules
Homebrew Bounty Forum Rules

1. Can I create a thread here?
You may create a thread ONLY for submitting your entry to the Homebrew Bounty. Your project can either be finished or WIP (Work In Progress). Any thread created here will be considered an entry in the competition. If your thread isn't an entry for the Homebrew Bounty, it will either be moved or deleted.

2. Should I post my entry in a specific way?
Actually, just create a thread and make sure to use one of the following post icons (at the bottom of the form):


  • Please log in to reply

A7800DS2 emulator (DSTWO entry)

, An Atari 7800 ProSystem emulator for DS with SCDSTwo Linker (Go to first unread post)
alekmaul Post #1 Posted 25 May 2011 - 12:42 PM

    GBAtemp Regular

  • PipPipPip

  • Group: Members
  • Posts: 102
  • Member No.: 2,145
  • Joined: 05-November 02
  • Location: Blois

  •  

Ok, yesterday, you wanted it, so here it is !
The difference between DS (not DSi) version, well this one is full speed but sound is not really nice (thanks to Dstwo sdk) ...°...
It's based on ProSystem emulator and of course, the source code is released because it's not my source code

To use this emulator, you must use compatibles rom with a78/bin format.
Do not ask me about such files, I don't have them. A search with Google will certainly help you.

Controls :
* Direction pad : the joystick ...
* A : Fire button 1
* B : Fire button 2
* SELECT : SELECT Button
* START : START Button
* R : RESET Button (yes R like Reset tongue.gif)

Some screenshots :



Download : A7800DS2 V1.0

Of course, i'm releasing the source code because I am not the original author of ProSystem Emulator : A7800DS2 V1.0 source code

V1.0 : 25/05/2011
* Initial release based on my DS/DSi version (which is based on Prosystem 1.0.3)

Edited by alekmaul, 25 May 2011 - 12:43 PM.



Another World Post #2 Posted 25 May 2011 - 12:44 PM

    AKAIO Connoisseur


  • Group: Former Staff
  • Posts: 7,909
  • Member No.: 111,084
  • Joined: 03-January 08
  • Location: From Where???

  •  

lol alek. stop it! lol.

more to test!! -- but we all know thats a good thing! =)

-another world


alekmaul Post #3 Posted 25 May 2011 - 12:44 PM

    GBAtemp Regular

  • PipPipPip

  • Group: Members
  • Posts: 102
  • Member No.: 2,145
  • Joined: 05-November 02
  • Location: Blois

  •  

really, you do not want another one tongue.gif ?


Another World Post #4 Posted 25 May 2011 - 12:46 PM

    AKAIO Connoisseur


  • Group: Former Staff
  • Posts: 7,909
  • Member No.: 111,084
  • Joined: 03-January 08
  • Location: From Where???

  •  

i want as many emulators as you have time to code for the ds/dsi/scds2. so lets talk about a port of the RAW another world engine so that i can finally have someone fix the bugs i've found while playing over the last few years! lol.

keep it up the good work. i'm glad to see some of the projects this bouny has generated.

-another world


Boriar Post #5 Posted 25 May 2011 - 02:11 PM

    GBAtemp Regular

  • PipPipPip

  • Group: Members
  • Posts: 156
  • Member No.: 136,011
  • Joined: 22-September 08
  • Location: Spain

  •  

I can't belive all that HARD WORK!!!! yaynds.gif

FOUR GREAT EMULATORS in less that one week, wow. I follow you from some years/emulators and you allways surprise me with fresh ideas.
I want to ask you: it's posible to put all atari emulator (sometime later, of course) in one program? I said it to you thinking on a easy way to maintenance. wacko.gif

Forgive me if my idea is stupid. unsure.gif


BassAceGold Post #6 Posted 25 May 2011 - 07:10 PM

    GBAtemp Regular

  • PipPipPip

  • Group: Members
  • Posts: 293
  • Member No.: 47,050
  • Joined: 14-August 06

  •  

alekmaul, I have also updated the source for this to load roms from launch arguments created by BAGplug and iMenu. All changes take place in ds2_main.c
The updated source and binary can be found here: http://bag.nfnet.org/wp-content/uploads/20...source_args.zip
The binary can be found in the /a7800DS2V10_source/toDSTWO/_dstwoplug/ folder of the above download

Here is the updated ds2_main.c file if you don't want to download the entire archive:
CODE

//ds2_main.c

#include <stdio.h>
#include <console.h>
#include <fs_api.h>
#include <ds2io.h>

#define BLACK_COLOR RGB15(0, 0, 0)
#define WHITE_COLOR RGB15(31, 31, 31)

extern void main(int argc, char* argv[]);

//for reading launch arguments created by BAGplug and iMenu
#include <string.h>
int Get_Args(char *file, char **filebuf, int lim)
{
FILE* dat = fopen(file, "rb");
if(dat)
{
int i = 0;
while(!feof (dat) && i <= lim)
{
char * test = fgets(filebuf[i], MAX_PATH, dat);
if(test == NULL)
break;

int len = strlen(filebuf[i]);
while((filebuf[i][len] == '' || filebuf[i][len] == '\n' || filebuf[i][len] == '\r') && len > 0)
filebuf[i][len--] = '';

if(len > 0)
i++;
}

fclose(dat);
remove(file);
return i;
}
return 0;
}



void ds2_main(void)
{
int err;

//Initial video and audio and other input and output
err = ds2io_initb(1024,22050,0,0); //1024
if(err) goto _failure;

//Initial console for printf funciton
err = ConsoleInit(WHITE_COLOR, BLACK_COLOR, UP_SCREEN, 10);
if(err) goto _failure;

//Initial file system
printf("trying to init fat system ...\n");
err = fat_init();
if(err) goto _failure;


//check for args (BAGPlug and iMenu for DSTwo)
char argv_buffer[2][MAX_PATH];// [0] for file path of launched binary, [1] for file path of selected rom
char *argv[2] = { (char*)&argv_buffer[0], (char*)&argv_buffer[1] };
int argc = Get_Args("/plgargs.dat", argv, 2);

//go to user main funtion
main(argc, argv);

_failure:
printf("some error\n");
while(1);
ds2_plug_exit();
}





alekmaul Post #7 Posted 26 May 2011 - 05:16 AM

    GBAtemp Regular

  • PipPipPip

  • Group: Members
  • Posts: 102
  • Member No.: 2,145
  • Joined: 05-November 02
  • Location: Blois

  •  

Thanks BassAceGold, will add that to next version smile.gif


inacito Post #8 Posted 26 May 2011 - 03:04 PM

    Newbie


  • Group: Newcomers
  • Posts: 8
  • Member No.: 113,502
  • Joined: 30-January 08

  •  

Hi Alex, thanks for all your great work and the hours of fun you gave us.

If your planning new versions I have a suggestion for all of them: save states.
These are the greatest benefit of retro gaming, and it's a pity to have a great emulator without them (for example, it's what NeoDS is missing to be near perfect).

Many games of old were given new life by this, I've even gotten further than in their time. For example, I was not able to finish Another World when it came on the AtariST.

And please, I may even ask more: add save states to Manic Miner, XRick and LodeRunner. These are very difficult games and I find myself playing them on MSX or ZX emulators rather than your excellent remakes.

And, if you feel bored tongue.gif and want to broaden your universe, I'd LOVE a BBC Micro emulator for the DS. It was my first computer and I have loving memories of it, I cannot understand why it has not been emulated yet.

Again, thanks a lot for your work. Back to play!

EDIT: And to DSTwo MAME as well wink.gif Savestates rule!

Edited by inacito, 26 May 2011 - 03:06 PM.


mysticwaterfall Post #9 Posted 25 June 2011 - 02:02 PM

    Streamforce Supreme Commander


  • Group: Members
  • Posts: 1,275
  • Member No.: 133,031
  • Joined: 11-August 08
  • Location: Right behind you

  •  

Great work as always, I do have to say the DS2 version works much better then the standard version. Would it be possible to do a quick updated version that has the ARG support BAG added to the normal version? Thanks.


Another World Post #10 Posted 27 June 2011 - 04:51 AM

    AKAIO Connoisseur


  • Group: Former Staff
  • Posts: 7,909
  • Member No.: 111,084
  • Joined: 03-January 08
  • Location: From Where???

  •  

QUOTE(inacito @ May 26 2011, 07:04 AM) <{POST_SNAPBACK}>
If your planning new versions I have a suggestion for all of them: save states.


really?? for atari 7800 games? LOL. really? the charm of these games is that they can be beat in about an hour if you master the mechanics of the game. mastering these games were your bragging rights back then. its not like they have amazing stories are endings you can't live without experiencing. to me, save-states on games like these are just a way to cheat. instead you should be trying to master your top score and beat the level you always seem to die on.

QUOTE
I'd LOVE a BBC Micro emulator for the DS. I cannot understand why it has not been emulated yet.


there is one for slot-2. the web site is long dead but you can find the file in my slot-2 pack. it has pretty good compatibility but some speed issues. it would probably run rather well if made for the dsi-mode. the problem is the project is long dead and porting slot-2 to slot-1 isn't super easy. i would think the better thing to do would be to start a project like this from scratch.

here: http://filetrip.net/f4537-Slot2-Emulators-...terpreters.html

-another world







Users browsing this topic

1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users