This is a very belated response to Hugh's dat file implementation at my request. Got a blinky led response with the original tiny10.dat, but that was about it. Kept wondering why I couldn't write to the registers and get an output. Finally looked at the dat file, and indeed the register locations started going offtrack very quickly, along with some of the top of the file information.
Attached is the dat file that was manually doctered up for the tiny10. Can write to the registers that I'm interested in now.
Stan, it would be a waste of time with GCB at this point. Why is that? GCB uses all 32 general purpose registers for system variables, and the Tiny10 series only uses r16-r32. In other words as soon as you compile a for/next loop, test a condition, or any number other things you are bound turn up with an r0, or other out of bounds GPR. Sure you can work around this by substituting the assembly back into the original program and change the GPR's to within the tiny10 range, but it is a futile process as soon as you change the program once again.
Would only get if you wanted to brush up on AVR assembly language, or GCC, along with Atmel Studio. Also the tiny10 uses the TPI programming protocol, so you need an AVRISP mkii, or perhaps a bootloader?, to program.
If you want to play with 8pin AVR devices, I would go with the the tiny85. They can be had for cheap on an USB powered breakout board for < $2 USD from ebay or Chinese supplier.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
OK. Thanks. Er..I thought they were the same, more or less. Less memory and pins.More like 12f pic is different to 16F or 18F.There's a lot of avr things on many boards. I haven't scratched the surface for differences.
I have spare time and can fund my hobby...very cheap on ebay.
I looked in gcb include and saw Duemilanove
I got a Due and it's 32 bit so thought WHAT! But see what aduino naming means?
Library to allow the Arduino Duemilanove (mega328) to work with GCBASIC. V0.97.00
I don't want to brush up on your above. I downloaded amtel studio. Like microchip, ott for me but I read I can use the includes in it, in arduino ide. eg set 32bit registers without errors for if I use Due. 8 bit is more than enough for me to manage :)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This is a very belated response to Hugh's dat file implementation at my request. Got a blinky led response with the original tiny10.dat, but that was about it. Kept wondering why I couldn't write to the registers and get an output. Finally looked at the dat file, and indeed the register locations started going offtrack very quickly, along with some of the top of the file information.
Attached is the dat file that was manually doctered up for the tiny10. Can write to the registers that I'm interested in now.
Last edit: kent_twt4 2017-04-08
Should I include in the release?
You can for the tiny10. Have not gone over tiny4, 5, or 9.
Hi kent, would you want me get tiny to develope with frrom ebay if cheap. do they work with gcb? I not used 1
Stan, it would be a waste of time with GCB at this point. Why is that? GCB uses all 32 general purpose registers for system variables, and the Tiny10 series only uses r16-r32. In other words as soon as you compile a for/next loop, test a condition, or any number other things you are bound turn up with an r0, or other out of bounds GPR. Sure you can work around this by substituting the assembly back into the original program and change the GPR's to within the tiny10 range, but it is a futile process as soon as you change the program once again.
Would only get if you wanted to brush up on AVR assembly language, or GCC, along with Atmel Studio. Also the tiny10 uses the TPI programming protocol, so you need an AVRISP mkii, or perhaps a bootloader?, to program.
If you want to play with 8pin AVR devices, I would go with the the tiny85. They can be had for cheap on an USB powered breakout board for < $2 USD from ebay or Chinese supplier.
OK. Thanks. Er..I thought they were the same, more or less. Less memory and pins.More like 12f pic is different to 16F or 18F.There's a lot of avr things on many boards. I haven't scratched the surface for differences.
I have spare time and can fund my hobby...very cheap on ebay.
I looked in gcb include and saw Duemilanove
I got a Due and it's 32 bit so thought WHAT! But see what aduino naming means?
Library to allow the Arduino Duemilanove (mega328) to work with GCBASIC. V0.97.00
I don't want to brush up on your above. I downloaded amtel studio. Like microchip, ott for me but I read I can use the includes in it, in arduino ide. eg set 32bit registers without errors for if I use Due. 8 bit is more than enough for me to manage :)