Sjasm, how does it work

Page 4/5
1 | 2 | 3 | | 5

By sjoerd

Hero (602)

sjoerd's picture

24-06-2005, 12:36

A quick question about sjasm. Can it generate files with symbol information? If so I'd be happy if someone could post part of one here. I want to make sure the format is supported in the blueMSX debugger. If someone could reply today it would be great SmileSjASM puts a list of all symbols at the end of the listfile when you use the -l switch. But maybe it's easier for you if SjASM would produce a seperate .sym file?

By dvik

Prophet (2200)

dvik's picture

24-06-2005, 19:08

Its probably easier with a separate sym file but it should be ok with the current format. Can you send me such a list file ?

By SKiLLa

Expert (97)

SKiLLa's picture

25-06-2005, 23:52

What about Compjoetania's Assembler ... CompAss, but I used it frequently;
it's better than WB-ASS2 which was my preferred assembler before.

That was by far the best complete editor, assembler and debugger.

I bought Compass v2 version (by Compjoetania NeXt Generation) on a fair,
but they ran out of copies and would send it by mail, which never happened |-(
Phoning the Belgium contact-guy unfortunately never fixed it, they couldn't find
any record of my order ... is it freeware by now, or is it still not public ?

PS: Hey BiFi --> I read about your work for BlueMSX, you're not changing teams right ? ;-)
And is Patrick's tniASM as good as you say ?

By sjoerd

Hero (602)

sjoerd's picture

26-06-2005, 05:56

And is Patrick's tniASM as good as you say ?Whahaha. Tongue

dvik: A list file with symbols looks like this:

01   0000 FE           db 0feh
02   0001 00 C0         dw start
03   0003 06 C0         dw end
04   0005 00 C0         dw start
05   0007             
06   0007               org 0c000h
07   C000             
08   C000             start
09   C000 3E 41         ld a,65
10   C002 CD A2 00      call 0a2h
11   C005 C9            ret
12   C006             end
13   C006             
14   C006               end

value      label
-------- - -----------------------------------------------------------
0000C000   start
0000C006   end

By BiFi

Enlighted (4348)

BiFi's picture

26-06-2005, 07:42

PS: Hey BiFi --> I read about your work for BlueMSX, you're not changing teams right ? ;-)I can be involved in more than one emulator you know. About 2 years ago I also beta-tested NLMSX and provided info to improve emulation. Unfortunately even the beta-team hasn't heard much since then.
And is Patrick's tniASM as good as you say ?
The only thing it currently lacks which seems to be very important (or at least according to most people in here) is macro support. For the rest it's about the best assembler I know. Patriek is working on tniASM v1.0 (which will have macros and some other improvements). It's not certain when it's gonna be released though and I hardly use macros anyway.

By BiFi

Enlighted (4348)

BiFi's picture

26-06-2005, 07:43

And is Patrick's tniASM as good as you say ?Whahaha. Tongue
Ehrm... how many releases did you do to fix (mostly dumb) bugs again? Wink

By dvik

Prophet (2200)

dvik's picture

26-06-2005, 09:34

Thanks for the info sjoerd. I don't think there will be any problem to use your current format in a debugger. I need to update the blueMSX debugger though to support it (although there is a small chance it will work as it is). It will for sure be supported in the next release of the emulator (I could add support for it and just do a small debugger release too if someone is interested)

By sjoerd

Hero (602)

sjoerd's picture

26-06-2005, 14:51

One more thing: Symbols local to macros are numbered and unused symbols get an X after their value in the listing:

01   0000               macro jumpovernop
02   0000~              jr .hop
03   0000~              nop
04   0000~            .hop
05   0000               endm
06   0000             
07   0000 FE           db 0feh
08   0001 00 C0         dw start
09   0003 09 C0         dw end
10   0005 00 C0         dw start
11   0007             
12   0007               org 0c000h
13   C000             
14   C000             unused
15   C000             start
16   C000 3E 41         ld a,65
17   C002 CD A2 00      call 0a2h
18   C005               jumpovernop
18   C005 18 01       >  jr .hop
18   C007 00          >  nop
19   C008 C9            ret
20   C009             end
21   C009             
22   C009               end

value      label
-------- - -----------------------------------------------------------
0000C000 X unused
0000C000   start
0000C008   0>hop
0000C009   end

By sjoerd

Hero (602)

sjoerd's picture

26-06-2005, 15:27

Ehrm... how many releases did you do to fix (mostly dumb) bugs again? WinkWhat has that to do with tniASM?

How many (mostly dumb) bugs are there in tniASM that don't get fixed? As long as there are bugs in tniASM that you are not telling about, tniASM is not as good as you say.

For a (mostly dumb) tniASM vs. SjASM 'discussion' you could use the search functionality of this site, I don't think you have anything to add to that, and neither do I... Now only if I could remove some parts Tongue

By BiFi

Enlighted (4348)

BiFi's picture

26-06-2005, 22:04

just to hide things? Wink

that would be RealFun now wouldn't it? Wink

Page 4/5
1 | 2 | 3 | | 5