Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.
|
Forum Index : Microcontroller and PC projects : Micromite Peek and Poke
Author | Message | ||||
plasma Guru Joined: 08/04/2012 Location: GermanyPosts: 437 |
hi, What can i do with these Commands in the Micromite ? any hints ? thx |
||||
vasi Guru Joined: 23/03/2007 Location: RomaniaPosts: 1697 |
I guess those are useful especially when you lost some debates with Geoff regarding firmware implementation... Hobbit name: Togo Toadfoot of Frogmorton Elvish name: Mablung Miriel Beyound Arduino Lang |
||||
TassyJim Guru Joined: 07/08/2011 Location: AustraliaPosts: 6105 |
I made use of them to create a method of having short strings to save space. Not needed now since Geoff added the option to specify length for arrays. http://www.thebackshed.com/forum/forum_posts.asp?TID=5236&KW =short+string Poke can be dangerous to use! Jim VK7JH MMedit MMBasic Help |
||||
atmega8 Guru Joined: 19/11/2013 Location: GermanyPosts: 722 |
Not a very usefull comment. |
||||
vasi Guru Joined: 23/03/2007 Location: RomaniaPosts: 1697 |
Definitely, a bad joke, apologies! Doesn't matter what I thought about peek and poke in a microcontroller world... Geoff could chose to make some special zones where those can be useful or drop them definitively. I can't wait for him to finish with the improvements also for the Maximites to start asking him for bytecode compilation where we will get a lot more memory space and execution speed. Maybe there peek and poke will be really useful? Hobbit name: Togo Toadfoot of Frogmorton Elvish name: Mablung Miriel Beyound Arduino Lang |
||||
Geoffg Guru Joined: 06/06/2011 Location: AustraliaPosts: 3203 |
I only put in peek/poke because people kept asking for it - probably based on their experience with the TRS-80s of yesterday. Not because it was particularly useful. Peek/poke might come in handy if you wanted to change the PIC32's registers and implement something that BASIC does not - but that would be rare because almost everything that the chip can do is handled by MMBasic anyway. Geoff Geoff Graham - http://geoffg.net |
||||
Grogster Admin Group Joined: 31/12/2012 Location: New ZealandPosts: 9311 |
I have NEVER used any peek or poke command in MMBasic. Perhaps it is better to drop them from uM especially, along with you repeating the above to hammer home the reasons..... I suppose it depends on if you would save much memory by removing them or not. Smoke makes things work. When the smoke gets out, it stops! |
||||
Print this page |