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


Forums > C64 Coding > What assember have they used?
2017-05-18 20:52
Fix

Registered: Feb 2003
Posts: 44
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 ???
 
... 1 post hidden. Click here to view all posts....
 
2017-05-18 21:38
AlexC

Registered: Jan 2008
Posts: 224
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 22:24
Fix

Registered: Feb 2003
Posts: 44
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-19 00:40
AlexC

Registered: Jan 2008
Posts: 224
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 08:57
Marvin

Registered: Oct 2003
Posts: 4
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 09:22
ChristopherJam

Registered: Aug 2004
Posts: 591
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 12:21
AlexC

Registered: Jan 2008
Posts: 224
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 13:22
Marvin

Registered: Oct 2003
Posts: 4
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 14:58
ChristopherJam

Registered: Aug 2004
Posts: 591
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 17:26
Oswald

Registered: Apr 2002
Posts: 4038
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 18:56
Marvin

Registered: Oct 2003
Posts: 4
Oh, you could use ":", thats very... fascinating.
I'll have to give this a try.
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
Dymo
Flavioweb/ASURA/HF
Linus/MSL^Oxy^SHAPE
Didi/Laxity
Dr.Strange/Atlantis
Paulko64
Fred/Channel Four
cadaver/covertbitops
Knut Clausen/SHAPE
Oswald/Resource
Guests online: 51
Top Demos
1 Uncensored  (9.7)
2 Edge of Disgrace  (9.7)
3 The Shores of Reflec..  (9.6)
4 Coma Light 13  (9.6)
5 Lunatico  (9.6)
6 Comaland 100%  (9.6)
7 Incoherent Nightmare  (9.5)
8 Wonderland XII  (9.5)
9 Comaland  (9.5)
10 Wonderland XIII  (9.5)
Top onefile Demos
1 Dawnfall V1.1  (9.5)
2 Daah, Those Acid Pil..  (9.5)
3 SidRok  (9.5)
4 Treu Love [reu]  (9.4)
5 Tunnel Vision  (9.3)
6 Dawnfall  (9.3)
7 One-Der  (9.2)
8 Hardware Accelerated..  (9.2)
9 Globe 2016 [reu]  (9.2)
10 Safe VSP  (9.1)
Top Groups
1 Booze Design  (9.4)
2 Oxyron  (9.4)
3 Censor Design  (9.3)
4 Crest  (9.3)
5 Camelot  (9.2)
Top Organizers
1 Burglar  (9.9)
2 Wotnau  (9.7)
3 Sixx  (9.7)
4 MWS  (9.7)
5 Frantic  (9.6)

Home - Disclaimer
Copyright © No Name 2001-2017
Page generated in: 0.194 sec.