At 06:30 09/01/98 +0200, you wrote:
>
>Making a new BASIC compiler is not bad idea at all, but I think, that it
>should be also compatible with this "old" BASIC.
>
>                           ,_____.
>                   _=_=_=_=!_MSX_!=_=_=_=_=_=_=_=_,
>                  ! A1ST ~--- - I  ( o o o o o o )i
>                 /--------------------------------`,
>                / .::::::::::::::::::::::;::;  ::::.,
>               / :::.:.:.:::____________:::::!.  -=- `,
>               ~======================================
>                      NYYRIKKI : [EMAIL PROTECTED]


please forget about compatibility for this kind of things!!! did Microsoft
and Hitec made their onw assembler compatible???? ofcourse not!!


Did GFA BASIC was compatible with other basic, ofcourse not!!


If you think about syntax then if people did learn the MSX BASIC, learning
an other one is not a great brain storming...

For internal point of view here is a simple example:

MSX BAISC handle float type using DCB byte!!! that a simple way to handle
this kind of number but I'm not sure that it is the fastest way to do it, I
would like prefer use pure binary coding and only convert the binary form
when printing on screen this way float computation is faster....

I think that a new BASIC should be use to improve part of the BASIC that
should be improved...

an other simple way to use  float number in a range of 0.0 to 65355.996132
is to use 16 bits of integer and 16 bit for fractionnal part this mean the
Z80 will compute de number on 32 bits with an integer part of 16 bits like
this:

4 byte:

byte1           byte2           ,       byte3           byte4
MSB INT LSB INT ,       MSB FRAC        LSB FRAC

I this kind of trick for XTAZY in the enemy VS player position this way I
can render the right X and Y increment for the enemy bullet :) I'm close
the the precision of the LINE statment of the MSX BASIC :) (the LINE
fonction certainly use the Brezennam algorithm).


        that's all for now


        greetings from PARIS,


        Martial.


****
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/)
****

Reply via email to