bss section in asmx
Posted: Fri Jun 11, 2010 8:28 am
Hello all,
i'm trying to convert my projects from snasm68k to asmx. Everything go smoothly, my only grip is regarding section (seg op). At the beginning of my code i have:
CPU 68000
seg Vars
org $ff0000 ; ram
seg M68kcode
org $0 ; rom
but when i assemble , the Vars section is assembled as a regular rom section. So it pad my rom to $ff0000 and my rom is more than 16mo :s:s
How can i define a bss section in asmx ???
i define my variables like this:
seg Vars
Game_Vars_Start
Game_State ds.b 1
Game_Vars_End
thanks in advance
edit: i compile using the following command:
"asmx cart.asx -b -e"
i'm trying to convert my projects from snasm68k to asmx. Everything go smoothly, my only grip is regarding section (seg op). At the beginning of my code i have:
CPU 68000
seg Vars
org $ff0000 ; ram
seg M68kcode
org $0 ; rom
but when i assemble , the Vars section is assembled as a regular rom section. So it pad my rom to $ff0000 and my rom is more than 16mo :s:s
How can i define a bss section in asmx ???
i define my variables like this:
seg Vars
Game_Vars_Start
Game_State ds.b 1
Game_Vars_End
thanks in advance
edit: i compile using the following command:
"asmx cart.asx -b -e"