Video display modes: Difference between revisions
Content added Content deleted
Puppydrum64 (talk | contribs) |
Puppydrum64 (talk | contribs) m (→Apple II) |
||
Line 12: | Line 12: | ||
For the following, the value stored to these memory locations does not matter. It is the mere act of writing to them that causes the Apple II to change modes. You can read from them as well to do the same, but there's really no reason to do so, as both <code>LDA $????</code> and <code>STA $????</code> both take 4 clock cycles, and you've only got 3 registers you can use so there's no sense in wiping the accumulator with a garbage value that has no actual meaning. |
For the following, the value stored to these memory locations does not matter. It is the mere act of writing to them that causes the Apple II to change modes. You can read from them as well to do the same, but there's really no reason to do so, as both <code>LDA $????</code> and <code>STA $????</code> both take 4 clock cycles, and you've only got 3 registers you can use so there's no sense in wiping the accumulator with a garbage value that has no actual meaning. |
||
{{trans|Applesoft BASIC}} |
|||
* Change to text mode:<code>STA $C050</code> |
|||
* Change to graphics mode:<code>STA $C051</code> |
|||
* |
* <code>STA $C050</code>:Change to text mode |
||
* |
* <code>STA $C051</code>:Change to graphics mode |
||
* <code>STA $C052</code>:Change to full screen (whatever mode you're "in" takes up the whole screen) |
|||
⚫ | |||
* <code>STA $C053</code>:Change to mixed screen (graphics mode is the majority of the screen, but there's 4 rows of text on the bottom) |
|||
⚫ | |||
* <code>STA $C054</code>:Display page 1 of video memory |
|||
* <code>STA $C055</code>:Display page 2 of video memory |
|||
⚫ | |||
⚫ | |||
===Nintendo Entertainment System=== |
===Nintendo Entertainment System=== |