home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 009 / patchbas.arc / PATCHBAS.BAT < prev    next >
Encoding:
DOS Batch File  |  1986-01-21  |  2.3 KB  |  46 lines

  1. echo off
  2. cls
  3. rem This patch originally suggested by a file (BASICAJR.DOC) on the California
  4. rem jr BBS at 1(213)659-7187; this automated batch file by John Wager.
  5. echo This program AUTOMATICALLY patches BASICA.COM. so that you can run it on
  6. echo an IBMPCjr without having a basic cartridge installed.  It is also useful
  7. echo if you have a junior with more than 256K of memory; running cartridge 
  8. echo basic with more memory than this otherwise requires special software.
  9. echo The main drawback of this patch is that it prevents you from entering
  10. echo commands in basic like RUN or LIST using the Function keys; you will have
  11. echo to type them in, and the bottom ('key') line is also disabled. A short
  12. echo basic program is included here called KEY.BAS; running it when you start
  13. echo basic will restore the function keys, if you want to use them.
  14. echo  
  15. echo      To make this patch, you will need to have copies on this disk of 
  16. echo BASICA.COM from your DOS disk, DEBUG.COM from the supplemental DOS disk, 
  17. echo and the file PATCH.TXT.  If copies of these programs are not on this disk,
  18. echo press Fn B to stop this program and then copy them here. If copies of all 
  19. echo of these files are already on this disk,
  20. pause
  21. for %%f in (BASICA.COM DEBUG.COM PATCH.TXT) do if not exist %%f goto end
  22. REN BASICA.COM BASICAJR.XOM
  23. DEBUG BASICAJR.XOM < PATCH.TXT
  24. REN BASICAJR.XOM BASICAJR.COM
  25. echo You should now have a version of BASICA.COM that will work on your junior
  26. echo just like it would on a full-size P.C., except that you will not be able
  27. echo to enter commands like RUN or LIST using the Function keys unless you also
  28. echo run KEY.BAS first.  Of course you will only be able to run programs 
  29. echo written for the P.C.'s BASICA.COM rather than cartridge basic, but that 
  30. echo is the price you pay. You can still run cartridge basic the way you 
  31. echo normally would when you want to.  
  32. echo  
  33. echo From now on, to run BASICA type BASICAJR at DOS prompt, or BASICAJR KEY
  34. echo at the DOS prompt if you want to use the function keys. (If you try to run
  35. echo it with the name BASICA or BASIC, you will get a message that the BASIC 
  36. echo cartridge must be installed, or it will jump to cartridge basic if it is 
  37. echo installed.  
  38. goto quit 
  39. :end                   
  40. echo The necessary files are not on this disk; copy them here and try again.  
  41. :quit 
  42.  
  43.  
  44.  
  45.  
  46.