made Position line, col, endcol all 1-based

added a precise (but slow) back face culling routine to the cobra-mk3 example
This commit is contained in:
Irmen de Jong
2025-11-04 21:41:25 +01:00
parent c353dd40bf
commit bc8ba252a5
13 changed files with 260 additions and 219 deletions

View File

@@ -451,7 +451,7 @@ class AsmGen6502Internal (
if(line.length>=4 && invalid.matchesAt(line, 0)) {
errors.err(
"invalid assembly instruction used (not compatible with the 65816 CPU): ${line.trim()}",
Position("<output-assemblycode>", index, 1, 1)
Position("~output-assemblycode~", index+1, 1, 1)
)
}
}