make sram section absolute
authorTobias Girstmair <tobi@isticktoit.net>
Sun, 2 May 2021 14:41:09 +0000 (16:41 +0200)
committerTobias Girstmair <tobi@isticktoit.net>
Sun, 2 May 2021 14:41:09 +0000 (16:41 +0200)
since the note selection code depends on absolute addresses, make it
explicit. this doesn't change anything in the output.

bsv.asm

diff --git a/bsv.asm b/bsv.asm
index ebda8208335cd9b9c35113a20540ebf56aeb302a..5401d6476482312daa3230b4b7d8662e9d9ebaca 100644 (file)
--- a/bsv.asm
+++ b/bsv.asm
@@ -3,7 +3,7 @@
 .word ( 0x0260 | 1<<0 | 5<<2 | 1<<7 | 3<<10 )
 ; reserved_bits | security_off | lvr_1v8 | io_drv_norm | boot_fast
 
-.area OSEG (OVR,DATA)
+.area OSEG (ABS,OVR,DATA)
 notes: .ds 16  ; 0x00 .. 0x0f
 i0: .ds 1      ; 0x10
 i1: .ds 1      ; 0x11
Imprint / Impressum