1
0
mirror of https://github.com/irmen/prog8.git synced 2025-03-13 20:30:39 +00:00

make 64tass less strict about implied register addressing modes on instructions like "asl"

This commit is contained in:
Irmen de Jong 2025-02-04 23:57:56 +01:00
parent 60554389b3
commit 8d2410622c
2 changed files with 5 additions and 4 deletions
codeGenCpu6502/src/prog8/codegen/cpu6502
docs/source

@ -32,7 +32,7 @@ internal class AssemblyProgram(
// CBM machines .prg generation.
val command = mutableListOf("64tass", "--ascii", "--case-sensitive", "--long-branch",
"-Wall", "--no-monitor", "--dump-labels", "--vice-labels", "--labels=$viceMonListFile")
"-Wall", "-Wno-implied-reg", "--no-monitor", "--dump-labels", "--vice-labels", "--labels=$viceMonListFile")
if(options.warnSymbolShadowing)
command.add("-Wshadow")
@ -77,7 +77,7 @@ internal class AssemblyProgram(
ProgramType.ATARIXEX -> {
// Atari800XL .xex generation.
val command = mutableListOf("64tass", "--case-sensitive", "--long-branch", "-Wall", "--no-monitor")
val command = mutableListOf("64tass", "--case-sensitive", "--long-branch", "-Wall", "-Wno-implied-reg", "--no-monitor")
if(options.warnSymbolShadowing)
command.add("-Wshadow")
@ -113,7 +113,7 @@ internal class AssemblyProgram(
throw AssemblyError("invalid program compilation options. Neo6502 requires %output raw, %launcher none, %address $0800")
}
val command = mutableListOf("64tass", "--case-sensitive", "--long-branch", "-Wall", "--no-monitor")
val command = mutableListOf("64tass", "--case-sensitive", "--long-branch", "-Wall", "-Wno-implied-reg", "--no-monitor")
if(options.warnSymbolShadowing)
command.add("-Wshadow")

@ -1,7 +1,8 @@
TODO
====
- diskio diskname / fileselector hangs or crashes on X16 when using drive 9 instead of 8
- diskio has a problem when running certain code when a not-connected drive number is selected, and when that is run in a hiram bank
(this is not a prog8 problem, see https://discord.com/channels/547559626024157184/629863245934755860/1336805196634001438)
- for creating libraries, something like %jmptable( block.func1, block.func2, ... ) could be useful to create a compact jump table, and possibly generating extsub definitions as well. Problem: directives cannot span multiple lines atm.