diff options
| author | Miquel Sabaté Solà <mikisabate@gmail.com> | 2025-01-23 13:59:43 +0100 |
|---|---|---|
| committer | Miquel Sabaté Solà <mikisabate@gmail.com> | 2025-02-04 22:00:06 +0100 |
| commit | 772ae5e0ba662ca0b75b51d29cf09f57e57f5d5a (patch) | |
| tree | 37f963f55cce54b574e0304623c6811b3ae30c49 /basics/unrom.s | |
| parent | 0aefffacb5cb08202f7ba53b6e3b9a7303b1d66e (diff) | |
| download | code.nes-772ae5e0ba662ca0b75b51d29cf09f57e57f5d5a.tar.gz code.nes-772ae5e0ba662ca0b75b51d29cf09f57e57f5d5a.zip | |
Don't leave segments empty
Otherwise we will get a warning from nasm.
Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
Diffstat (limited to 'basics/unrom.s')
| -rw-r--r-- | basics/unrom.s | 9 |
1 files changed, 9 insertions, 0 deletions
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, |
