Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12

Thread: My version of Girigiri emulator

  1. #11
    Controller Man ulaoulao's Avatar
    Join Date
    Dec 2005
    Location
    FL
    Posts
    3,391

    Default Re: My version of Girigiri emulator

    Both the front end and the main emulator are written in ASM ( assembly ). Very few people on this rock know ASM, and 10% of the ones that say they do actually do, and 1 % of that 10 like emulation. That leaves you with 67 thousand people or so. What potion of those people would come to this forum?

    Now say you found someone. Assuming you hav no idea how to code in asm.. Here is some of my work.. You tell me what looks readable.

    ASM
    Code:
    sbic 	PINx,SCKA//if its high we are not in the lead signal.
    	reti//not working
    
    	ldi	r25,0//stop timmer its good now..
    	sts PCICR,r25;
    	sts PCMSK1,r25;
    
    	sbis 	PINx,SCKA//find rising edge
    	rjmp PCINT1_vect
    
    	push r0
    	in r0,__SREG__
    
    	push r0				;SREG
    	push r18			;data
    	push r19			;count
    	push r26			;X
    	push r27
    C
    Code:
    static void sendData(unsigned char data)
    {// casting the 9 bits to 8, removes the first bit, the leading '1'
    
    	
    	for ( char loop=7;loop>=0;loop--)
    	{	
    		if ( (data >> loop) & 1 ) //its a 1
    		{
    			PORTC = oscilator; 
    			PORTC = 0x3f;	   // not needed but tesing for compatibility
    			PORTC = ~oscilator;// on the falling edge we will get a 1
    
    		}
    
    		else//its a 0
    		{
    			PORTC = oscilator;
    			PORTC = 0;// on the falling edge we will get a 0
    		}	
    		oscilator = ~oscilator;
    	}
    
    }
    Asm as you can see is not really code, its more like San-script vs english. Its one step above machine level code. My point being.. Your not going to find anyone to help you without the experience and same or greater level of passion. The best thing you can do is google source these files and send the link out to as many forms as you can think of in hopes someone will attempt it.
    Last edited by ulaoulao; April 13th, 2010 at 15:01.
    Original, the only way to play.

    Forums
    main page - Working controllers

  2. #12
    Board Addict Alexander_13's Avatar
    Join Date
    Nov 2005
    Age
    34
    Posts
    853

    Default Re: My version of Girigiri emulator

    I couldn't find the source code of girigiri but don't worry is legal now since 2003 http://en.wikipedia.org/wiki/GiriGiri , also in my version at tools ASM CODE folder there are 2 readme maybe that help you.
    Last edited by Alexander_13; April 13th, 2010 at 15:32.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •