home *** CD-ROM | disk | FTP | other *** search
/ 8bitfiles.net/archives / archives.tar / archives / genie-commodore-file-library / Information / CSDOS-MSGS.SFX / csdos-msgs
Encoding:
Text File  |  1990-02-12  |  28.0 KB  |  804 lines

  1.  ************
  2. Topic 18        Sat Jun 22, 1991
  3. C128.JBEE [* Sysop *]        (Forwarded) 
  4. Sub: CS-DOS & REU C1750 & LHA & Autoexec    
  5.  
  6.  One of the most often asked questions is how to set up the C128/C1750/
  7.  LHA/Autoexec file to make SFX archives.  The autoexec file follows...
  8. 24 message(s) total.
  9.  ************
  10.  ------------
  11. Category 3,  Topic 18
  12. Message 1         Wed Jul 20, 1994
  13. CBM-ED [e.g.bell]            at 09:12 EDT
  14.  
  15.  Someone posted a question in Email yesterday that I had to do some 
  16.  research to answer.  I made sure this was ok before posting.  I believe
  17.  the answers deserve wider exposure as perhaps they may be useful to more
  18.  than one person.  Also, if I'm wrong, or if others can add more to the
  19.  discussion, so much the better... that said....
  20.  
  21.   QQ> These are my autoexecs for CS-DOS and they work fine on my RL,
  22.   QQ> but not on my HD. I do get syntax errors when its loading. I
  23.   QQ> assume ythe execs are looking for something to install
  24.  
  25.  This is not necessarily so.  My auto-exec reports syntax errors too
  26.  but it runs fine.  Someone told me that some of these are acceptable so
  27.  I accept them.  Everything works fine!
  28.  
  29.  Here is a somewhat detailed breakdown of the posted aut-execs tho...
  30.  
  31.  slow
  32.       ** Puts machine is slow mode
  33.  
  34.  bank15:y=peek(57094):poke 57094,y+1:poke 7136,abs(peek(57094)-y)
  35.       ** Does a poke/peek to address $DF06 ostensibly to detect an REU
  36.          If the REU is there a 1 is poked into address 7136, which I 
  37.          gather from the rest of the auto-exec is the memory location of
  38.          the variable 'errorlevel'
  39.  
  40.  z:if not errorlevel 1 z:autoexec2
  41.       ** Seems to execute 'autoexec2' if no REU is detected.  The 'z:'
  42.          prefix tells CS-DOS to execute one of its routines directly 
  43.          from the source drive, which is set when you boot up.  CS-DOS
  44.          can execute its programs from any installed in its own RAM
  45.          'disk' by simply typing the name of that command or program. 
  46.          Alternately, it can execute it directly from disk, as it does
  47.          above.  Incidentally, the command above that is being executed
  48.          from disk is 'IF'
  49.  
  50.  z:setram 21,3
  51.       ** This sets aside a portion of the REU for CS-DOS use for its
  52.          RAMDISK.  The RAMDISK is its internal 'library' of commands like
  53.          DIR, TYPE, ARC128, etc.  Internal commands can be executed by 
  54.          simply typing in the name of that command.  When referring to the
  55.          REU, the format of the SETRAM command is:
  56.  
  57.          SETRAM <first bank in 1750>-16,<number of banks>
  58.  
  59.          This means that the above command sets aside banks 5, 6, and 7.
  60.          Note again the 'z:' indicating that this command is being 
  61.          executed right from the disk.  This *may* mean that if that command
  62.          is not on disk, you will get a syntax error.  I can't confirm that,
  63.          only entertain the possibility.
  64.  
  65.  
  66.  poke 7120,2*16+5
  67.       ** Probably unnecessary in this auto-exec.  This is telling CS-DOS
  68.          how much of the 1750 REU it can use for the buffer in TERM, 
  69.          which is no longer distributed with CS-DOS, and which probably
  70.          very few are using anyway.
  71.  
  72.  poke 7119,2*16+5
  73.       ** This sets up CS-DOS as far as how much of the REU it has for use
  74.          with CSARC1750 and LHA.  The formula is:
  75.  
  76.          POKE 7119,LOW*16+HIGH
  77.  
  78.          Low is the lowest numbered 1750 bank that these programs are 
  79.          allowed to use as a buffer and HIGH is the highest bank + 1.
  80.          In the example above, you are telling the REU it can use banks 
  81.          2 to 4 if I understand this correctly.
  82.  
  83.  poke 7136,1
  84.       ** If I am right about address 7136 being the location of the
  85.          variable 'ERRORLEVEL', this is artificially setting a flag for
  86.          the next statement in the auto-exec.
  87.  
  88.  if errorlevel 1 goto ramdisk-already-there
  89.       ** If ERRORLEVEL does not = 1, skip the next steps because the
  90.          RAMDISK is already in memory.
  91.          ERRORLEVEL as used by the internal routines is not clear from 
  92.          the documentation I listed years ago.  If I'm wrong about this
  93.          it will change other parts of this as well.  Someone else may
  94.          have to help here as far as the interpretation of the poke to
  95.          7136 as I am making some guesses about it.
  96.  
  97.  z:getram z:ramdisk
  98.       ** We have two more installations here.  GETRAM is the command used
  99.          to install the file called RAMDISK from your disk.  And again,
  100.           the RAMDISK is the 'library' of resident commands in CS-DOS.
  101.          You can configure this yourself if you read the manual and see
  102.          how with INSTALL, REMOVE, and PUTRAM, this is done.
  103.  
  104.          I'm not sure what the 'z:ramdisk' is doing here.  It seems 
  105.          to be a syntax error from what I'm reading in the CS-DOS manual.
  106.          Perhaps someone could help us over this rough spot also.
  107.  
  108.  :ramdisk-already-there
  109.       ** This is just a label within the autoexec file that is jumped to
  110.          if the RAMDISK is already in memory.  Note the ':' in front of it
  111.          which is probably how CS-DOS knows what it is.
  112.  
  113.  if (peek(215) and 128) then fast
  114.       ** This line determines whether the 128 is 40 or 80 column mode.
  115.          This is a standard BASIC 7.0 instruction, and just tests bit 7
  116.          of address 21.  If that bit is set, we are in 80 columns.
  117.  
  118.  poke 7150,4:poke 7151,96
  119.       ** Set CS-DOS to see your printer as device number 4 and secondary
  120.          address 96.
  121.  
  122.  assign b 9,0
  123.  assign c 10,0
  124.  assign d 11,0
  125.  assign e 12,0
  126.  assign i 16,0
  127.  assign j 16,6
  128.  assign k 16,9
  129.       ** This set of lines makes some reassignments of the CS-DOS drive
  130.          id settings.  Of particular interest are the 'j' and 'k' 
  131.          assignments, which point drive 'j' to partition 6 on unit 16,
  132.          which is in this case probably a RAMLINK.  Address 'k', similarly,
  133.          is pointing to partition 9 on the same unit.
  134.  
  135.  run"settimeday",u16
  136.       ** Run a BASIC program to set the time of day from the clock in the
  137.          RAMLINK.  Any CMD device with a clock installed could be used by
  138.          changing the ',u#' part of the statement.
  139.  
  140.  -----------------------------------
  141.  Autoexec 2
  142.  ----------
  143.  z:echo there seems to be a problem...
  144.  z:echo rebooting...
  145.  z:exitdos
  146.  
  147.  This is the second autoexec called if the first one did not detect an
  148.  reu.  It just prints the first 2 messages to the screen then executes the
  149.  last one, called EXITDOS, which does whatever commands are in that file.
  150.  I don't have it to examine.  As far as I can tell from my docs, tho, it
  151.  is not a CS-DOS command.
  152.  
  153.  Now finally, and I'm sorry for the length of this, but someone did
  154.  request the information, here is the 'settimeday' program in detail:
  155.  
  156.  570 dv=peek(186)
  157.       ** Set 'DV' to equal the drive from which CS-DOS was booted
  158.  
  159.  575 open15,dv,15
  160.  580 print#15,"t-rb"
  161.       ** Open a command channel to that device and send the CMD command
  162.          't-rb' which reads the time into the drive command buffer in
  163.          BCD format.  The format means Binary Coded Decimal, which I'm
  164.          not going to elaborate on here.
  165.  
  166.  590 fori=0to7:get#15,x$:t(i)=asc(x$):next
  167.       ** Read the data from the drive command buffer into computer memory
  168.          into the array t().  This is only 7 bytes.  See your CMD manual
  169.          for the format of these bytes.  In mine, it is in the ADDENDUM
  170.          on page 19 for RamLink.
  171.  
  172.  600 ift(4)=18andt(7)=0thent(4)=146
  173.  610 t(4)=t(4)or-(t(7)>1andt(4)<18)*128
  174.       ** Translate the hours and if necessary set the 'PM' bit to 'on'.
  175.  
  176.  620 fori=0to3:pokedec("dc0b")-i,t(i+4):next
  177.       ** Move the time settings into the computers TOD clock
  178.  
  179.  630 print#15,"t-ra"
  180.  640 get#15,a$:t$=t$+a$:if st<>64 then 640
  181.  650 close15
  182.  660 a$=mid$((t$),09,2):rem the day
  183.  670 b$=mid$((t$),06,2):rem the month
  184.  680 c$=mid$((t$),12,2):rem the year
  185.  690 d$="date ":e$=","
  186.  700 f$=d$+a$+e$+b$+e$+c$
  187.  710 print"";f$
  188.       ** Read the time in human-coded format (ASCII) into the command
  189.          then into the computer and display it for user.
  190.  
  191.  720 print"exec z:autoexec3"
  192.  730 print""
  193.  740 poke842,13:poke843,13:poke208,2
  194.       ** Set up what is called the 'dynamic keyboard' method to execute 
  195.          the file 'AUTOEXEC3'.  The line 730 (and line 710 also) contain
  196.          unprintable code to clear the screen, and in line 730, move the
  197.          cursor down over the line that prints the 'exec z:...' line.
  198.          Then the computer is fooled into thinking that you pressed
  199.          RETURN 2 times.  This does the 'exec...' thing if AUTOEXEC3
  200.          is on the boot disk.  If not, things continue merrily on their
  201.          way.  I didn't (mercifully) have AUTOEXEC3 to discuss here.
  202.  
  203.  Again, sorry for the length.  I hope you get some proportional value from
  204.  this tho.  :)
  205.  egb
  206.  ------------
  207. Category 3,  Topic 18
  208. Message 2         Thu Jul 21, 1994
  209. H.HERMAN1                    at 04:03 EDT
  210.  
  211.  Ed,
  212.  
  213.  My goodness, but that looks familiar!  :)
  214.  
  215.  >  QQ> These are my autoexecs for CS-DOS and they work fine on my RL,
  216.  >  QQ> but not on my HD. I do get syntax errors when its loading. I
  217.  >  QQ> assume ythe execs are looking for something to install
  218.  
  219.  It would be helpful if you told us at exactly which points during the
  220.  autoexecs the errors are reported, and what happens.
  221.  
  222.  > This is not necessarily so.  My auto-exec reports syntax errors too
  223.  > but it runs fine.  Someone toldme that some of these are acceptable so
  224.  > I accept them.  Everything works fine!
  225.  
  226.  Chris said that some syntax error messages can safely be ignored.  However,
  227.  these autoexecs should not report any errors.
  228.  
  229.  > z:if not errorlevel 1 z:autoexec2
  230.  >      ** Seems to execute 'autoexec2' if no REU is detected.  The 'z:'
  231.  >         prefix tells CS-DOS to execute one of its routines directly 
  232.  
  233.  Yes.  This line is included because my menu offers three ways of entering
  234.  CS/DOS.  One of them assumes that the DOS Ramdisk is installed.  This line
  235.  will reboot the computer in case I was wrong.
  236.  
  237.  Here is the autoexec2:
  238.  ----------------------
  239.  z:echo there seems to be a problem...
  240.  z:echo rebooting...
  241.  z:exitdos
  242.  
  243.  Here is exitdos:
  244.  ----------------
  245.  
  246.  10 poke2560,110:poke2561,10:poke768,123:poke769,10:poke56832,0
  247.  20 slow:sys65341
  248.  
  249.  BTW, you might find it best to *always* exit CS/DOS by calling EXITDOS.
  250.  I found that I could not later run some programs unless exitdos was first
  251.  called.
  252.  
  253.  > z:setram 21,3
  254.  
  255.  I set aside this portion of the REU, so that it will not disturb the lower
  256.  banks which contain files frequently used by Pocket Writer, Pocket Filer,
  257.  and Pocket Planner.
  258.  
  259.  >poke 7119,2*16+5
  260.  
  261.  Again, I want to guarantee that CS/DOS does not disturb my Pocket files.
  262.  
  263.  > z:getram z:ramdisk
  264.          <stuff deleted>
  265.  
  266.  >         I'm not sure what the 'z:ramdisk' is doing here.  It seems 
  267.  
  268.  If the routine does not "sniff out" the existance of Ramdisk, then it will
  269.  install ramdisk, getting it from drive z:.
  270.  
  271.  More often than not, I am entering CS/DOS via the disk2reu image stashing
  272.  routine, so ramdisk is pre-installed.  disk2reu is many times faster when
  273.  a user has a BIG ramdisk, and is running from a RAMLink.
  274.  
  275.  > poke 7150,4:poke 7151,96
  276.  >      ** Set CS-DOS to see your printer as device number 4 and secondary
  277.  >         address 96.
  278.  
  279.  I'd have to go back over my docs to remember why I did things this way.
  280.  The actual secondary address, as I recall, is either a 9, or some other
  281.  number to which a factor has been added.  The factor tells CS/DOS something
  282.  which I do not recall right now.
  283.  
  284.  > 600 ift(4)=18andt(7)=0thent(4)=146
  285.  > 610 t(4)=t(4)or-(t(7)>1andt(4)<18)*128
  286.  >      ** Translate the hours and if necessary set the 'PM' bit to 'on'.
  287.  
  288.  Yup!   And this includes the corrected routine to properly set the time for
  289.  those who run their 128's late at night, and boot up CS/DOS between
  290.  midnight and 1 AM.
  291.  
  292.  >         way.  I didn't (mercifully) have AUTOEXEC3 to discuss here.
  293.  
  294.  Now you do.
  295.  
  296.  autoexec3:
  297.  ----------
  298.  text
  299.  new
  300.  print chr$(27)+chr$(85):color6,1
  301.  rdir/w
  302.  date
  303.  print;
  304.  time
  305.  
  306.  The user has to be careful to include all the files being called on his/her
  307.  z: drive, else errors will occur.  I am pretty sure I included all the files
  308.  within the sfx.
  309.  
  310.  One other thing a user must watch for is the positioning of the cursor
  311.  on screen while that dynamic keyboard routine runs.  I seem to recall that
  312.  I had to re-set things once I got a RAMLink, and ran with RL/DOS, instead
  313.  of standard CBM DOS.  But doesn't CMD's HD require the user to run under
  314.  one or another form of RL/DOS?
  315.  
  316.  > Again, sorry for the length.  I hope you get some proportional value from
  317.  > this tho.  :)
  318.  
  319.  Me too.  It was sure a lot easier to write these autoexecs than to
  320.  explain them.....
  321.  
  322.  Howie
  323.  ------------
  324. Category 3,  Topic 18
  325. Message 3         Thu Jul 21, 1994
  326. CBM-ED [e.g.bell]            (Forwarded) 
  327.  
  328.  Howie:  Fact is, I recognized your handiwork in that auto-exec.  I don't
  329.  use this one, but I do ignore errors in mine.  I suspected the person
  330.  who reported errors was doing so because of the missing autoexec3.  I
  331.  also suspected the rdir, at the very least, was in that file.  I don't
  332.  have any docs on the 'exitdos' command in my documentation listing.  Is
  333.  this some kind of internal command.  Also can you elaborate on the
  334.  ERRORLEVEL variable.  I know it is the bit bucket for the GETKEY routine,
  335.  but does it correspond, as I surmised, with address 7136.
  336.  
  337.  BTW, I believe the 96 for your printer SA is because of the ora #$60
  338.  thing.... seems to me that if I'm correct about this, you are not 
  339.  sending a secondary address.. tho for an Epson compatible, this may be
  340.  fine.  I prefer 7 for most of my stuff, but I don't use transparent mode.
  341.  
  342.  And finally, sorry if I didn't let you know about those chips arriving.
  343.  Musta forgot.  I'll be sending the cash soon!  Thanks again.  Sure hope
  344.  they work ok.  :)
  345.  ------------
  346. Category 3,  Topic 18
  347. Message 4         Fri Jul 22, 1994
  348. H.HERMAN1                    (Forwarded) 
  349.  
  350. Ed,
  351.  
  352. While this might be the wrong topic, this seems as good a place as any to
  353. continue on.  And, if we really get too far afield, we can always rely on Mark
  354. to patch things up, and move a topic from here to there, and whatever else may
  355. be required to get things back on track....
  356.  
  357. So to the questions at hand:  Thinking about the overll prob a bit more, I am
  358. pretty confident that the difficulty is with the HD/DOS not responding the
  359. same as RL/DOS to the dynamic keyboard keycodes.  As I mentioned, I had to
  360. change them when I began to run under RL/DOS instead of CBM DOS, and since it
  361. originally worked for our mystery user under RL/DOS, but not from a HD, I
  362. suspect the cursoring positioning.
  363.  
  364. It should be a simple matter to change this around so that they call the
  365. routine's correct files.  (I would volunteer to do this, except that I don't
  366. have an HD to test them on.....)
  367.  
  368. (I quess this is an example of the prob when trying to share a piece of
  369. programming written to run on a specific hardware configuration, on other set-
  370. ups.)
  371.  
  372. As for exitdos, it just seemed to evolve over time.  I use it both as an
  373. external (drive z:) command, as well as internal command, as it is included in
  374. with the other files on the CS/DOS Ramdisk.  It originally dates from when I
  375. was using a Quick Brown Box, and you may recognize some QBB poke commands. 
  376. After the QBB left my system, to be replaced by RAMLink, exitdos seemed to
  377. continue to do its thing, so I left it intact.
  378.  
  379. I do not know all that much about errorlevel.  It seems to be used throughout
  380. cs/dos, and can therefore be called in a variety of autoexecs.  Without
  381. referring to my notes, I seem to recall that it was used with Term, and can be
  382. used for many sys errror responses within many autoexecs.
  383.  
  384. I skimmed thru all my cs/dos notes looking for info on that SA entry.  I know
  385. there is a description for what I did, but I could not locate it.
  386.  
  387. No rush on the cash.  I was just happy to hear that the chips arrived.
  388. Whenever will be fine!
  389.  
  390. Howie
  391.  ------------
  392. Category 3,  Topic 18
  393. Message 5         Fri Jul 22, 1994
  394. CBM-ED [e.g.bell]            at 08:02 EDT
  395.  
  396.  Howie:  I forwarded this over to this, the correct area for the discussion.
  397.  I replied to the wrong cat/top earlier.  duhhhh!  Cam, as long as I'm 
  398.  around here, you NEVER have to worry about being the only one to make
  399.  mistakes.    :)
  400.  
  401.  To everyone else, sorry you have to read this again.  One of the pitfalls
  402.  of moving messages here.  :(
  403.  ------------
  404. Category 3,  Topic 18
  405. Message 6         Fri Jul 22, 1994
  406. THE.OUTLAW                   at 16:48 EDT
  407.  
  408.  hehehe I know ALL about mistakes Ed! <g>
  409.  Howie:
  410.  
  411.  > So to the questions at hand:  Thinking about the overll prob a bit more, I
  412. am
  413.  > pretty confident that the difficulty is with the HD/DOS not responding the
  414.  > same as RL/DOS to the dynamic keyboard keycodes.  As I mentioned, I had to
  415.  > change them when I began to run under RL/DOS instead of CBM DOS, and since
  416. it
  417.  > originally worked for our mystery user under RL/DOS, but not from a HD, I
  418.  > suspect the cursoring positioning.
  419.  
  420.  > It should be a simple matter to change this around so that they call the
  421.  > routine's correct files.  (I would volunteer to do this, except that I
  422. don't
  423.  > have an HD to test them on.....)
  424.  
  425.  If you'd still like to volunteer, I can do the testing :>
  426.  
  427.  After installing Autoexec3, I went through and checked out how many
  428.  syntax errors and when they occured during the loading proccess. Perhaps
  429.  you can tell what's going on?
  430.  
  431.       ::  Opening title for CS-DOS ::
  432.           Ready
  433.           Ready
  434.           Ramdisk Installed banks 05 - 07
  435.           Ready
  436.           Ready
  437.           Ready
  438.           Ready
  439.           Ready
  440.           ?Syntax error
  441.           Ready
  442.           ?Syntax error
  443.           Ready
  444.           ?Syntax error
  445.           Ready
  446.           ?Syntax error
  447.           Ready
  448.           ?Syntax error
  449.           Ready
  450.           ?Syntax error
  451.           Ready
  452.           ?Syntax error
  453.           Ready
  454.           Search for settime
  455.           Ready
  456.           Date
  457.           Autoexec3
  458.           Ready
  459.           Command List
  460.  
  461.  
  462.      Seems to me I remember seeing about this many while
  463.      I ran this from my RL as well.
  464.  ------------
  465. Category 3,  Topic 18
  466. Message 7         Mon Jul 25, 1994
  467. H.HERMAN1                    at 04:50 EDT
  468.  
  469. Cam,
  470.  
  471. Gads!!  But those are a lotta errors of the syntax variety.....
  472.  
  473. Let me see if I can trace this stuff back.
  474.  
  475. Howie
  476.  ------------
  477. Category 3,  Topic 18
  478. Message 8         Mon Jul 25, 1994
  479. THE.OUTLAW                   at 05:50 EDT
  480.  
  481. Good Luck! :>
  482.  ------------
  483. Category 3,  Topic 18
  484. Message 9         Mon Jul 25, 1994
  485. H.HERMAN1                    at 07:23 EDT
  486.  
  487. Cam,
  488.  
  489. Those drive assignments seem to be causing some of the probs.
  490.  
  491. Do you have a 9, 10, 11, and 12 drive on-line and powered?  If not, I'd
  492. suggest removing any assign statements that do not apply to your specific set-
  493. up.  You can use any wordprocessor or editor (including cs/dos) to change the
  494. autoexec.
  495.  
  496. Next I suggest loading the Basic program settimeday, and removing lines 710
  497. through 740 (delete 710-740).  Then, dsave"@settimeday".
  498.  
  499. Try booting into cs/dos with these changes and let me know what happens. I
  500. expect that you will have none of those syntax errors.
  501.  
  502. If all goes well, next, we will pick up the missing commands from autoexec3,
  503. and put them into autoexec.
  504.  
  505. Howie
  506.  ------------
  507. Category 3,  Topic 18
  508. Message 10        Mon Jul 25, 1994
  509. THE.OUTLAW                   at 09:22 EDT
  510.  
  511.  Howie,
  512.  
  513.  > Those drive assignments seem to be causing some of the probs.
  514.  
  515.  > Do you have a 9, 10, 11, and 12 drive on-line and powered?  If not, I'd
  516.  
  517.  I have all of those but the only one powered is 12.
  518.  In the drive assignments, if I were to change the ones listed as 16,6
  519.  and 16,9 to 12,* - then I'm accessing partions directly?
  520.  
  521.  > Next I suggest loading the Basic program settimeday, and removing lines 710
  522.  > through 740 (delete 710-740).  Then, dsave"@settimeday".
  523.  
  524.  Ok, what will this do? (I haven't looked at it yet, about to shortly)
  525.  
  526.  Thanks! :>
  527.  ------------
  528. Category 3,  Topic 18
  529. Message 11        Mon Jul 25, 1994
  530. THE.OUTLAW                   at 13:00 EDT
  531.  
  532.  Howie,
  533.  I haven't gotten to changing the settimeday yet. I don't think
  534.  I have a problem there. The RTC is being read and after the lib
  535.  listing at the end of the loading process and printed and then
  536.  the final 'ready' prompt.
  537.  
  538.  I did turn on all the drives rather than take them from the exec.
  539.  I still got the same amount of syntax errors in the same places.
  540.  
  541.  I decided to check the drive assignments and came up with this:
  542.  
  543.  assign b 9,0     <- reports drive not ready
  544.  assign c 10,0    <- reads drive 9
  545.  assign d 11,0    <- reports 31,syntax error00
  546.  assign e 12,0    <- reads drive 10
  547.  assign i 12,7    <- reads 12,16 (CS-DOS partition)
  548.  assign j 12,12   <- reads 12,1  (I assume it doesn't recognize a 2nd #)
  549.  assign k 12,19   <- no responce
  550.  
  551.  Perhaps I should include a complete directory listing of the files
  552.  I have for CS-DOS? Maybe I'm missing a few things?
  553.  ------------
  554. Category 3,  Topic 18
  555. Message 12        Tue Jul 26, 1994
  556. H.HERMAN1                    at 03:54 EDT
  557.  
  558.  Cam,
  559.  
  560.  If settimeday is correctly calling (exec) autoexec3, then you are
  561.  correct, there is no need to change settimeday, and you can safely leave
  562.  in all the lines.  So, lets leave it, as it is.
  563.  
  564.  When I run cs/dos, a disk2reu image loader is run first, _or_ not, in the 
  565.  event I know it is already there.  The REU image includes the cs/dos 
  566.  Ramdisk in the upper REU banks, and some Pocket Writer 3 overlay files, and 
  567.  Pocket Filer 2 "hidden" overlay files, all in the REU's lower banks.
  568.  
  569.  But I digress...
  570.  
  571.  The important part is that by the time my autoexec is run, the cs/dos 
  572.  Ramdisk has been loaded into the REU, so that subsequent calls on cs/dos 
  573.  commands can be run direct from the REU.  One of these is ASSIGN.
  574.  
  575.  From your description of the prob, I suspect that you may not have the 
  576.  ASSIGN command in your cs/dos Ramdisk.
  577.  
  578.  If I an right about this there are two easy solutions:  (1) Add ASSIGN to 
  579.  your Ramdisk, and save the new Ramdisk, or (2) be sure that ASSIGN is on 
  580.  your z: drive (as a seperate program file), and change the autoexec so that 
  581.  it looks there for ASSIGN:
  582.  
  583.  z:assign b 9,0 
  584.  z:assign c 10,0
  585.  z:assign d 11,0
  586.  z:assign e 12,0
  587.  z:assign i 12,7
  588.  
  589.  etc.
  590.  
  591.  As to the prob with cs/dos not properly reading a two digit partition, I 
  592.  suspect that it was never intended to do this, since when it was written we 
  593.  were using drives with _only_ the numbers 0 and 1.
  594.  
  595.  You should note that even tho you can assign 16,6 to k:, for example, and 
  596.  it will work fine for directory requests, and direct command line items, it 
  597.  will not work with LHA and other utilties.  For LHA, you would have to CP 
  598.  to the partition you want, and then use the i: drive, which is 16,0.
  599.  
  600.  Finally, if your HD is drive 12, then by all means change all those 16's to 
  601.  12, and have them match your HD's partitions, at least up thru partition 9, 
  602.  and the ones you will want to access.
  603.  
  604.  Use the drive designator, 12,0, as the "floater" to access partitions 
  605.  higher than 9, once you have done a CP.
  606.  
  607.  Keep me informed as to how things are going
  608.  
  609.  Howie
  610.  ------------
  611. Category 3,  Topic 18
  612. Message 13        Thu Jul 28, 1994
  613. THE.OUTLAW                   at 20:10 EDT
  614.  
  615.  Howie,
  616.  
  617.  > If I an right about this there are two easy solutions:  (1) Add ASSIGN to
  618.  > your Ramdisk, and save the new Ramdisk, or (2) be sure that ASSIGN is on
  619.  > your z: drive (as a seperate program file), and change the autoexec so that
  620.  > it looks there for ASSIGN:
  621.  
  622.  In the autoexec, there is a syntax line that reads:
  623.  
  624.  z:getram z:ramdisk
  625.  
  626.  add z:assign to this line?
  627.  
  628.   z:assign b 9,0    <-- change the autoexec to have the z: prefix?
  629.  
  630.  Thanks  :>
  631.  ------------
  632. Category 3,  Topic 18
  633. Message 14        Fri Jul 29, 1994
  634. H.HERMAN1                    at 04:30 EDT
  635.  
  636. Cam,
  637.  
  638. Yes!  All that needs to be done is to put a `z:' in front of each assign, so
  639. that it reads:   z:assign b 9,0
  640.  
  641. You must also be _sure_ that your z: drive has the ASSIGN program file.
  642.  
  643. Howie
  644.  ------------
  645. Category 3,  Topic 18
  646. Message 15        Fri Jul 29, 1994
  647. THE.OUTLAW                   at 05:44 EDT
  648.  
  649. Howie,
  650.  
  651. Ok, I sorta figured on that (z:assign b 9,0),but putting ASSIGN into the Z
  652. drive, how is that done? I saw the line in the autoexec that read: z:getram
  653. z:ramdisk <- after this place z:assign?
  654.  
  655. Thanks :>
  656.  ------------
  657. Category 3,  Topic 18
  658. Message 16        Sat Jul 30, 1994
  659. H.HERMAN1                    at 06:16 EDT
  660.  
  661.  Cam,
  662.  
  663.  In direct mode, you would enter:
  664.  
  665.  rsave assign
  666.  
  667.  ASSIGN will be saved to the default, or z: drive.
  668.  
  669.  For this command only, you will want to write to a 1571 drive, or
  670.  possibly 1571 emulation partition.  Do not try an rsave to a 1581.
  671.  I do not know why, but it does not always work.
  672.  
  673.  Once assign is on disk, test it out in direct mode, by trying things
  674.  like:
  675.  
  676.  z:assign t 8,0
  677.  
  678.  Then do a dir t:
  679.  
  680.  You would do this to make sure that the file transferrred to disk
  681.  correctly.
  682.  
  683.  If all works well, then add the prefix `z:' to the assign commands
  684.  in the autoexec.
  685.  
  686.  That should do it!
  687.  
  688.  Howie
  689.  ------------
  690. Category 3,  Topic 18
  691. Message 17        Thu Aug 18, 1994
  692. THE.OUTLAW                   at 22:29 EDT
  693.  
  694. Howie, I still haven't gotten to adding ASSIGN to the ramdisk. I have come up
  695. with a new problem - after the 2nd READY I get:
  696.  
  697. There seems to be a problem.... rebooting... echo is off ready
  698.  
  699. I can't load CS-DOS from anything at the moment :/ any ideas?
  700.  ------------
  701. Category 3,  Topic 18
  702. Message 18        Fri Aug 19, 1994
  703. THE.OUTLAW                   at 16:55 EDT
  704.  
  705.  Howie!
  706.  
  707.  I'm now out of idiot mode... (forgot to put REU in) that
  708.  explains the the problem echo off mess...
  709.  
  710.  Anyway, after following you instructions with RSAVE, I now have
  711.  NO syntax errors in the loading proccess of CS-DOS. I did decide
  712.  to check out the 2 digit partion anyway and did find out CS-DOS
  713.  doesn't recognise them, at least by way of autoexec.
  714.  
  715.  Thanks for all the help! :>
  716.  ------------
  717. Category 3,  Topic 18
  718. Message 19        Fri Aug 19, 1994
  719. H.HERMAN1                    at 19:53 EDT
  720.  
  721.  Cam,
  722.  
  723.  ha!
  724.  
  725.  >There seems to be a problem.... rebooting... 
  726.  
  727.  The autoexec ran fine, saw a fatal configuration, and rebooted the
  728.  computer, as it is supposed to.   :)
  729.  
  730.  I am sure happy to hear that CS/DOS is *now* booting itself without a
  731.  syntax error message.  I *knew* it would, once set up properly.
  732.  
  733.  As to using ASSIGNed drives, those with partitions higher than zero
  734.  will work with "simple" structure commands, like directories, and
  735.  such.  ARC, and LHA, etc., do not correctly recognize them.  I quess
  736.  we can add the autoexec to this list.  :)
  737.  
  738.  Howie
  739.  ------------
  740. Category 3,  Topic 18
  741. Message 20        Sat Aug 20, 1994
  742. C128.JBEE                    at 01:01 EDT
  743.  
  744.  I just wanted you to know I am currently working on CS-DOS.  Once
  745.  I get it to recompile correctly for me I will start on some of the
  746.  fixes.
  747.  ------------
  748. Category 3,  Topic 18
  749. Message 21        Sat Aug 20, 1994
  750. D.TUOMI [Doctor]             at 05:16 EDT
  751.  
  752. The copies of CS-DOS you sent me JBEE perform the same as my original copies. 
  753. They still have a tendency to lock up with CMD native mode partitions.  Both
  754. with and without REU engaged.
  755.  
  756. Doc.
  757.  ------------
  758. Category 3,  Topic 18
  759. Message 22        Mon Aug 22, 1994
  760. H.HERMAN1                    at 08:21 EDT
  761.  
  762.  JBEE,
  763.  
  764.  Having CS/DOS utilties recognize ASSIGNed drives (like 16,20) would be
  765.  a nice new feature to include.  Also, CMD drive paths!  :)
  766.  
  767.  Doctor,
  768.  
  769.  I run CS/DOS with CMD native partitions (on RAMLink), with no problems.
  770.  It does boot first from a 1581 partition.  Things were set up this way,
  771.  once I decided it was faster to archive RL with MCOPY.  CS/DOS should
  772.  boot just as well from any native partition, however.
  773.  
  774.  If cs/dos is locking up you might try clearly ASSIGNing your drives
  775.  in autoexec, and then using drive designators with its commands.  Things
  776.  like:
  777.  
  778.  LHA -s i:newfile a:title c:file1 b:file2 i:file3
  779.         ^         ^       ^       ^       ^
  780.  Also, check that you have defined REU space usage properly.
  781.  
  782.  Howie
  783.  ------------
  784. Category 3,  Topic 18
  785. Message 23        Mon Aug 22, 1994
  786. C128.JBEE                    at 18:57 EDT
  787.  
  788.  Howie,
  789.  Once I have the C compiler working on my machine properly and have done
  790.  a successful compile, I will be taking all the bugs and suggestions in
  791.  this topic and use them to update the newer version.
  792.  ------------
  793. Category 3,  Topic 18
  794. Message 24        Thu Sep 22, 1994
  795. R.HARRIS1 [Randy Harris]     at 01:12 EDT
  796.  
  797. Glad to hear there is further development being done on CS-DOS!! I'm am a new
  798. user of CS-DOS, and I LOVE IT!  It took awhile to figure things out, but once
  799. I did, I realize it one of the BEST tools available for the 128!
  800.  
  801. Randy  :)
  802.  ------------
  803.  
  804. 3 ?