drogon wrote:
Just assemble it for the '816 - mostly to make sure it's not using the few instructions that are in the C02 that are not in the '816. (that tripped me up initially with some of my own code when I moved the the '816).
It won't take advantage of any '816 extra op-codes though, but it will work in Bank 0.
-Gordon
Thanks. I'm trying several TASS versions and my results are that I could only compile the source "as is" with 64tass1.46-r38, and leaving out basldsv.asm, because of errors:
WITH .include basldsv.asmCode:
S:\Proyecto Ordenador\EhBASIC>..\64tass-1.46-r38\64tass_1.46_r38.exe -x -W basic222.asm -o ehbasic.out
6502/65C02 Turbo Assembler Version 1.3 Copyright (c) 1997 Taboo Productions
6502/65C02 Turbo Assembler Version 1.35 ANSI C port by [BiGFooT/BReeZe^2000]
6502/65C02/65816/CPU64/DTV TASM Version 1.46 r38 Fixing by Soci/Singular 2001-2010
64TASS comes with ABSOLUTELY NO WARRANTY; This is free software, and you
are welcome to redistribute it under certain conditions; See LICENSE!
Assembling file: basic222.asm
basldsv.asm:13: (basic222.asm:22) Not defined print2byte "jsr print2byte"
basldsv.asm:17592186044430: (basic222.asm:17592186044438) Not defined print_cr "jsr print_cr"
basldsv.asm:17592186044437: (basic222.asm:17592186044438) Not defined print2byte "jsr print2byte"
basldsv.asm:17592186044438: (basic222.asm:17592186044438) Not defined print_cr "jsr print_cr"
Error messages: 4
Warning messages: None
Passes: 2
Range: $000000-$00001c
WITH
OUT .include basldsv.asmCode:
S:\Proyecto Ordenador\EhBASIC>..\64tass-1.46-r38\64tass_1.46_r38.exe -x -W basic222.asm -o ehbasic.out
6502/65C02 Turbo Assembler Version 1.3 Copyright (c) 1997 Taboo Productions
6502/65C02 Turbo Assembler Version 1.35 ANSI C port by [BiGFooT/BReeZe^2000]
6502/65C02/65816/CPU64/DTV TASM Version 1.46 r38 Fixing by Soci/Singular 2001-2010
64TASS comes with ABSOLUTELY NO WARRANTY; This is free software, and you
are welcome to redistribute it under certain conditions; See LICENSE!
Assembling file: basic222.asm
Error messages: None
Warning messages: None
Passes: 2
Range: $009000-$00b840
As this version of TASS only output one format (that I can't figure which is), I used utils from s-record.com, to convert the output binary file to a "s-record" that I will be able to push through internal Mensch monitor:
Code:
S:\Proyecto Ordenador\EhBASIC>..\bin2srec.exe ehbasic.out > ehbasic.s28
BIN2SREC 1.51 - Convert binary to Motorola S-Record file.
Copyright (c) 2000-2019 Ant Goffart - http://www.s-record.com/
Input binary file: ehbasic.out
Begin address = 0h
End address = 2842h
Address offset = 0h
Maximum address = 2842h
Address bytes = 2
Processing complete
I'm not actually sure if the
ehbasic.out that I got earlier is the right one to be converted to "s-record" type. Also, the addresses mentioned in both TASS output and the previous output don't seem right to me. Should I add
-b 0300 like this?? :
Code:
S:\Proyecto Ordenador\EhBASIC>..\bin2srec.exe -b 0300 ehbasic.out > ehbasic.s28
BIN2SREC 1.51 - Convert binary to Motorola S-Record file.
Copyright (c) 2000-2019 Ant Goffart - http://www.s-record.com/
Input binary file: ehbasic.out
Begin address = 300h
End address = 2842h
Address offset = 300h
Maximum address = 2842h
Address bytes = 2
Processing complete
Thanks for your help.