home *** CD-ROM | disk | FTP | other *** search
/ Transactor / Transactor_27_1988_Transactor_Publishing.d64 / shellram.sda / SHELLVAR.A < prev    next >
Text File  |  2023-02-26  |  887b  |  46 lines

  1. ;
  2. ; shellram
  3. ;
  4. ;  By: Adrian Pepper
  5. ;      Toronto, Ontario
  6. ;
  7. ;  based on, but heavily modified from
  8. ;  the Pro-Line/Spinnaker
  9. ;    C POWER/POWER C shell for the
  10. ;  Commodore 64 home computer.
  11. ;
  12. ;  The shell was modified to reduce
  13. ;  the size of the code, and arrange
  14. ;  things so memory page 22 (hex $16)
  15. ;  will be free for use as a "RAMdisk
  16. ;  Interface Page", for use with the
  17. ;  Commodore 1764 256K RAM expander
  18. ;  for the Commodore 64
  19. ;
  20. ;  This (basically) allows all programs
  21. ;  designed to run under the shell to
  22. ;  operate with the RAM disk
  23. ;
  24. ;
  25. ; shellvar.a - 
  26. ;    forces some stuff to follow
  27. ;    shell program
  28. ;
  29. argv .dseg 20*2 ; place at end of code
  30. ;
  31. ;
  32. ; these are forced up to page $17, to
  33. ;   leave page $16 free for RAM disk
  34. ;   interface page
  35. ;
  36.  .def curcmdn
  37.  .def cgetcbf
  38.  .def prfbuf
  39.  .def strac
  40. ;
  41. curcmdn=$17e7-20
  42. cgetcbf=curcmdn-81
  43. prfbuf=cgetcbf-128
  44. strac=prfbuf
  45.  
  46.