Jump to content



3

Session 12: Initialisation


34 replies to this topic

#26 detays OFFLINE  

detays

    Combat Commando

  • 4 posts

Posted Sun Jan 27, 2008 12:26 PM

View PostWickeycolumbus, on Sat Jan 26, 2008 6:59 PM, said:

View Postdetays, on Sat Jan 26, 2008 5:05 AM, said:

Hello,
I have tested this code using DASM and Stella but there is something that I don't understand. I've got light orange lines at the begining of the picture and at the end. I also used Z26 and these line remained the same. Is it normal ?
PS Sorry for my quite bad english, I hadn't practiced for a while ...

There are probably timing issues with your code. post it so i can try to help you.

BTW: Your english is fine :)
I have used the code of the post #2 . I guess, I have to adjust "SLEEP".
In fact "sleep" manage another effect ...

Edited by detays, Mon Jan 28, 2008 12:05 PM.


#27 kamakazi OFFLINE  

kamakazi

    Moonsweeper

  • 339 posts
  • Location:Moberly, Missouri

Posted Wed Mar 26, 2008 3:45 AM

I am just loving this! I'm actually able to learn assembly after years of being stuck with BASIC...and it's for the 2600! If it's alright with Andrew...I might use this code in the start of my first game program for the 2600. I like it...it's clean.

Also...would doing away with all of the spaces between lines in an assembly source code be ok...or are the spaces there for a reason? Can't wait to see how to do sprites and sounds! ON TO THE NEXT LESSON!

#28 Andrew Davie OFFLINE  

Andrew Davie

    Stargunner

  • 1,314 posts
  • Location:Tasmania

Posted Wed Mar 26, 2008 5:43 AM

View Postkamakazi, on Wed Mar 26, 2008 7:45 PM, said:

I am just loving this! I'm actually able to learn assembly after years of being stuck with BASIC...and it's for the 2600! If it's alright with Andrew...I might use this code in the start of my first game program for the 2600. I like it...it's clean.

Also...would doing away with all of the spaces between lines in an assembly source code be ok...or are the spaces there for a reason? Can't wait to see how to do sprites and sounds! ON TO THE NEXT LESSON!

Go for it, make a fortune!
The spaces between lines are purely a style issue. I have it, you don't... yet ;)
Remove those, if you wish.

Cheers
A

#29 kamakazi OFFLINE  

kamakazi

    Moonsweeper

  • 339 posts
  • Location:Moberly, Missouri

Posted Wed Mar 26, 2008 8:28 PM

I may be new to 2600 and assembly...but I'm no newcomer to programming. I just like to try and keep instructions nice. This was taught to me in high school while learning BASIC and in college using COBOL.

I know that I'm getting off the subject here, but I did create my first Atari 8-bit program on my 800. I tried submitting it to make my mark in Atari's history. They loved my game! But the guy (who was an ex-atari programmer) was supposed to try and add some "better" graphics...there's only so much you can do with BASIC in any form I guess. However, he became ill and may not be able to finish "our" program. My question is what equipment will I need to start producing my own carts for testing and final production. I would love to be able to continue supporting what it is that Atari Age is doing as well as some other websites.

I can also say that, despite the 2600s prehistoric faults, the machine is actually quite impressive on how it handles code.

A few more questions:

Is there a free assembler editor (using windows notepad now)?
And do you know where I could find a programming manual for the 2600?


Thankx Andrew. When do we dig into the 5200 or 7800?

#30 SeaGtGruff OFFLINE  

SeaGtGruff

    River Patroller

  • 4,547 posts
  • Location:Georgia, USA

Posted Wed Mar 26, 2008 10:19 PM

View Postkamakazi, on Wed Mar 26, 2008 10:28 PM, said:

Is there a free assembler editor (using windows notepad now)?
And do you know where I could find a programming manual for the 2600?
Are you on Windows? If so, you might want to check out Crimson Editor (www.crimsoneditor.com). I use it with batari Basic and assembly.

Michael

#31 kamakazi OFFLINE  

kamakazi

    Moonsweeper

  • 339 posts
  • Location:Moberly, Missouri

Posted Thu Mar 27, 2008 12:06 AM

Thank you for that information. It's good to know that people are still out there willing to help others.

On a sad note...my Atari 2600 finally died today. I've had since it was bought new for me on Christmas back in 1980. It hasn't had a scatch on it. Other than ebay and amazon...is there anywhere else I might could look to buy another one?

#32 SeaGtGruff OFFLINE  

SeaGtGruff

    River Patroller

  • 4,547 posts
  • Location:Georgia, USA

Posted Thu Mar 27, 2008 12:51 AM

View Postkamakazi, on Thu Mar 27, 2008 2:06 AM, said:

is there anywhere else I might could look to buy another one?
http://atariace.com

Michael

#33 Wickeycolumbus OFFLINE  

Wickeycolumbus

    River Patroller

  • 4,064 posts
  • Location:Michigan

Posted Thu Mar 27, 2008 11:49 AM

View Postkamakazi, on Thu Mar 27, 2008 2:06 AM, said:

Thank you for that information. It's good to know that people are still out there willing to help others.

On a sad note...my Atari 2600 finally died today. I've had since it was bought new for me on Christmas back in 1980. It hasn't had a scatch on it. Other than ebay and amazon...is there anywhere else I might could look to buy another one?

what happened to your 2600? it might be fixable.

#34 Wickeycolumbus OFFLINE  

Wickeycolumbus

    River Patroller

  • 4,064 posts
  • Location:Michigan

Posted Thu Mar 27, 2008 12:32 PM

Hey Andrew, I know that it is kind of late for this, but can you do a session on joystick and paddle input and maybe one on bank switching? I would really apericiate it because I am doing vertical and horizontal positioning right now, and would like to control the sprite with a joystick.
Thanks.

Edited by Wickeycolumbus, Thu Mar 27, 2008 12:37 PM.


#35 kamakazi OFFLINE  

kamakazi

    Moonsweeper

  • 339 posts
  • Location:Moberly, Missouri

Posted Thu Mar 27, 2008 1:28 PM

Well...I did some testing on my 2600 (Mine was the sixer) and the power supply wasn't supplying. Good thing I have extra's on hand! But that didn't work. I ran tests on all the major parts (mainly ICs). The weird thing is...as soon as I plug in different adapter...they are somehow being shorted out. I've had this happen before with my 800. I think that the 2600 suffered a power surge...as I usually don't keep these older consoles on a power surge protector. Leason well learned. Keep your Atari consoles on a power surge.

And thanks for the link...I'll check it out. Too bad there's not a place that sells these new (mainly the 2600jr).




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users