1
0
mirror of synced 2026-01-13 15:37:38 +00:00
Interlisp.medley/internal/envos/vpcdisk-setup.tedit

1 line
4.1 KiB
Plaintext
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

SETUP instructions for
PC Emulation virtual hard disk and real PC floppy disk access
1. Make sure all of the normal PCE .DCOM files are loaded to run PCE:
(PCEWINDOW, PCE, PCEERD, PCEDISPLAY, PCEKEYBOARD).
2. Select PC Emulation on the background MENU. This may take a while to load the PC fonts.
3. Put MSDOS disk in floppy drive. Select BOOT in the command window.
4. If the PCE boots ok, then select QUIT in the the command window.
5. Now we will make a virtual hard disk for the PCE.
From LISP do the following:
1_(PCE.CREATE.ERDFILE 'PCE.DISK 50)
(* this will make a lisp file PCE.DISK which is nearly 2
megabytes big - make sure you have enough disk space)
6. Reboot the PCE (BOOT command) and make sure configuration has the right file name PCE.DISK for the ERDFILE using the CONFIG command.
7. From the PC window:
-FDISK
(* create DOS partition using all of the disk )
-FORMAT C:/V/S
ÿÿ (* format the rigid disk, put a system on it, and label)ÿ
-COPY A:*.* C:
ÿÿ (* copies all of the system files from floppy to ERD)
ÿ
8. Select QUIT from the COMMAND window.
9. You may now boot from the ERD (emulated rigid disk) by selecting FIXED DISK as boot
device and Set-Config from the configuration window.
10. From LISP exec:
2_ LOAD(VPCDISK.DCOM)
(* loads in LISP virtual PC disk/floppy and real PC floppy access)
3_ (VPCDISK.CREATE.DEVICE 'PCDISK 'PCE.DISK T)
(* associates ERDFILE PCE.DISK with a device name PCDISK)
4_ DIR {PCDISK}PCDISK:*
(* directory listing of the PC DISK)
5_(SETQ PC.TEXTFILE.EXTENSIONS '(TXT PAS BAS 1 2 3]
(* list of PC file extensions which are treated as TEXT type files)
6_(VPCDISK.CREATE.DEVICE 'PCFLOPPY '{PCFLOPPY})
ÿÿ (* associates real PC floppy driver with {PCDISK} device PCFLOPPY)ÿ
(* make sure real floppy is in the disk drive when you execute this)
7_DIR {PCDISK}PCFLOPPY:*
(* directory listing of the real floppy)
11. At this point you are set up to do any LISP commands you want such as Filebrowser, Hardcopy, TEdit, etc. using the {PCDISK}PCDISK: for the virtual hard disk, and {PCDISK}PCFLOPPY: for real PC floppies.
12. Try using Filebrowser and then selecting a textfile that has one of the extension names you setup in PC.TEXTFILE.EXTENSIONS above, and selecting HARDCOPY.
13. Try using TEDIT on a floppy file such as {PCDISK}PCFLOPPY:README.1 and then editing the file and writing (PUT) it back. and then reselect it from filebrowser and selecting hardcopy. (Make sure floppy is not write-protected.)
14. You may also access files on sub-directories. IE, {PCDISK}PCDISK:<DIR>FILE - However, you cannot delete or create directories from LISP. You have to do this from the PC window.
((C5(TEXTFONT 5 (HELVETICA 14) (CLASSIC 10) (CLASSIC 10))>F6[FG5&A=ˆ3yu(X6F/=(4G0<00>H,ÐŸåµ [ƒzº