+TheBF Posted March 9, 2021 Share Posted March 9, 2021 Be careful with those deletions. We could all just disappear. Hope your programming stress level is manageable. 2 Quote Link to comment Share on other sites More sharing options...
GDMike Posted March 9, 2021 Author Share Posted March 9, 2021 (edited) 4 minutes ago, TheBF said: Be careful with those deletions. We could all just disappear. Hope your programming stress level is manageable. This phone im using was doubling my replies... 12 hours ago, GDMike said: Working on my last tidbit. Importing a DV 80 file into current page. Shoot, you should be able to load up 10 DV 80 files create a directory on pages 1-10, and use the CALL GOTO feature to jump to those imported sections once imported PLUS save all of them as an SNP file. So far I have a new menu when you hit CTRL I for import. It asks you to press 1 import cartridge Press 2 import file Fctn9 to escape Edited March 9, 2021 by GDMike 1 Quote Link to comment Share on other sites More sharing options...
GDMike Posted March 9, 2021 Author Share Posted March 9, 2021 This phone was doubling my replies 2 Quote Link to comment Share on other sites More sharing options...
GDMike Posted March 9, 2021 Author Share Posted March 9, 2021 Quote Piece of crap phone... You said, "Piece of crap phone" would you like to play a game Instead... Quote Link to comment Share on other sites More sharing options...
+Schmitzi Posted March 9, 2021 Share Posted March 9, 2021 I am really happy to have this expensive iPhone NOT doubling all my crap !! ACK ACK ACK 1 Quote Link to comment Share on other sites More sharing options...
+Schmitzi Posted March 9, 2021 Share Posted March 9, 2021 I am really happy to have this expensive iPhone NOT doubling all my crap !! ACK ACK ACK 3 1 Quote Link to comment Share on other sites More sharing options...
GDMike Posted March 10, 2021 Author Share Posted March 10, 2021 Quote Quote Link to comment Share on other sites More sharing options...
GDMike Posted March 10, 2021 Author Share Posted March 10, 2021 (edited) I managed to come up with 730 bytes. I'm trying to get a DV80 import routine going.. Edited March 10, 2021 by GDMike 1 Quote Link to comment Share on other sites More sharing options...
GDMike Posted March 10, 2021 Author Share Posted March 10, 2021 Added a menu section to the Import hot key press. Instead of instantly importing CART data, Like it has been doing, now you will get a prompt asking the user if you want cart data by pressing number 1, OR press 2 to load a FILE OR 3, escape out. If the option selected is 2, you are kicked into the command line where you will have to enter the command: LOAD DSK#.FILE that you want to import, else you receive an error with the following: if the file doesn't exist. Or- simply pressing enter. Or- An unknown command 1 Quote Link to comment Share on other sites More sharing options...
GDMike Posted March 10, 2021 Author Share Posted March 10, 2021 (edited) To reduce my code length from growing, I'm reusing certain routines. Basically I made a flag and I run the user back through the command line as if a user wants to load a FILE. But when I approach where the program starts putting together a PAB, I simply check for the flag and create the PAB for the IMPORT option instead. I'm able to save quite a bit of ram. Edited March 10, 2021 by GDMike Quote Link to comment Share on other sites More sharing options...
apersson850 Posted March 11, 2021 Share Posted March 11, 2021 (edited) That's bad design practice. As I think I wrote about before, you should design your program so that you have a subroutine that does the file handling, then call that with different parameters, depending on the task at hand. Interrupting one routine with a flag is a more difficult to follow and less fleixible. This does of course also imply that you should sit down and plan the features, all of them, for your software first. Only when that's done, you start designing the program, to make it do these things. Edited March 11, 2021 by apersson850 3 Quote Link to comment Share on other sites More sharing options...
GDMike Posted March 11, 2021 Author Share Posted March 11, 2021 6 hours ago, apersson850 said: This does of course also imply that you should sit down and plan the features, all of them, for you software first. Of course, because I really didn't think I'd have the program space.. but I fooled myself. But yes, I see your point Quote Link to comment Share on other sites More sharing options...
apersson850 Posted March 11, 2021 Share Posted March 11, 2021 Whether you have the space or not doesn't matter. The principle is the same. And by planning all the functionality from the beginning, chances are much better that you discover synergy effects, where you can break out a piece of code/function and re-use that from different modules of the program. That saves space. It will also be easier to predict the need for larger data areas (buffers), that can be re-used by different segments of your program. Such re-use can save a lot of memory. 1 Quote Link to comment Share on other sites More sharing options...
+mizapf Posted March 11, 2021 Share Posted March 11, 2021 7 hours ago, apersson850 said: This does of course also imply that you should sit down and plan the features, all of them, for your software first. Only when that's done, you start designing the program, to make it do these things. I guess you'll get into some discussion with fans of "agile" development. 3 Quote Link to comment Share on other sites More sharing options...
GDMike Posted March 11, 2021 Author Share Posted March 11, 2021 (edited) It works Edited March 11, 2021 by GDMike Quote Link to comment Share on other sites More sharing options...
apersson850 Posted March 11, 2021 Share Posted March 11, 2021 (edited) 6 hours ago, mizapf said: I guess you'll get into some discussion with fans of "agile" development. I'm a professional. Writing programs that are in use for decades, where every update is listed in a document and where the same program can control machines manufactured in 2008 as well as 2021 makes me see the beauty of disciplined development. But it's not at all less fun. On the contrary, it's nice to know what you are doing and where you are aiming. Edited March 11, 2021 by apersson850 1 1 Quote Link to comment Share on other sites More sharing options...
GDMike Posted March 14, 2021 Author Share Posted March 14, 2021 (edited) LATEST SNP - with that said, im not sure of any changes other than cleanup, but there may be some necessary code changes. This is my last update. ill be moving over to Geneve forth. Ill continue to fix any issues that arise though, Its been fun! F5 Commands: CALL GOTO(X) CALL GOTO(XX) CALL GOTO(XXX) where "X" is a page number CALL COLOR(FB) where F = forecolor, B = background color CALL CHAR(N) where N = the character value in ASCII and function 9 for help Run from editor assembler cartridge option 3 the program and file are called SNP. Also, don't forget little sister program SNE, SuperNotes Express. Oh, I will work on a manual and upload the SNE data file, in which you will want to load into SNP to review, but it will probably be next month before I release it. Edited March 14, 2021 by GDMike 2 Quote Link to comment Share on other sites More sharing options...
GDMike Posted March 14, 2021 Author Share Posted March 14, 2021 (edited) I, again, forgot to include SAMs check for classic 99. Here's the SNP file with the correct functionality for SAMs and CL99. Well, when I went to run the program against my real hardware, I couldn't. Message saying I need SAMs, but when I ran it in CL99, it ran. So I noticed I had a Compare incorrectly placed, and CL99 was correct, it was me... sorry...yup, me that didn't get it right. So that's what I meant about making it match CL99. CL99 doesnt lie.. SNP Edited March 14, 2021 by GDMike 2 Quote Link to comment Share on other sites More sharing options...
GDMike Posted March 14, 2021 Author Share Posted March 14, 2021 (edited) Edited March 14, 2021 by GDMike 2 Quote Link to comment Share on other sites More sharing options...
HOME AUTOMATION Posted March 14, 2021 Share Posted March 14, 2021 OLBHA! OLBHA! OLBHA! ?? 1 Quote Link to comment Share on other sites More sharing options...
GDMike Posted March 14, 2021 Author Share Posted March 14, 2021 (edited) I want to share my greatest tester, my friend, and the one that could help me work tough questions. Victor Steerup . He's been absolutely amazing on supporting me, Victor Steerup, thank you. And thank you too all the support team!! And I want to thank that dog who never left me sitting alone.. woof Edited March 14, 2021 by GDMike 3 Quote Link to comment Share on other sites More sharing options...
GDMike Posted April 2, 2021 Author Share Posted April 2, 2021 (edited) I found a couple minutes this week to tie up a couple fixes in SNP. Brings us to ver. 1.11 04/01/21 Fixes include CALL CHAR(249) and 250 Also handling the inverting feature for this character. Also fixed is Sam's detection in classic 99 and on real hardware so the program works The same on both systems. I had a goof in my last rushed update. Those are fixed. This is the program AND the manual in a SNP file called SNPGUIDE. if you are in SNP and you want to load the manual you're going to have to do a LOAD DSK#.SNPGUIDE SNP SNPGUIDE93.rar Edited April 2, 2021 by GDMike 3 Quote Link to comment Share on other sites More sharing options...
GDMike Posted April 3, 2021 Author Share Posted April 3, 2021 Looky at the fun stuff you can do with SNP. 1 Quote Link to comment Share on other sites More sharing options...
GDMike Posted April 4, 2021 Author Share Posted April 4, 2021 Get creative, using the command line, CALL CHAR() to draw boxes 2 Quote Link to comment Share on other sites More sharing options...
GDMike Posted April 5, 2021 Author Share Posted April 5, 2021 (edited) I found that if you copy a word, with Control W, and if that word happens to be located on line 1 at position column 1, sometimes the computer would lock up and or part of that word is copied. So fixing that brought us to version 1.12 So here is the latest version of SNP 4/5/21. SNP Edited April 5, 2021 by GDMike 5 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.