- Joined: 06 Sep 2015
- Posts: 263
- Location: United States
|
Posted: Tue May 08, 2018 8:59 am
|
So I guess the question now is how can I tell a bank to move into a certain slot then?
|
- Joined: 06 Sep 2015
- Posts: 263
- Location: United States
|
Posted: Tue May 08, 2018 9:02 am
|
Never mind. I figured it out.
.bank 1 slot 1 would tell bank 1 to be in slot 1.
The reason I was having trouble was I was trying to tell the game to use something when it wasn't in the correct place.
|
- Site Admin
- Joined: 19 Oct 1999
- Posts: 14690
- Location: London
|
Posted: Tue May 08, 2018 9:30 am
|
The bank directive tells the assembler which place to put the data (or code) in the ROM (which tape to record onto in the tape decks analogy), and the slot parameter (or directive) tells it where the data will be put at runtime (which tape deck). This part is important because the data at $10000 needs to be referred to with an address of $8000 at runtime (for slot 2).
|