Menu

bank switching

2011-07-11
2013-05-30
  • Peter  Rabiger

    Peter Rabiger - 2011-07-11

    I am using a 16F877 and have reached the limit of the first bank. GCB obviously does not make an automatic bank-switching. Checking the forum and flipping through some comments I found no working solution and they are already years old. Has something happened in the meantime to solve this problem ? Appreciate very much your support. By the way this program is to be a solution for a Geiger-Mueller Counter. Since I am living in the Philippines - what means we are very close to Japan - I am quite curious how much we have been affected by nuclear accident. This government here is not giving any information.
    Regards

    Petere Rabiger

     
  • Hugh Considine

    Hugh Considine - 2011-07-11

    I've made a few alterations to the bank selection code over the last few years, so some of the bugs in older forum posts have been fixed. Have you got the most recent update from 22/2/2011?

    If you have the latest update and it's not selecting banks correctly, could you post your code here or email it to me at w_cholmondeley at users dot sourceforge dot net?

     
  • Edward LaBudde

    Edward LaBudde - 2011-07-11

    Hugh, the automatic monitor email comes across as garbled:

    =0ARead and respond to this message at: =0Ahttps://sourceforge.net/project=
    s/gcbasic/forums/forum/596084/topic/4602464=0ABy: w_cholmondeley=0A=0AI've=
    made a few alterations to the bank selection code over the last few years=
    ,=0Aso some of the bugs in older forum posts have been fixed. Have you got=
    the most=0Arecent update from 22/2/2011?=0A=0D=0AIf you have the latest u=
    pdate and it's not selecting banks correctly, could=0Ayou post your code h=
    ere or email it to me at w_cholmondeley at users dot sourceforge=0Adot net=
    ?=0A=0A___________________________________________________________________=

    It has been doing this for a couple of weeks.
    Best regards, Ed.

     
  • Hugh Considine

    Hugh Considine - 2011-07-11

    That's very odd Ed, no problems here! Could it be something to do with your email? I have my sf.net email forwarded to Gmail, which shows it fine. I also have my Gmail set up to forward to my ISP account, which also shows the email fine. Maybe SourceForge.net have broken something?

     
  • Edward LaBudde

    Edward LaBudde - 2011-07-11

    Hugh, I have not made any changes to my system in the last year.  This started a few weeks ago.

    Ed.

     
  • Peter  Rabiger

    Peter Rabiger - 2011-08-10

    Hi Hugh,
    thanks a lot for your reply. Checked it late because I was waiting in vain for a notification ( I had checked the Monitor box).
    I tried to download the latest up-date for GCB. From around 3Mb it downloaded ca. 1.9 Mb and reported "download finished" however the file could not be unzipped.A corrupted file was reported.
    I tried today again with the same result
    Is there a possibility that you would send it as attachement by email to me? Would appreciate this highly for one reason also to review and update my German translation of the help-file.

    Bst wishes
    Peter

     
  • Peter  Rabiger

    Peter Rabiger - 2011-08-10

    Back again
    Same happens if I try to load down the slimlined file with ca. 600kb. It interrupts halway too.
    Peter

     
  • Peter  Rabiger

    Peter Rabiger - 2011-08-10

    Back again
    Same happens if I try to load down the slimlined file with ca. 600kb. It interrupts halway too.
    Peter

     
  • Peter  Rabiger

    Peter Rabiger - 2011-08-22

    Hi Hugh,

    after countless trials I was finally able to download the July updates. The translation of the Gerrman
    messages.dat file is now finished. I checked my older German translation of the help-file. It is updated
    and some bugs and errors are removed. Most of the sample programs I could test their functionality.
    I came across two things:
    The Select/Case program produces after each turn a black bar (16 boxes) in line on  a LCD. There is
                another program doing the same. The cls command at different positions doesnt help

    #chip p16F88, 4
    'LCD Anschluesse
    #define LCD_IO 4
    #define LCD_DB4 portb.4
    #define LCD_DB5 portb.5
    #define LCD_DB6 portb.6
    #define LCD_DB7 portb.7
    #define LCD_RS portb.3
    #define LCD_Enable portb.2
    #define lcd_no_rw
    #config hs_osc, mclre_on, lvp_off, wdten_on
    'Programm um verschiedene Werte eines Potntiometers zu
    'lesn.Entsprechend den Ergebnissen werden verschidene Texte
    'angezeigt'
    cls
    DIR PORTA.0 IN
    Do
        Temp = ReadAD(AN0) / 50
        Select Case Temp
            Case 0 : Print "0 Volt     "
            Case 1 : Print "> 0 Volt   "
            Case 2 : Print " 1 Volt"
            Case 3 : Print " 2 Volt    "
            Case 4 : Print " 3 Volt    "
            Case 5 : Print "< 5 Volt   "
            Case Else
                     Print "5V!        "
        End Select
        Wait 1000 ms
    Loop

    More serious: The compiler reports an error message compiling 18Fxxxx controllers:
    system.h (1047): error: ,ACCESS Syntaxerror
    system.h (1048): error: ,ACCESS Syntaxerror

    The setup of GCB is unchanged after installation the update.

    A major part in the German Help is the use and installation of the Crimson Editor. I found a lot of
    helpful features: calling the English and German helpfiles by using function-keys, automatic adding file type
    of a basic program (in my case I use *.gcb).The keyword-file  counts 859. The PIC chip types make the majority
    They count 591.

    Added to the HELP are a lot of more extensive  sample files often using  an LCD to have an idea what is going on.

    Regarding the bank-switching I can not say much yet. First impression is, that the problem is gone - however
    I did not test it extensively - was to busy with the translation/updating  work.

    For the future I wish to see the implentation of FLOAT  and DWORD variables. An easy procedure to dismantle 
    numbers > 10 in single digits (as this is needed in multiplexed 7 Segment displays like 4321 in <4> <3> <2> <1>)
    What about USB? I guess many are waiting for that also.

    A graet supplement would be a softwar simulator. What do yo think about this idea? Have a look please on the
    OSHON Pic Simulator with all its various features.

    Please continue you -including your partners- with the great job you have accomplished until now. Thanks a
    lot for it.

    With best wishes
    Peter Rabiger
     

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.