Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
You are not logged in - nap
CSDb User Forums


Forums > C64 Coding > 64tass v1.45 bug
2006-04-16 16:42
ready.

Registered: Feb 2003
Posts: 441
64tass v1.45 bug

Using 64tass v1.45 or earlier by Breeze and Singular (64TASS V1.45), I can't compile the illegal op code ANC. I need:

....
lda ($2e),y
anc #$ff
ror
....

I have managed 64tass to compile the ANC op code in this way:
....
lda ($2e),y
.byte $0b, $ff
ror
....

In this way it works fine. Hope this can be helpful for a new version of 64tass.

BR,
Ready.
 
... 20 posts hidden. Click here to view all posts....
 
2011-07-03 13:51
WVL

Registered: Mar 2002
Posts: 902
soci : do you also have a compiled version available? :) (somehow the official version is always 10x smaller and faster than any that i can compile myself)
2011-07-03 14:04
soci

Registered: Sep 2003
Posts: 480
http://sourceforge.net/projects/tass64/files/binaries/

Here's a win32 binary, I haven't tried it, maybe it does not even execute. Mac donations or hints how to cross compile on Linux are accepted ;)
2011-07-03 17:55
Hermit

Registered: May 2008
Posts: 208
Hi there Soci

It was fast, thank you very much for the effort.
I compiled it in Puppy Linux, works perfectly, 82kbyte, little bit more than previously. And the binary should work fine on the other Linux distros too.
If you don't mind I shared the linux binary here, in a zip with the license texts, just as with your .exe verison:
http://hermit.netne.net/c64prog/64tass-1.46-r38.zip

Cheers, You made my day even better with this fix :)
2011-07-03 19:18
chatGPZ

Registered: Dec 2001
Posts: 11386
"somehow the official version is always 10x smaller and faster than any that i can compile myself"
strip -s to the rescue =)
2011-07-04 18:46
Hein

Registered: Apr 2004
Posts: 954
Quote: http://sourceforge.net/projects/tass64/files/binaries/

Here's a win32 binary, I haven't tried it, maybe it does not even execute. Mac donations or hints how to cross compile on Linux are accepted ;)


Thanks.
2011-07-04 22:32
Kaizen

Registered: May 2009
Posts: 24
Hi,
tried now to compile on Mac OS X.


The first makefile returns some errors:

gcc -c -o 64tass.o 64tass.c
gcc -c -o opcodes.o opcodes.c
gcc -c -o misc.o misc.c
misc.c:25:18: error: argp.h: No such file or directory
misc.c:601: error: array type has incomplete element type
misc.c:628: error: syntax error before 'parse_opt'
misc.c:628: warning: 'struct argp_state' declared inside parameter list
misc.c:628: warning: its scope is only this definition or declaration, which is probably not what you want
misc.c: In function 'parse_opt':
misc.c:668: error: 'ARGP_KEY_ARG' undeclared (first use in this function)
misc.c:668: error: (Each undeclared identifier is reported only once
misc.c:668: error: for each function it appears in.)
misc.c:668: error: dereferencing pointer to incomplete type
misc.c:669: error: 'ARGP_KEY_END' undeclared (first use in this function)
misc.c:669: error: dereferencing pointer to incomplete type
misc.c:670: error: 'ARGP_ERR_UNKNOWN' undeclared (first use in this function)
misc.c: At top level:
misc.c:675: error: variable 'argp' has initializer but incomplete type
misc.c:675: warning: excess elements in struct initializer
misc.c:675: warning: (near initialization for 'argp')
misc.c:675: warning: excess elements in struct initializer
misc.c:675: warning: (near initialization for 'argp')
misc.c:675: warning: excess elements in struct initializer
misc.c:675: warning: (near initialization for 'argp')
misc.c:675: warning: excess elements in struct initializer
misc.c:675: warning: (near initialization for 'argp')
make: *** [misc.o] Error 1


Instead the makefile2 returns only some warnings:

gcc -Wall -DWIN32 -c -o 64tass.o 64tass.c
64tass.c: In function 'compile':
64tass.c:2047: warning: format '%06x' expects type 'unsigned int', but argument 3 has type 'long unsigned int'
64tass.c:2055: warning: format '%04x' expects type 'unsigned int', but argument 3 has type 'long unsigned int'
64tass.c:2055: warning: format '%06x' expects type 'unsigned int', but argument 3 has type 'long unsigned int'
64tass.c:2071: warning: suggest parentheses around comparison in operand of ^
64tass.c:745: warning: unused variable 'filestat'
64tass.c:740: warning: unused variable 'fflen'
gcc -Wall -DWIN32 -c -o opcodes.o opcodes.c
gcc -Wall -DWIN32 -c -o misc.o misc.c
gcc 64tass.o opcodes.o misc.o -o 64tass


Could this second version works well?
Sorry for my question, but I don't know C and so I cannot understand what means this several warnings.
THX. ;-)
2011-07-05 09:18
WVL

Registered: Mar 2002
Posts: 902
I recompiled Pearls for Pigs with v1.46, no problems, everything went ok and the demo runs fine ;)
Previous - 1 | 2 | 3 - Next
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Advanced
Users Online
Alakran_64
Shogoon/Elysium/MSL
Andy/AEG
MWR/Visdom
B.A./QUANTUM
Shez/House Designs
𝘁𝗡𝗚/FairLight
Twoflower/ΤRIΛD
The Syndrom/TIA/Pret..
Guests online: 214
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Mojo  (9.7)
4 Coma Light 13  (9.6)
5 Edge of Disgrace  (9.6)
6 What Is The Matrix 2  (9.6)
7 The Demo Coder  (9.6)
8 Uncensored  (9.6)
9 Comaland 100%  (9.6)
10 Wonderland XIV  (9.6)
Top onefile Demos
1 No Listen  (9.6)
2 Layers  (9.6)
3 Cubic Dream  (9.6)
4 Party Elk 2  (9.6)
5 Copper Booze  (9.6)
6 Dawnfall V1.1  (9.5)
7 Rainbow Connection  (9.5)
8 Onscreen 5k  (9.5)
9 Morph  (9.5)
10 Libertongo  (9.5)
Top Groups
1 Performers  (9.3)
2 Booze Design  (9.3)
3 Oxyron  (9.3)
4 Censor Design  (9.3)
5 Triad  (9.3)
Top NTSC-Fixers
1 Pudwerx  (10)
2 Booze  (9.7)
3 Stormbringer  (9.7)
4 Fungus  (9.6)
5 Grim Reaper  (9.3)

Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.049 sec.