[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CP/M Mbasic 5.21



I am using Josh's 8080A CPU board and downloaded MBASIC-80 REV 5.21. I am not having any issues and I don't get errors when I use the immediate mode. 
I am also using BASCOM and L80 to compile the BASIC programs.
I am guessing that the error occurred when downloading MBASIC. Try going back to the website where you found MBASIC and download again. I found that Josh's XMODEM doesn't work very well above 32K,and make sure you have enough blocks allocated when you save the program.

On Monday, April 6, 2015 at 3:24:23 PM UTC-4, Todd Miller wrote:
I've been messing around with Josh's 8080 board.

I XMODEM'd a basic program written in NorthStar Basic
over to Josh's board to play with.  After making a few
corrections for the different versions of Basic.  It almost
runs...

It's been awhile since I've wrote a basic program, but I
just don't understand why the CP/M ver of basic does this;

ALTAIR/IMSAI CPU CARD. 61K CP/M 2.2

WBOOT

a>MBASIC
BASIC-80 Rev. 5.21
[CP/M Version]
Copyright 1977-1981 (C) by Microsoft
Created: 28-Jul-81
31800 Bytes free
Ok


E=1
Ok
PRINT 4 * E
-2.41704E-35
Ok
Z=10
Ok
PRINT 4 * Z
-2.41704E-34
Ok


In my mind 4 * E should equal one
and 7 * Z should equal ten.

Why am I getting -2.xxxxEyy ?????