User Activity

  • Modified a comment on discussion Open Discussion on GCBASIC

    the problem is that i don't have a dev board with 18F47Q10 to check the test code as it is, i can only test it in the way i already described. And i don't think that the integration of the test code affects it in any way, since everything works perfect, and the only modifications is to add a datablock and a programread command that is activated when a specific I/O address is read (and functionality of I/O reading surely works ok as i use it in many other occasions in the code)

  • Posted a comment on discussion Open Discussion on GCBASIC

    the problem is that i don't have a dev board with 18F47Q10 to check the test code as it is, i can only test it in the way i already described. And i don't think that the integration of the test code affects it in any way, since everything works perfect, and the only modifications is to add a datablock and a programread command that is activated when a specific I/O address is read (and functionality of I/O reading surely works ok as i used it in many other occasions in the code)

  • Modified a comment on discussion Open Discussion on GCBASIC

    I just noticed at programread() function that the output is declared as word: sub ProgramRed(In EEAddress, Out EEDataWord) Dim EEAddress As Word Dim EEDataWord As Word but all data block elements are bytes and also the call of programread is made using directly an 8bit PORT of PIC MCU as output: programread (@romconf+byte_sel, PORTD) Perhpas this is the problem?

  • Modified a comment on discussion Open Discussion on GCBASIC

    I just noticed at programread() function that the output is declared as word: sub ProgramRed(In EEAddress, Out EEDataWord) Dim EEAddress As Word Dim EEDataWord As Word but all data block elements are bytes and also the call of programread is made using directly an 8bit PORT of PIC MCU as ouput: programread (@romconf+byte_sel, PORTD) Perhpas this is the problem?

  • Posted a comment on discussion Open Discussion on GCBASIC

    I just noticed at programread() function that the output is declared as word: sub ProgramRed(In EEAddress, Out EEDataWord) but all data block elements are bytes and also the call of programread is made using directly an 8bit PORT of PIC MCU as ouput: programread (@romconf+byte_sel, PORTD) Perhpas this is the problem?

  • Posted a comment on discussion Open Discussion on GCBASIC

    I've attached the code i'm using. As already noted, i integrated the programread routine and calling of it, into a very large code which i'm using with an expansion borad connected to an Amstrad CPC, and from Basic prompt i give: PRINT INP(&FBC8) command which should return the value of the 1st element in romconf datablock (line 1208 of gcb code) , and every other PRINT INP(&FBC8) returns the next element.

  • Posted a comment on discussion Open Discussion on GCBASIC

    I replaced the test block with: DATA romconf as byte 1,2,4,8,16,32 end data And the values i get from progread fucntion: 16,0,16,0,0,56

  • Posted a comment on discussion Open Discussion on GCBASIC

    I used a diffrent table, all values are decimal

View All

Personal Data

Username:
ikonsgr
Joined:
2017-05-29 11:17:42
Location:
Greece / EEST
Gender:
Male

Projects

  • No projects to display.

Personal Tools