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 > Wanted: Source codes (for badass)
2020-10-17 08:22
Sasq

Registered: Apr 2004
Posts: 155
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
 
... 65 posts hidden. Click here to view all posts....
 
2020-10-21 12:47
Martin Piper

Registered: Nov 2007
Posts: 646
Quote: The forward example works fine in bass, but requires 4 passes.

Cool, it did a good job.

Try this, it uses quite complex macros with pass by reference labels: https://github.com/martinpiper/C64Public/blob/master/SpriteMult..

It should generate: https://github.com/martinpiper/C64Public/raw/master/SpriteMulti..
2020-10-21 23:20
Sasq

Registered: Apr 2004
Posts: 155
What does expressions on left hand side of assignments do;

SomeSybol+1 = something

?
2020-10-21 23:24
Frantic

Registered: Mar 2003
Posts: 1632
Not sure, but.. forcing 8bit (zeropage)? +2 = 16bit
2020-10-22 05:24
Martin Piper

Registered: Nov 2007
Posts: 646
Quote: What does expressions on left hand side of assignments do;

SomeSybol+1 = something

?


Forces zero page, before the exact value is known.
2020-10-23 09:58
Sasq

Registered: Apr 2004
Posts: 155
I started converting this but there are so many Acme specific constructs I gave up after a while...
2020-10-23 12:51
Golara
Account closed

Registered: Jan 2018
Posts: 212
https://gitlab.com/pseregiet/samar-ghost-in-the-sydney-c64
https://gitlab.com/pseregiet/desire-fastline-c64-intro
https://gitlab.com/pseregiet/samar-watcher-of-time-and-space-c64
https://gitlab.com/pseregiet/desire-4k-for-moonshine
https://gitlab.com/pseregiet/one-year-a-scener
2020-10-23 13:30
TheRyk

Registered: Mar 2009
Posts: 2097
contact ACME creator Mac Bacon normally he's eager to help
2020-10-26 23:26
Walt

Registered: May 2004
Posts: 47
REUTools 1.0 also contains source code...
2020-11-01 06:23
Krill

Registered: Apr 2002
Posts: 2855
One thing i just came across again:

It would be nice to have the assembler emit an actual 16-bit operand with things like "lda $0000" and "sta $0000,x" as opposed to "lda $00" etc.

They seem to consistently insist on knowing better and "optimise" the code for zeropage access.

To counter this, all kinds of syntax (one fuglier than the next) to force specific address sizes were invented. Ugh. =)
2020-11-01 09:15
tlr

Registered: Sep 2003
Posts: 1728
Quoting Krill
One thing i just came across again:

It would be nice to have the assembler emit an actual 16-bit operand with things like "lda $0000" and "sta $0000,x" as opposed to "lda $00" etc.

They seem to consistently insist on knowing better and "optimise" the code for zeropage access.

To counter this, all kinds of syntax (one fuglier than the next) to force specific address sizes were invented. Ugh. =)

Tricky case. Do you have a suggestion for a good rule for this except in the trivial case with a constant?
I suppose a bit string concept like in 64tass might be sufficient. Not sure if 64tass uses it in that way though.
Previous - 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 - 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
New Design/Excess
wil
DeMOSic/HF^MS^BCC^LSD
iAN CooG/HVSC
t0m3000/HF^BOOM!^IBX
taper/ΤRIΛD
encore
Operator Teleksu
Coffe
hedning/G★P
TheRyk/MYD!
Scan/House Designs
Guests online: 131
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Mojo  (9.7)
4 Coma Light 13  (9.7)
5 Edge of Disgrace  (9.6)
6 No Bounds  (9.6)
7 Aliens in Wonderland  (9.6)
8 Comaland 100%  (9.6)
9 Uncensored  (9.6)
10 Wonderland XIV  (9.6)
Top onefile Demos
1 Happy Birthday Dr.J  (9.7)
2 Layers  (9.6)
3 It's More Fun to Com..  (9.6)
4 Cubic Dream  (9.6)
5 Party Elk 2  (9.6)
6 Copper Booze  (9.6)
7 TRSAC, Gabber & Pebe..  (9.5)
8 Rainbow Connection  (9.5)
9 Dawnfall V1.1  (9.5)
10 Daah, Those Acid Pil..  (9.5)
Top Groups
1 Nostalgia  (9.4)
2 Oxyron  (9.3)
3 Booze Design  (9.3)
4 Censor Design  (9.3)
5 SHAPE  (9.3)
Top Coders
1 Axis  (9.8)
2 Graham  (9.8)
3 Lft  (9.8)
4 Crossbow  (9.8)
5 HCL  (9.8)

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