joe@ut-sally.UUCP (Joe Hitchens) (09/24/86)
Does anyone know of a RAMDISK program for the 130XE which you can load like any other binary file? What I want is a file that you load which sets up the ramdisk, period. So that I can boot up with a batch file and install it that way. The only way I have now is to boot a translator disk, then take it out and put in the disk I want to work with. I want to eliminate the need to change disks, see what I mean? I want it all on one disk. I want to use it with a BBS system so that if the power fails, it will re-boot up. Thanks in advance. j.h.
jhs@MITRE-BEDFORD.ARPA (09/24/86)
Joe: It is possible to do but for some reason programs that already do just what you want are not routinely supplied along with the RAMdisk handler programs. If you have a load file that installs a RAMdisk, you can make it autoboot by renaming it AUTORUN.SYS, as I am sure you know. If you then want to make your BBS autoboot, you will probably want to initialize the RAMdisk so its directory is correct. Not all the RAMdisk installation programs do that. However, a short Assembly language program can be written that will do it. (Or, you could write such a program in some other language and compile it, as long as it produces a standard L-loadable program file as the end result.) This can be appended to the existing RAMdisk program by using the DOS Copy (C) command with the /A option: C <RETURN> INITPROG, AUTORUN.SYS/A <RETURN> ^ (RAMdisk init prog) This will tack the initialization program on the end of the AUTORUN.SYS file and it will be run as soon as the RAMdisk installation program finishes. Then the same trick C <RETURN> BBSPROG AUTORUN.SYS/A ^ (your BBS prog) will tack on your BBS program (assuming it is an L-loadable file and not a BASIC program). The AUTORUN.SYS file will get bigger and bigger, of course, as you do this. If you need to transfer files from the magnetic disk to the RAMdisk after initializing it, you will need another L-loadable program to copy those files you need. A BASIC program to generate the loadable file appeared in COMPUTE! for September 1986. Such a file can again be appended using Copy with /A to Append it,but this should be done before you append the BBS program itself so it will be executed first. If all you need is a blank, initialized RAMdisk for your BBS program to write data on, you can skip this step. I hope the above is of some help. Good luck with it. -John Sangster jhs@mitre-bedford.arpa
joe@SALLY.UTEXAS.EDU (Joe Hitchens) (09/25/86)
Thanks. I would know how to use the file if I had it. That is what I am after. I don't have it. It just seems like there should be one, somewhere. j.h.