6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Thu Nov 21, 2024 8:11 pm

All times are UTC




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
Author Message
 Post subject: [142.1] help me
PostPosted: Sun Dec 30, 2001 11:58 pm 
hi my name is murat.from turkey.
i educate at marmara university and i need help about programming 6502. i have to deliver my project given by an assistant at university.
subject:make a walking writing program by using 16 characters.
IF U HELP ME OR NOT, I LL BE HAPPY ...
e-mail:pitchmeup@yahoo.com..


Report this post
Top
  
Reply with quote  
 Post subject: [142.2] help me
PostPosted: Wed Jan 02, 2002 10:47 pm 
Offline
User avatar

Joined: Fri Aug 30, 2002 9:02 pm
Posts: 1748
Location: Sacramento, CA
HI

Help me to understand your project a little more:

By "walking writing" do you mean a display of 16 characters which has a message scolling across it?

Also, what kind of input/output devices will you use (or at what are the parameters for these devices)

As an overview, if my asumption is correct, you will have to store the text to a memory location with a null terminator (unless the message will always be exactly 16 characters.

Next, use the x (or y) register to index the text. By adjusting the starting value of x, you can start your message with a different letter. You will of course have to account for the scrolling speed and direction as well.

Give me more details and I'd be glad to HELP. I won't write your code but I can help give you some direction.

Daryl

_________________
Please visit my website -> https://sbc.rictor.org/


Report this post
Top
 Profile  
Reply with quote  
 Post subject: [142.3] help me
PostPosted: Thu Jan 03, 2002 2:07 am 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8543
Location: Southern California
Quote:
you will have to store the text to a memory location with a null terminator (unless the message will always be exactly 16 characters.

Another commonly used option is to start the string with a byte (or pair of bytes) telling the length. With the common intelligent character LCD modules, character $00 can be one of up to eight user-defined characters where you actually tell the LCD module which dots to turn on for that character.

For newcomers: The "help me" plea comes across this forum regularly. As Daryl says, we really need the person requesting the help to be more specific. I replied to Murat privately, but have not heard from him again. Being at a school in Turkey, perhaps he does not have daily access to E-mail. [Edit, 12/22/21: I added some tips on how to get forum help, in the second half of the 6502 primer's page about general steps for a successful project, at http://wilsonminesco.com/6502primer/steps.html, after the heading "Getting help on the 6502.org forum:"]

Garth

_________________
http://WilsonMinesCo.com/ lots of 6502 resources
The "second front page" is http://wilsonminesco.com/links.html .
What's an additional VIA among friends, anyhow?


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 39 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: