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: 211
Does it work with linenumbers like BASIC?
2017-05-18 19:38
AlexC

Registered: Jan 2008
Posts: 299
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: 299
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: 1409
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: 299
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: 1409
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: 5094
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 :)
 
... 1 post hidden. Click here to view all posts....
 
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
Unlock/Padua/Albion
Chesser/Blazon
Freeze/Blazon
Andy/AEG
Flavioweb/🇮🇹HF..
Peacemaker/CENSOR/Hi..
TheRyk/MYD!
Guests online: 129
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Mojo  (9.7)
4 Coma Light 13  (9.6)
5 Edge of Disgrace  (9.6)
6 What Is The Matrix 2  (9.6)
7 The Demo Coder  (9.6)
8 Uncensored  (9.6)
9 Comaland 100%  (9.6)
10 Wonderland XIV  (9.6)
Top onefile Demos
1 Layers  (9.6)
2 No Listen  (9.6)
3 Cubic Dream  (9.6)
4 Party Elk 2  (9.6)
5 Copper Booze  (9.6)
6 Dawnfall V1.1  (9.5)
7 Rainbow Connection  (9.5)
8 Onscreen 5k  (9.5)
9 Morph  (9.5)
10 Libertongo  (9.5)
Top Groups
1 Performers  (9.3)
2 Booze Design  (9.3)
3 Oxyron  (9.3)
4 Triad  (9.3)
5 Censor Design  (9.3)
Top Diskmag Editors
1 Magic  (9.8)
2 hedning  (9.6)
3 Jazzcat  (9.5)
4 Elwix  (9.1)
5 Remix  (9.1)

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