| |
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 ??? |
|
| |
Angel of Death
Registered: Apr 2008 Posts: 211 |
Does it work with linenumbers like BASIC? |
| |
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. |
| |
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. |
| |
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. |
| |
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. |
| |
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. |
| |
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. |
| |
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. |
| |
ChristopherJam
Registered: Aug 2004 Posts: 1409 |
Quoting MarvinThe 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 :D10 NOP:NOP:NOP:NOP:NOP:NOP:NOP:NOP:NOP:N
OP:NOP:NOP:NOP:NOP:NOP:NOP:NOP:NOP:NOP |
| |
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 :) |
| |
Marvin Account closed
Registered: Oct 2003 Posts: 8 |
Oh, you could use ":", thats very... fascinating.
I'll have to give this a try. |