added %option romable to enable romable mode, but only generate a bunch of warnings for problematic codegeneration atm

This commit is contained in:
Irmen de Jong
2025-02-20 23:39:29 +01:00
parent fb1e89d9ef
commit e55ce5504e
21 changed files with 94 additions and 115 deletions
@@ -21,6 +21,7 @@ class TestIRPeepholeOpt: FunSpec({
CompilationOptions.AllZeropageAllowed,
floats = false,
noSysInit = true,
romable = false,
compTarget = target,
loadAddress = target.PROGRAM_LOAD_ADDRESS,
memtopAddress = 0xffffu
@@ -23,6 +23,7 @@ class TestVmCodeGen: FunSpec({
zpAllowed = CompilationOptions.AllZeropageAllowed,
floats = true,
noSysInit = false,
romable = false,
compTarget = target,
loadAddress = target.PROGRAM_LOAD_ADDRESS,
memtopAddress = 0xffffu