home *** CD-ROM | disk | FTP | other *** search
/ 8bitfiles.net/archives / archives.tar / archives / genie-commodore-file-library / Information / RTCMMSGS02.SFX / 05rtcmmsgs < prev   
Encoding:
Text File  |  1990-02-12  |  33.8 KB  |  848 lines

  1.  of the 'dflt.'
  2.        files on your drive.
  3.  
  4.        There is one other possibility.... if the partition was incorrect
  5.        (since you could not set it for the system), rtcm would not see those
  6.        files because it could not get to the partition where they are.  That
  7.        is also a very good suspect.
  8.  
  9. Ok, double checked - BOOTSET will read the "dflt.*" file on drive 9 (1581) but
  10. will NOT read it on the HD (1581 partition).
  11.  
  12. Both times on both drives, I used the EZ.BOOT program to start up with, then
  13. set the device/drives manually (C= U). All I get on the HD is the partition
  14. header.
  15.  
  16. BTW, found another qwirk - On the HD during the "what font do you want"
  17. segment of BOOTSET, I got the partition header as a selection.
  18.  
  19. Also getting it in the log on script selection.
  20.  
  21.  
  22. I guess my next task will be to create another partition and dislove the files
  23. again. I'll also do this on the RamLink and see how it reacts there.
  24.  
  25.  ------------
  26. Category 8,  Topic 18
  27. Message 148       Sun Oct 08, 1995
  28. E.GBELL [e.g.bell]           at 14:11 EDT
  29.  
  30. Cam:  This is really odd... The program  uses a very simple routine to read in
  31. the directory... skipping the header data.  I think I might have to write a
  32. hack sometime this week to read and file the format of the header of your HD
  33. as RTCM sees it.  It is, from what I am hearing, different than the format of
  34. the other drives and RamLink.  I do understand what is happening now... and
  35. this one could be a nasty one to fix....  I'll reserve judgement tho, until I
  36. can get a look at the format of the directory on the HD.
  37.  
  38. The above, btw, does explain why you are seeing what you are seeing... piques
  39. my curiosity as well.  Apparently the reason it did not abort as it normally
  40. would is that something about the directory header 'looked' like a file
  41. entry... and since RTCM is expecting (after the directory entry) only matches
  42. to the 'dflt.' pattern until it gets to the blocks count line, it took the
  43. entry for a dflt. file.  There is no checking done on this information because
  44. of the above assumption.  When I can, I'll write a little basic program to
  45. read the directory as RTCM reads it and see what I get....
  46.  
  47. in the meantime, do you have a manual for your drive, and could you post the
  48. directory format?
  49.  
  50. Thanks Cam...
  51.  
  52. I'm working on the defaults overlay today... trying to find out why the weird
  53. stuff loading and then saving the dflt. file.  This function was a late
  54. addition that I probably did not give enough thought to when I added it. 
  55. Guess I just got lucky that no one gave it a workout until this version.  I
  56. have scratched a part in what is left of my hair trying to track down and
  57. understand what I see, etc.  I'm getting there.  %)
  58.  
  59. ed
  60.  
  61.  
  62.  
  63.  ------------
  64. Category 8,  Topic 18
  65. Message 149       Sun Oct 08, 1995
  66. CBM-BANDIT                   at 20:53 EDT
  67.  
  68.  
  69.   EGB> Apparently the reason it did not abort as it normally would is that
  70.        something about the directory header 'looked' like a file
  71.        entry... and since RTCM is expecting (after the directory entry) only
  72.        matches to the 'dflt.' pattern until it gets to the blocks count
  73.        line, it took the entry for a dflt. file.
  74.  
  75. Ok, so if the header looked like a match for the "dflt" file, why didn't RTCM
  76. pick up the entry for the actual "dflt." file as well?
  77.  
  78. As I recall, there used to be an option of having several "dflt." files for
  79. whatever reasons. Did this change somewhere down the line?
  80.  
  81. I know, I know.. Questions, questions and more questions! <g>
  82.  
  83.  
  84.  
  85.  ------------
  86. Category 8,  Topic 18
  87. Message 150       Mon Oct 09, 1995
  88. CBM-MARK                     at 01:42 EDT
  89.  
  90.  Ed,
  91.  
  92.   eb>  I'm not sure about the sequence of events, but I can see how
  93.   eb> something  could happen based on the run/stop key
  94.  
  95.  If you are asking what the sequence of events were that lead to
  96.  the RUN/STOP key crashing RTCM, there is none.  Anytime the run/stop
  97.  key was pressed it would crash.  As long as left that key alone RTCM
  98.  worked OK.  Not perfect, but Ok ;>  The run/stop key problem only
  99.  happens when the SWIFTRTS.OBJ file is used.
  100.  
  101.   eb>  No, but then, the aSc should not be necessary if the correct
  102.   eb> code is  in place.  82 is the aScII code for 'r'
  103.  
  104.  Um, I think you misunderstand.  I don't have the line number handy
  105.  but after BOOTSET is run the line starts out like this :  io%=82("r") ...
  106.  It should be io%=asc("r") ...
  107.  I see I forgot to mention another thing BOOTSET did with the boot file
  108.  it writes.  When an Aprotec modem is specified as being used in the
  109.  user port, there is a program line that ends up like this :  dcd=.16 ...
  110.  (I should have wrote those line #'s down)  It should be :  dcd=16 ...
  111.  The original program line is "dcd=.: ..." so as you can see the period
  112.  is not written over correctly with "16".
  113.  
  114.   eb>  Ok, when you say the music is interfering, do you mean it
  115.   eb> plays when it  should not?
  116.  
  117.  Yes, exactly!  I have it turned OFF in my defaults but when I used a
  118.  script the music would turn on right after carrier was detected.  I'ld
  119.  see 'hhhhh' sent over the modem and that's as far as the script went
  120.  because of the music playing.  See next-
  121.  
  122.   eb>  I'll check the save routine tonight... I did some work on that
  123.   eb> part of  the program I believe to make a dflt
  124.  
  125.  By saving the dflt. file using C=W instead of through the defaults
  126.  overlay my music setting of OFF seems to be working now.  A script
  127.  no longer turns on the music on connect.
  128.  
  129.                   ~~Mark~~
  130.  ------------
  131. Category 8,  Topic 18
  132. Message 151       Mon Oct 09, 1995
  133. E.GBELL [e.g.bell]           at 06:07 EDT
  134.  
  135. I can't answer your question about the header Cam... it is a logical
  136. question... and another logical question is why it automatically selected it
  137. instead of you having to point at it.  As for it not seeing the actual dflt.
  138. file, the only thing I can figure is that it has something to do with the way
  139. the directory appears to RTCM as read in using the '$dflt.*' pattern. Give
  140. that a try and see what you see in a directory using any pattern...
  141.  
  142. i.e.
  143.  
  144.  
  145.              dir "$dflt.*"
  146.  
  147. Tell me what comes up when you do that... or use any pattern you want to see
  148. files that are on the drive.  That would help me as well to know what you see.
  149. It might shed some light.
  150.  
  151.  
  152.  
  153. Mark:
  154.  I have been working the last 2 days to track down the problem you are having
  155. with defaults.  I can see it but I sure can't find it.  I have fixed it
  156. somewhat but somehow it does revert to original settings, and I have no clue
  157. why.
  158.  
  159. In the bootset problems, just for curiosity, you are not saving your boot file
  160. back to 'ez.boot' are you?  If so, that is a problem.  That should be
  161. considered a 'clean page' from which to start boots.  You probably are not,
  162. but I just thought I'd ask.  Previous versions of bootset forced the save to
  163. 'my.boot'.  I added the ability to pick a name never thinking that someone
  164. would use 'ez.boot'.  I should have been specific about that.
  165.  
  166. As for the run/stop key, there was a sequence of events whether your finger
  167. was involved first or not. ;)  I just don't know what it was.  There does seem
  168. to be a problem you and Eddie are having w/that handler that I am not.
  169.  
  170. I am starting to suspect that bootset is causing a lot of this.... something
  171. has been changed that was not accounted for.  As I said, ez.boot is expected
  172. to be unchanged.  I am starting to wonder if I did something to change
  173. something.  My suggestion for now would be to manually modify ez.boot as you
  174. have done for all previous versions, but save it under a different name. From
  175. there, make the flow settings using defaults.  Me, I have to look some more,
  176. but all the problems reported have been isolated or linked to BOOTSET and
  177. SWIFTRTS.OBJ. *sn
  178.  
  179.  
  180.  
  181.  ------------
  182. Category 8,  Topic 18
  183. Message 152       Mon Oct 09, 1995
  184. CBM-MARK                     at 10:30 EDT
  185.  
  186.  Ed, I save the new boot file under a different name when using BOOTSET.  I
  187.  have 2 set up for testing purposes, one is "1200BOOT" for using my Aprotek
  188.  modem and the other is "2400BOOT" for my SL.  btw, the line numbers that
  189.  BOOTSET mess up are '105' and '135'.  Set up a boot file for an Aprotek 1200
  190.  modem using RAMDOS and I'm sure you'll see what I mean, what BOOTSET does.
  191.  
  192.  I just noticed something about the DEFAULTS overlay save routine.  The 
  193.  dflt. files it saves are missing the '.' so you end up with DFLTMYSETUP
  194.  on disk.
  195.  That would explain some things.  Cam, get your directory listing using
  196.  "$:dflt*" and I'll bet you'll see it too.
  197.  
  198.                   ~~Mark~~
  199.  ------------
  200. Category 8,  Topic 18
  201. Message 153       Mon Oct 09, 1995
  202. E.BOURDON1 [C128-Eddie]      at 15:22 EDT
  203.  
  204.  Ed, 
  205.     I have just realized that what is happening to Mark is the same
  206.  thing I had trouble with.  That is, the dflt.mysetup saving
  207.  as dfltmysetup when I save from the overlay save pull down
  208.  menu.  It saves fine when I use C=w to save it.
  209.  also, the music playing after I turned it off is another problem
  210.  that was fixed after I re-saved the dflt.mysetup with the C=W
  211.  and selected 'y' at the make changes permenant prompt at the
  212.  defaults overlay.
  213.  I haven't had a chance to test it in the RTC again and see if it keep
  214.  crashing on me.
  215.  That is one problem down.  :)
  216.  ------------
  217. Category 8,  Topic 18
  218. Message 154       Mon Oct 09, 1995
  219. CBM-BANDIT                   at 16:25 EDT
  220.  
  221.  
  222.   EGB> I can't answer your question about the header Cam... it is a logical
  223.        question... and another logical question is why it automatically
  224.        selected it instead of you having to point at it.  As for it not
  225.        seeing the actual dflt. file, the only thing I can figure is that it
  226.        has something to do with the way the directory appears to RTCM as
  227.        read in using the '$dflt.*' pattern. Give that a try and see what you
  228.        see in a directory using any pattern...
  229.        i.e.
  230.  
  231.              dir "$dflt.*"
  232.  
  233.        Tell me what comes up when you do that... or use any pattern you want
  234.        to see files that are on the drive.  That would help me as well to
  235.        know what you see.
  236.  
  237. Ok, I went thru the defaults overlay and bootset overlay and wrote down all
  238. the odd items...
  239.  
  240. Default Overlay:
  241.  ----------------
  242.  
  243. - Change font: Showed font.typewriter (I added that) and
  244.                hd 3d    f     <- This "f" is where the P or S for Seq would
  245.                                  be.
  246.  
  247. Bootset Overlay:
  248.  ----------------
  249.  
  250. - Font   :  Showed hd  3d    f    and font.typewriter
  251.  - Dflt.* :  Showed hd  3d    d    ONLY
  252.  - Scrp.* :  Showed hd  3d    []   <- was blank this time
  253.                    Empty Slot s   <- had "s" in this empty slot
  254.                    scrp.mailbb   p
  255.                    scrp.SprintNet3   p
  256.  - User ID:  Showed Graphic characters in the area for user ID #
  257.             Had to Delete these and insert Number
  258.  
  259. Checking the directory Using RTCM
  260.  ---------------------------------
  261.  - C= F1 : Showed DFLT.MYSETUP & File saved as "HD  3D" from Bootset
  262.  - C= Y  : Using DFLT.* for directory pattern, showed ONLY DFLT.MYSETUP
  263.  
  264.  
  265. One last note, I had no problems saving "mysetup" in the defaults overlay.
  266.  I didn't need to go outside it and save with C= W.
  267.  
  268.  
  269.  ------------
  270. Category 8,  Topic 18
  271. Message 155       Mon Oct 09, 1995
  272. CBM-BANDIT                   at 16:42 EDT
  273.  
  274. Mark,
  275.  
  276. Saved mine in the defaults overlay and my DFLT.FILE has the "." in it.
  277.  
  278. Ok, which one of us has the system from hell?  What doesn't work for you,
  279. works for me!
  280.  
  281.  ------------
  282. Category 8,  Topic 18
  283. Message 156       Mon Oct 09, 1995
  284. E.GBELL [e.g.bell]           at 19:32 EDT
  285.  
  286. Gads!   I finally found the problem with the changing device numbers and you
  287. find another one???  However, I did make a change to the filename routine
  288. yesterday... it was however a problem with cutting one letter off the end, not
  289. the '.' in the middle.  I have been saving files, and not noticing that...
  290. perhaps I fixed that somehow unintentionally but I'll check it out tomorrow
  291. anyway.
  292.  
  293. And saving the files that way is a good idea Mark.  I fixed bootset today to
  294. screen out the ez.boot name, to skip the '.' in the dcd setting, and yesterday
  295. to  do the 'asc..' thing.
  296.  
  297. Cam:
  298.  I meant to have you do that command  outside of RTCMaster... at the ready
  299. prompt, just type in this command:
  300.  
  301.     dir "$dflt.*"
  302.  
  303. and tell me what comes up.  It is obvious that RTCM is seeing the directory
  304. name as a file entry.  What is not obvious is how it is getting into the
  305. filename that is saved to disk.
  306.  
  307. Fwiw, i have not seen the problem with the '.' myself, tho I am going to
  308. specifically check for that later tonight.  I have been seeing the files I've
  309. been creating, but I do think I fixed that problem tho, now that I think about
  310. it.  I looked at a piece of my code and had to wonder what the hell I was
  311. doing there... I removed it, but come to think of it, it could have caused
  312. exactly what Eddie and Mark are describing, tho it would have caused something
  313. worse as well...
  314.  
  315. I made a new archive of 3.02 tonight with the fixes I've made over the past
  316. few days.  This is for beta only, until we get this weird stuff ironed out. It
  317. would be so much easier if this stuff would happen to me instead of everyone
  318. else... less embarassing too. ;)
  319.  
  320. O, btw, Cam... I can pretty much state from experience that it is Mark that
  321. has the system from  hell....   if there is a problem, ANY problem, Mark's
  322. system will find it!  That has proven to be a great help over the past few
  323. years.  Lots of work too... ::: groan :::    ; )
  324.  
  325.  
  326.  ------------
  327. Category 8,  Topic 18
  328. Message 157       Mon Oct 09, 1995
  329. CBM-BANDIT                   at 22:05 EDT
  330.  
  331. Ed,
  332.  
  333. I used the command dir "$dflt.*"  with and without quotes.
  334.  
  335.   w/o - I get ?syntax error
  336.   w   - I get nothing but the ready prompt
  337.  
  338.  ------------
  339. Category 8,  Topic 18
  340. Message 158       Mon Oct 09, 1995
  341. E.BOURDON1 [C128-Eddie]      at 23:43 EDT
  342.  
  343.  Ed, 
  344.    Once again I had RTCM break to monitor on me.  Here is the results:
  345.  00085 34 07 01 c8 24
  346.  
  347.    I also had something new happen tonight.
  348.  While in the RTC, I got a 'Undefined statement in 450' error
  349.  after I had just transmitted a line.
  350.    I am begining to feel that maybe there was a bad block somewhere
  351.  when I d/l, although none were reported when I d/l the 3.02 arc files.
  352.  ------------
  353. Category 8,  Topic 18
  354. Message 159       Tue Oct 10, 1995
  355. CBM-MARK                     at 00:06 EDT
  356.  
  357.   cs> Saved mine in the defaults overlay and my DFLT.FILE has the "."
  358.   cs> in it
  359.   eb> Fwiw, i have not seen the problem with the '.' mysel
  360.  
  361.  I missed seeing this beacause there *was* a file on my disk called
  362.  'dflt.mysetup' with the '.' in it.  I just assumed this was the file
  363.  I had saved through the defaults overlay.  Not so, it was the
  364.  original.  Paying closer attention to all the files on disk revealed
  365.  I had one there as 'dfltmysetup'.  I confirmed this by saving another
  366.  dflt. file through the overlay using 'test' as my entry.  I ended up
  367.  with a file on disk as 'dflttest'.
  368.  
  369.  btw, Ed, weren't the dflt. files saved to disk at one time as
  370.  "@0:dflt.<filename>" in the overlay?  If so, they aren't now.
  371.  
  372.   eb> O, btw, Cam... I can pretty much state from experience that it
  373.   eb> is Mark that has the system from  hell...
  374.  
  375.  LOL!  Maybe that explains the funny green glow comming from inside
  376.  the computer ;>
  377.  
  378.                    ~~Mark~~
  379.  ------------
  380. Category 8,  Topic 18
  381. Message 160       Tue Oct 10, 1995
  382. CBM-BANDIT                   at 18:11 EDT
  383.  
  384. I just took another, closer look at the files in the directory. There is
  385. indeed a file called DFLTMYSETUP and it is missing the ".".
  386.  
  387.  ------------
  388. Category 8,  Topic 18
  389. Message 161       Tue Oct 10, 1995
  390. CBM-MARK                     at 21:29 EDT
  391.  
  392. Sneaky little files aren't they ;D
  393.  ------------
  394. Category 8,  Topic 18
  395. Message 162       Tue Oct 10, 1995
  396. E.GBELL [e.g.bell]           at 21:44 EDT
  397.  
  398.   CS> I used the command dir "$dflt.*"  with and without quotes.
  399.  
  400.   CS>   w/o - I get ?syntax error
  401.   CS>   w   - I get nothing but the ready prompt
  402.  
  403.  You should have gotten a syntax error w/o the quotes.  With the quotes,
  404.  you should have gotten a directory listing of any files that start with
  405.  'dflt.' on that directory.  I assume there is at least one.  If that is
  406.  correct, and you did everything correct, it seems that the HD responds
  407.  differently to that command than every other device I've had experience
  408.  with.  Is there anyone else here who can duplicate cam's results?
  409.  
  410.   EB> a 'Undefined statement in 450' error  after I had just
  411.   EB> transmitted a line.    I am begining to feel that maybe there
  412.   EB> was a bad block somewhere
  413.  
  414.  The undefined statement error sounds like a stack error Eddie...IOW, 
  415.  something is playing fast and loose with the stack...something in my
  416.  code, that  is.  The easy thing would be to blame a bad download, but
  417.  truth is, that gets blamed far more than facts justify.  a bad download
  418.  would more likely not work at all.  when you say you just transmitted a
  419.  line, are you talking about normal chat mode or from the editor's xmit
  420.  line mode?
  421.  
  422.   MD> Paying closer attention to all the files on disk revealed  I
  423.   MD> had one there as 'dfltmysetup'
  424.  
  425.  this is what you have always done better than anyone else!  I located
  426.  the problem the other day too, based on your report.  when I first wrote
  427.  the routine to save the file name, for whatever reason I started storing
  428.  the filename at 'putbuff+1'... meaning the first byte was a zero... I
  429.  don't know all of the things that would have rippled down from this, but
  430.  the missing '.' makes a world of sense here.  That is where it went.  That
  431.  has been removed.
  432.  
  433.   MD>  btw, Ed, weren't the dflt. files saved to disk at one time as 
  434.   MD> "@0:dflt.<filename>" in the overlay?  If so, they aren't now
  435.  
  436.  Not sure if they were... that feature is still relatively new... but at 
  437.  any rate, the problem just mentioned might have been a factor in this.
  438.  
  439.   CS> is indeed a file called DFLTMYSETUP and it is missing the "."
  440.  
  441.  Sherlock Dulski! 
  442.  
  443.  I have another test package to upload.  It is just a minimal package 
  444.  but all the fonts and scripts are in the package cuz they are small 
  445.  files.
  446.  ------------
  447. Category 8,  Topic 18
  448. Message 163       Wed Oct 11, 1995
  449. CMD-DOUG                     at 00:36 EDT
  450.  
  451.   CS> I used the command dir "$dflt.*"  with and without quotes.
  452.  
  453.   CS>   w/o - I get ?syntax error
  454.   CS>   w   - I get nothing but the ready prompt
  455.  
  456. EB> You should have gotten a syntax error w/o the quotes.  With the quotes,
  457. EB> you should have gotten a directory listing of any files that start with
  458. EB> 'dflt.' on that directory.  I assume there is at least one.  If that is
  459. EB> correct, and you did everything correct, it seems that the HD responds EB>
  460. differently to that command than every other device I've had experience EB>
  461. with.  Is there anyone else here who can duplicate cam's results?
  462.  
  463. I can verify Cam's results, not only with my HD, but with every drive on my
  464. system. After all, 'dir' isn't a legal command. Maybe he should try replacing
  465. that with 'directory'. I'm also not sure why you would put the dollar sign in
  466. the filepattern string, since directory already calls for the directory file.
  467. Checking a disk that had files beginning with 'd', and issuing the command
  468. 'directory "$d*"' got me only the header and blocks free. Changing the command
  469. to 'directory "d*"' got the desired results.
  470.  ------------
  471. Category 8,  Topic 18
  472. Message 164       Wed Oct 11, 1995
  473. E.BOURDON1 [C128-Eddie]      at 11:13 EDT
  474.  
  475.  Ed, 
  476.     I was in normal chat mode when I got the undefined statement 
  477.  error.
  478.  ------------
  479. Category 8,  Topic 18
  480. Message 165       Wed Oct 11, 1995
  481. E.GBELL [e.g.bell]           at 21:23 EDT
  482.  
  483. He should have typed 'diR', which is a 'legal' abbreviation for directory...
  484. which I'm sure you knew when you looked at Cam's reply, or my original post.
  485. That was a fat-finger on my part, but it was not off the wall.
  486.  
  487. I put the file pattern in the string because it works with every other drive
  488. that I had access to... including the 1541.  The technique works even on the
  489. RamLink.  The reason what I asked Cam to do did NOT work, and this is my fault
  490. for forgetting what I have been doing all along, is that this is not a
  491. DIRECTORY type thing.  This is a FILE OPEN thing.... iow, I don't do a 'dir
  492. "$dflt.*"... I open a channel to that file...
  493.  
  494.             open #,#,#,"$dflt.*"
  495.  
  496. I'd have to look at the channel and secondary address to see what I use, but
  497. that also is all only marginally relevant (as far as the units that work). The
  498. fact is, the technique works on every commodore drive I have ever tested it
  499. on, including the 1541, and also on the RamLink.  The fact that it works
  500. anywhere should tell everyone that the technique does work.
  501.  
  502. Mentioning the directory command, and the improper abbreviation for it at
  503. that, was a mistake on my part because I forgot about what I do in RTCM. But
  504. unless the problem is solely because of the filename thing I already
  505. discussed, the fact 'seems' to remain that the hard drive reacts differently
  506. to this kind of file open than the other devices.  The only thing that makes
  507. me question that a little is that this has not come up before.
  508.  
  509. Do you also have an answer for why this works on the RamLink, 1571, 1581,
  510. 1541, and not on the HD now that I've explained correctly what it is I'm doing
  511. to bring up a pattern directory?  I had asked Cam for the directory layout...
  512. is it different from the other units... does DOS process what I'm doing
  513. differently in the HD?  I was looking for a quick test for Cam to get me
  514. results.  I see now that I have to write a little BASIC program to do this
  515. because that is how RTCM  works.... doing that I can also have it create a
  516. file I can examine.  If, however, the HD does not work like, say, the RamLink,
  517. as far as opening the directory like this, it is going to be a big change on
  518. my part.
  519.  
  520. O, and if you are wondering why I do it that way instead of just doing a
  521. 'directory' or 'catalog', it is because I have to buffer the file names coming
  522. in and strip the directory header and the blocks free line, tho I have to
  523. suspect you surmised this anyway.  This was the easiest way I could find to do
  524. it...  treating the directory as a file.
  525.  
  526. The actual directory routine in RTCM changes the BSOUT vector while it is
  527. working... that is how it creates the dual column display.  I used to use this
  528. method for the overlays that required pattern directories, but I felt it was
  529. kind of dangerous... my opinion... for those applications and I had some
  530. memory management problems too.  This technique works fine.... except on Cam's
  531. hard drive... and again, I'm holding back final opinion because of the file
  532. name problem, which really should not create this result... but I'll wait to
  533. see.
  534.  
  535. O, and before anyone says it, I KNOW that abbreviations of keywords work
  536. because of an unintentional 'feature' in the system code.  I read that article
  537. 10+ years ago in Transactor or Gazette or Compute, wherever.  I use them,
  538. which is why I told Cam to type 'dir'... my mistake was not having him
  539. capitalize the last letter.  For everyone reading this, decide for yourselves
  540. if you prefer to type 'directory' instead of 'diR' (or 'catalog' instead of
  541. 'caT').  Either way, as Doug pointed out, you cannot type 'dir' because it is
  542. a syntax error (except in CS-DOS and CP/M).
  543.  
  544. egb
  545.  
  546.  ------------
  547. Category 8,  Topic 18
  548. Message 166       Wed Oct 11, 1995
  549. E.GBELL [e.g.bell]           at 21:25 EDT
  550.  
  551. Ok Eddie... That doesn't give me much to go on... or too much actually....
  552. What I have to do is work at the problems I know of or find and hope that it
  553. cures that problem.  It is definitely a stack problem tho... that is the only
  554. thing I can tell for sure from your description.
  555.  
  556. Thanks!
  557.  
  558. ed
  559.  
  560.  ------------
  561. Category 8,  Topic 18
  562. Message 167       Wed Oct 11, 1995
  563. E.BOURDON1 [C128-Eddie]      at 22:03 EDT
  564.  
  565.  Ed, 
  566.     I'll see what else I can come up with, but a quick overview of 
  567.  my problem is this:
  568.  RTCM 3.02 breaks to monitor on me ONLY when I am in the RTC and
  569.  only after I transmit a regular message in the chat area.
  570.  It doesn't just break at certain times, but only when I transmit
  571.  data.
  572.  Whenever I do get a break, the address listed on the monitor also
  573.  greatly varies..anywhere from 00085 to 00202.
  574.  The setup is:
  575.  Booting from a Ramlink, with a swiftlink, no clock on the RL,
  576.  using a 14.4k modem, set to 2400 baud.
  577.  I have the break set to the default, xon/xoff flow control, and the
  578.  other number (I forgot what it was for) set to your reccomendation of
  579.  800.
  580.  The other night I had Cam try out RTCM while he was in the RTC with me.
  581.  I broke to monitor once, plus got the previously mentioned
  582.  'Undefinded Statement in 450' error, while Cam had no problem at all.
  583.  
  584.  Just a summary, hope this helps you out.
  585.  ------------
  586. Category 8,  Topic 18
  587. Message 168       Wed Oct 11, 1995
  588. CMD-DOUG                     at 23:07 EDT
  589.  
  590. What the HD returns if open the directory file as a program (can I assume
  591. you're using a secondary address of 0?), is the directory in a BASIC program
  592. format, as any drive does. What you cannot do, however, is assume that there
  593. are any 'fixed' field lengths. That's about the only thing I can think of that
  594. will give you a problem, or in which you'll see any differences. Each 'line'
  595. of the listing will contain the usual link and 'line number' (file sizes),
  596. which will be followed by the filename and type data. The 'line' will end with
  597. a zero byte, and the name will be enclosed in quotes. Other than that, there
  598. isn't much else that can be assumed, but the length of the line will vary on
  599. the HD from what I can recall.
  600.  
  601. There is an example program supplied with the HD for reading directories in
  602. this manner. Being that I wrote it back in 1989, though, I don't recall the
  603. specifics offhand. I believe it was called READ DIR.BAS. Perhaps CAM could
  604. email it to you if he has it handy.
  605.  ------------
  606. Category 8,  Topic 18
  607. Message 169       Wed Oct 11, 1995
  608. CBM-MARK                     at 23:46 EDT
  609.  
  610.   eb> if you prefer to type 'directory' instead of 'diR' (or
  611.   eb> 'catalog' instead of 'caT').
  612.  
  613.  The abbreviation of Catalog is 'cA'.  I use it all the time - shorter
  614.  than diR ;D
  615.  
  616.                  ~~Mark~~
  617.  
  618.  Sherlock?  LOL!
  619.  ------------
  620. Category 8,  Topic 18
  621. Message 170       Thu Oct 12, 1995
  622. CMD-DOUG                     at 00:14 EDT
  623.  
  624. I generally just press F1. Call me lazy.
  625.  
  626. I just did an analysis of a 1571 directory vs. an HD directory, looking at the
  627. values returned when opening the directory with 'OPENlfn,dv,0,"$*"'. I
  628. couldn't detect a significant difference. The various fields are separated by
  629. one or more spaces (chr$(32)), and the locations of each field floats on both
  630. drives, depending on what kind of spacing is needed for a formatted output.
  631. But both appear to contain all the same parameters, provided in the same
  632. order. Maybe you're using some other method to open the directory?
  633.  ------------
  634. Category 8,  Topic 18
  635. Message 171       Thu Oct 12, 1995
  636. CBM-BANDIT                   at 06:44 EDT
  637.  
  638. I'll look for that file later today..
  639.  ------------
  640. Category 8,  Topic 18
  641. Message 172       Thu Oct 12, 1995
  642. CBM-BANDIT                   at 17:28 EDT
  643.  
  644. I don't have that program Doug. :/
  645.  
  646.  ------------
  647. Category 8,  Topic 18
  648. Message 173       Thu Oct 12, 1995
  649. E.GBELL [e.g.bell]           at 19:03 EDT
  650.  
  651. I'll look at what I did later tonight...  I know I had to try a couple
  652. different methods to get it to work on all units.  Well... I'll check my code
  653. tonight to see what I'm doing and why it is not working.  I really didn't
  654. think the hard drive could get too radically far afield, if at all.
  655.  
  656. Cam... btw, have you noticed this phenomonon on any of the previous versions
  657. of RTCM, or just on this recent version?  If it is just the recent one, that
  658. would narrow things down a lot.
  659.  
  660. Eddie... the break to monitor or BASIC is 100% my problem.  I'm just not sure
  661. where that problem is right at the moment.... and this kind of problem can be
  662. a monster to find.
  663.  
  664. Does anyone know... I seem to remember something being discussed on FIDO about
  665. a trace that needed cut in some Swiftlinks for proper operation... it seems to
  666. have been DesTerm that had the problem with it... I just don't really remember
  667. what it was.
  668.  
  669. Be Back later w/hopefully some light to shed on the directory thing.
  670.  
  671. Mark:
  672.  
  673. I believe that 'caT' will also work, as will 'catA', etc.  I did not test
  674. this, but as the article explained, this was the result of a bug in the code
  675. that worked out as a feature... and once the test passed the point of being
  676. unique, it was acceptable when the  hi bit was found in a command letter... if
  677. that was clear... point was, this was, according to the author, a bug that
  678. proved to be a useful feature.   I can't say if that is true or not, but just
  679. that it works.  ;)
  680.  
  681.  ------------
  682. Category 8,  Topic 18
  683. Message 174       Thu Oct 12, 1995
  684. E.GBELL [e.g.bell]           at 19:19 EDT
  685.  
  686.  Ok... checked my code... it follows for anyone who likes detective work...
  687.  
  688.  2910 ;-----<call a common directory routine that can be called from ovrl
  689. files>
  690.  2915 .u
  691.  2920 point.click tsx:stx read.stack;        remember where we parked
  692.  2925 ;
  693.  2930 ;-----<init pdir buffer>
  694.  2935 ;
  695.  2940 :   lda #$00:sta y.jobs
  696.  2945 :   lda #$b8:sta y.jobs+1;    in case an overlay changed this
  697.  2950 ;
  698.  2955 ;-----<pull the directory into ram>
  699.  2960 ;
  700.  2965 :   jsr pdir:bcc select.file; load the array
  701.  2970 :   rts
  702.  2975 ;
  703.  2980 ;-----<select file from list
  704.  2985 ;
  705.  2990 select.file = *
  706.  2995 :   ....   code to select from directory fetchec by 'pdir'
  707.  3220 ;
  708.  3225 ;-----<caller should set 'read.stack' with return stack value>
  709.  3230 ;     <              set 'chrout.flag' = 0>
  710.  3235 ;     <              set 'y.jobs/+1' w/address of buffer to be used>
  711.  3240 ;-----<open the file 0,<device>,0>
  712.  3245 .u
  713.  3250 pdir jsr opencmd;          open command channel to device
  714.  3255 ;
  715.  3260 :   lda y.jobs  :sta $fb
  716.  3265 :   lda y.jobs+1:sta $fc
  717.  3270 :   lda #0:sta tb.index
  718.  3275 ;
  719.  3280 :   lda #1:jsr closex
  720.  3285 :   jsr sba0
  721.  3290 :   jsr pbdx
  722.  3295 :   lda #1:ldx device:ldy #0:jsr setlfs:jsr open
  723.  3300 ;
  724.  3305 :   jsr clrchn:ldx #1:jsr chkin
  725.  3310 ;
  726.  3315 ;-----<strip disk name/id>
  727.  3320 ;
  728.  3325 :   jsr getin:jsr getin:jsr getin:jsr getin
  729.  3330 ;
  730.  3335 !01 jsr getbyte:cmp #34:bne !01
  731.  3340 !02 jsr getbyte:bne !02;            strip disk id
  732.  3345 ;
  733.  3350 ;-----<strip link bytes>
  734.  3355 ;
  735.  3360 !21 jsr getbyte:jsr getbyte:jsr getbyte:jsr getbyte
  736.  3365 ;
  737.  3370 :   ldx tb.index:ldy mmu:sta $ff01
  738.  3375 :   lda $fb:sta tb.pointl,x
  739.  3380 :   lda $fc:sta tb.pointh,x
  740.  3385 :   sty mmu
  741.  3390 ;
  742.  3395 ;-----<find 1st quote>
  743.  3400 ;
  744.  3405 !03 jsr getbyte:cmp #34:bne !03
  745.  3410 ;
  746.  3415 ;-----<store filename while looking for 2nd quote>
  747.  3420 ;
  748.  3425 !04 jsr getbyte:cmp #34:beq !06
  749.  3430 :   jsr pokebyte:jmp !04
  750.  3435 ;
  751.  3440 ;-----<put <cr> on end of info>
  752.  3445 ;
  753.  3450 !06 inc tb.index:lda #",":jsr pokebyte
  754.  3455 ;
  755.  3460 ;-----<get file type byte>
  756.  3465 ;
  757.  3470 !61 jsr getbyte:and %01111111:cmp #32:beq !61
  758.  3475 !62 jsr pokebyte;          p/s/u/r/etc.
  759.  3480 lda #13:jsr pokebyte
  760.  3485 ;
  761.  3490 ;-----<find 0 and loop>
  762.  3495 ;
  763.  3500 !07 jsr getbyte:beq !21
  764.  3505 :   cmp #"<":bne !07
  765.  3510 :   jsr sub.1.fb:jmp !62;   buffer it and resume search for 0
  766.  3515 ;
  767.  
  768.  as you can see from the above, I open channel 1 w/secondary address 0,
  769.  (as you noted, Doug), then do a pretty vanilla read of the directory
  770.  as a file.  I check for the " character as a delimiter... strip spaces
  771.  after a file name.... consider the first non-space character after a
  772.  directory entry as the file type.... the only other thing in this is
  773.  a backup of pointers if a '<' character is found signifying a locked
  774.  file.   I don't think anything above is exotic.  From what I gather
  775.  of what you said in the previous post, Doug, the code above should do
  776.  just fine with the HD.  the filename problem is still a candidate and
  777.  that will take more digging, but for now, it is my prime suspect...
  778.  tho the problem is fixed, I'll know if it was a potential cause for 
  779.  what Cam  ran into....  that is the focus of my attention right now.
  780.  Thanks!
  781.  ------------
  782. Category 8,  Topic 18
  783. Message 175       Thu Oct 12, 1995
  784. CBM-BANDIT                   at 20:17 EDT
  785.  
  786.  
  787.   EGB> Cam... btw, have you noticed this phenomonon on any of the previous
  788.        versions of RTCM, or just on this recent version?  If it is just the
  789.        recent one, that would narrow things down a lot.
  790.  
  791. I really haven't fooled with anything more recent than 3.0 until now. I recall
  792. having to make changes in the boot file manually and anytime we saved the
  793. "dflt.*" file, we had to use C= W.
  794.  
  795. This directory problem is really a new twist. The only other semi related
  796. problem I had and mentioned to you was the time clock in the HD.
  797.  
  798. For some reason, your code wouldn't fetch the time from the HD, but would from
  799. the RL. Since I have both, I think we just blew it off and I continued to grab
  800. the time from the RL.
  801.  
  802. To be honest, the only reason I got into this one, was because Mark couldn't
  803. get it to work. I knew from past experience, if he has a problem and it won't
  804. work on his machine, it WILL work on mine! <G>  ;)
  805.  
  806.       Call it a challenge! :)
  807.  
  808. I was also hoping to check out the game overlays before this weekend, but
  809. looks like it'll have to wait til I get back from Pa. om Tuesday. :) I'll see
  810. what new undocumented features I find in there ;)
  811.  
  812.   EGB> Does anyone know... I seem to remember something being discussed on
  813.        FIDO about a trace that needed cut in some Swiftlinks for proper
  814.        operation... it seems to have been DesTerm that had the problem with
  815.        it... I just don't really remember what it was.
  816.  
  817. The only trace cutting I know of, was for using the REU and SL at the same
  818. time. You cut the trace in the SL and the corresponding Trace in the REU and
  819. then ran a wire between the two. This was a hardware hack that renders the
  820. warrenty on the SL useless.
  821.  
  822. This was RamLink related BTW.
  823.  
  824.  
  825.  
  826.  ------------
  827. Category 8,  Topic 18
  828. Message 176       Thu Oct 12, 1995
  829. E.GBELL [e.g.bell]           at 20:50 EDT
  830.  
  831.  
  832.  Cam:
  833.   CS> hoping to check out the game overlays before this weekend
  834.  
  835.  they have not been assembled... I don't want to do the whole package
  836.  until the basic code has been determined to be trouble free.  If I have to
  837.  assemble the main program again, I have to redo the overlays too... it
  838.  tends to be a big project so I'm going to do it in smaller sections this
  839.  time....  until I get a stable program, you will have to use the earlier
  840.  version to use the games.
  841.  
  842.  BTW, I have not been adding things to the games... they only change when
  843.  there are changes in the main program that affect them.... the point/click
  844.  
  845.  stuff is an example of that.... sorry about the line noise... probably
  846.  my upstairs modem... :(
  847.  ------------
  848.