| |
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.... |
| |
Alta
Registered: Dec 2010 Posts: 9 |
Quoting SasqThey 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. |
| |
Martin Piper
Registered: Nov 2007 Posts: 645 |
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.. |
| |
Sasq
Registered: Apr 2004 Posts: 155 |
The forward example works fine in bass, but requires 4 passes. |
| |
Sasq
Registered: Apr 2004 Posts: 155 |
@Krill: Which assembler; what is exp() and log() defined as ? |
| |
Sasq
Registered: Apr 2004 Posts: 155 |
@Krill: never mind, works now :) |
| |
tlr
Registered: Sep 2003 Posts: 1727 |
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. |
| |
Sasq
Registered: Apr 2004 Posts: 155 |
@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
|
| |
tlr
Registered: Sep 2003 Posts: 1727 |
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. |
| |
Krill
Registered: Apr 2002 Posts: 2854 |
Quoting Sasq@Krill: never mind, works now :) How about Artefacts and of course Krill's Loader, Repository Version 184 then? =) |
| |
Sasq
Registered: Apr 2004 Posts: 155 |
ca65 stuff is just so different I don't think I'll bother with that (yet). |
Previous - 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 - Next |