From: Lukas Krickl Date: Sun, 19 Jan 2025 06:34:57 +0000 (+0100) Subject: sections: Renamed sections to more style apropriate names X-Git-Url: https://git.krickl.dev/?a=commitdiff_plain;h=5e7bdc21c3f1489b66ef8364a8c2dc6611e8e1ed;p=gbrg%2F.git sections: Renamed sections to more style apropriate names --- diff --git a/src/main.s b/src/main.s index c09a04e..98b16aa 100644 --- a/src/main.s +++ b/src/main.s @@ -7,13 +7,15 @@ #include "hram.s" #include "sram.s" -.section GbPrgRom +.section boot .org 0x0 #include "jmp.inc" .fill 0, 0x100 - $ #include "header.inc" +.section prgrom + entry: ld sp, STACK_BEGIN call disableinterrutpts diff --git a/src/mapram.s b/src/mapram.s index 2a74de9..4c9ad87 100644 --- a/src/mapram.s +++ b/src/mapram.s @@ -1,4 +1,4 @@ -.section GbWorkRam +.section wram #define MAPRAM 0xD000 diff --git a/src/wram.s b/src/wram.s index c71a165..9260436 100644 --- a/src/wram.s +++ b/src/wram.s @@ -1,4 +1,4 @@ -.section GbWorkRam +.section wram #define WRAM 0xC000 #define WRAMLEN 0xFFF