From 772ae5e0ba662ca0b75b51d29cf09f57e57f5d5a Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Thu, 23 Jan 2025 13:59:43 +0100 Subject: Don't leave segments empty MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Otherwise we will get a warning from nasm. Signed-off-by: Miquel Sabaté Solà --- basics/unrom.s | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'basics/unrom.s') 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, -- cgit v1.2.3