![]() |
Forum Index : Microcontroller and PC projects : dim var as byte
![]() ![]() ![]() ![]() |
|||||
Author | Message | ||||
Mixtel90![]() Guru ![]() Joined: 05/10/2019 Location: United KingdomPosts: 7830 |
Eh, when I were a lad our error messages were WHAT? HOW? and SORRY. Young 'uns these days, don't know how lucky they are! (Any other fans of Dr. Li Chen Wang's Palo Alto Tiny BASIC?) Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
pwillard Guru ![]() Joined: 07/06/2022 Location: United StatesPosts: 313 |
Heh, in the 80's I would get errors like "BS error in line 20" or "LS error in line 100" or "OM error in line 10" so you had to memorize what the error codes meant. |
||||
stanleyella![]() Guru ![]() Joined: 25/06/2022 Location: United KingdomPosts: 2527 |
where you a "lad"? :) Or did you see the error of your ways? :) in the 80's data was 8bit numbers that represented z80 assembler commands that were poked into ram and called as usr. No error messages just rubbish on the display. using win the editing with a mouse eventually becomes the norm but some folk memorise shortcut key combinations. I have apologised for saying there maybe problems with rpipico/mmbasic/mmedit as it's a new implementation. mmedit doesn't need a terminal as I was told it has a poor one built in. Having only just got mmedit to work is it ok or would I be better of using notepad and copy/pasteing the code into teraterm? I read teraterm only copies 256 characters which is why files I've copied are corrupted with lines missing maybe. |
||||
twofingers![]() Guru ![]() Joined: 02/06/2014 Location: GermanyPosts: 1571 |
Where "read"? I can easily insert >256 characters in Teraterm (v 4.85). Shift-Insert. Regards Michael Edited 2022-08-09 00:15 by twofingers causality ≠correlation ≠coincidence |
||||
JohnS Guru ![]() Joined: 18/11/2011 Location: United KingdomPosts: 4034 |
Maybe he means the length of a single line? Generally these things are documented. Though a line anything like 256 chars long is unreadable anyway (and easily split). John |
||||
lizby Guru ![]() Joined: 17/05/2016 Location: United StatesPosts: 3348 |
Teraterm can copy/paste large amounts of text. Maybe you are trying to paste directly into the MMBasic editor--that's where the restriction is. For the third time (from me--also from others). In your PC editor, Ctrl-A, Ctrl-C (to copy all); switch to teraterm connected to your Picomite; press F10 (AUTOSAVE); right-click or Alt-V (to paste); when pasting is done, Ctrl-Z to save and return to the ">" prompt. Takes longer to write it out or read it than it does to do it. PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed |
||||
pwillard Guru ![]() Joined: 07/06/2022 Location: United StatesPosts: 313 |
Are you not using MMEDIT and Maximite Control Center *MMCC* to upload files? It's pretty much the easiest way. |
||||
twofingers![]() Guru ![]() Joined: 02/06/2014 Location: GermanyPosts: 1571 |
|
||||
stanleyella![]() Guru ![]() Joined: 25/06/2022 Location: United KingdomPosts: 2527 |
In spite of what some others say, I love using the built-in editor in the 'Mites. It's easier to see than the GUI editors and has a lovely 80's computer look to it. :) The only problems with it as far as I'm concerned are that you can't copy & paste blocks of over 256 characters within it and pasting pieces of code from an external file is a pain. (If I want to do patchwork programming like that I work with the SD card and do part of the editing in Notepad on the PC.) It's very fast to develop small to medium sized programs using it. I did try an earlier version of MMEdit but we didn't get along well together, probably because I just don't like GUI editors. It's why I prefer Notepad to Notepad++ for most things. :) I tend to go "icon blind" sometimes, where I see the icons but they lose their meaning. Without hot tips they are useless to me when I get like that. teraterm copy/paste 256 characters only |
||||
stanleyella![]() Guru ![]() Joined: 25/06/2022 Location: United KingdomPosts: 2527 |
Well, reading sprites from data is slow. I'll try original draw sprites from arrays. https://www.youtube.com/watch?v=_SwoluBfOAI |
||||
twofingers![]() Guru ![]() Joined: 02/06/2014 Location: GermanyPosts: 1571 |
sure? This is what I just copied and pasted into Teraterm: 'a=&b0010111100101111001011110010111100101111001011110010111100101111 'a=&b0000000000000000000000000000000000000000000000000000000000101111 'a=&b0010111100101111001011110010111100101111001011110010111100101111 'a=&b0000000000000000000000000000000000000000000000000000000000101111 'a=&b0010111100101111001011110010111100101111001011110010111100101111 'a=&b0000000000000000000000000000000000000000000000000000000000101111 'a=&b0010111100101111001011110010111100101111001011110010111100101111 'a=&b0000000000000000000000000000000000000000000000000000000000101111 'a=&b0010111100101111001011110010111100101111001011110010111100101111 'a=&b0000000000000000000000000000000000000000000000000000000000101111 'a=&b0010111100101111001011110010111100101111001011110010111100101111 'a=&b0000000000000000000000000000000000000000000000000000000000101111 'a=&b0010111100101111001011110010111100101111001011110010111100101111 'a=&b0000000000000000000000000000000000000000000000000000000000101111 'a=&b0010111100101111001011110010111100101111001011110010111100101111 'a=&b0000000000000000000000000000000000000000000000000000000000101111 'a=&b0010111100101111001011110010111100101111001011110010111100101111 'a=&b0000000000000000000000000000000000000000000000000000000000101111 'a=&b0010111100101111001011110010111100101111001011110010111100101111 'a=&b0000000000000000000000000000000000000000000000000000000000101111 'a=&b0010111100101111001011110010111100101111001011110010111100101111 'a=&b0000000000000000000000000000000000000000000000000000000000101111 'a=&b0010111100101111001011110010111100101111001011110010111100101111 'a=&b0000000000000000000000000000000000000000000000000000000000101111 'a=&b0010111100101111001011110010111100101111001011110010111100101111 'a=&b0000000000000000000000000000000000000000000000000000000000101111 'a=&b0010111100101111001011110010111100101111001011110010111100101111 'a=&b0000000000000000000000000000000000000000000000000000000000101111 'a=&b0010111100101111001011110010111100101111001011110010111100101111 'a=&b0000000000000000000000000000000000000000000000000000000000101111 'a=&b0010111100101111001011110010111100101111001011110010111100101111 'a=&b0000000000000000000000000000000000000000000000000000000000101111 'a=&b0010111100101111001011110010111100101111001011110010111100101111 'a=&b0000000000000000000000000000000000000000000000000000000000101111 'a=&b0010111100101111001011110010111100101111001011110010111100101111 'a=&b0000000000000000000000000000000000000000000000000000000000101111 'a=&b0010111100101111001011110010111100101111001011110010111100101111 'a=&b0000000000000000000000000000000000000000000000000000000000101111 'a=&b0010111100101111001011110010111100101111001011110010111100101111 'a=&b0000000000000000000000000000000000000000000000000000000000101111 'a=&b0010111100101111001011110010111100101111001011110010111100101111 'a=&b0000000000000000000000000000000000000000000000000000000000101111 'a=&b0010111100101111001011110010111100101111001011110010111100101111 'a=&b0000000000000000000000000000000000000000000000000000000000101111 'a=&b0010111100101111001011110010111100101111001011110010111100101111 'a=&b0000000000000000000000000000000000000000000000000000000000101111 'a=&b0010111100101111001011110010111100101111001011110010111100101111 'a=&b0000000000000000000000000000000000000000000000000000000000101111 'a=&b0010111100101111001011110010111100101111001011110010111100101111 'a=&b0000000000000000000000000000000000000000000000000000000000101111 'a=&b0010111100101111001011110010111100101111001011110010111100101111 'a=&b0000000000000000000000000000000000000000000000000000000000101111 'a=&b0010111100101111001011110010111100101111001011110010111100101111 'a=&b0000000000000000000000000000000000000000000000000000000000101111 'a=&b0010111100101111001011110010111100101111001011110010111100101111 'a=&b0000000000000000000000000000000000000000000000000000000000101111 'a=&b0010111100101111001011110010111100101111001011110010111100101111 'a=&b0000000000000000000000000000000000000000000000000000000000101111 'a=&b0010111100101111001011110010111100101111001011110010111100101111 'a=&b0000000000000000000000000000000000000000000000000000000000101111 'a=&b0010111100101111001011110010111100101111001011110010111100101111 'a=&b0000000000000000000000000000000000000000000000000000000000101111 'a=&b0010111100101111001011110010111100101111001011110010111100101111 'a=&b0000000000000000000000000000000000000000000000000000000000101111 I find it problematic to post unproven rumors on the internet. causality ≠correlation ≠coincidence |
||||
Mixtel90![]() Guru ![]() Joined: 05/10/2019 Location: United KingdomPosts: 7830 |
I can cut & paste to my heart's content if I need to. I rarely need to as I "structure" my programming, "Pushing" the tested and working routines down as I add new, untested ones at the beginning. It reduces scrolling and having to move stuff around. I seriously don't like GUI editors and IDEs. :) Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
lizby Guru ![]() Joined: 17/05/2016 Location: United StatesPosts: 3348 |
'a=&b0010111100101111001011110010111100101111001011110010111100101111 'a=&b0000000000000000000000000000000000000000000000000000000000101111 ... I tried pasting this and got about 12 lines worth before it went off the rails. I seem to recall that this issue came up before and there was a matter of setting some TeraTerm timing parameter. Do you, or does anyone, recall what this might have been? If I recall correctly, the problems I have seen in pasting into the editor have been when I was pasting into existing code and only got one line's worth--maybe that was because the editor lost incoming characters as it was pushing down the text in the display. ~ Edited 2022-08-09 02:36 by lizby PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed |
||||
twofingers![]() Guru ![]() Joined: 02/06/2014 Location: GermanyPosts: 1571 |
'a=&b0010111100101111001011110010111100101111001011110010111100101111 'a=&b0000000000000000000000000000000000000000000000000000000000101111 ... I tried pasting this and got about 12 lines worth before it went off the rails. ~ That's amazing! My transmit delay setup: 10msec/char and 500msec/line Scroll buffer 50000 lines causality ≠correlation ≠coincidence |
||||
lizby Guru ![]() Joined: 17/05/2016 Location: United StatesPosts: 3348 |
Thanks. 5 msec/char and 100 msec/line resulted in all 64 lines being pasted in. (Now, how do I remember that the next time I paste on a laptop when those numbers haven't been set?) PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed |
||||
twofingers![]() Guru ![]() Joined: 02/06/2014 Location: GermanyPosts: 1571 |
2 msec/char and 50 msec/line works for me too (230400 Baud). I think the slow setup is from the old days of Micromites at 38400 Baud. Put a "Post It" on your laptop? ![]() causality ≠correlation ≠coincidence |
||||
TassyJim![]() Guru ![]() Joined: 07/08/2011 Location: AustraliaPosts: 6268 |
2 msec/char and 50 msec/line works for me too (230400 Baud). I think the slow setup is from the old days of Micromites at 38400 Baud. The line delay is needed to give the 'mite time to process and save the line. The size of the delay needed depends on the device. I found 100mS covers most devices. The baud rate also has some influence. I have found that 0mS character delay and 100 mS line delay suits my collection of devices. Jim VK7JH MMedit |
||||
TassyJim![]() Guru ![]() Joined: 07/08/2011 Location: AustraliaPosts: 6268 |
No, I am not sure why but he prefers to stay on V4. Personal choice is fine with me. Jim VK7JH MMedit |
||||
stanleyella![]() Guru ![]() Joined: 25/06/2022 Location: United KingdomPosts: 2527 |
If I got 100 lines of code. please how to copy paste it,select all copy. then paste to teraterm and save run assuming teraterm is same com port as rpipico ie com 13. copying to teraterm gives image ![]() |
||||
TassyJim![]() Guru ![]() Joined: 07/08/2011 Location: AustraliaPosts: 6268 |
You probably didn't start by entering AUTOSAVE You can either enter AUTOSAVE by the keyboard or as the first line of the code you are pasting VK7JH MMedit |
||||
![]() ![]() ![]() ![]() |
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |