6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Tue May 07, 2024 9:30 pm

All times are UTC




Post new topic Reply to topic  [ 26 posts ]  Go to page 1, 2  Next
Author Message
PostPosted: Fri Nov 21, 2008 3:28 pm 
Offline

Joined: Fri Nov 21, 2008 3:07 pm
Posts: 31
Hi, Lisent here my problem i have to create a lil program but i dont know how
i know some of 6502 program because im working a bit with it but i visit this forum desperate because i need the help with this thing: A teacher told me to make a program doing this parameters

Create a Program that can move 1 bit right to left and left to right in a velocity of 10 secs and you display on screen


the program is 6502 :?:


Can anyone do it? because im new i dont have a clue of doing it thank you


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Fri Nov 21, 2008 5:20 pm 
Offline

Joined: Sat Jan 04, 2003 10:03 pm
Posts: 1706
It is a standing policy of this board and its members to not complete the homework of students. I'm sorry, you'll need to derive the solution yourself.


Top
 Profile  
Reply with quote  
 Post subject: Didnt know that
PostPosted: Fri Nov 21, 2008 5:31 pm 
Offline

Joined: Fri Nov 21, 2008 3:07 pm
Posts: 31
Ok but can u give me at least a tip to start? im not good making these things but i have base of how to creat it.


Top
 Profile  
Reply with quote  
 Post subject: Material
PostPosted: Fri Nov 21, 2008 5:45 pm 
Offline

Joined: Fri Nov 21, 2008 3:07 pm
Posts: 31
Dont you guys have material related to my problem some Examples or something i could star with?


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Fri Nov 21, 2008 6:39 pm 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8432
Location: Southern California
You don't give us enough to go on. The 6502 instructions to shift bits right and left are LSR and ASL; but if you're supposed to make a dot or square or something move back and forth on a screen, then depending on what your display type needs to be fed with, then the LSR and ASL might be rather irrelevant. To be a good programmer, you'll have to be a lot more detail-oriented. Although we won't just drop the turnkey solution in your lap, we can give you more guidance to develop your own solution if you give more details.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Fri Nov 21, 2008 7:00 pm 
Offline

Joined: Fri Nov 21, 2008 3:07 pm
Posts: 31
thats all i got for know that was the teacher told me, he teach about LSR and ASL but i didnt understand a thing

He said

Make a program that move a bit right to left and left to right in a Velocity of 10 seg and can be desplayed on the Screen that all i got.

im thinking and still not getting it.. Thats why i require help. cant do it my own im sure of that im not in the 6502 much.


Top
 Profile  
Reply with quote  
 Post subject: Square
PostPosted: Sat Nov 22, 2008 3:50 am 
Offline

Joined: Fri Nov 21, 2008 3:07 pm
Posts: 31
I can use any kinda a of bit Can be a Number a Dot or Circle


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Sat Nov 22, 2008 4:45 am 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8432
Location: Southern California
Most of the issue is how to display it, and that depends on the display hardware and firmware which you haven't told us anything about.


Top
 Profile  
Reply with quote  
 Post subject: Hum
PostPosted: Sat Nov 22, 2008 7:29 am 
Offline

Joined: Fri Nov 21, 2008 3:07 pm
Posts: 31
I dont know much i only us e a program for it 6502 is the name dont know of Firmware of hardware too sorry

I only can use the programs


Top
 Profile  
Reply with quote  
 Post subject: I need help pleas
PostPosted: Sun Nov 23, 2008 2:22 pm 
Offline

Joined: Fri Nov 21, 2008 3:07 pm
Posts: 31
i have to move a square right to left and left to fight in 10 sec and display on screen

Lda $#0200
Sta

like that! Firmware no hardware


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Sun Nov 23, 2008 4:49 pm 
Offline

Joined: Fri Jun 27, 2003 8:12 am
Posts: 618
Location: Meadowbrook
Why not take your bit, rotate it as suggest previously and use a delay loop for your time delay? you need to set for screen after, that will get only 8 steps so you should shit the bit across multiple screen locations in a smooth scroll.

_________________
"My biggest dream in life? Building black plywood Habitrails"


Top
 Profile  
Reply with quote  
 Post subject: Thanks
PostPosted: Sun Nov 23, 2008 5:23 pm 
Offline

Joined: Fri Nov 21, 2008 3:07 pm
Posts: 31
im not getting it, for me this is a hard thing to do never thought this is gone be so hard to do

thanks anyway but this is one hard language i do not understand.

Sorry

ill ask someone around to do it. never see this so hard.

Thanks all of you for the help.


Top
 Profile  
Reply with quote  
 Post subject: Sorry
PostPosted: Sun Nov 23, 2008 5:25 pm 
Offline

Joined: Fri Nov 21, 2008 3:07 pm
Posts: 31
Im not good in micro


thats all. Thanks you Very much


Top
 Profile  
Reply with quote  
 Post subject: Re: Sorry
PostPosted: Sun Nov 23, 2008 9:11 pm 
Offline

Joined: Mon Oct 16, 2006 8:28 am
Posts: 106
Amenofhis wrote:
Im not good in micro


thats all. Thanks you Very much


Don't worry, the 6502 is quite easy to learn (I taught myself when I was 14, I'm sure most of the old timers here have similar stories). I would start by downloading the 6502 family programming manual from the chip manufacturer's website. The book starts off with a tutorial section that should help you out; http://www.65xx.com/wdc/documentation/Programmanual.pdf. Also do a web search for tutorials for the Apple II, Atari 400 or 800, BBC Model B and Commodore 64. Those were extremely popular computers back in the 80s, they all use 6502 variants and there are still people who program them for fun. The old school cartridge Nintendos (commonly called NES) also had 6502s in them and also still have an active "homebrew scene". All this should give you enough information to get started on.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Sun Nov 23, 2008 11:47 pm 
Offline

Joined: Sun Nov 23, 2008 2:33 pm
Posts: 12
Nightmaretony wrote:
shit the bit across multiple screen locations in a smooth scroll.


I'm sure you mean SHIFT the bit :) :) :)

Phill.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 26 posts ]  Go to page 1, 2  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 5 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: