home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Transactor
/
Transactor_27_1988_Transactor_Publishing.d64
/
shellram.sda
/
SHELLVAR.A
< prev
next >
Wrap
Text File
|
2023-02-26
|
887b
|
46 lines
;
; shellram
;
; By: Adrian Pepper
; Toronto, Ontario
;
; based on, but heavily modified from
; the Pro-Line/Spinnaker
; C POWER/POWER C shell for the
; Commodore 64 home computer.
;
; The shell was modified to reduce
; the size of the code, and arrange
; things so memory page 22 (hex $16)
; will be free for use as a "RAMdisk
; Interface Page", for use with the
; Commodore 1764 256K RAM expander
; for the Commodore 64
;
; This (basically) allows all programs
; designed to run under the shell to
; operate with the RAM disk
;
;
; shellvar.a -
; forces some stuff to follow
; shell program
;
argv .dseg 20*2 ; place at end of code
;
;
; these are forced up to page $17, to
; leave page $16 free for RAM disk
; interface page
;
.def curcmdn
.def cgetcbf
.def prfbuf
.def strac
;
curcmdn=$17e7-20
cgetcbf=curcmdn-81
prfbuf=cgetcbf-128
strac=prfbuf