BasicMicroUK - Forums

www.basicmicro.co.uk
It is currently Sun Apr 22, 2018 3:04 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 9 posts ] 
Author Message
 Post subject: Basic Micro Studio Beta - Changes from build to build...
PostPosted: Sat Sep 12, 2009 3:13 pm 
Offline
Master

Joined: Tue Nov 21, 2006 5:34 pm
Posts: 662
As we find out more information about what changes from build to build in this beta, I thought it would be good to have some place to share some of this information. So I will try to post some of this information here.

Note: This information is probably not complete, it is only what I have been told or discovered.

1.0.0.10 - Initial release of Studio beta.

1.0.0.12 - Fixed Serin Flow control: serin RXRTS

1.0.0.13 -
(Maybe fix in HSerStat? - Or at least documented)
fixed the clear screen for the terminal windows(eg binary 0).
Lookdown,branch, and PWM had some minor bug fixes.
hserin timeout now matches serin timeouts(.5 microseconds). ### Manual needs to change ###


That is all for now.
Kurt

9/12/09 - I made this an announcement so it will always be here at the top.
kenjj [BasicMicro.com]


Top
 Profile  
 
 Post subject: Re: Basic Micro Studio Beta - Changes from build to build...
PostPosted: Wed Sep 16, 2009 1:14 am 
Offline
Master

Joined: Tue Nov 21, 2006 5:34 pm
Posts: 662
Here is some more information from Nathan for build 1.0.0.14
AcidTech wrote:
Added HSERVOINT_SERVO# interrupts(# = 0 to 31). These ints trip once at the end of any movement. t The interrupt handler is called just before the last servo pulse of this movement. This last pulse is already calculated and nothing you do in the interrupt handler will effect this pulse(unless you trash registers you shouldn't in an asm handler). Any hservo command changes will take effect after this pulse. A 0 rate hservo movement will cause the int to trip on the next pulse after the hservo command.

Can use with ONINTERRUPT or ONASMINTERRUPT

Same rules apply as with any asm interrupts. You have to save any trashed registers.

Here is a simple example program:
Code:
 
enablehservo
ONINTERRUPT HSERVOINT_SERVO0,handler_hservo0
ONINTERRUPT HSERVOINT_SERVO1,handler_hservo1
servo0 var long
servo1 var long
servo0=0
servo1=0
hservo [p0\0,p1\0]   ;causes end of movement interrupts to trip
main
 goto main
 
handler_hservo0
 servo0=servo0+1
 if(servo0=1)then
  hservo [p0-16000200]
 endif
 if(servo0=2)then
  hservo [p08000100]
 endif
 if(servo0=3)then
  hservo [p0-8000200]
 endif
 if(servo0=4)then
  hservo [p016000100]
  servo0=0
 endif
 resume
handler_hservo1
 servo1=servo1+1
 if(servo1=1)then
  hservo [p1-16000200]
 endif
 if(servo1=2)then
  hservo [p18000100]
 endif
 if(servo1=3)then
  hservo [p1-8000200]
 endif
 if(servo1=4)then
  hservo [p116000100]
  servo1=0
 endif
 resume
 


Not sure if anything else changed but that is all I know!
Kurt


Top
 Profile  
 
 Post subject: Re: Basic Micro Studio Beta - Changes from build to build...
PostPosted: Tue Apr 13, 2010 8:16 pm 
Offline
Citizen

Joined: Fri Jan 22, 2010 5:00 pm
Posts: 12
Nathan, this is a recap of the compiler issue that I am having that I posted over on LynxMotion.
I am moving the topic over to here.

Here's the message I get from version 1.0.0.17 through 1.0.0.23:
Starting Compiler...
This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem.

I've created new basic and c projects but still get the same error.

-Bob


Top
 Profile  
 
 Post subject: Re: Basic Micro Studio Beta - Changes from build to build...
PostPosted: Tue Apr 13, 2010 8:20 pm 
Offline
Citizen

Joined: Fri Jan 22, 2010 5:00 pm
Posts: 12
Thanks for your help with this. Follow-up to the questions regarding my system setup:

What OS are you using? Windows XP 32 bit Professional, Windows XP 32 bit Media Center Edition
Have you had any problems with other software recently? Everything works fine on all the systems I have tested with.
Do you have a second PC you can test on? I have tested it on 3 XP systems.
Are you uninstalling all the old IDEs/Studios before install the new ones? Yep, complete with power off before and after the install.
Are you using a User account or an Admin account when running the software? Yes in all cases.
What virus scanning software are you using? Norton Internet Security 2010, Symantec Endpoint 11.0.
Are you using any other security software? Nope.
Make sure your PC has all the updates.service packs for tour OS. They do.

I do use Visual Studio 2005 for development. It is my main development environment. It is installed on the 3 systems that I have tested. Perhaps this is the culprit. I'll remove Visual Studio 2005 from one of the systems and test Basic Micro Studio 1.0.0.23 on it.

-Bob


Top
 Profile  
 
 Post subject: Re: Basic Micro Studio Beta - Changes from build to build...
PostPosted: Wed Apr 14, 2010 2:11 am 
Offline
Citizen

Joined: Fri Jan 22, 2010 5:00 pm
Posts: 12
I noticed that after the installation of Basic Micro Studio 1.0.0.23, I did not have VS2008 run-time installed.
I manually installed the VC2008 run-time and Basic Micro Studio 1.0.0.23 compiled my basic and c test applications.
So I'm now running on the latest version, thanks!
I will be testing my Basic and C drivers with 1.0.0.23 very soon.


Top
 Profile  
 
 Post subject: Re: Basic Micro Studio Beta - Changes from build to build...
PostPosted: Wed Apr 14, 2010 5:28 am 
Offline
Site Admin
User avatar

Joined: Thu Mar 01, 2001 7:00 pm
Posts: 1316
Location: Temecula, CA
The 23 installer should have installed two Microsoft.VC90 directories in the install folder(eg c:\programfiles\basicmicro....\Microsoft.VC90...). Did these not install? If not, that is the problem. I'll have to figure out why install shield doesn't want to install them on your PC. If it DID install those directories I don't know what the problem is. Those directories are the 2008 runtimes.

_________________
Tech Support
Basic Micro - Robotic Technology Evolved


Top
 Profile  
 
 Post subject: Re: Basic Micro Studio Beta - Changes from build to build...
PostPosted: Wed Apr 14, 2010 1:56 pm 
Offline
Citizen

Joined: Fri Jan 22, 2010 5:00 pm
Posts: 12
I have confirmed that manually installing the VC2008 run-time has fixed the compile issue on all of my test systems.
On all my XP systems, this is what I did:

I did an un-install and confirmed that the C:\Program Files\BasicMicro directory was gone.
I then installed 1.0.0.23. It did install these directories, and they had content (dlls and manifest):
C:\Program Files\BasicMicro\Basic Micro Studio\Microsoft.VC90.CRT
C:\Program Files\BasicMicro\Basic Micro Studio\Microsoft.VC90.MFC

but my Add/Remove programs did not show the VC2008 re-dist.
I manually installed VC2008, the VC2008 re-dist did show in the Add/Remove programs, and Basic Micro Studio ran fine.
So far all of my testing has gone fine in Basic and C.


Top
 Profile  
 
 Post subject: Re: Basic Micro Studio Beta - Changes from build to build...
PostPosted: Wed Apr 14, 2010 5:55 pm 
Offline
Site Admin
User avatar

Joined: Thu Mar 01, 2001 7:00 pm
Posts: 1316
Location: Temecula, CA
It won't show the 2008 redist in add/remove because it's only adding the files locally to the Studio install. They get removed when studio gets removed. On XP and up the exe is supposed to look for those directories and if it finds them there it should use the runtimes in them. This is how Microsoft says it is supposed to work on XP+(2000 is different). Obviously they are wrong for some systems. If anyone else is having this problem I need to know. If it's fairly wide spread I'll have to install the redist using Microsofts redist installer which I do not want to do.

_________________
Tech Support
Basic Micro - Robotic Technology Evolved


Top
 Profile  
 
 Post subject: Re: Basic Micro Studio Beta - Changes from build to build...
PostPosted: Wed Nov 17, 2010 10:52 pm 
Offline
New User

Joined: Wed Nov 17, 2010 12:55 am
Posts: 1
I had the same problem with windows XP: error starting compiler.
i just install the vc2008 and everything works fine. You get it here:

http://www.microsoft.com/downloads/en/d ... laylang=en

greetings from germany


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group

phpBB SEO