Search found 7 matches

by boriskarloff
Mon Feb 14, 2022 4:19 pm
Forum: Programming
Topic: Global Constants in 4k+4k
Replies: 8
Views: 2920

Global Constants in 4k+4k

Atari 2600
Switch banking 4k+4k

I declare some constants in the Bank 0.
I need to use them, even, in the Bank 1.
Is it possibile to declare them only once in the Bank 0?
Because if I declare again in the Bank 1, it is necessary to change their name.

Thanks
by boriskarloff
Sun Jan 30, 2022 1:13 am
Forum: Newbies
Topic: org $80
Replies: 4
Views: 1170

Re: org $80

Thanks.
by boriskarloff
Tue Jan 25, 2022 11:53 pm
Forum: Newbies
Topic: org $80
Replies: 4
Views: 1170

Re: org $80

Thanks for the info.
by boriskarloff
Tue Jan 25, 2022 2:25 am
Forum: Newbies
Topic: org $80
Replies: 4
Views: 1170

org $80

Hi.
What does it mean at the begin of the code (atari 2600)

org $80
org $f000
or at the end
rorg $FFFA

thanks
by boriskarloff
Sun Nov 14, 2021 2:04 pm
Forum: Programming
Topic: JSR problem on Atari 2600
Replies: 4
Views: 770

Re: JSR problem on Atari 2600

Ok I have understood the problem. In previous code I used TXS / TSX.
Thanks for help me to understand.
by boriskarloff
Sun Nov 14, 2021 1:44 pm
Forum: Programming
Topic: JSR problem on Atari 2600
Replies: 4
Views: 770

Re: JSR problem on Atari 2600

Thanks for the reply. I'll try to understand all that you write me.
For now, I am watching Stella in debugger mode. Yes the SP address, uses address used for store other things.
Must I set the SP to $FF? The $FF memory address is not the default address for it?
by boriskarloff
Sun Nov 14, 2021 1:05 pm
Forum: Programming
Topic: JSR problem on Atari 2600
Replies: 4
Views: 770

JSR problem on Atari 2600

Hi, I am programming on Atari 2600. There is a problem is driving me crazy.
When I use JSR instruction, the return addres is written in memory location assigned for other things and not in the SP.
This create bugs.
Is there some reason for this?
Thanks.