Author Topic: Lynx emulator  (Read 57925 times)

ScottyPottie

  • Guest
Re: Lynx emulator
« Reply #80 on: November 02, 2009, 11:34:43 pm »
Ok I played on the train home and here are the details:

- I have not installed linux
- Firmware 1.1 came installed
- All inlcuded emulators work fine (don't freeze).
- ColeCOO.SIM does not freeze I can play rom after rom

- LynGOO.SIM, DOOENGINE.SIM, and SmsGGOO.SIM => These all play games fine. They let me exit the game, and lock when I select the next game to play. I hit reset and can then play another game. I know you didn't work on the second 2, but maybe there is something in common.

- The Lynx games I played looked and played great.

- Below is the contents of my Game directory.

- If there is any testing I can do for you let me know.

- If you think my Dingoo has a problem let me know.



Directory of I:\game

09/21/2044  12:00 AM    <DIR>          .
09/21/2044  12:00 AM    <DIR>          ..
02/13/2007  02:41 AM         4,945,638 ????.zip
07/15/2009  07:16 PM    <DIR>          3D
10/13/2009  08:26 PM    <DIR>          Best
10/14/2009  09:55 AM    <DIR>          COL
09/23/2009  08:45 PM    <DIR>          CP1
09/23/2009  08:38 PM    <DIR>          CP2
06/30/2009  10:23 AM    <DIR>          CPS1
06/30/2009  10:23 AM    <DIR>          CPS2
07/15/2009  07:15 PM    <DIR>          GBA
09/24/2009  05:02 AM    <DIR>          GBC
11/02/2009  05:02 AM    <DIR>          GG
10/29/2009  08:25 AM    <DIR>          Lynx
10/29/2009  08:25 AM    <DIR>          MVS
09/22/2009  07:03 PM    <DIR>          NES
09/30/2009  08:18 PM    <DIR>          PCE
11/02/2009  05:06 AM    <DIR>          SMS
09/22/2009  07:03 PM    <DIR>          SNES
09/26/2009  10:40 AM    <DIR>          Test
05/04/2044  12:00 AM                32 COLECOO.CFG
10/27/2009  07:21 PM           264,112 ColeCOO.SIM
11/12/2008  03:29 PM         1,105,200 CPS1.SIM
11/12/2008  03:30 PM           667,040 CPS2.SIM
09/01/2009  08:59 PM           194,176 DOOENGINE.SIM
05/12/2009  08:45 PM               104 GBA.CFG
11/12/2008  04:30 PM         1,846,992 GBA.SIM
11/01/2009  09:41 AM           156,560 LynGOO.SIM
04/22/1997  11:07 AM               512 lynxboot.img
03/04/1980  12:00 AM               788 MD.CFG
11/14/2008  02:13 PM         1,615,760 md.SIM
11/15/2008  04:55 PM           920,576 MVS.SIM
09/26/2006  10:34 PM         1,395,412 neogeo.zip
11/12/2008  08:42 PM         1,156,608 NES.SIM
05/13/2044  12:00 AM               272 sfc.cfg
11/14/2008  09:14 PM         1,056,640 SFC.SIM
03/01/1980  12:00 AM                32 SMSGGOO.CFG
10/31/2009  10:23 AM           287,056 SmsGGOO.SIM

capt_bugaloo

  • *
  • Posts: 91
Re: Lynx emulator
« Reply #81 on: November 03, 2009, 04:48:38 am »
I was just playing with Beta 2 of LynGoo.  The sound and speed are vastly improved and I like it - except the screen scaling.  Is it possible to have the option of straight 2x scaling like you had with the first two betas..?
Yes, there was small strips of unused pixels, but the image looked great.  Now with the scaling, the display looks 'lumpy' and isn't scaled smoothly.  I vastly preferred the old way...

ScottyPottie

  • Guest
Re: Lynx emulator
« Reply #82 on: November 03, 2009, 11:03:24 am »
Another Freeze symptom:

I can play a Lynx game, exit go play a 3D app, exit. Then go select another Lynx game and it freezes. Kinda seems like something is not cleared on exit.

Spiller (OP)

  • *
  • Posts: 106
Re: Lynx emulator
« Reply #83 on: November 03, 2009, 02:36:30 pm »
capt bugaloo: will take that into account for release 1.0

scottypottie: I am quite confident that's it's actually a problem of not cleaning up. May be memory related. Interesting to hear that both DOOENGINE and SmsGGOO exhibit the same behaviour. Obviously all these emulators have been based on the same reverse engineering efforts, so yes they share code. I tried to fix the freezes last night, but did not succeed. I will have another try as soon as time permits. It does not really help that it takes tens of game exits to reproduce on my Dingoo.  ;)

alekmaul

  • *
  • Posts: 330
    • Portabledev
Re: Lynx emulator
« Reply #84 on: November 03, 2009, 03:35:18 pm »
Just one question which is not off topic regarding the pb. Do you have a black screen before freeze with dooengine and smsggoo or not ?
Also, do you still have the pb with last version of smsggoo ?
I say that to know if the pb is in sdk file entry_point.c (which is used to call the main function) or not.
Also, as joyrider did in GnuBoy, i remove the static declaration to recognize file extension in launch.c, it's perhaps another point to see.

Spiller (OP)

  • *
  • Posts: 106
Re: Lynx emulator
« Reply #85 on: November 03, 2009, 03:57:23 pm »
I suspect the entry_point.c as well because it is ringing some alignment bells on my side. I also removed the static after some comments on the old forum.

kswildside

  • Guest
Re: Lynx emulator
« Reply #86 on: November 04, 2009, 09:43:16 pm »
Akemaul and Spiller I have seen it freeze at a black screen.
The Game Startup screen

But most times it freezes in the game list you play one game and exit and then goto to play another from the list and it freezes up. hard reset is the only option.
This Happens with GooPlayer Also by hartex

List I have so far of emu's not working with the A320 with no paw print on the back or logo

SMSGoo
LynGoo
DOOEngine
Coleco I forget the proper emu name

Harteex

  • * Administrator
  • Posts: 709
    • Harteex Productions
Re: Lynx emulator
« Reply #87 on: November 04, 2009, 11:03:32 pm »
The crash in GooPlayer could very well be because of other reasons, I have experienced crashes in it myself.
But I'm investigating...

alekmaul

  • *
  • Posts: 330
    • Portabledev
Re: Lynx emulator
« Reply #88 on: November 05, 2009, 05:34:35 am »
List I have so far of emu's not working with the A320 with no paw print on the back or logo

SMSGoo
LynGoo
DOOEngine
Coleco I forget the proper emu name

You don't have any pb with GnuBoy ???

Spiller (OP)

  • *
  • Posts: 106
Re: Lynx emulator
« Reply #89 on: November 05, 2009, 07:56:57 am »
I have seen the following freezes with LynGOO:

  • Hanging black screen while starting the emulator.
  • Hanging browser directly after exiting the emulator.
  • Hanging browser some while after exiting the emulator.

So basically it freezes either when you start or exit the emulator. Sometimes you can browse for a few seconds before it freezes.

I haven't been playing with the other emulators lately, but by the reports of people I'd say all non-sdk stuff suffers of these freezes. The weird thing is that it affects some Dingoos more than others. Mine only freezes after playing tens on games, others report their Dingoo to freeze immediately after playing only one game.
« Last Edit: November 05, 2009, 08:00:16 am by Spiller »

Harteex

  • * Administrator
  • Posts: 709
    • Harteex Productions
Re: Lynx emulator
« Reply #90 on: November 05, 2009, 08:44:35 am »
I've never heard of any freezing issue with my SameGoo though. I can ask him to try it aswell.

Spiller (OP)

  • *
  • Posts: 106
Re: Lynx emulator
« Reply #91 on: November 05, 2009, 08:48:20 am »
Would be good to know if this issue is with SIM files only. I'll try to make an APP version of LynGOO just for testing if that freezes as well. If not the problem is highly likely to be in the file association part of entry_point.c.

alekmaul

  • *
  • Posts: 330
    • Portabledev
Re: Lynx emulator
« Reply #92 on: November 05, 2009, 09:47:37 am »
Yep, good try Spiller, i will do the same with SmsGGOO.
And we also have some others solutions :
- Try to use default s2dsdk without GameEngine class which is too slow during the function OneFrame(). And we perhaps missed something regarding the Init and Start of this Object
- Query "dingoo-digital-usa" to have source code of sd2sdk and try to know what is wrong in flatmush non sdk lib ^^
- Try another sdk like zaxxon's one : http://boards.dingoonity.org/index.php/topic,72.0.html
     or this one : http://www.dingoo-digital.com/forums/developers-corner/new-sdk

Spiller (OP)

  • *
  • Posts: 106
Re: Lynx emulator
« Reply #93 on: November 05, 2009, 11:42:23 am »
I'm on Linux so the s2sdk is a no go for me. I already tried the Zaxxon one, but it is a mini lib lacking all the stuff from entry.a. The 'new-sdk' thing is sort of similar to my dingkit but it didn't work for me because so much had been moved around without any explanation to how and why.

Anyway, I'll try the APP route and see what that yields. If we can get the sourcecode for the s2sdk that would be perfect ofcourse. I guess we could ask and see whether they say yes or no...?

rip

  • *
  • Posts: 45
Re: Lynx emulator
« Reply #94 on: November 05, 2009, 01:03:50 pm »
Hi,
in the first place, Thanks for yours work in ucos os. This lynx emulator is very promising, and Smsgoo is now almost reality.
About the freeze problem, maybe have information:

My english is bad, very bad. sorry, of absence of extended explication.
In resume, I think, this problem is a problem of "data in resident memory".
Now, in my dingoo are Smsgoo 2.0 resident in memory, because even though no Smsgoo in game directory and no in my dingoo, i can play sms files in Smsgoo 2.0.

To probe this, copy smsgoo 2.0 to GAME directory, power on dingoo. play a game. Power of dingoo. Delete Smsgoo Power on . And look the sms files (there are file associations) and play sms game.

The freeze proble happens after play a game in the known emulators + Gba games
To probe this. Play a game in gbc/gb/sms/lynx and after gba game= freeze.

For fix Smsgoo 2.0 in memory copy Smsgoo 3.0, play a game, power off dingoo and delete. And the associations disappear, but the frezze problem no.  (?something else in memory?)

I hope it helps.

alekmaul

  • *
  • Posts: 330
    • Portabledev
Re: Lynx emulator
« Reply #95 on: November 05, 2009, 01:40:46 pm »
Very strange that you can launch sms games without the emulator  ???  :o
The big difference between SmsGGOO v2 and v3 and the gcc toolchain (V3 for the old one and V4 for the last one).
Also, i remove (like others people) the static declaration for launch.c file associations, perhaps the pb of really in this file and the launch process ...
I will try to do an App version and not a SIM one.

Harteex

  • * Administrator
  • Posts: 709
    • Harteex Productions
Re: Lynx emulator
« Reply #96 on: November 05, 2009, 02:40:39 pm »
dingoo-digital-usa tried SameGoo aswell, which seems to work fine without crashes.
So maybe it is related to SIM files then.

Although I don't know the problem with GooPlayer yet.

kswildside

  • Guest
Re: Lynx emulator
« Reply #97 on: November 05, 2009, 04:43:27 pm »
My bad same problem with GNUBoy also I will do a more detailed list and description of issues tonight.... Basically what works and what crashes etc and how and when ya know the whole troubleshooting drill. As for the SDK I will see if I can get the source no promises...

rip

  • *
  • Posts: 45
Re: Lynx emulator
« Reply #98 on: November 05, 2009, 06:23:54 pm »
Very strange that you can launch sms games without the emulator  ???  :o
Yes and no. I was looking for the SIM and the emulator wasn't in GAME directory but was in a subdirectory of Minisd ??  (I had to leave it at some point of the tests)
Once removed, no more file assocciations, no more emulator, but remains the freeze problem.

I hope it helps.

kswildside

  • Guest
Re: Lynx emulator
« Reply #99 on: November 06, 2009, 03:06:35 am »
I don't know if this will help at all but I got some information on the new lcd don't know if it's a driver or just the device information and commands but maybe it will help maybe it won't not sure but I'm at least trying to help the community with this one....

void Initial_ILI9331_Hydis28(void)
{
//  RESET=0;
//  Delayms(5);
//  RESET=1;
//  Delayms(10);

    WriteRegister(0xe7,0x1014);  // Set internal timing
    WriteRegister(0x01,0x0100);  // set SS and SM bit
    WriteRegister(0x02,0x0200);  // set 1 line inversion
    WriteRegister(0x03,0x1030);  // set GRAM write direction and BGR=1.

    WriteRegister(0x08,0x0202);  // set the back porch and front porch
    WriteRegister(0x09,0x0000);  // set non-display area refresh cycle ISC[3:0]
    WriteRegister(0x0A,0x0000);  // FMARK function
    WriteRegister(0x0C,0x0000);  // RGB interface setting
    WriteRegister(0x0D,0x0000);  // Frame marker Position
    WriteRegister(0x0F,0x0000);  // RGB interface polarity

//  Power On Sequence //
    WriteRegister(0x10,0x0000);  // SAP, BT[3:0], AP, DSTB, SLP, STB
    WriteRegister(0x11,0x0007);  // DC1[2:0], DC0[2:0], VC[2:0]
    WriteRegister(0x12,0x0000);  // VREG1OUT voltage
    WriteRegister(0x13,0x0000);  // VDV[4:0] for VCOM amplitude
    Delayms(100);

    WriteRegister(0x10,0x1690);  // SAP, BT[3:0], AP, DSTB, SLP, STB
    WriteRegister(0x11,0x0227);  // DC1[2:0], DC0[2:0], VC[2:0]
    Delayms(50);
    WriteRegister(0x12,0x000c);
    Delayms(50);
    WriteRegister(0x13,0x0800);   //0X1A
    WriteRegister(0x29,0x0011);
    WriteRegister(0x2b,0x000b);
    Delayms(50);
                         

//Adjust the Gamma curve//
    WriteRegister(0x30,0x0000);
    WriteRegister(0x31,0x0106);
    WriteRegister(0x32,0x0000);
    WriteRegister(0x35,0x0204);
    WriteRegister(0x36,0x160a);
    WriteRegister(0x37,0x0707);
    WriteRegister(0x38,0x0106);
    WriteRegister(0x39,0x0706);
    WriteRegister(0x3c,0x0402);
    WriteRegister(0x3d,0x0c0f);

//--------- set GRAM area -----------   
    WriteRegister(0x50,0x0000);  //Horizontal RAM Address Position start
    WriteRegister(0x51,0x00ef);  //Horizontal RAM Address Position end
    WriteRegister(0x52,0x0000);  //Vertical RAM Address Position start
    WriteRegister(0x53,0x013f);  //Vertical RAM Address Position end       
    WriteRegister(0x20,0x0000);  //Set horizontal address
    WriteRegister(0x21,0x0000);  //Set vertical address
 
    WriteRegister(0x60,0x2700);
    WriteRegister(0x61,0x0001);
    WriteRegister(0x6a,0x0000);
   
   // Partial display control //
    WriteRegister(0x80,0x0000);
    WriteRegister(0x81,0x0000);
    WriteRegister(0x82,0x0000);
    WriteRegister(0x83,0x0000);
    WriteRegister(0x84,0x0000);
    WriteRegister(0x85,0x0000);

// Panel control //
    WriteRegister(0x90,0x0010);
    WriteRegister(0x92,0x0600);

    WriteRegister(0x07,0x0133);  //display on
   
    // write display data
   // WriteRegister(0x20,0x0000);  //Set horizontal address
   // WriteRegister(0x21,0x0000);  //Set vertical address
   // WriteIndex(0x00,0x22);  //write data to GRAM
}



    void LCD_ExitSleep_ILI9331()
  {
    WriteRegister(0x10,0x0080);  //
    WriteRegister(0x11,0x0000);  //
    WriteRegister(0x12,0x0000);  //
    WriteRegister(0x13,0x0000);  //
    Delayms(200);
    WriteRegister(0x10,0x1690);  //
    WriteRegister(0x11,0x0227);  //
    Delayms(50);
    WriteRegister(0x12,0x000C);  //
    Delayms(50);
    WriteRegister(0x13,0x0800);  //
    WriteRegister(0x29,0x0011);  //
    Delayms(50);
    WriteRegister(0x07,0x0133);  //
 
 
  }

  void LCD_EnterSleep_ILI9331()
  {
    WriteRegister(0x07,0x0131);  //
    Delayms(10);
    WriteRegister(0x07,0x0130);  //
    Delayms(10);
    WriteRegister(0x07,0x0000);  // display off
   //power off sequence
    WriteRegister(0x10,0x0080);  //
    WriteRegister(0x11,0x0000);  //
    WriteRegister(0x12,0x0000);  //
    WriteRegister(0x13,0x0000);  //
    Delayms(200);
    WriteRegister(0x10,0x0082);  //
 
  }


Below is what I posted else where about issues and tests I have done.

Well here is a tested look at the new NON PAW Print Dingoo A320 I will first start with the Applications and the default
emulators the dingoo comes with and move on from there to Community made emulators.

1. Went into applications picked Mushroom Roulette played once exited and went to play again the A320 freezes in game list.
   Tried again same result so Mushroom Roulette does not work on the new non paw print A320.

2. Went into applications picked SameGoo played two levels and exited then went to again SameGoo loaded again with no problems
   and no freezing.

3. Went into applications picked a Dingoo Game Nose Breaker played two rounds and exited then went to again NoseBreaker
   loaded again with no problems and no freezing.

4. Went to GooPlayer picked a *.Ogg file played and went to select another program freezes. Also hard reset and went into
   GooPlayer again and exited freezes in the app/game list selection window.

After Playing all the Dingoo native emulators none of them locked up or froze on me.

although GBC.SIM did lock up several times but that is a 760 ported emulator...

Ok now on to the Community made emulators first up is drum roll please...

LynGOO.SIM

1. Loaded up Chopper.lnx played a round or two exited went to load it again froze in game list.
2. Lodead up Frogger.lnx played a round or two exited went to load it again froze in game list.

ColeCOO.SIM

1. Loaded up Wrongway.col played a round or two exited went into game again no problems works
2. Then loaded kevtris.col played a round or two exited went into game again no problems works

So ding ding one round that actually the emulator works and doesn't freeze up


GNUBOY.SIM

1. Loaded up a Gameboy game Adjustris.gb played a round or two exited went to load it again froze in game list.

2. Loaded up a Gameboy game boxing.gb Loaded up the Gameboy game

3. Loaded up a GameBoy Color Game CrazyZone.GBC played a round or two exited went to load it again froze in game list.

4. Loaded up a GameBoy Color Game Whackemon.gbc played a round or two exited went to load it again froze in game list.


SmsGGOO.SIM

1. Loaded up a SMS Game BlockHead.sms played a round or two exited went to load it again froze in game list.

2. Loaded up a SMS Game Robbyie.sms played a round or two exited went to load it again froze in game list.

3. Loaded up a Game Gear Tween.gg played a round or two exited went to load it again froze in game list.

4. Loaded up a Game Gear Columns played a round or two exited went to load it again froze in game list.

DOOENGINE.SIM

1. Loaded up a PCE Game Pacu.pce played a round or two exited went to load it again froze in game list.

2. Loaded up a PCE Game Centipide.pce played a round or two exited went to load it again froze in game list.

This concludes our broadcasting day of the dreaded dingoo a320 with no paw print and how it locks up and freezes and requires a
hard rest.
 

 

Post a new topic