home *** CD-ROM | disk | FTP | other *** search
/ Generous Efforts of Many / gemcd.zip / GEM.CD.A.po / FEATURES:BEAGLE / DOS.BOSS.DOC / T.DOS.BOSS
Text File  |  1990-02-15  |  47KB  |  1,248 lines

  1. DOS BOSS INSTRUCTIONS
  2. ---------------------
  3.  
  4. What's DOS?
  5. -----------
  6. DOS is Apple's "Disk Operating System".  Without it, your
  7. Apple simply does not know how to perform any function that
  8. involves a disk--load a program form disk, catalog, tell you
  9. "FILE NOT FOUND", access a text file, etc., let alone start
  10. the actor on your disk drive.  Without DOS, your Apple DOES
  11. know how to execute BASIC functions (I assume you are using
  12. Applesoft or Integer BASIC), because BASIC is BUILT IN to
  13. your Apple in the form of unchangeable hardware, or "ROM"
  14. (Read Only Memory), DOS (rhymes with "boss", by the way) is
  15. actually a complex machine-language PROGRAM that is entered
  16. into your Apple's memory in "RAM" (Random Access Memory)
  17. each time you boot a disk.  DOS normally remains in memory
  18. as long as your Apple is turned on and is not affected or
  19. changed by anything you ordinarily do--programming, loading,
  20. saving, deleting, etc.
  21.  
  22. So, after you boot a disk (load DOS), your Apple knows TWO
  23. sets of instructions, BASIC and DOS.  When you enter an
  24. instruction through the keyboard, the Apple checks it FIRST
  25. to see if it is a DOS command, THEN to see if it is a BASIC
  26. command.  If you type "ABCFED" with a carriage return, for
  27. example, the Apple checks its entire 28 word DOS command
  28. vocabulary (words like "CATALOG", "INIT", "DELETE", etc.) to
  29. see if it knows "ABCFED".  If it doesn't, it then checks its
  30. BASIC vocabulary (words like "LIST", "GOTO", "AND", "NEXT",
  31. "POKE", etc.). If it can't find "ABCFED" there, it gives up
  32. and prints "?SYNTAX ERROR" or "*** SYNTAX ERR".  If it DOES
  33. know the word that you have typed, it executes the command
  34. according to the instructions that reside in memory, either
  35. DOS or BASIC, depending on where the command was found.  All
  36. of the above takes approximately no time at all.
  37.  
  38. What's DOS BOSS?
  39.  
  40. Since DOS is an ACCESSIBLE written program in RAM and not a
  41. permanent collection of hardware like BASIC, you can CHANGE
  42. it to suit your desires and to have more control over your
  43. computer.  DOS BOSS is the key to making these changes.
  44. With DOS BOSS, you will have immediate access to DOS's most
  45. visible functions and features.  With this book, you will
  46. have even further control, and learn a bit more about what
  47. goes on inside your Apple's "brain".  I have written as much
  48. as possible from a beginner's viewpoint, assuming that you
  49. know nothing of machine level programming or the way a
  50. computer works.  Technical details, whenever possible, have
  51. been omitted or written in English.  Let's get on with it
  52. and have some fun!
  53.  
  54. Using DOS BOSS
  55.  
  56. DOS BOSS is easy to use.  Let's use it!
  57.  
  58. STARTING OUT
  59.  
  60. Boot the DOS BOSS disk.  You are now operating under normal
  61. DOS conditions with your normal Apple.  Now type RUN DOS
  62. BOSS and hit "return".
  63.  
  64. (M) MENU
  65.  
  66. In a few seconds, you will see the DOS BOSS MENU, showing
  67. the DOS change options available to you.  To the left of
  68. each option is a letter of <> brackets.  This indicates that
  69. only one keypress is needed to select the option.  Most of
  70. what you do with DOS BOSS will be done with one keypress (no
  71. "return" is necessary).
  72.  
  73. You will need to return to the MENU each time you want to
  74. select another DOS BOSS feature.  to do so, simply type an M
  75. or an M + carriage return (cr) from almost any part of DOS
  76. BOSS.  If you wanted to, you could even hit RESET and RUN
  77. DOS BOSS again without losing the DOS changes you had made
  78. so far.  DOS BOSS's "variables" are actually memory values
  79. in DOS and will not be cleared when you RUN any program or
  80. change languages because DOS is tucked safely above HIMEM,
  81. the highest memory location accessible by your BASIC
  82. (Applesoft or Integer) programs,
  83.  
  84. Let's cover the DOS BOSS features--
  85.  
  86. (C) DOS COMMAND CHANGES
  87.  
  88. Select C from the MENU and you will soon be presented with
  89. Apple's 28 DOS COMMANDS, ready to be changed.  To the right
  90. of each command should be the word "SAME".  This means that
  91. each command is in its standard form (CATALOG will catalog;
  92. LOAD will load, etc.).  If all the commands are not marked
  93. "SAME", you may standardize them at any time by entering a $
  94. sign.
  95.  
  96. Let's change a command; Select "CATALOG" as a test command
  97. by pressing the R key (no need to press "return").  Now,
  98. type in a new command, seven characters or shorter (no
  99. spaces, commas or colons allowed in commands!), and hit
  100. "return".  In a few seconds, you will see your new command
  101. in inverse to the right of CATALOG.  During the pauses
  102. between your inputs, the Apple is making room for the new
  103. command, inserting the new command in DOS, and "sliding" all
  104. other commands up or down to be adjacent.  See "CRUISING
  105. THROUGH DOS" later in this book for a memory layout of the
  106. DOS commands.
  107.  
  108. For a test, enter "CAT" as the new CATALOG command.  Exit
  109. the COMMAND CHANGE MODE by pressing M for MENU and exit DOS
  110. BOSS my pressing Q for QUIT.  Now try to CATALOG a disk.
  111. The word CATALOG gives you a SYNTAX ERROR (the Apple thinks
  112. it means CATALOG ALOG), BUT the word CAT catalogs your disk!
  113. Much easier to type, right?  How about changing the command
  114. to CC?  Simpler yet!  Type RUN now and change it.
  115.  
  116. There are 132 character location set aside for DOS commands.
  117. The total length of all 28 commands may not exceed 132
  118. characters.  DOS BOSS will let you lengthen a short command
  119. IF you have shortened another and have the spare characters
  120. available.  To lengthen the FP command to the word
  121. APPLESOFT, for example, you could shorten CATALOG to CAT and
  122. VERIFY to VER.  You have created seven spare characters, and
  123. now you can lengthen FP to APPLESOFT.  Each new command may
  124. be as long as the number of underscores (----) shown before
  125. you enter the new word.  DOS BOSS will not allow a command
  126. longer than nine characters.  In DOS BOSS, on certain long
  127. commands, the new command will overwrite the original on the
  128. left.  This was done in the interest of saving screen space.
  129.  
  130. COMMAND POSSIBILITIES
  131. ---------------------
  132. You may want to change all or just a couple of commands to
  133. cover a given situation.  Let's take a look at just a few
  134. change ideas.  More command change ideas appear in the Error
  135. Message section of this book.
  136.  
  137. CATALOG -- Shorten it.  See above.
  138.  
  139. INIT -- Accidentally typing INIT could prove disastrous!
  140. For me, it resembles "INIT", the  Integer command just a bit
  141. too much.  Why not change INIT to KILL or a longer code word
  142. like FORRMATT?
  143.  
  144. FP -- Beginners have a hard time remembering this one.  A/S
  145. or APPLESOFT ] (shift-M) might make more sense to you.
  146.  
  147. EXEC -- I use EX.  I have a Text File called LIST that turns
  148. on my printer, sets it up for 80 character per line, lists a
  149. program, then turns the printer off.  To list any program on
  150. my printer, I simply type EXLIST (meaning EXEC the file name
  151. LIST), and my printer goes to work with my program still
  152. intact!  The BASIC LIST command, of course, still lists on
  153. the screen in the normal manner.
  154.  
  155. BRUN -- Typing HELP can BRUN a user instruction file names
  156. LP if you rename the BRUN command HE (HELP then means BRUN
  157. LP).  Try it.  There's a sample LP program on the DOS BOSS
  158. disk which runs the ASSISTANCE program.
  159.  
  160. VERIFY -- VV is perfect here; much shorter (and REAL hard to
  161. misspell!)
  162.  
  163. LOAD & SAVE -- Special commands!  If you rename them, you
  164. must name other commands "LOAD" and "SAVE" or your system
  165. will freeze if they are accidentally typed, thinking you are
  166. doing a cassette LOAD or SAVE>  More later in the Error
  167. Message Section.
  168.  
  169. RUN -- RUN bu itself is a BASIC command.  With anything
  170. following it other than a carriage return, it is a DOS
  171. command.  It is best not to mess with DOS's RUN command...
  172. Oh, GO AHEAD!! It's fun to confuse your Apple!  If you
  173. rename RUN, R, for example, your Apple could misinterpret
  174. the BASIC command RUN as RUN  UN.  If things get totally out
  175. of hand while you're experimenting, you can always re-boot.
  176.  
  177. WATCH-OUT-FORS
  178.  
  179. 1.  If you have changed a command (say CATALOG to CAT) and
  180. encounter a ctrl-D execution of that command in its REGULAR
  181. FORM in a program (like PRINT CHR$(4); "CATALOG"), the
  182. program will bomb with a SYNTAX ERROR or ?SYNTAX ERROR.
  183. Boot normal DOS of you aren't familiar with a program.
  184. 2.  BE CAREFUL WITH ONE-LETTER COMMANDS!  It's best to use a
  185. letter that no other command starts with.
  186. 3.  Giving a DOS command a BASIC command name will make the
  187. BASIC command unusable.  Change CATALOG to LIST, for
  188. example, to make your programs un-LISTable.  Remember, Apple
  189. checks DOS, THEN BASIC for commands.
  190. 4.  Don't use spaces in commands.  If you want a two-word
  191. command like CAT LIST, enter it in DOS BOSS as CATLIST.  The
  192. Apple is trained to ignore spaces-> For example, the normal
  193. CATALOG command will execute fine as CAT A LOG or CATAL OG.
  194. 5.  Don't put commas or colons in commands.  apple's INPUT
  195. function won't allow them, so DOS BOSS won't either.
  196. 6.  All DOS commands except CATALOG, CLOSE, INT & FP must be
  197. followed by other words or characters, usually a file name,
  198. to be valid.  Just thought I'd mention it.
  199. 7.  With duplicate DOS commands, only the first one will
  200. function.
  201.  
  202. SELF TEST
  203.  
  204. You can quickly print all DOS commands in their current form
  205. without having to enter the Command Change mode--
  206.  
  207. 1.  Quit DOS BOSS with a Q.
  208. 2.  Type RUN 22222 ("return").
  209.  
  210. If you see some inverse +'s, those are spare characters.
  211.  
  212. (E)  ERROR MESSAGE CHANGES
  213.  
  214. Error Message changes are made just like Command changes.
  215. Select the message and type in a new one.  When you are
  216. finished, hit M for MENU.  Changing error messages is
  217. faster, because LENGTHENING MESSAGES IS NOT ALLOWED, and DOS
  218. BOSS, on certain long error messages, your new message will
  219. overwrite the original on the left.  This was allowed in the
  220. interest of saving screen space.
  221.  
  222. TESTING ERROR MESSAGES
  223.  
  224. To see if your altered error messages are printing the way
  225. you want, you can trigger each with the following (standard)
  226. DOS command:
  227.  
  228.      LANGUAGE NOT AVAILABLE-- LOAD an INT file with an
  229. Applesoft-only Apple.
  230.      RANGE ERROR-- MAXFILES 17.
  231.      WRITE PROTECTED-- SAVE FILE with a write-protected
  232. disk.
  233.      END OF DATA-- WRITE an empty Text File, TFILE, and then
  234. EXEC TFILE, R2.
  235.      FILE NOT FOUND-- LOCK X (no program X on disk).
  236.      VOLUME MISMATCH-- LOCK X, V123 (123 is wrong volume
  237. number).
  238.      I/O ERROR-- CATALOG with no disk in drive.
  239.      DISK FULL-- SAVE X with a full disk.
  240.      FILE LOCKED-- SAVE FILE where FILE is locked.
  241.      SYNTAX ERROR-- CATALOGX.
  242.      NO BUFFERS AVAILABLE-- Set MAXFILES 1. Then OPEN a
  243. file, and CATALOG.
  244.      FILE TYPE MISMATCH-- BLOAD FILE where FILE is in
  245. Applesoft or Integer.
  246.      PROGRAM TOO LARGE-- Lower HIMEM to 3000 and LOAD large
  247. program.
  248.  
  249. COMPUTERS-DON'T-HAVE-TO-TALK-LIKE-COMPUTERS DEPARTMENT
  250.  
  251. Come on gang!  Loosen up your Apple!  Life is too short for
  252. those D-U-L-L error messages!
  253.  
  254.      DISK FULL-- Maybe make it BURP!  Instead.
  255.      LANGUAGE NOT AVAILABLE-- How about NO SPEAKA DA
  256. INTEGER!
  257.      FILE NOT FOUND-- TRY AGAIN, BOZO!
  258.      PROGRAM TOO LARGE-- CANNOT COMPUTE!
  259.      ANYTHING-- How about BUMMER!
  260.                 Or RATS!
  261.                 Or CAN'T YOU SPELL?
  262.                 Or HUH?
  263.  
  264. SYNTAX ERROR-- Should be renamed DOS ERROR or anything not
  265. resembling Applesoft's ?SYNTAX ERROR or Integer's *** SYNTAX
  266. ERR.  When a DOS error is encountered, you should instantly
  267. be able to recognize it as such.
  268.  
  269. COMMAND/MESSAGE COMBOS!
  270.  
  271. This is fun!  I'll give you some examples, and you take it
  272. from there.  These changes may all be appended to any
  273. program (more later in the "SAVING DOS CHANGES" section,
  274. page 10).
  275.  
  276.      1.  Change the SAVE command to KEEP.
  277.      2.  Change the VERIFY command to CATAL.
  278.      3.  Change the FILE NOT FOUND message to *** TYPE
  279. "CAT"!.
  280. Here, the Apple thinks CATALOG means VERIFY file OG, can't
  281. find file OG, and prints the instructions for your new
  282. CATALOG command!  Handy if a stranger is using your DOS
  283. BOSSed Apple and wants to catalog.
  284.  
  285. or...
  286.  
  287.      1.  Change the READ command to LIST.
  288.      2.  Change the NOT DIRECT COMMAND message to NOT
  289. LISTABLE!
  290.  
  291. Another in a long series of ways to Non-listify your
  292. programs to frustrate beaky people!
  293.  
  294. SELF TEST
  295.  
  296. You can quickly print all DOS error messages in their
  297. current form without entering the Error Message Change
  298. mode--
  299.  
  300.      1.  Quit DOS BOSS with a Q.
  301.      2.  Type RUN 22333 ("return").
  302.  
  303. (X)  CATALOG FORMATTER
  304.  
  305. It can be frustrating when all of your file names won't show
  306. on the screen at one time.  23 is the normal maximum.  DOS
  307. BOSS's Catalog Formatter can increase this to 88!  Enter
  308. this mode from the MENU with an X.  You can re-layout your
  309. catalogs as indicated by the chart on the screen.  Try all
  310. of the options.  Each selection will instantly show you your
  311. new catalog format, so BE SURE YOU HAVE A DISK IN YOUR
  312. DRIVE.  Options 3 & 4 will eliminate your language codes
  313. (A,I,B & T) and sector numbers for added horizontal space.
  314. These codes are usually not necessary anyway.
  315.  
  316. One drawback to the two and four-column catalogs is that
  317. file names longer than the maximums shown on the right of
  318. the screen will be chopped off when presented.  You must
  319. either shorten these file names (the best solution) or
  320. REMEMBER them so you can access them by their real titles.
  321.  
  322. DOS BOSS creates these multi-columned catalogs by simply
  323. removing the carriage returns after each file name.
  324. Three-columned catalogs are not possible using this
  325. procedure, since an odd number of characters would be
  326. required on each line, and it takes 40 characters
  327. horizontally to fill the screen.  See "Making Changes
  328. Without DOS BOSS" a few pages from here for more.
  329.  
  330. Don't use file names with hidden control characters with the
  331. split catalogs; the columns will get out of alignment.  Two
  332. and four-column catalogs will sometimes look better if you
  333. make the LOCK and UNLOCK codes INVERSE with DOS BOSS.  See
  334. <F> FILE CODE CHANGE.
  335.  
  336. (V)  VOLUME HEADING CHANGES
  337.  
  338. To me, Apple's "DISK VOLUME 254" message is clunky, and
  339. takes up too much screen space.  DOS BOSS will permit you to
  340. replace the heading with anything you want, UP TO 16
  341. CHARACTERS IN LENGTH.  You can also eliminate OR include the
  342. Volume Number itself.  Select V from the MENU for a test
  343. run.
  344.  
  345. A sample of the current heading will be displayed on the
  346. screen.  To remove or include the Volume Number, press #.
  347. To change the message, press C, and type in a new heading
  348. followed by "return".  "Return" alone will restore the
  349. standard (even if it IS clunky!) DISK VOLUME  heading.  You
  350. may also select N, I, or F for a Normal, Inverse, or
  351. Flashing heading.  The Volume Number, when visible, must
  352. always be Normal.
  353.  
  354. Special characters may be used to create trick titles.  The
  355. @ will print as a carriage return for multi-line titles.
  356. The ^ will do a line feed.  And the > will let you indent a
  357. title, nice in Inverse (normally, the Apple ignores a
  358. leading space on an INPUT; the > remedies the problem!)  The
  359. < acts as a backspace.  Fool around with these special
  360. characters, and you'll see the results.  ALL CATALOGS WILL
  361. HAVE THIS TITLE under another disk is booted, or until a new
  362. title has been injected into DOS.
  363.  
  364. DISKVOLTRIX
  365.  
  366. 1.  Make your heading GEORGE'S DISK@V- and you will get a
  367. nice two-line heading with a V-254 (or whatever Volume
  368. Number the disk was INITed with) on the second line.
  369.  
  370. 2.  Try A^B^C^<D^<<E^<<F in inverse with no volume Number!
  371. I like to use >BEAGLE@>BROS.> in Inverse.
  372.  
  373. 3.  Or *A 002 HELLO with no Volume Number.  A phony program!
  374. See "Making Changes Without DOS BOSS" later on regarding
  375. removing the carriage return and blank line after the
  376. heading.
  377.  
  378. 4.  Omit the Volume Number, and make the heading >>>>>
  379. (blank).  Who needs it, anyhow?
  380.  
  381. (F)  FILE CODE CHANGES
  382.  
  383. Your A, I, B and T file codes as well as your * and " " lock
  384. & unlock codes may be any ASCII screen character you want,
  385. Inverse, Flashing, or Normal.  change them as indicated on
  386. the screen in the File Code Change mode.
  387.  
  388. SUGGESTIONS:
  389.  
  390. 1.  Alter your file codes or make them ALL INVISIBLE
  391. (spaces) to disguise your files from unauthorized users.
  392.  
  393. 2.  Make Applesoft's A, a ], Integer's I, a >, Binary's B, a
  394. *, and Text File's T, a ".  The Key-Cat Program on the DOS
  395. BOSS disk uses this set.  Make up your own.  See Note 4
  396. below.
  397.  
  398. 3.  Make the LOCK and UNLOCK codes Inverse to give your
  399. catalogs a left border.  This helps visually separate
  400. columns if you are set up with DOS BOSS's multi-columned
  401. catalog.
  402.  
  403. 4.  If you are using Key-Cat (page 11), YOU MUST USE ALL
  404. STANDARD FILE CODES AND LOCK & UNLOCK CODES.
  405.  
  406. (S) SAVING DOS CHANGES
  407.  
  408. Press S from the menu for DOS BOSS's two Save Options.
  409.  
  410. QUIT AND INIT
  411.  
  412. The easiest way to save DOS changes is to create the set-up
  413. you like with DOS BOSS, load or create a new "Hello"
  414. program, and INIT A NEW DISK with your DOS change in memory.
  415. Booting that disk will format your new DOS for you.
  416.  
  417. CREATING POKE FILES
  418.  
  419. Another way to save your new DOS is to use DOS BOSS to
  420. create "Poke-Files" which may be appended to any BASIC
  421. program.  When executed, these pokes will change the values
  422. necessary to structure your new DOS.
  423.  
  424. a.  Press P.  you will be asked which TYPES OF CHANGES you
  425. want to save; Commands, Error Messages, and/or Catalog
  426. changes.  The Catalog changes include fIle Code, Disk Volume
  427. Heading, and Column changes.
  428.  
  429. b.  Press Y for each Change Type you want to save, and press
  430. S.  A text file will be created for each.  This will take 30
  431. seconds or so, and you can watch the action.
  432.  
  433. c.  Press Q to exit DOS BOSS and catalog your disk.  You
  434. will see three text files in the catalog; ERR-POKES and
  435. COM-POKES.
  436.  
  437. d.  Type NEW, and LOAD or create any BASIC program.  BE SURE
  438. LINES 30000-30999 ARE NOT USED.  That is where data from the
  439. Poke Files will be appended.
  440.  
  441. e.  EXEC the appropriate files.  EXEC COM-POKES if you are
  442. saving Command changes.  EXEC ERR-POKES if you are saving
  443. Error Message changes.  EXEC CAT-POKES if you are saving
  444. Catalog Format changes.  Each file you EXEC will be appended
  445. to your program.
  446.  
  447. f.  Put a GOSUB 30000 in your program and an END before the
  448. pokes if necessary.  Now this program will format DOS as you
  449. have designed it!  It can be a "Hello" program if you want.
  450. Just delete an existing Hello program and SAVE this new
  451. program under the same name.
  452.  
  453. Try the above procedure and save your results.  There is a
  454. program on the DOS BOSS Disk called NORMALIZER, RUNning it
  455. will normalize DOS BOSS changes for you (if you don't want
  456. to re-boot).
  457.  
  458. NOTE:  Only NON-STANDARD error messages will be poked in by
  459. DOS BOSS's SAVE feature.  All other error messages,
  460. including any existing non standard messages, will remain
  461. unchanged.
  462.  
  463. Also on the DOS BOSS disk
  464.  
  465. KEY-CAT and BAIT-CAT
  466. --------------------
  467. STOP!!  If you have altered certain DOS commands in memory
  468. with DOS BOSS, rename the strings in LINE 10 of Bait-Cat and
  469. Key-Cat or THESE PROGRAMS MIGHT NOT WORK!  Your new RUN,
  470. BRUN and EXEC commands must be six characters or shorter for
  471. Key-Cat.  Multi Columns, non-standard file codes and other
  472. DOS BOSS changes will also disable Key-Cat.
  473.  
  474. KEY-CAT
  475. -------
  476. KEY-CAT is a little BASIC program that will make programs
  477. easier to select from the catalog.  It is especially handy
  478. for non-typers and people not familiar with computers.  RUN
  479. it and you will see a catalog of your disks.  To the left of
  480. each filename will be a letter.  Press the letter next to
  481. the file you want, and Key Cat will RUN, BRUN or EXEC it for
  482. you!
  483.  
  484. If you have more than 17 file names on your disk, the
  485. catalog will pause as usual when the screen is full.  Press
  486. any key to continue, OR, if you see the file name you want
  487. on the screen, PRESS THE "RETURN" KEY, and the selection
  488. letters will appear.
  489.  
  490. Type # as your selection and sectors used (SEC USED) and
  491. sectors free (SEC FRE) will appear on the screen.  Z will
  492. let you escape Key-Cat.
  493.  
  494. Key Cat makes long file names more practical, since you
  495. don't have to type the file name to use it.  You can use a
  496. file name like STAR TREK #9 WITH NEW MONSTERS.  The dots on
  497. the right of Key Cat catalog indicate Apple's maximum
  498. 30-character file name length.
  499.  
  500. RENAME KEY-CAT, N and you will only have to type RUNN to
  501. change programs.  Or RENAME KEY-CAT, DOWN and use RUNDOWN!
  502. (Also see NU below).
  503.  
  504. BAIT CAT
  505. --------
  506. RUN BAIT CAT to see your files separated by file types; B,
  507. A, I and T.  If your want to rearrange the order of your
  508. files or eliminate certain types, CHANGE CO$ IN LINE 150 OF
  509. BAIT CAT.  Only B, A, I and T are allowed, any order you
  510. want.
  511.  
  512. LP
  513. --
  514. LP is a jokey little program to demonstrate a possible use
  515. of DOS BOSS's Command Change feature.  With DOS BOSS, change
  516. BRUN to HE.  Then typing HELP will BRUN LP (LP runs a
  517. program called ASSISTANCE).  You could provide user
  518. instructions of your own design this way.
  519.  
  520. NU
  521. --
  522. NU will RUN KEY CAT for you.  Change EXEC to ME and the EXEC
  523. String in Key Cat (Line 50) to "ME".  Now, simply typing
  524. MENU will EXEC NU which RUN's KEY CAT!
  525.  
  526. Changing DOS without DOS BOSS
  527. -----------------------------
  528. Your Apple's changeable memory (RAM) consists of
  529. approximately 48,000 changeable memory locations, (32,000 if
  530. 32k).  Each location or address is assigned a value from 0
  531. to 255.  It is easy to PEEK or look at a value at any
  532. location (Example:  PRINT PEEK(300) will produce a number,
  533. 0-255, and PIKE in a new one if you want (Example:  POKE
  534. 300, 123 will change that number to 123).  DOS BOSS
  535. re-arranges DOS according to your commands by poking or
  536. inserting new values into memory for you.  Additional
  537. possibilities are endless-- Here are a few catalog
  538. customizations you can make on your own.  Any of them may be
  539. entered directly or made part of a program.  If you want to
  540. keep one of these features, INIT with it poked in, or add
  541. the pokes to THE END OF your appended poke-file (see "Saving
  542. DOS Changes").
  543.  
  544. BEWARE!!
  545. --------
  546. Messing around in DOS can cause S-T-R-A-N-G-E things to
  547. happen, and before you finish this section, you (or I) may
  548. have a malfunctioning computer.  Fear not!  To fix things,
  549. simply turn off the power and re-boot.  Remember, no
  550. permanent harm can ever be done to your Apple itself by just
  551. pressing keys.
  552. BEWARE AGAIN!-> There is also a slight chance that you COULD
  553. foul up a disk as well (if you typed other than the pokes
  554. given here), so use an expendable disk (a copy) to play
  555. around with.  If the disk does get messed up, you can always
  556. erase and re-use it by INITing it.  Before trying each new
  557. poke below, I advise you to poke back in the original values
  558. listed after each example.
  559.  
  560. ATTENTION OUT THERE!  The size of your Apple's memory
  561. determines where DOS resides.  On the following DOS
  562. experiments, use the first set of pokes if you have 48k
  563. (doesn't everybody?)  Use the second set if you have 32K.
  564.  
  565. PRINT PEEK (44611)
  566. or PRINT PEEK (28227) (if 32k)
  567.  
  568. Your Apple should answer with a 2. Let's change it to a 1--
  569. POKE 44611, 1
  570. or POKE 28227, 1 (if 32K)
  571.  
  572. Now Peek again, and there's your 1!  Now CATALOG a disk and
  573. notice the change you have made.  This poke changes the
  574. number of digits in your catalog sector numbers to 2 instead
  575. of 3.  Have you ever seen a file bigger than 99 sectors?
  576. Not very often, right?  So why clutter up the catalog with
  577. extra 0's?  (Note: If you REALLY like clutter, poke in a 4
  578. or an 11!)  A possible drawback to 2 digit sector numbers:
  579. You will scramble your VOLUME NUMBER (on the screen, not in
  580. memory).  A solution:  OMIT the number with DOS BOSS.
  581. Another drawback:  If you are using DOS BOSS's multi-column
  582. catalog, this poke will really make a temporary mess of your
  583. columns!  (Normal value:  2. Poke a 2 back in to 44611 or
  584. 28227, and continue.)
  585.  
  586. POKE 44459,234:  POKE 44460,234:  POKE 44461,234
  587. POKE 28075,234:  POKE 28076,234:  POKE 28077,234 (if 32K)
  588. These two pokes will eliminate the blank line after the word
  589. CATALOG.  234's mean "do nothing", and these pokes do
  590. nothing instead of printing a carriage return.  (Normal
  591. values: 32, 47, 174, if 48K, or 32, 47, 110 if 32K)
  592.  
  593. POKE 44486,234:  POKE 44487,234:  POKE 44488,234
  594. POKE 28068,24:  POKE 28103,234:  POKE 29104,234 (if 32K)
  595. This will eliminate the blank line after the Disk Volume
  596. heading.  (Normal values:  32,47,174 if 48K, or 32,47,110 if
  597. 32K)
  598.  
  599. POKE 44452,24:  POKE 44605,23
  600. POKE 28068,24:  Poke 28221,23  (if 32K)
  601. These pokes will let 20 file names appear before stopping
  602. for a keypress instead of the normal 18.  Poke in any
  603. numbers.  Always make the first poke value one number larger
  604. than the second.  (Normal values:  22,21)
  605.  
  606. POKE 44451,173:  POKE 44559,186
  607. POKE 28157,173:  POKE 28175,186 (if 32K)
  608. The first poke replaces the space (value 160) after the
  609. file-type code with a hyphen.  The second one puts a colon
  610. after the sector numbers.  Experiment with other values from
  611. the ASCII Screen Chart in the Dos Boss Book Appendix.
  612. (Normal values:  160,160)
  613.  
  614. POKE 44567,12
  615. POKE 28183,12 (if 32K)
  616. Will shorten your maximum file name length to 13 characters
  617. (on the screen, NOT in memory).  Normally this number is 29,
  618. for 30 maximum characters.  The number of characters is
  619. always one less than the number poked in.  Every file name
  620. shorter than the maximum fills the remaining space with
  621. spaces.  (Normal value: 29)
  622.  
  623. POKE 44578,234: POKE 44579,234: POKE 44580,234
  624. POKE 28194,234: POKE 28195,234: POKE 28196;234 (if 32K)
  625. Cancels all carriage returns after file names.  With these
  626. 234's poked in, play with poking some small numbers (like 2
  627. or 12; only certain numbers will work) in at 44567 (28183 if
  628. 32K), and you can have your own version of the
  629. multi-columned catalog.  (Normal values: 32,47,174 if 48K,
  630. or 32,47,110 if 32K)
  631.  
  632. POKE 44505,234: POKE 44506,234
  633. POKE 28121,234: POKE 28122,234 (if 32K)
  634. Shows deleted files in your catalog, and throws in a free
  635. bonus inverse character to the right of the each.  (Normal
  636. values:  48,74)
  637.  
  638. THE FOLLOWING CHANGES ARE PRETTY MUCH WORTHLESS, BUT FUN
  639. ANYWAY
  640. ------------------------------------------------------------
  641. ---
  642. POKE 44596,234: POKE 44597,234: POKE 44598,234
  643. POKE 28212,234: POKE 28213,234: POKE 28214,234 (if 32K)
  644. Will prevent your catalog from stopping when the screen is
  645. full.  Normal values: 206,157,179 if 48K, or 206, 157,115 if
  646. 32K)
  647.  
  648. POKE 44599,234: POKE 44600,234
  649. POKE 28215,234: POKE 28216,234 (if 32K)
  650. Stops your catalog at each file name, waiting for a keypress
  651. on each one (Normal values: 208,8)
  652.  
  653. POKE 50,128
  654. Makes your catalog invisible (in case you're embarrassed by
  655. it).  Lists are invisible too!  (Normal value: 255)
  656.  
  657. POKE 44617,234: POKE 44618,234: POKE 44619,234
  658. POKE 29236,234: POKE 29237,234: POKE 28235,234 (if 32K)
  659. Makes all sector numbers and your volume number appear as
  660. 000's!  (Normal values: 217,164,179 if 32K, or 217,164,115
  661. if 32K)
  662.  
  663. POKE 45620,234: POKE 45621,234
  664. POKE 29236,234: POKE 29237,234 (if 32K)
  665. Repeats your first file name forever!  (Normal values:
  666. 105,35)
  667.  
  668. FOR X=43439 TO 43443: POKE X,7: NEXT X
  669. FOR X=27055 TO 27059: POKE X,7: NEXT X (if 32K)
  670. This obnoxious change replaces the word FILE (+space) with
  671. five ctrl-G beeps in the FILE NOT FOUND error messages.  You
  672. can poke beeps (7), carriage returns (13), line feeds (10),
  673. or anything into any error message as well as the Volume
  674. Message and other unusual places.  Each poke, of course,
  675. replaces whatever character was there.  (Normal values:
  676. 70,73,76,69,32)
  677.  
  678. POKE 43378,42
  679. POKE 26994,42 (if 32K)
  680. Now you've replaced all DOS error message beeps (invisible,
  681. but audible ctrl-G's) with visible, but inaudible asterisks!
  682. (Normal value: 7)
  683.  
  684. DOS & Non-DOS Tips and Tricks
  685.  
  686. This section is for fun; a collection of unconnected Apple
  687. goodies from here and there, some useful, some useless, ALL
  688. kind of interesting.
  689.  
  690. IF CITY!
  691. Applesoft sometimes limits you in your use of "IF"
  692. statements.  That is, if an IF statement is not true,
  693. Applesoft jumps to the next line number.  NOT TRUE if you're
  694. dealing with certain types of information!  Instead of...
  695.      10 INPUT A
  696.      20 IF A=O THEN POKE 50,63: REM INVERSE
  697.      30 IF A>O THEN POKE 50,255: REM NORMAL
  698.      40 PRINT "BEAGLE"
  699. you could say...
  700.      10 INPUT A: POKE 50,63 + 192 * (A > O): PRINT "BEAGLE"
  701. The IF statement here is really inside the parentheses which
  702. takes on a value of 1 or O depending on the truth of A>O.
  703. If A>O then the POKE becomes POKE 50,(63+192) or POKE 50,255
  704. (normal).  IF not true, it's POKE 50,63  (inverse), AND THE
  705. REST OF THE LINE IS STILL READ!  A very simple example, but
  706. some complex things can be accomplished (like speeding up
  707. programs and SAVING SPACE) using this trick.
  708.  
  709. FLUSH RIGHT!
  710. Using the method above, flush right numbers are easy.
  711. Watch:
  712.      10 FOR X= 5 TO 1055 STEP 50
  713.      20 PRINT SPC(X>1000; SPC(X<100); SPC(X>10;X
  714.      30 NEXT X
  715.  
  716. APPLE BUG DEPARTMENT
  717. --------------------
  718. (We don't explain 'em, we just find 'em!)
  719.  
  720. GET BUG
  721. -------
  722. Turn off DOS by booting with no disk and hitting reset, and
  723. type:
  724.  
  725.      10 GET G$: V=VAL(G$): PRINT V
  726.  
  727. RUN and enter a digit, 1-9 for G$. Look at the answer!
  728. Inserting a "G$=G$" after "GET G$" seems to clear things up.
  729. The explanation for this is really boring.  Re-boot to
  730. continue...
  731.  
  732. SQUARE BUG
  733. ----------
  734. PRINT 7 * 7 AND PRINT 7^2 will produce different answers!!
  735. Watch this...
  736.  
  737.      10 TEXT: HOME
  738.      20 PRINT "NUMBER SQUARED  CUBED"
  739.      30 PRINT "------ -------  -----"
  740.      40 POKE 34,2
  741.      50 FOR X=0 TO 255: PRINT X;
  742.      60 HTAB 9: PRINT X^2:
  743.      70 HTAB 21: PRINT X^3: NEXT X
  744.  
  745. CONTROL BUG
  746. -----------
  747. Add this line to the beginning of any Applesoft program:
  748.  
  749.      10 IF N>99 THEN N=1: PRINT "CATALOG"
  750.  
  751. (There is a control-D hidden between the first quote mark
  752. and the C of CATALOG.)
  753.  
  754. Now try to LIST.  You can't!  Notice you are presented with
  755. a DOS ERROR (SYNTAX ERROR if you haven't used DOS BOSS)
  756. instead of a ?SYNTAX ERROR.  Applesoft can't seem to stand
  757. having a ctrl-D at HTAB 1 without trying to EXECUTE the
  758. commands following it!  To make it execute, REMOVE THE LAST
  759. QUOTE MARK (completely legal in Applesoft).  Now the LIST
  760. command will CATALOG!!  The IF N>99, etc., is just filler to
  761. get the ctrl-D on the left of the second line.  Creative (or
  762. destructive) possibilities:  Change CATALOG to FP, and a
  763. LIST command will murder the program!  Suits that guy right
  764. for trying to list your prized SUPERDATABASE program, right?
  765. Of course, NO ONE would be ROTTEN enough to change the
  766. command to DELETE SUPERDATABASE.  (...and INIT
  767. SUPERDATABASE? Never!!!)
  768.  
  769. ONE MORE NO-LISTER:
  770. -------------------
  771. A POKE 2049,1 in an Applesoft program will prevent a LIST if
  772. the program has been run.  Try it in a boot program.
  773.  
  774. CALL THIS NUMBER:
  775. -----------------
  776. CALL-1184 will retrieve a message for you from the Autostart
  777. ROM.
  778.  
  779. INVISI-CALC!
  780. ------------
  781. As mentioned earlier, POKE 50,128 will make a listing or
  782. catalog (except for inverse file names) invisible.
  783.  
  784. This program reveals all the POKE 50 possibilities--Anyone
  785. for secret codes?
  786.  
  787.      10 FOR X=O TO 255
  788.      20 POKE 50,255: PRINT "POKE 50,";X;":";
  789.      30 POKE 50, X: PRINT "TESTING 1,2,3,4,5..."
  790.      40 NEXT X: POKE 50,255: END
  791.  
  792. APPLE'S HEX CONVERTER
  793. ---------------------
  794. You can convert a hex number to decimal in the monitor.  Say
  795. you want to convert 056E to decimal.  From Applesoft, enter
  796. the monitor with CALL -151, and type:
  797.      *45: 05 6E N ED246 (return)
  798. Your decimal answer, 1390 in this case, will appear!  Use
  799. the N ED246 for converting any number (from Applesoft only).
  800.  
  801. You can ADD and SUBTRACT hex in the monitor too--Just type
  802. the equation, say "AF+3E" (don't type "PRINT") and hit
  803. return.  Apple even throws in a free equal sign!
  804.  
  805. SHIFTY PICTURES
  806. ---------------
  807. This little program does tricks with your hi-res screen by
  808. shifting memory.  First, RUN B.B. LOGO from the DOS BOSS
  809. disk.  Enter the monitor with a CALL -151, and type:
  810.  
  811.      *2000<2005.3FFFM (return)
  812.      *2000<2010.3FFFM (return)
  813.      *2000<2025.3FFFM (return)
  814.  
  815. These commands tell the Apple to MOVE MEMORY from the
  816. address range on the right to the range starting with the
  817. address on the left.  Substitute your own number after the
  818. "<".  Fun, huh?
  819.  
  820. FREEMEM
  821. -------
  822. To find the amount of memory still available to you, PRINT
  823. FRE(O) or FRE(any number).  If you get a negative answer,
  824. add 65536.  Try printing FRE(O) before and after booting
  825. DOS.  The program below will show you how many SECTORS a
  826. program in memory will occupy according to how such free
  827. memory you have left:
  828.  
  829.      10 TEXT: HOME
  830.      20 PRINT "SEC MEM   FRE(O)"
  831.      30 PRINT "--- ---  ------------------------------"
  832.      40 POKE 34,2
  833.      50 MEM=35329: REM 18945 IF 32K
  834.      60 FOR SEC=O TO 137
  835.      70 MEM=1 + INT<<.5+SEC) *256/1000)
  836.      80 MHI=MEM-256*SEC
  837.      90 MLO=MHI-255
  838.      100 PRINT SPD (SEC<100); SPC(SEC<10); SPC(1)
  839.      110 PRINT SPC(MEM<10); MEM;  "K"; SPC(2)
  840.      120 PRINT MLO;";";MHI;
  841.      130 IF MHI<32767 THEN PRINT "                
  842.      (";MLO-65536;";";MHI-65536;")";
  843.      140 PRINT: NEXT SEC
  844.  
  845. INVERSE TYPER!
  846. --------------
  847. Here's an easy way to type directly to the screen in inverse
  848. (or flash):
  849.  
  850.      10 INVERSE: REM OR FLASH
  851.      20 INPUT A$: PRINT A$;: GOTO 20
  852.  
  853. BUT you have to RUN the program and remain in the program
  854. for it to work.  Run the program below and you will get
  855. inverse alphabetical characters after you are out of the
  856. program!
  857.  
  858.      10 DATA 201,141,240,21
  859.      20 DATA 234,234,234,234
  860.      30 DATA 201,192,144,13,201,224,176,9,72,132,53,56,233
  861.      40 DATA 192: REM 128 FOR FLASH
  862.      50 DATA 76,249,253,76,240,253
  863.      60 FOR I=768 TO 795: REM $300 TO $31B
  864.      70 READ N: POKE I,N: NEXT
  865.      80 POKE 54,0: POKE 55,3
  866.      90 CALL 1002: REM RESET OR PR#O KILLS THIS PROGRAM.
  867.  
  868. CONTROL-FIND
  869. ------------
  870. Make the following changes to the above program to expose
  871. all control characters except U's (forward spaces) and M's
  872. (carriage returns):
  873.  
  874.      30 DATA 201,128,144,13,201,160,176,9,72,132,53,56,233
  875.      40 DATA 128: REM 64=FLASH, O=NORMAL
  876.  
  877. RUN it (nothing happens).  Now type GARBAGE (return) or
  878. something misspelled.  You will SEE, but NOT HEAR a "?SYNTAX
  879. ERROR" with an inverse "G" instead of the usual beep!  You
  880. can type control characters as inverse directly to the
  881. screen (or flashing if you change line 40 to DATA 64 in the
  882. above program).  Backspaces are a bit frustrating to use
  883. since they appear as inverse H's and don't usually
  884. backspace.  Save control characters into your file names if
  885. you want, and reveal them by running this program followed
  886. by CATALOG.
  887.  
  888. INVERSE REM STATEMENTS AT LAST!
  889. -------------------------------
  890. After minutes of extensive research, my Uncle Louie finally
  891. came up with his finest achievement, INVERSE REM STATEMENTS
  892. (flashing if you want!)! Maybe not as practical as your
  893. normal kind of REM, but they sure do SHOW UP!  Here's what
  894. you do:  Type in the Inverse Typer program from above and
  895. make the CONTROL-FIND corrections.  Be sure line 40 is 40
  896. DATA 128.  RUN it. Now type an inverse REM in any program.
  897. Say, 5000 REM A TEST.  Now LIST and you've got it!!  Oh, one
  898. thing.. the characters after "REM" are CONTROL CHARACTERS
  899. (ctrl-Z, space, ctrl-T, ctrl-E, ctrl-S, ctrl-T).  The
  900. inverse REMs will only show if you have RUN the control-find
  901. program above.  Hitting reset or Pr#O will kill the effect.
  902. Also, your REMs won't be able to contain any M's, U's, or
  903. X's (A's & S's too if you use the P.L.E.).  This is a good
  904. way to hide your name or secret info in a program!  Thanks,
  905. Uncle Louie!
  906.  
  907. LEONARDO WOULD HAVE LOVED IT!
  908. -----------------------------
  909. You never know when this might come in handy...
  910.  
  911.      10 H$=CHR$(8)+CHR$(8)
  912.      20 VTAB 23: HTAB 40
  913.      30 GET P$: PRINT P$;H$;
  914.      40 GOTO 30
  915.  
  916. RESET TO THE MONITOR!
  917. ---------------------
  918. We know a guy who chucked his Autostart ROM in the disposal
  919. just because it makes RESET return him to BASIC instead of
  920. the monitor.  He should have typed:
  921.  
  922.      ]CALL -151
  923.      *3F2: 69 FF 5A
  924.  
  925. Make the 5A and 51 and RESET will RE-BOOT! (Normal is *3F2:
  926. 00 97 32)
  927.  
  928. @DON'T ^BELIEVE ]IT.
  929. --------------------
  930. File names, according to the DOS Three-Point-Whatever Manual
  931. must start with a LETTER. Not so!  Shifted letters (N, P,
  932. and M) work too, as well as \ and [.  Nice for
  933. differentiating types of files in your catalogs.
  934.  
  935. BUT HOW DO YOU READ THE LABEL?
  936. ------------------------------
  937. You will probably ignore this hint; I know I do--If you are
  938. going to leave disks all over your desk, you should place
  939. them face UP so that they aren't damaged by dirt, etc. on
  940. your desk.  The disk drive head reads the BOTTOM of your
  941. disk through the oval hole.  The hole on top is for the
  942. pressure pad.
  943.  
  944. AND PEOPLE COMPLAIN ABOUT METRIC!
  945. ---------------------------------
  946. Have you noticed that to get into this computer stuff,
  947. you've got to be constantly CONVERTING things?  Decimal to
  948. hex, hex to decimal, 3.2 to 3.3, Applesoft to Integer,
  949. machine code to BASIC, screen characters to ASCII code,
  950. negative memory addresses to positive, 32K to 48K...Good
  951. grief!
  952.  
  953. Here are two rules-of-pinky that I'll pass along at no
  954. charge:  4 SECTORS used in a program = approximately 1K of
  955. memory (a 24 sector program is about 6K).  Also, 4000
  956. decimal = 1000 hex.
  957.  
  958. 255 SECTOR HANGMAN?
  959. -------------------
  960. You can purposely or accidentally have a file take up more
  961. space on a disk than it really occupies in memory.  To prove
  962. it, SAVE LARGE PROGRAM (say 50 sectors).  LOAD TEENY PROGRAM
  963. (say 2 sectors). SAVE LARGE PROGRAM.  And finally, RENAME
  964. LARGE PROGRAM, TEENY PROGRAM.  Now TEENY PROGRAM shows 50
  965. sectors in the catalog!
  966.  
  967. DELETE HELLO
  968. ------------
  969. If you need more space on a disk, consider deleting your
  970. Hello Program to save the amount of space it occupies.  you
  971. won't be able to boot the disk, but you can still use it!
  972.  
  973. D$ FIX
  974. ------
  975. This program WON'T catalog a disk:
  976.  
  977.      10 D$=CHR$(4): REM CTRL-D
  978.      20 PRINT "WATCH...";
  979.      30 PRINT D$;"CATALOG"
  980.  
  981. The problem is that D$ (ctrl-D) in line 30 is at HTAB 9
  982. because of the semi-colon in line 20.  One remedy that
  983. always gets your D$'s at HTAB 1 where it will function is:
  984.  
  985.      10 D$=CHR$(13) + CHR$(4): REM CARRIAGE RETURN + CTRL-D
  986.  
  987. RIGHT PROTECTORS
  988. ----------------
  989. Most of the write-protect tabs I have used come off or get
  990. messed up going in and out of my disk drives.  A handy new
  991. product called SCOTCH TAPE works much better!  Some
  992. computers other than Apple rely on a beam of light to check
  993. for write-protection, so their tabs would have to be opaque
  994. to work.
  995.  
  996. TWO-SIDED DISKS
  997. ---------------
  998. SURE you can use both sides of your "single sided" disks.
  999. This can save you both money and storage space.  Use a
  1000. regular paper punch to make a half-circle notch on the edge
  1001. of a disk jacket EXACTLY OPPOSITE the original write-protect
  1002. notch.  Then INIT the second side just like you did the
  1003. first.  Disk manufacturers don't usually test both sides of
  1004. disks, so you do run the risk of a bad sector now and then
  1005. and you COULD lose some data.  If you make back-up copies
  1006. anyhow, this shouldn't be a problem.  By the way, the small
  1007. off-center hole in the disk jacket isn't used by Apple's
  1008. DOS.
  1009.  
  1010. LO-RES MYSTERY
  1011. --------------
  1012. You can't PLOT X, Y where X > 39, BUT you can PRINT
  1013. SCRN(X,Y) with values of X up to 47!  Check it out.  It
  1014. seems that there's an invisible lo-res screen to the right
  1015. of the visible screen that's 48 plots high by 8 plots wide.
  1016. Maybe Apple is tooling up for CinemaScope!
  1017.  
  1018. ?=PRINT
  1019. -------
  1020. Applesoft thinks ? means PRINT.  Try ?2+2.  If you use ? in
  1021. a program and LIST, the ?'s will be converted to PRINTs!
  1022.  
  1023. "QUOTE"
  1024. -------
  1025. Applesoft doesn't require an end quote mark in most cases.
  1026. Try PRINT "HELP.  (Think of the time you'll save!)
  1027.  
  1028. SAVE-PROTECTING YOUR PROGRAMS
  1029. -----------------------------
  1030. There are four basic methods a person will use for copying
  1031. your software:
  1032.  
  1033.      1.  LOAD and SAVE after booting your disks.
  1034.      2.  LOAD and SAVE after booting another disk.
  1035.      3.  use the FID program form the System Master disk.
  1036.      4.  Use a COPY program to copy your entire disk, DOS
  1037.      and all.
  1038.  
  1039. Using DOS BOSS and the following trick, you can foil methods
  1040. 1,2 and 3. And method 4 has its drawbacks.  The trick
  1041. involves forcing the user to BOOT WITH YOUR DOS.  The effect
  1042. is this--suppose Joe Blow wants to make an unauthorized copy
  1043. of your fantastic new game.  After trying method 1 above, he
  1044. encounters a (beep!) "NOT COPYABLE" message.  Joe then tries
  1045. method 2 and 3, both of which seem to work, but when he
  1046. tries to run any program on the copied disk, it won't work
  1047. and crashes into the monitor.  Joe is getting discouraged.
  1048. Perhaps he gives up, or perhaps he goes on to method 4 and
  1049. copies your entire disk.  tHis works fine, bit every time he
  1050. catalogs your disk, he gets your bold copyright message in
  1051. the heading, reminding him of his dishonesty.  Also, he has
  1052. had to use up a whole disk, with your darn personalized DOS
  1053. on it.  Joe is sorry he ever messed with you!
  1054.  
  1055. The procedure to make the above happen goes like this:
  1056.  
  1057. a.  Run DOS BOSS
  1058. b.  Change the READ command to SAVE and the SAVE command to
  1059. KEEP.
  1060. c.  Replace the NOT DIRECT COMMAND error message with NOT
  1061. COPYABLE.
  1062. d.  Personalize your Disk Volume Heading.  Make it 15
  1063. characters or less.
  1064. e.  Quit DOS BOSS and type NEW (return)
  1065. f.  Type POKE 45995,96 (return).  If you have 32K, make it
  1066. 29611,96.
  1067. g.  Insert a new disk and type INIT HELLO (return).  Your
  1068. new personal DOS will be on this new disk.
  1069. h.  Copy your programs onto the new disk, using method 2 or
  1070. 3 above.
  1071. i.  Somewhere in each program, several times if you want,
  1072. insert a CALL 45995, either with a line number, like:
  1073.      1000 CALL 45995
  1074. or tucked amidst your existing program statements, like:
  1075.  
  1076.      1234 INPUT "O.K?";A$:CALL 45995: IF A$="Y" THEN GOTO 10
  1077.  
  1078.  
  1079. The CALL in Step 1 is like a "GOSUB" to a machine language
  1080. routine at memory location 45995.  The 96 you poked in in
  1081. Step f is actually a machine language "RETURN".  If the 96
  1082. is encountered at 45995, nothing happens and your program
  1083. continues, which is what you want.  If any other number is
  1084. encountered (meaning your disk was not booted) the program
  1085. crashes!  An equally good command, instead of CALL 45995,
  1086. would be IF PEEK (45995)<>96 THEN NEW.  This will ERASE the
  1087. program if your disk wasn't booted!
  1088.  
  1089. Have fun! And let's hope that Joe Blow doesn't have DOS
  1090. BOSS!
  1091.  
  1092. FILE NAMES AS TITLES
  1093. --------------------
  1094. You have probably noticed our catalog titles in our
  1095. multi-game disks, where we separate Applesoft games from
  1096. Integer:
  1097.  
  1098.      ]CATALOG
  1099.  
  1100.      DISK VOLUME 123
  1101.  
  1102.      INTEGER
  1103.  
  1104.      *I 053 TEXTTRAIN
  1105.      *I 036 SUB SEARCH
  1106.      *I 033 PICK-A-PAIR
  1107.  
  1108.      APPLESOFT
  1109.  
  1110.      *A 053 TEXTTRAIN/A
  1111.      *A 036 SUB SEARCH/A
  1112.      *A 033 PICK-A-PAIR
  1113.          etc...
  1114.  
  1115. The flush left underlined INTEGER & APPLESOFT headings help
  1116. organize the catalog and separate one group of files from
  1117. the other.  Here's how we do it!
  1118.  
  1119.      10 D$ = CHR$(4): H$ = CHR$(8)
  1120.      20 H$ = H$ + H$ +H$ + H$ + H$ + H$ + H$ + H$
  1121.      30 FILE$ = "X" + H$ + "APPLESOFT"
  1122.      40 PRINT D$; "SAVE ";FILE$
  1123.  
  1124. Substitute the word you want for your titles in line 30.
  1125. You can also replace SAVE in line 40 with DELETE, LOAD or
  1126. whatever.  Access to these "title" is difficult without a
  1127. program similar to the one above.
  1128. Another effective way to make file headings in the catalog
  1129. is to use inverse or flashing file names.  See page 26 of
  1130. the Winter 80-81 Beagle Bros. Tip Book.
  1131.  
  1132. INPUT ?-REMOVER
  1133. ---------------
  1134. In an Applesoft program, an INPUT A$ or INPUT A will print a
  1135. ? and a flashing cursor.  If you don't want the ?, change
  1136. your command to INPUT " ";A$ or INPUT " ";A.
  1137.  
  1138. SPACE-CAT
  1139. ---------
  1140. Hey everybody! DOUBLE-SPACE YOUR CATALOGS with a POKE 33,37!
  1141. Mail your reasons for doing this along with $1 to :
  1142.  
  1143.      BERT KERSEY
  1144.      c/o BEAGLE BROS.
  1145.      4315 SIERRA VISTA
  1146.      SAN DIEGO, CA  92103
  1147.  
  1148. Cruising Through DOS
  1149. --------------------
  1150. Let's take a cruise through DOS!  The usual "trip" of this
  1151. kind would be in the monitor, looking at a bunch of
  1152. two-digit hex numbers; a real drag.  Let's make things more
  1153. interesting!  First, boot a normal disk whose DOS hasn't
  1154. been altered by DOS BOSS.  Now write this little program:
  1155.  
  1156.      10 FOR X=43380 TO 43401: REM
  1157.         FOR X=26996 TO 27017 IF 32K
  1158.      20 PRINT PEEK (X);" ";
  1159.      30 NEXT X
  1160.  
  1161. RUN it, and you will see a string of numbers.  Pretty
  1162. exciting, huh?  Now, CHANGE LINE 20 to:
  1163.      20 PRINT CHR$(PEEK(X));
  1164. and RUN it again!  "LANGUAGE NOT AVAILABLE" magically
  1165. appears!  What's this?  You have just uncovered DOS's first
  1166. error message in the monitor!  CHR$(PEEK (X)) means the
  1167. "character whose ASCII value is X".  Now change line 10 to:
  1168.      10 FOR X-43380 TO 43581: REM
  1169.         FOR X=26996 TO 27197 IF 32K
  1170. and you'll see ALL FOURTEEN DOS ERROR MESSAGES strung
  1171. together!  To further examine these mysterious characters,
  1172. let's add two more lines to our program:
  1173.      15 NORMAL" IF PEEK(X)>127 THEN INVERSE
  1174.      25 IF PEEK(X)>127 THEN PRINT
  1175. RUN again, and you'll notice that the LAST CHARACTER of
  1176. every error message is INVERSE. Actually, Line 15 TELLS it
  1177. to be inverse IF it has an ASCII value higher than 127.
  1178. Each Apple keyboard character and control-character has TWO
  1179. ASCII values, sometimes called the "low-byte" value and the
  1180. "high-byte" value.  The high-byte character at the end of
  1181. each error message tell the Apple where the end of the
  1182. message is and when to quit printing letters to the screen.
  1183.  
  1184. Now try these immediate mode commands--
  1185.      LOAD ZZYZX
  1186. You get a "FILE NOT FOUND", unless you have a program named
  1187. "ZZYZX".  Now...
  1188.      POKE 43452,68
  1189.      (or POKE 27068,68 if 32K)
  1190.      LOAD ZZYZX
  1191. You should get a DOUBLE error message, because you have
  1192. POKed IN or CHANGED the high-byte "D" in "FOUND" to a
  1193. low-byte "D" (value 68 at location 43452 or 27068).  Now the
  1194. Apple thinks that error message #5 is "FILE NOT FOUNDVOLUME
  1195. MISMATCH".  It prints until it finds a high-byte character,
  1196. the "H" in
  1197. "MISMATCH" instead of the "D" in "FOUND""!  Repair the
  1198. damage before continuing by poking the high-byte value for
  1199. "D" (196) back in where it belongs:
  1200.  
  1201.      POKE 43452,196
  1202.      (or POKE 27068,196 if 32K)
  1203.  
  1204. There are other places to look, of course.  If you want a
  1205. really LONG trip through ALL parts of memory, change Line 10
  1206. to:
  1207.  
  1208.      10 FOR X=O TO 65535
  1209.  
  1210. You will see ALL KINDS of stuff: beeps, backspaces, line
  1211. feeds, carriage returns, little pictures of animals (just
  1212. kidding), and the big feature every so often:  REAL WORDS!
  1213. If you've been running some programs, you'll probably see
  1214. parts of old program listings.  If you've just BRUN or
  1215. BLOADed the 3.3 MASTER CREATE Program, you'll even find a
  1216. funny message from the author somewhere between locations
  1217. 2500 $ 3900, only meant to be seen by prying eyes.  So go
  1218. ahead and pry:  SAVE your program:  BLOAD MASTER CREATE.
  1219. LOAD your program and RUN.
  1220.  
  1221. Back to DOS, change the values in Line 10 to 43140 and 43338
  1222. (26756 and 26954 if 32K) and you'll find the 28 DOS commands
  1223. followed by some garbage and "VDSLRBACIO".  Those are the
  1224. initials for VOLUME, DRIVE, SLOT, LENGTH, etc.  the
  1225. one-letter codes used in DOS!  Poke in new letter values if
  1226. you want.
  1227.  
  1228. Change Line 10's numbers to 43700 and 43715 (27316 and 27331
  1229. if 32K).
  1230. That's "APPLESOFT", the name of the program Apple tries to
  1231. run if you type "FP" and don't have Applesoft in ROM!
  1232.  
  1233. Now, change Line 10 to:
  1234.  
  1235.      10 FOR X=46120 TO 45991 STEP-1" REM
  1236.         FOR X=29736 TO 29607 STEP-1 IF 32K
  1237.  
  1238. RUN it and "DISK VOLUME BARSBAIT" appears!  That's where
  1239. Apple gets the message to print at the top of your catalogs!
  1240. "BARS" seem to be throwaway characters, so we've used them
  1241. in DOS BOSS to lengthen the "Disk Volume" message.   have
  1242. you guessed "BAIT" yet?  How about Binary, Applesoft,
  1243. Integer and Text, the codes for your catalog files!
  1244.  
  1245. Look around some more; DOS goes clear up to 49151 in 48K;
  1246. 32767 in 32K.  Above 49151 is BASIC.  You can look there too
  1247. if you want!  It's YOUR computer!
  1248.