Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About mgitzlaff

  • Rank
  1. Thanks Dave for the info and quick reply. Are there plans to add functions like "print"? Is there a projection yet as to when BoostBasic would release to a for sale version?
  2. Hi, I have been struggling with BoostBasic when it comes to interrupt evaluations. I have been trying to use an Evaluation Statement like this: If (pir1.TXIF = 1) Then.... Or: txreg = 82 Do . . . Loop Until (pir1.TXIF = 1) Using the 877A, the documentation for the TXIF bit says that hardware determines it's state and it is not software setable/resetable. So using it in a straightforward method like in the Do statement above, I would expect that the DO Loop will continue until the byte is fully transmitted and the buffer would be empty again. The empty buffer would trigger the setting of the TXIF bit and only allow the program execution to leave the Do-Until Loop when the txreg buffer is empty. What I find is that a hyperterminal screen formatting ESC Sequence will not properly execute with the above code. Placing one millisecond delays in place of the Do-Until Loop makes the code execute properly. I would much rather use the uP interrupt abilities. I have noticed that other people use an evaluation of the entire 8-bit register of pir1 and bit-and (mask) to determine a single bit's state. Does the compiler interpret this in a different way? I was going to examine the Assembly code generated to determine if the compiler is interpretting things differently. Also, one other question....does BoostBasic support printf? It does not appear to. Thanks in Advance! Mike
  3. Hi, I am trying to make use of the different bootloaders out there now. They occupy the topmost 256 bytes of memory in the PIC16F877A. In addition, the RESET(MAIN) entry point needs to be shifted by 4, i.e. instead of starting at address 0x0000, the new starting address is 0x0004. I know BOOSTBASIC is in BETA, however, I cannot determine what the PRAGMA statement would be to put into the source file to ensure this memory shift. I know that SOURCEBOOST IDE also has a special LINKER Function spot to change the default start of MAIN from 0x0000 to something else. I guess what I am looking for is the solution to adjusting the start of MAIN to Address 0x0004 and how to protect the top 256 bytes of Program memory from being overwritten by an application. Thanks!
  • Create New...