HOME AUTOMATION Posted January 28, 2021 Share Posted January 28, 2021 2 hours ago, GDMike said: VID_20210128_111651325.mp4 "accomlished"? ...Looks like it might be time to think about writing a spell-checker. 2 Quote Link to comment Share on other sites More sharing options...
HOME AUTOMATION Posted January 28, 2021 Share Posted January 28, 2021 (edited) Quote Looking at the double lining in your video... got me to thinking ...you could write a simple algorithm to count multiple spaces and replace them with a value and token before saving. Edited January 28, 2021 by HOME AUTOMATION 1 Quote Link to comment Share on other sites More sharing options...
GDMike Posted January 28, 2021 Author Share Posted January 28, 2021 There's so much to do. I'm not wanting to use all of SAMs for user data, I'd like to reserve some for program space. I'm almost maxed now. Quote Link to comment Share on other sites More sharing options...
GDMike Posted January 28, 2021 Author Share Posted January 28, 2021 (edited) Can 2 PAB buffers share the same Address when there is only one using the buffer? Edited January 28, 2021 by GDMike Quote Link to comment Share on other sites More sharing options...
+Lee Stewart Posted January 29, 2021 Share Posted January 29, 2021 41 minutes ago, GDMike said: Can 2 PAB buffers share the same Address when there is only one using the buffer? You can do pretty much whatever you want. It is a matter of order of events. Obviously, you cannot use the same buffer to read from 2 files before you do anything with what is in the buffer because the second file read would overwrite the first, But, if you use the buffer to read data from file #1 and store it from there to somewhere else (presumably RAM), you can then use that buffer to do the same thing for file #2—of course, storing file #2’s data to a different RAM location. ...lee 1 Quote Link to comment Share on other sites More sharing options...
GDMike Posted January 29, 2021 Author Share Posted January 29, 2021 Ok.. because I'm using, or was using my TIpi clock buffer address>1000 and the clock doesn't run when file processing takes place anyway, so I thought I might be safe using that buffer for both, the file process and tipi clock. This way, I don't have to create another buffer. Quote Link to comment Share on other sites More sharing options...
+Lee Stewart Posted January 29, 2021 Share Posted January 29, 2021 How big is the clock buffer? ...lee 1 Quote Link to comment Share on other sites More sharing options...
GDMike Posted January 29, 2021 Author Share Posted January 29, 2021 (edited) 6 minutes ago, Lee Stewart said: How big is the clock buffer? ...lee 18 bytes for the PAB and then I have a CPUBUF BSS >20 And a BUFADR needs 20 bytes. So I squeezed the PABadress into>780 Edited January 29, 2021 by GDMike Quote Link to comment Share on other sites More sharing options...
GDMike Posted January 29, 2021 Author Share Posted January 29, 2021 (edited) And the clock and filer work. So I didn't touch the clock PABADRess. Edited January 29, 2021 by GDMike Quote Link to comment Share on other sites More sharing options...
+Lee Stewart Posted January 29, 2021 Share Posted January 29, 2021 Just now, GDMike said: 18 bytes for the PAB and then I have a CPUBUF BSS >20 And a BUFADR needs 20 bytes Well, do whatever floats your boat, but putting the clock PAB followed by its VRAM buffer (does it use one?) somewhere out of the way is easily done. In Text mode (what you are using),there is VRAM space at >0460 – >07FF (928 bytes) that is just sitting there free for the taking. ...lee 1 Quote Link to comment Share on other sites More sharing options...
GDMike Posted January 29, 2021 Author Share Posted January 29, 2021 4 minutes ago, Lee Stewart said: Well, do whatever floats your boat, but putting the clock PAB followed by its VRAM buffer (does it use one?) somewhere out of the way is easily done. In Text mode (what you are using),there is VRAM space at >0460 – >07FF (928 bytes) that is just sitting there free for the taking. ...lee i actually tried putting it at >0400 and the clock froze..Now, I havent figured out what caused it, I just restored the old source file and left it, BUT I could just for kicks try again... Quote Link to comment Share on other sites More sharing options...
GDMike Posted January 29, 2021 Author Share Posted January 29, 2021 (edited) ok Lee, it works at >0400. like I said, I did'nt troubleshoot the earlier issue because things were, working....BUT I just did change it and its fine. And the File SAVED as a test came out just fine Edited January 29, 2021 by GDMike Quote Link to comment Share on other sites More sharing options...
+Lee Stewart Posted January 29, 2021 Share Posted January 29, 2021 1 minute ago, GDMike said: i actually tried putting it at >0400 and the clock froze..Now, I havent figured out what caused it, I just restored the old source file and left it, BUT I could just for kicks try again... The Value Stack is in that area. I do not know that you are using any functions that need it, though. I think all GPL floating point operations use it, but I do not what else may. ...lee 1 Quote Link to comment Share on other sites More sharing options...
GDMike Posted January 29, 2021 Author Share Posted January 29, 2021 (edited) 4 minutes ago, GDMike said: ok Lee, it works at >0400. like I said, I did'nt troubleshoot the earlier issue because things were, working....BUT I just did change it and its fine. And the File SAVED as a test came out just fine This way, If I have another PAB I can use use the next avail spot Oh, BTW, I was able to Insert a Time\Date stamp into the SNP page and SAVE the File.. all good. so far Edited January 29, 2021 by GDMike Quote Link to comment Share on other sites More sharing options...
GDMike Posted January 29, 2021 Author Share Posted January 29, 2021 (edited) I had to stop, disabled wifi with RFKILL on the raspberry pi because I saw my network for the laptop reaching the tipi was slow.... especially during assembling, so I then found I had a cable problem that I needed to fix first.geees... Well, I've got a wifi extender but it doesn't do a good job at night..well, it's usually at night when I have connectivity issues... But all fixed and I'll just stay on the LAN. My phone seems to do ok on the wifi. Edited January 29, 2021 by GDMike Quote Link to comment Share on other sites More sharing options...
+TheBF Posted January 29, 2021 Share Posted January 29, 2021 2 hours ago, Lee Stewart said: In Text mode (what you are using),there is VRAM space at >0460 – >07FF (928 bytes) that is just sitting there free for the taking. ...lee Well I'll be jiggered. Thanks Lee that's a nice chunk of memory that I had never looked at. 2 Quote Link to comment Share on other sites More sharing options...
GDMike Posted January 29, 2021 Author Share Posted January 29, 2021 Well, when it rains it pours. Now this time after compiling, and everything was running just fine and dandy, the clock was working and I was saving files. Then, of course I went to show it off to someone and powered everything back on. This time, the clock froze.. Over and over, I recompiled, looking at code, changing PAB addresses.etc... Then it worked again with an old copy of the folder recompiled. Then I shut everything down and up again, and no worky again. I swapped out the computer and wholla, works every time.. It seems that the power supply switch is loose on this other computer as, now the switch won't stay in the on position. I think I remember something about these switches being easy to wear out.. But compared to this other computer, this power switch now is very firm compared to that other one big difference and the program runs without any issues now. Here's a map I found btw. Quote Link to comment Share on other sites More sharing options...
+Lee Stewart Posted January 29, 2021 Share Posted January 29, 2021 29 minutes ago, GDMike said: Here's a map I found btw. Not terribly useful for the Text mode you are using. It shows usage for Graphics mode. ...lee 1 Quote Link to comment Share on other sites More sharing options...
GDMike Posted January 29, 2021 Author Share Posted January 29, 2021 15 minutes ago, Lee Stewart said: Not terribly useful for the Text mode you are using. It shows usage for Graphics mode. ...lee Right. Quote Link to comment Share on other sites More sharing options...
HOME AUTOMATION Posted January 29, 2021 Share Posted January 29, 2021 1 hour ago, GDMike said: 15 hours ago, HOME AUTOMATION said: use VDP RAM from 0 to 15119 Looks like maybe my guess was a little high, but I would have to check to be surer. A good time for a debugger and drive emulation. 1 Quote Link to comment Share on other sites More sharing options...
GDMike Posted January 29, 2021 Author Share Posted January 29, 2021 I'm still having issues this morning. Booting everything up, I run SNP and I hang each time when I tried loading the clock. Btw, the clock runs fine in basic. I shut everything down last night and brought everything up and ran SNP and the clock was fine. So I reseated everything this morning after my first lockup, and removed cards, connections, and still getting locked only while accessing the clock. Still troubleshooting.. Quote Link to comment Share on other sites More sharing options...
GDMike Posted January 29, 2021 Author Share Posted January 29, 2021 Aha. It's my flex cable interface or the cable?? I just changed out the older one last week... dang... Quote Link to comment Share on other sites More sharing options...
GDMike Posted January 29, 2021 Author Share Posted January 29, 2021 Fixed my problem. Flex interface card had corrosion on the contacts..all fixed, SNP working just fine.. 2 Quote Link to comment Share on other sites More sharing options...
GDMike Posted January 30, 2021 Author Share Posted January 30, 2021 (edited) Nope, it happened again. I recall this all started happening after I changed the fan on my pi a week or so ago, I was using an external power supply from the Peb to power the fan for my pi, but I switched to a self powered fan, then a couple days after that my display on my monitor for the pi started going bazerk, flickering, so I googled that and it says it's insufficient power to the pi, so I swap power supplies for the pi, things cool down for a bit a couple days went by, three days maybe, and then I couldn't get the tipi to function, I couldn't see the tipi on my t i console, so I thought it was a connection to the side of the console so I had reseated all the cards, reconnecting that side port connector rebooted and the pi was visible again to the tipi, and all was good, and tell recently so what I did now is I ran external power back to the raspberry pi fan and pulled it off of the internal pinouts of the pi. So far things are back to normal. This raspberry pi is only 6 mo. Old,(Happy birthday pi)..so wow.. Edited January 30, 2021 by GDMike 1 Quote Link to comment Share on other sites More sharing options...
GDMike Posted January 30, 2021 Author Share Posted January 30, 2021 (edited) Narrowed down the problem to a file. So I may have had two issues going on at once. I pulled an old file and replaced one of a newer dated one, and I haven't seen any issues. So I'm looking into that particular file too..weird stuff.. but I think I'm on top of it. Fortunately, my latest files covering PABs and filing aren't suspect any longer and I can keep those new files. Edited January 30, 2021 by GDMike Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.