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 > What assember have they used?
2017-05-18 18:52
Fix

Registered: Feb 2003
Posts: 54
What assember have they used?

I found an old source, very like TASM.
But with some other instructions.

They use following

! = comment, instead of normal ;

byt 1,2,3,4
wor $0000,$1234


lik "source",8


end "souce1",8


Any ideas ???
2017-05-18 19:06
Angel of Death

Registered: Apr 2008
Posts: 210
Does it work with linenumbers like BASIC?
2017-05-18 19:38
AlexC

Registered: Jan 2008
Posts: 293
LNK (not lik) and END syntax brings to my mind Mikro Assembler. WOR is also on keyword list, but it requires line numbers and it used ! for comments. Done by Supersoft in '83 so could fit the description of old source. Still the line numbers are needed in case of MA.
2017-05-18 20:24
Fix

Registered: Feb 2003
Posts: 54
Yes there are numbers on each row!
And it's "LNK" and not LIK

Thanks guys, it appears to be a Mikro Assembler format then.



Does anyone has it?
The Silents version here on CSDB hangs when I try it.
2017-05-18 22:40
AlexC

Registered: Jan 2008
Posts: 293
Originally it has been released on the cartridge (with some simple copy protection I belive if memory serves me well). Guess not every crack works than.

Try the cartridge dump in crt format version under Vice - should be working - it is available for download on the net. If you can't find it just PM me. There is also manual in PDF format on the net if you need one.
2017-05-19 06:57
Marvin
Account closed

Registered: Oct 2003
Posts: 8
Why line numbers? Are they used instead of labels?
Must be painful to maintain if you don't have a tool that can renumber for you.
2017-05-19 07:22
ChristopherJam

Registered: Aug 2004
Posts: 1356
Quote: Why line numbers? Are they used instead of labels?
Must be painful to maintain if you don't have a tool that can renumber for you.


I used FASSEM for my first decade of c64 programming, which was another BASIC extension assembler; jumps were to labels, line numbers were just for code ordering. I vaguely recall it having a renumber tool, but mostly I just started each major new routine at a multiple of 1000, and started with a spacing of 10.
2017-05-19 10:21
AlexC

Registered: Jan 2008
Posts: 293
Quote: Why line numbers? Are they used instead of labels?
Must be painful to maintain if you don't have a tool that can renumber for you.


In this case line numbers are not used as labels; labels are given after line number but before opcode:

10 start inc $d020
20 jmp start

You have to remember that this is software from first half of 80's just after c64 release - exploiting BASIC editor for assembler used to be quite common. It had sense back in those days: those assemblers used to be small thanks to that. TASS/TASM is enormous considering their size. Some assemblers like Buddy/Power provided both assembling from BASIC and own editor.
2017-05-19 11:22
Marvin
Account closed

Registered: Oct 2003
Posts: 8
The use of the basic editor explains why this was done and also why I've never seen this in other assemblers for various processors.

The increasing with 10 trick works for basic, but I can see how it'll be more frustrating with assembler since you tend to need more rows to do anything and can't have more than one instruction/row.
2017-05-19 12:58
ChristopherJam

Registered: Aug 2004
Posts: 1356
Quoting Marvin
The increasing with 10 trick works for basic, but I can see how it'll be more frustrating with assembler since you tend to need more rows to do anything and can't have more than one instruction/row.


Au contraire; with the power of the mighty colon, and 80 character logical lines, you could fit up to 19 instructions per row :D
10 NOP:NOP:NOP:NOP:NOP:NOP:NOP:NOP:NOP:N
OP:NOP:NOP:NOP:NOP:NOP:NOP:NOP:NOP:NOP
2017-05-19 15:26
Oswald

Registered: Apr 2002
Posts: 5005
basic editor was enough for simple rasterbars and scroller stuff when I started out (using help plus, then profi ass), but those were usually about 2 screens worth of code :)
2017-05-19 16:56
Marvin
Account closed

Registered: Oct 2003
Posts: 8
Oh, you could use ":", thats very... fascinating.
I'll have to give this a try.
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
Alta
wacek/arise
MightyAxle
jmin
t0m3000/ibex-crew
Acidchild/Padua
Guests online: 174
Top Demos
1 Next Level  (9.8)
2 Mojo  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 No Bounds  (9.6)
6 Comaland 100%  (9.6)
7 Uncensored  (9.6)
8 The Ghost  (9.6)
9 No Sprites  (9.6)
10 Wonderland XIV  (9.6)
Top onefile Demos
1 Party Elk 2  (9.7)
2 Cubic Dream  (9.6)
3 Copper Booze  (9.5)
4 Rainbow Connection  (9.5)
5 TRSAC, Gabber & Pebe..  (9.5)
6 Onscreen 5k  (9.5)
7 Dawnfall V1.1  (9.5)
8 Quadrants  (9.5)
9 Daah, Those Acid Pil..  (9.5)
10 Birth of a Flower  (9.5)
Top Groups
1 Booze Design  (9.3)
2 Nostalgia  (9.3)
3 Oxyron  (9.3)
4 Censor Design  (9.3)
5 Crest  (9.3)
Top Musicians
1 Rob Hubbard  (9.7)
2 Jeroen Tel  (9.7)
3 Mutetus  (9.6)
4 Jammer  (9.6)
5 Linus  (9.6)

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