diff options
| -rw-r--r-- | basics/chr-ram.s | 11 | ||||
| -rw-r--r-- | basics/unrom.s | 9 |
2 files changed, 20 insertions, 0 deletions
diff --git a/basics/chr-ram.s b/basics/chr-ram.s index 9c29ac1..20e1b30 100644 --- a/basics/chr-ram.s +++ b/basics/chr-ram.s @@ -32,11 +32,22 @@ chr: .incbin "../assets/basic.chr" .segment "BANK1" +.byte $00 + .segment "BANK2" +.byte $00 + .segment "BANK3" +.byte $00 + .segment "BANK4" +.byte $00 + .segment "BANK5" +.byte $00 + .segment "BANK6" +.byte $00 ;;; ;; Just like in the `basics/unrom.s` example, we use the fixed bank for the core diff --git a/basics/unrom.s b/basics/unrom.s index c6e9fd8..b6deb4d 100644 --- a/basics/unrom.s +++ b/basics/unrom.s @@ -69,10 +69,19 @@ hello_bank1: ;; The rest of the banks are simply not used by this example. .segment "BANK2" +.byte $00 + .segment "BANK3" +.byte $00 + .segment "BANK4" +.byte $00 + .segment "BANK5" +.byte $00 + .segment "BANK6" +.byte $00 ;;; ;; And the following code is "fixed". That is, it is stored at $C000-$FFFF, |
