sanny Posted September 3, 2020 Share Posted September 3, 2020 17 minutes ago, pfeuh said: There is still something unusual for an asm file, it is the bloc located at $2e00, but I can live with. Use the -C atari-asm.cfg variant to gat rid of that. Quote Link to comment Share on other sites More sharing options...
pfeuh Posted September 4, 2020 Author Share Posted September 4, 2020 (edited) thanks for your patience, it works perfectly. ? Are you member of cc65 team? It looks like. cl65 -O -t atari -C atari-asm.cfg --start-addr 0x600 test_opcodes_cc65.asm -o TEST_OPCODES_CC65_1536.XEX <0600:0740> 0600 00 01 A7 05 6C 06 C1 08 09 F5 0A 0D A6 87 0E 7E ....l..........~ 0610 46 10 FE 11 52 15 07 16 4D 18 19 7E E9 1D F5 50 F...R...M..~...P 0620 1E 1E 24 20 DA B1 21 96 24 D0 25 D1 26 D8 28 29 ..$ ..!.$.%.&.() 0630 79 2A 2C 10 BC 2D CD 97 2E 78 16 30 FE 31 66 35 y*,..-...x.0.1f5 0640 72 36 FB 38 39 BA 9F 1D AB 64 1E 20 5D 40 41 28 r6.89....d. ]@A( 0650 45 D7 46 15 48 49 A5 4A 4C FE F3 4D 71 65 4E 6C E.F.HI.JL..MqeNl 0660 28 50 FE 51 B2 55 0C 56 A4 58 59 B7 2B 5D 9D CD (P.Q.U.V.XY.+].. 0670 5E B3 40 60 61 5E 65 59 66 A2 68 69 48 6A 6C 20 ^.@`a^eYf.hiHjl 0680 E1 6D 34 53 6E 76 3D B0 FE 71 DD 75 73 76 A3 78 .m4Snv=..q.usv.x 0690 79 01 40 7D 68 61 7E E3 50 81 07 84 C1 85 3C 86 y.@}ha~.P.....<. 06A0 82 88 8A 8C A1 D1 8D D2 7D 8E E3 51 90 FE 91 3B ........}..Q...; 06B0 94 03 95 21 96 0E 98 99 FF A2 9A 9D FB 0A A0 06 ...!............ 06C0 A1 0A A2 C6 A4 C8 A5 90 A6 CE A8 A9 33 AA AC 3D ............3..= 06D0 DD AD 98 CD AE 1D E5 B0 FE B1 F3 B4 E0 B5 F7 B6 ................ 06E0 F1 B8 B9 AA CE BA BC E1 6E BD 5C 09 BE EB 98 C0 ........n.\..... 06F0 DE C1 45 C4 71 C5 E3 C6 B5 C8 C9 74 CA CC 77 0E ..E.q......t..w. 0700 CD FF C1 CE DD 12 D0 FE D1 CA D5 41 D6 81 D8 D9 ...........A.... 0710 63 70 DD 9A 99 DE D2 55 E0 E5 E1 FD E4 C9 E5 70 cp.....U.......p 0720 E6 83 E8 E9 C8 EA EC F5 2E ED CE 56 EE 16 CF F0 ...........V.... 0730 FE F1 6E F5 DD F6 B7 F8 F9 29 84 FD E1 2B FE 23 ..n......)...+.# 0740 B0 -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- . <02E0:02E1> 02E0 00 06 -- -- -- -- -- -- -- -- -- -- -- -- -- -- .. Edited September 4, 2020 by pfeuh Quote Link to comment Share on other sites More sharing options...
sanny Posted September 4, 2020 Share Posted September 4, 2020 6 hours ago, pfeuh said: Are you member of cc65 team? Yes. At least, I've been contributing Atari stuff there... Quote Link to comment Share on other sites More sharing options...
pfeuh Posted September 4, 2020 Author Share Posted September 4, 2020 ? I spent 9 months in Munich in the early 80's. Changing 400 windows in a girl school with a french team. We were young. It was the Disco Wave, an other time. Quote Link to comment Share on other sites More sharing options...
+bhall408 Posted October 8, 2020 Share Posted October 8, 2020 Bumping this one, but for a reason... I'd really wanted to just use ca65/ld65 rather than cl65 (why drag in C?). Took me a while to figure out that I needed to use atari-asm-xex.cfg. I then ran into an issue with the Binary crashing Atari800MacX if I did cmd-R to "Load Executable", however the binary works fine if I move it to a virtual floppy. In any case, here is my makefile... The source files are init.a65 (which includes & depends on initsubs.a65 - I may now change it to compile/link that separate!) CA65=~/Development/cc65-master/bin/ca65 CL65=~/Development/cc65-master/bin/ld65 init.com: init.o # LINK $(CL65) -S 0x3000 -C atari-asm-xex.cfg init.o -o init.com init.o: init.a65 initsubs.a65 # ASSEMBLE $(CA65) -t atari init.a65 -l init.lst This was a simple 5 or so page Atari Macro Assembler project of mine from 1984 I have been using as a testbed to try out ca65 on my Mac vs Atari Macro Assembler in emulation. With this test done, I'm in the camp of now converting all my other AMAC projects to ca65. 1 Quote Link to comment Share on other sites More sharing options...
RetroCoder Posted May 12, 2021 Share Posted May 12, 2021 I've been working on atasm source a bit a fixed a couple of small bugs. The new 1.10 version at https://github.com/CycoPH/atasm was used to compile the attached test_opcodes.asm file and produce the test_opcodes.bin.4compare output. I ran that through a disassembler and checked each line and it looks correct. I would love to see others assemble the test_opcodes.asm file and check their results. We should be able to produce a general test case file. Even if the formats an capabilities of some assemblers are very different test_opcodes.asm test_opcodes.bin.4compare Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.