A game with LEDS in assembly

Reply

Join Date: Jan 2009
Posts: 3
Reputation: athtsa is an unknown quantity at this point 
Solved Threads: 0
athtsa athtsa is offline Offline
Newbie Poster

A game with LEDS in assembly

 
0
  #1
Jan 28th, 2009
Sorry for my English firstly!
I have the below project to do in assembly language!I don't know Assembly and i would like if anyone has the time to help me!
It's a project from my school and it must be done!
I would appreciate any helpful information!
I look forward to your responses...Thank you very much!
To avoid confusions i want a basic plan for my code....
Thank you!
Two lines from 4 greens leds in that are presented successively combinations with most leds lighting. The non lighting leds in a line they create corridors. The green lines scroll down under in regular time intervals (ph, 1 sec). One from the 4 red leds in a third line is open showing the place of player. The player should be moved in place that one green led is close from the line that is above before the next scroll down. Two switches move the place of player left or right. If it is not stepped the player will remain in his place. If the player is already in the finish to a direction and is pressed the key of this direction does not change nothing. If it does not enter in the right place the player (under in one open led) the game finishes with all red led they blink until is interrupted the catering.
Last edited by athtsa; Jan 28th, 2009 at 2:11 pm.
Reply With Quote Quick reply to this message  
Join Date: Dec 2005
Posts: 5,851
Reputation: Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute 
Solved Threads: 749
Team Colleague
Salem's Avatar
Salem Salem is offline Offline
Void main'ers are DOOMed

Re: A game with LEDS in assembly

 
0
  #2
Jan 28th, 2009
Are these real LEDs, or just red and green circles drawn on the screen of your PC.
Reply With Quote Quick reply to this message  
Join Date: Jan 2009
Posts: 3
Reputation: athtsa is an unknown quantity at this point 
Solved Threads: 0
athtsa athtsa is offline Offline
Newbie Poster

Re: A game with LEDS in assembly

 
0
  #3
Jan 28th, 2009
they are red,green circles drawn in my screen.
Reply With Quote Quick reply to this message  
Join Date: Dec 2005
Posts: 5,851
Reputation: Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute 
Solved Threads: 749
Team Colleague
Salem's Avatar
Salem Salem is offline Offline
Void main'ers are DOOMed

Re: A game with LEDS in assembly

 
0
  #4
Jan 28th, 2009
Sounds like a good place to start.
- something to put a coloured pixel on screen
- something to put many coloured pixels on screen resembling a LED.

Then go from there.
Reply With Quote Quick reply to this message  
Join Date: Jan 2009
Posts: 3
Reputation: athtsa is an unknown quantity at this point 
Solved Threads: 0
athtsa athtsa is offline Offline
Newbie Poster

Re: A game with LEDS in assembly

 
0
  #5
Jan 28th, 2009
Basically i would like to do it with Z80...I will use PIO and CTC...
I can't understand what are you said...
It's more a pseudocode....
Reply With Quote Quick reply to this message  
Join Date: Dec 2005
Posts: 5,851
Reputation: Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute 
Solved Threads: 749
Team Colleague
Salem's Avatar
Salem Salem is offline Offline
Void main'ers are DOOMed

Re: A game with LEDS in assembly

 
0
  #6
Jan 28th, 2009
> Basically i would like to do it with Z80...I will use PIO and CTC...
Well I'm confused as well, since I thought you wanted to do this on your PC.

Doing asm on a Z80 is very different from the x86 (a guess) on your PC.
There are no assumptions, the detail is everything.
Last edited by Salem; Jan 28th, 2009 at 4:57 pm.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Other Threads in the Assembly Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC