Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
 Welcome to our latest new user Ziaxx ! (Registered 2020-10-20) You are not logged in 
CSDb User Forums


Forums > C64 Coding > Wanted: Source codes (for badass)
2020-10-17 08:22
Sasq

Registered: Apr 2004
Posts: 123
Wanted: Source codes (for badass)

In order to improve my assembler it would be great to try it on existing projects.

So if you have sources for demos/intros/games that you don't mind sharing it would be kind if you could send them my way, and I'll try to get them working in bass.

They need to be buildable the normal way (Kickass, Acme or whatever) so I can compare the output binaries...

(this also means that if your type of demos requires special tools there is a greater chance I will include such functionality in bass).

-- sasq64@gmail.com
 
... 10 posts hidden. Click here to view all posts....
 
2020-10-19 10:35
Alta

Registered: Dec 2010
Posts: 4
Quoting Sasq
They need to be buildable the normal way (Kickass, Acme or whatever) so I can compare the output binaries...

How far are you willing to go for allowing assembler syntax? Merlin and ORCAM are probably not worth it, but I could share more example sources for x65 if it would help add brace scoping (code inbetween { and } with referencing the start and end of the current scope with ! and % is what I use the most). I'm probably the only one using the assembler for demos so might not be worth it.
2020-10-20 06:17
Martin Piper

Registered: Nov 2007
Posts: 406
This this ACME source, it has particularly tricky forward references: https://github.com/martinpiper/ACME/blob/master/TestForForwardR..

The output should be: https://github.com/martinpiper/ACME/raw/master/TestForForwardRe..
2020-10-20 13:47
Sasq

Registered: Apr 2004
Posts: 123
The forward example works fine in bass, but requires 4 passes.
2020-10-20 13:54
Sasq

Registered: Apr 2004
Posts: 123
@Krill: Which assembler; what is exp() and log() defined as ?
2020-10-20 14:03
Sasq

Registered: Apr 2004
Posts: 123
@Krill: never mind, works now :)
2020-10-20 14:12
tlr

Registered: Sep 2003
Posts: 1398
Here are a few of the tests from my own (stalled) assembler project: asmtests-20201020.tar.gz

There are a two forward reference examples that are kind of nasty (patho1.asm/patho2.asm) and some examples of stacked relative origin and stacked segment constructs.
2020-10-20 14:28
Sasq

Registered: Apr 2004
Posts: 123
@tlr:

patho1.asm is easy.

patho2.asm will require an extra pass for each fill, so I have to increase max passes to get it to compile, becomes very slow but works :)

* PASS 1
* PASS 2
* PASS 3
* PASS 4
* PASS 5
* PASS 6
* PASS 7
* PASS 8
* PASS 9
* PASS 10
* PASS 11
* PASS 12
* PASS 13
* PASS 14
* PASS 15
* PASS 16
* PASS 17
* PASS 18
default 1000->10c8
1000-10c8 default
builds/release/bass asmtests-20201020/patho2.asm  0,38s user 0,00s system 99% cpu 0,375 total
2020-10-20 15:22
tlr

Registered: Sep 2003
Posts: 1398
Quote: @tlr:

patho1.asm is easy.

patho2.asm will require an extra pass for each fill, so I have to increase max passes to get it to compile, becomes very slow but works :)

* PASS 1
* PASS 2
* PASS 3
* PASS 4
* PASS 5
* PASS 6
* PASS 7
* PASS 8
* PASS 9
* PASS 10
* PASS 11
* PASS 12
* PASS 13
* PASS 14
* PASS 15
* PASS 16
* PASS 17
* PASS 18
default 1000->10c8
1000-10c8 default
builds/release/bass asmtests-20201020/patho2.asm  0,38s user 0,00s system 99% cpu 0,375 total


The performance of mine for reference:
tlr@sakura:examples$ time conasm -v patho2.asm
-- resolved in 18 iterations --

real	0m0.004s
user	0m0.004s
sys	0m0.000s
tlr@sakura:examples$
It only supports a limited set of pseudo assembly constructs though.
2020-10-20 19:07
Krill

Registered: Apr 2002
Posts: 1529
Quoting Sasq
@Krill: never mind, works now :)
How about Artefacts and of course Krill's Loader, Repository Version 184 then? =)
2020-10-20 19:31
Sasq

Registered: Apr 2004
Posts: 123
ca65 stuff is just so different I don't think I'll bother with that (yet).
Previous - 1 | 2 - 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
Icon/TRIAD
K-reator/CMS
DJS/Silicon Ltd
Neotec/Padua
Impetigo/Crescent
Jammer/TooMany
LightSide
V-12/Tropyx
Didi/Laxity
JAYCE - THE MiNiSTRY
Krill/Plush
MMS_Z
Guests online: 115
Top Demos
1 Uncensored  (9.7)
2 Memento Mori  (9.6)
3 Edge of Disgrace  (9.6)
4 Coma Light 13  (9.6)
5 Comaland 100%  (9.6)
6 Unboxed  (9.6)
7 The Shores of Reflec..  (9.6)
8 Lunatico  (9.5)
9 Remains  (9.5)
10 C=Bit 18  (9.5)
Top onefile Demos
1 Crystal Gazer  (9.5)
2 Dawnfall V1.1  (9.5)
3 Smile to the Sky  (9.5)
4 Daah, Those Acid Pil..  (9.5)
5 Rewind  (9.5)
6 Postcard from Earth 2  (9.5)
7 Instinct  (9.4)
8 The Night It Snowed  (9.4)
9 Tribute to Ben - Las..  (9.4)
10 In Memoriam BHF  (9.4)
Top Groups
1 Booze Design  (9.4)
2 Censor Design  (9.4)
3 PriorArt  (9.4)
4 Oxyron  (9.3)
5 Triad  (9.2)
Top Mega Swappers
1 Aslive  (9.4)
2 Dishy  (9.2)
3 Nightshade  (9.2)
4 Calypso  (9.2)
5 R.C.S.  (9.1)

Home - Disclaimer
Copyright © No Name 2001-2020
Page generated in: 0.037 sec.