Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 10:38 24 Nov 2024 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : Bug fix for MMBasic V2.7

Author Message
Geoffg

Guru

Joined: 06/06/2011
Location: Australia
Posts: 3194
Posted: 08:42am 28 Oct 2011
Copy link to clipboard 
Print this post

Unfortunately Anthony (in this thread ) found a bug in the handling of the internal flash drive A: in 2.7. It shows up as four lost bytes for every 4076 bytes written to a file.

This was sufficiently important to put out an immediate fix (ver 2.7A) which you can download from http://geoffg.net/maximite.html. The updated source code can be found at the same location.

This release also fixes a couple of other bugs and adds one feature (details in the change log). A matching release for the UBW32 is available from http://geoffg.net/ubw32.html.

Don't forget to backup your drive A: before installing the update as it will clear that drive.

Apologies for the messing around,
Geoff

Edited by Geoffg 2011-10-29
Geoff Graham - http://geoffg.net
 
Geoffg

Guru

Joined: 06/06/2011
Location: Australia
Posts: 3194
Posted: 09:17am 28 Oct 2011
Copy link to clipboard 
Print this post

Damn, there was a bug in that version related to composite video. If you have downloaded it please do it again - the version now there fixes it.

Geoff
Geoff Graham - http://geoffg.net
 
sparkey

Senior Member

Joined: 15/06/2011
Location: Australia
Posts: 819
Posted: 09:54am 28 Oct 2011
Copy link to clipboard 
Print this post

geoff did you slow the timer count down on the XMODEM it seems slower now and it is ezier to load up the hy-tem protcol and stuff or is it me thats being decived by my computer ...sparkey...oh i was running on com 6 baud 9600 proto XMODEM and the file was sent to the maxi ..i am also using an "ev" board from don and so hyper-term working ...sparkey...///
technicians do it with least resistance
 
Geoffg

Guru

Joined: 06/06/2011
Location: Australia
Posts: 3194
Posted: 10:23am 28 Oct 2011
Copy link to clipboard 
Print this post

No sparkey, I did not change anything in that area. I was in too much of a panic to get this fix out. I will look at it later.

Geoff
Geoff Graham - http://geoffg.net
 
sparkey

Senior Member

Joined: 15/06/2011
Location: Australia
Posts: 819
Posted: 11:44am 28 Oct 2011
Copy link to clipboard 
Print this post

well it is slower atm i am running at 38000 baud it copied the file battery.bas ..but i cannot load the file ;it comes up with an error "line to long" i spose this is documented in the manual but cant seem to find it ...or was it because i was using a too fast baud speed ...dunno...thanks sparkey

technicians do it with least resistance
 
sparkey

Senior Member

Joined: 15/06/2011
Location: Australia
Posts: 819
Posted: 03:59pm 28 Oct 2011
Copy link to clipboard 
Print this post

i have the maximite "ev" from don connected via hy-term and did a file transfer from pc to drive A with a jpg file ... the quickest time i can transfer this file is 16 seconds its a 91k file "battery.jpg" mm manual says that the highest speed is "19200" ...though i have it set a higer baud does it only see 19200 baud ...????...///...//Edited by sparkey 2011-10-30
technicians do it with least resistance
 
ajkw
Senior Member

Joined: 29/06/2011
Location: Australia
Posts: 290
Posted: 02:45am 29 Oct 2011
Copy link to clipboard 
Print this post

Geoff,

Sorry for the panic! The 4K bug certainly got my attention/curiosity when testing the copy program and seeing the small change in file size.

Cheers,
Anthony
 
crackerjack

Senior Member

Joined: 11/07/2011
Location: Australia
Posts: 164
Posted: 12:17pm 30 Oct 2011
Copy link to clipboard 
Print this post

A very minor update to the Quick Reference is available - essentially this just includes the features added in 2.7A which are OPTION USB and OPTION VIDEO.
 
arvindk
Newbie

Joined: 31/10/2011
Location: Australia
Posts: 10
Posted: 10:37am 31 Oct 2011
Copy link to clipboard 
Print this post

Hi everyone
I have just joined the forum and apologise if I am in the wrong place for my question.

I have just upgraded to Version 2.7A, but have not been able to figure out how drive A: is accessed. Anything I do seems to point to the SD card, but I cannot work out how one switches from drive B: to A: or vice versa, or what is the indication what drive you are using. Can"option prompt " be set to indicate the drive letter as in old-fashioned DOS ?

I am relying here on the old saying that the only stupid question is the one that was not asked, LOL
 
sparkey

Senior Member

Joined: 15/06/2011
Location: Australia
Posts: 819
Posted: 10:47am 31 Oct 2011
Copy link to clipboard 
Print this post

:syntax: drive":a"

this will swap drives for you ...welcome regards sparkey ...///...///or

drive ":a"

with or without a space not shure tired...
technicians do it with least resistance
 
sparkey

Senior Member

Joined: 15/06/2011
Location: Australia
Posts: 819
Posted: 10:51am 31 Oct 2011
Copy link to clipboard 
Print this post

dsyntax: <? mm.drive> will show you the drive that you are logged to...
technicians do it with least resistance
 
crackerjack

Senior Member

Joined: 11/07/2011
Location: Australia
Posts: 164
Posted: 12:10pm 31 Oct 2011
Copy link to clipboard 
Print this post

@arvindk, try the following for something like the good "Old Fashioned DOS" prompt:

[code]OPTION PROMPT MM.DRIVE$+CWD$+">"[/code]
Which will give you the something like:
[code]A:\MYDIR>[/code]
...or even more useful, you can include the current file name you are editing (since SAVE, RUN, etc work against this from v2.6 onwards):

[code]OPTION PROMPT MM.DRIVE$+CWD$+"\"+MM.FNAME$+">"[/code]
Which will give you something like:
[code]B:\GROOVY\STUFF.BAS>[/code]

You could go nuts and inlcude TIME$, DATE$, or whatever, but it starts to eat into the available line space...

You can include the above in your AUTORUN.BAS.

Cheers...
 
arvindk
Newbie

Joined: 31/10/2011
Location: Australia
Posts: 10
Posted: 09:21pm 31 Oct 2011
Copy link to clipboard 
Print this post

Thanks to all for your help. I do feel sorry that I did not follow the age-old advice of RTFM !!
Although mm.drive$ is listed in the manual, I would not have known that 'drive' was a valid command and needs to be followed by a string (with the drive letter). I do not remember this from my GW-Basic days.
I find the Maximite a great little tool and the forum matches it. Great job Geoff and all of you senior members.
I also have a UBW32 from Sparkfun and will load Maximite version of MMBASIC into it today. I rather like its 50-pin capability.
Back to work now
 
Print this page


To reply to this topic, you need to log in.

© JAQ Software 2024