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
Search found 7 matches
- Mon Feb 14, 2022 4:19 pm
- Forum: Programming
- Topic: Global Constants in 4k+4k
- Replies: 8
- Views: 2920
Re: org $80
Thanks.
Re: org $80
Thanks for the info.
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
What does it mean at the begin of the code (atari 2600)
org $80
org $f000
or at the end
rorg $FFFA
thanks
- 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.
Thanks for help me to understand.
- 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?
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?
- 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.
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.