A message from our CEO about the future of Stack Overflow and Stack Exchange. Read now.

New answers tagged

3

(Caveat: This is from memory with a quick peek into the manual. So some reply after trying it might be useful.) TL;DR; Fill it Try fill=yes (*1) for the memory area of MAIN and make HIMEMSEG overwrite the area you added: MEMORY { ZP: file = "", start = $0002, size = $00FE, define = yes; LOADADDR: file = %O, start = %S - 2, size = $...


2

Look at phase/dephase directives (also known as rorg/rend) - e.g. in the vasm manual. The whole code should like: org real_entry_point entry_point: ... align 2 rorg RAM_BEGIN cool_routine ... (will be assembled for "org RAM_BEGIN", but stored immediately after previous code) rend


Top 50 recent answers are included