Re: Assembler evolution (was Re: Compass 2.0)

1999-08-04 Thread MkII

Well I like it! Although adding the extra 0 to an address can be a pain
sometimes indeed... But an intelligent assembler should be able to see the
difference between an address and a label, too bad they usually don't.

How could an assembler state whether BADH is a hex number or a label in a
single pass?

H's are indeed a standard Intel convention *BUT REMEMBER* Zilog enhanced
the 8080 architecture with their Z80, including the assembler!!! So don't
make a step backwards, please.

Then why does Zilog use H-suffixes in all their official documentation?
(Z80, Z380, etc.)

Because they use a bad 8080-friendly assembler 8;)

Trivia: Most of the Motorola 680x0 series official documentation listings
are written in UPPER CASE when it's officially discouraged!

Trivia 2: Most of the Amiga system software is *NOT COMPLIANT* to the
official Style Guide!!

The # prefix was introduced as a more convenient *alternate* way of
specifying a hex number. It's not officially endorsed as the only supported
method!

People involved in writing the official docs felt more confortable with the
H suffixes, just like the M680x0 official coders felt confortable writing
with the caps locked.

MARK #02 - PUN INTENDED! 8;D




MSX Mailinglist. To unsubscribe, send an email to [EMAIL PROTECTED] and put
in the body (not subject) "unsubscribe msx [EMAIL PROTECTED]" (without the
quotes :-) Problems? contact [EMAIL PROTECTED] (www.stack.nl/~wiebe/mailinglist/)




Assembler evolution (was Re: Compass 2.0)

1999-08-01 Thread MkII

Jon de Schrijder wrote:
Question: would you guys mind if I would drop the support for other
hex/bin id's than #,H,B,% ???

YES! ^^;
I always use h and b suffixes.

Prefixes are the best way of indicating a base. It's easier to read, to
process more pleasant to the eye, more recognizable and less ambiguous. I
personally hate the trick of adding a 0 to an address starting with a
letter (0h... argh!!).

$ prefix for hex is used by Motorola/MOStech I think...

Yes.

I have no idea where some people get the # prefix from ^^;

I've been using the # prefix since 1982. I've *always* seen it on serious
Z80 assembler (including coin-op firmware sources). I came thru the ugly H
suffixes later in the "PC rebirth" era (!) and now in MSX (!!).

 Which is a standard Zilog/Intel convention
AFAIK.

No.

H's are indeed a standard Intel convention *BUT REMEMBER* Zilog enhanced
the 8080 architecture with their Z80, including the assembler!!! So don't
make a step backwards, please.

People got bad Z80 assembler habits because of the 8080/Z80 assembler
combos (like the M80). Many people keep using DB and DS when the standard
Zilog equivalents are DEFB, DEFM, DEFS and DEFL.

Most assemblers recognize 8080 directives for former 8080 coders
convenience, not Z80's!

MARK 2




MSX Mailinglist. To unsubscribe, send an email to [EMAIL PROTECTED] and put
in the body (not subject) "unsubscribe msx [EMAIL PROTECTED]" (without the
quotes :-) Problems? contact [EMAIL PROTECTED] (www.stack.nl/~wiebe/mailinglist/)




Re: Assembler evolution (was Re: Compass 2.0)

1999-08-01 Thread Patriek Lesparre

Prefixes are the best way of indicating a base. It's easier to read, to
process more pleasant to the eye, more recognizable and less ambiguous. I
personally hate the trick of adding a 0 to an address starting with a
letter (0h... argh!!).

Well I like it! Although adding the extra 0 to an address can be a pain
sometimes indeed... But an intelligent assembler should be able to see the
difference between an address and a label, too bad they usually don't.

 Which is a standard Zilog/Intel convention AFAIK.

No.

H's are indeed a standard Intel convention *BUT REMEMBER* Zilog enhanced
the 8080 architecture with their Z80, including the assembler!!! So don't
make a step backwards, please.

Then why does Zilog use H-suffixes in all their official documentation?
(Z80, Z380, etc.)

People got bad Z80 assembler habits because of the 8080/Z80 assembler
combos (like the M80). Many people keep using DB and DS when the standard
Zilog equivalents are DEFB, DEFM, DEFS and DEFL.

Well, DB/DW/etc is a lot faster to type than DEFx... And besides, not
everything Zilog uses as standard is good. The Z380 assembly language isn't
very handy at times, like the DDIR (Decoder DIRectives) instruction prefixes.

Greetz,

Patriek

,--.   ,---.   ,--. Homepage: \"To make a mistake is
|  '--.|   __   \  \__/ http://www.tni.nl// human, but to really
|   __||  |  |  |  ,--. E-mail:   \ fuck things up, you
|  |   |  |  |  |  |  | [EMAIL PROTECTED]   / need a computer."
|  '---'  |  |  '--'  |   \- Glenn Scott,
\_|  || The New Image -since 1991-/  Secret Agent W7


MSX Mailinglist. To unsubscribe, send an email to [EMAIL PROTECTED] and put
in the body (not subject) "unsubscribe msx [EMAIL PROTECTED]" (without the
quotes :-) Problems? contact [EMAIL PROTECTED] (www.stack.nl/~wiebe/mailinglist/)




Re: Compass 2.0

1999-07-31 Thread Patriek Lesparre

Jon de Schrijder wrote:
Question: would you guys mind if I would drop the support for other
hex/bin id's than #,H,B,% ???

YES! ^^;
I always use h and b suffixes. Which is a standard Zilog/Intel convention
AFAIK.
$ prefix for hex is used by Motorola/MOStech I think...
I have no idea where some people get the # prefix from ^^;

Anyway, please keep supporting h and b suffixes!

Patriek

,--.   ,---.   ,--. Homepage: \"To make a mistake is
|  '--.|   __   \  \__/ http://www.tni.nl// human, but to really
|   __||  |  |  |  ,--. E-mail:   \ fuck things up, you
|  |   |  |  |  |  |  | [EMAIL PROTECTED]   / need a computer."
|  '---'  |  |  '--'  |   \- Glenn Scott,
\_|  || The New Image -since 1991-/  Secret Agent W7


MSX Mailinglist. To unsubscribe, send an email to [EMAIL PROTECTED] and put
in the body (not subject) "unsubscribe msx [EMAIL PROTECTED]" (without the
quotes :-) Problems? contact [EMAIL PROTECTED] (www.stack.nl/~wiebe/mailinglist/)




Re: Compass 2.0

1999-07-31 Thread Alex Mitsio Sato

Patriek Lesparre wrote:
 
 Jon de Schrijder wrote:
 Question: would you guys mind if I would drop the support for other
 hex/bin id's than #,H,B,% ???
 
 YES! ^^;
 I always use h and b suffixes. Which is a standard Zilog/Intel convention
 AFAIK.
 $ prefix for hex is used by Motorola/MOStech I think...
 I have no idea where some people get the # prefix from ^^;

Prefix # is used by GEN80 (Devpac80 from Hisoft).
to indicate HEXadecimal numbers.

Alex Mitsio Sato




MSX Mailinglist. To unsubscribe, send an email to [EMAIL PROTECTED] and put
in the body (not subject) "unsubscribe msx [EMAIL PROTECTED]" (without the
quotes :-) Problems? contact [EMAIL PROTECTED] (www.stack.nl/~wiebe/mailinglist/)




Re: Compass 2.0

1999-07-29 Thread Laurens Holst

   Question: would you guys mind if I would drop the support for other
   hex/bin id's than #,H,B,% ???
  I wouldn't mind since I use # but alot of people use $ to indicate hex.
Also
  I'd like it to keep supporting the h-notition, because Z80DIS (the
BEST
  disassembler)

 I prefer ZD from SOLiD Soft ten thounsand times... :)

I'll check it out.


~Grauw "last-minute reply before holidays"


--

  email me: [EMAIL PROTECTED] or ICQ: 10196372
 visit the Datax homepage at http://datax.cjb.net/
MSX fair Bussum / MSX Marathon homepage: http://msxfair.cjb.net/




MSX Mailinglist. To unsubscribe, send an email to [EMAIL PROTECTED] and put
in the body (not subject) "unsubscribe msx [EMAIL PROTECTED]" (without the
quotes :-) Problems? contact [EMAIL PROTECTED] (www.stack.nl/~wiebe/mailinglist/)




Re: Compass 2.0

1999-07-29 Thread Laurens Holst

 Question: would you guys mind if I would drop the support for other
 hex/bin id's than #,H,B,% ???

About me, no problem. I use only # and %.
But about basic IDs, think that some (many?) people use "h" and "b" at
the end of the number...

Many indeed, I think.
However, I can imagine that only using # and % can speed up assembling...
But at the other hand, as I said, I often encounter sources which use h
after the codes (MUST source for example). Would be hard to switch to
Compass-use... lot of find/replacing...


Ah, now I remember another suggestion!! When yo select "assemble to
disk", COMPASS boot directory is always selected. It would be much
better if the current directory (the one from which the source was
load/saved last time) is selected.

BTW refresh our memory: when will Compass 2.0 be released? 8-

Yeah!


~Grauw "last-minute reply before holidays"


--

  email me: [EMAIL PROTECTED] or ICQ: 10196372
 visit the Datax homepage at http://datax.cjb.net/
MSX fair Bussum / MSX Marathon homepage: http://msxfair.cjb.net/




MSX Mailinglist. To unsubscribe, send an email to [EMAIL PROTECTED] and put
in the body (not subject) "unsubscribe msx [EMAIL PROTECTED]" (without the
quotes :-) Problems? contact [EMAIL PROTECTED] (www.stack.nl/~wiebe/mailinglist/)




Re: Compass 2.0

1999-07-29 Thread Maarten ter Huurne

At 03:31 PM 7/28/99 +0200, you wrote:

*the assembling: together with slightly compressed text, also the opcodes
are stored during the editing; (of course in a rather complex way to avoid
problems with special values like FF and 00 (RST 38 and NOP)), pointers to
expressions like in LD A,label (3E is stored + pointer in text to
'label'.)

Because of this I expect a 6000 lines program to become 15000 bytes longer
(ASM file), but I don't think that will be big problem for most of us.

So you compress text and tokenize and the source becomes larger instead of
smaller? How is that possible?

Question: would you guys mind if I would drop the support for other
hex/bin id's than #,H,B,% ???

Personally, I always use '#' and '%'.

I think you should support '00h', because many people use it. In my opinion
'00h' is more important than 'H', because the latter is a BASIC convention
adopted only by WBASS.

I would like to see '$' supported as a prefix. It isn't at the moment, it
conflicts with the "current assembly address" function.

Another popular hex prefix is the C convention: 0x (as in 0x3E).

Maybe you can implement conversion for popular prefixes in the ASCII parse
routine. In that way the user will only see one selected prefix on the
screen, but can load files using other prefixes.

Bye,
Maarten



MSX Mailinglist. To unsubscribe, send an email to [EMAIL PROTECTED] and put
in the body (not subject) "unsubscribe msx [EMAIL PROTECTED]" (without the
quotes :-) Problems? contact [EMAIL PROTECTED] (www.stack.nl/~wiebe/mailinglist/)




Re: Compass 2.0

1999-07-28 Thread Adriano Camargo Rodrigues da Cunha


  Question: would you guys mind if I would drop the support for other
  hex/bin id's than #,H,B,% ???
 I wouldn't mind since I use # but alot of people use $ to indicate hex. Also
 I'd like it to keep supporting the h-notition, because Z80DIS (the BEST
 disassembler)

I prefer ZD from SOLiD Soft ten thounsand times... :)


Adriano Camargo Rodrigues da Cunha   ([EMAIL PROTECTED])
Engenharia de Computacao - UNICAMP
http://www.adrpage.cjb.net   MSX-TR:I have one.And you?

* Need a XT? Type WIN at the DOS prompt. I'll get the feeling! *



MSX Mailinglist. To unsubscribe, send an email to [EMAIL PROTECTED] and put
in the body (not subject) "unsubscribe msx [EMAIL PROTECTED]" (without the
quotes :-) Problems? contact [EMAIL PROTECTED] (www.stack.nl/~wiebe/mailinglist/)




Re: Compass 2.0

1999-07-28 Thread ASORIANO

Jon De Schrijder [EMAIL PROTECTED] escribió/wrote/kakimashita/escreveu/écrit:

 *don't worry: all compass' settings are in an editable txtfile now

Yeah! This was my idea!! He he...  (-v-)v

 Question: would you guys mind if I would drop the support for other
 hex/bin id's than #,H,B,% ???

About me, no problem. I use only # and %.
But about basic IDs, think that some (many?) people use "h" and "b" at
the end of the number...

Ah, now I remember another suggestion!! When yo select "assemble to
disk", COMPASS boot directory is always selected. It would be much
better if the current directory (the one from which the source was
load/saved last time) is selected.

BTW refresh our memory: when will Compass 2.0 be released? 8-


*** NEXT BARCELONA MSX USERS MEETING: DECEMBER  4th ***
--
Konami Man  -  AKA Nestor Soriano (^ ^)v
   Itsumo MSX user

   [EMAIL PROTECTED]
   http://konamiman.msx.tni.nl

 User error. Please replace user and press any key.
--



MSX Mailinglist. To unsubscribe, send an email to [EMAIL PROTECTED] and put
in the body (not subject) "unsubscribe msx [EMAIL PROTECTED]" (without the
quotes :-) Problems? contact [EMAIL PROTECTED] (www.stack.nl/~wiebe/mailinglist/)