I think tcc65816 provided with Snes SDK has its own version of wla which has been modified to work with it :
I would like to upgrade wla (version 9.4) to the latest 9.8.
I tried to compile a simple hello_world (i saw that parameters change) but i get this error :
wla-65816 -v -o hello_world.obj hello_world.asm
hello_world.asm:53: DIRECTIVE_ERROR: ROM banks == 8, selected bank 127.
hello_world.asm:53: ERROR: Couldn't parse "ram.data".
"make": *** [hello_world.obj] Error 1
asm file generated is like that, it seems to be the same that we get it in old version of wla dx :
Code: Select all
.include "hdr.asm" .accu 16 .index 16 .16bit .define __main_locals 0 .section ".text_0x0" superfree main: .ifgr __main_locals 0 tsa sec sbc #__main_locals tas .endif jsr.l consoleInit pea.w (0 * 256 + 1) sep #$20 rep #$20 jsr.l setMode pla sep #$20 lda #1 pha rep #$20 jsr.l bgSetDisable tsa clc adc #1 tas sep #$20 lda #2 pha rep #$20 jsr.l bgSetDisable tsa clc adc #1 tas jsr.l setScreenOn __local_0: jsr.l WaitForVBlank bra __local_0 lda.w #0 sta.b tcc__r0 __local_1: .ifgr __main_locals 0 tsa clc adc #__main_locals tas .endif rtl .ends .ramsection "ram.data" bank $7f slot 3 __local_dummy.data dsb 1 .ends .section ".data" superfree __local_dummy.data: .db 0 .ends .section ".rodata" superfree __local_dummy.rodata: .db 0 .ends .ramsection ".bss" bank $7e slot 2 __local_dummybss dsb 1 .ends
Do you have any informations on how to solve it ?
edit : has been solved today by wla dx developer, it was a bug