Download TMQ Vol II.iv - tim
Transcript
THE MISOSYS QUARTERLY- Volume II.iv LDOS 5.3 FREE SPRING 1988 Volume II.iv inconvenience with BASIC programs and an impossibility when calling most commercial machine language programs. Fm Richard VanHouten: When all 8 drive slots are active, FREE with no parameters pauses after drive :7 and redisplays the info for drive :7 calling it drive ":1' after you hit a key. I tracked down the cause of this to a CALL at address 53C3H that should be a JP (CD versus C3.) You mentioned using TYPEIN. That would defeat the whole idea of the JCL which is to avoid having error prone novices typing in commands. Fm MISOSYS, Inc: I love LDOS and LS-DOS but it seems to me this is a bug. Is it? Richard, you're exactly right. Actually, it was originally designed to be a CALL to fall through to the following routine. But some later code revision in the routine being called called that following routine. Changing the CALL to a JP sets things right. The line counter was being decremented twice for each single line displayed. After the 8th drive, the command paused. This resulted in a loop to the next drive which was beyond the limit. Since there is not enough patches to make up a Patch Corner in this issue, here's the fix: Fm Les Mikesell: Louis, JCL does exit as soon as it sees the //exit line. However, it does not read anything until a lineinput request is made. If the program invoked uses only @key or @kbd (basic INKEY$), JCL has no reason to look at the next line of its file. If the program is your own, put a lineinput at the beginning. TYPEIN will also supply input to the singlekey requests and can be used from within a JCL. I don't see how that would defeat your purpose. Fm Joe Kyle-DiPietropaolo: PATCH SYS7/SYS. SYSTEM (DOC, 59C3 FOC, 59=CD) Louis, What you describe is exactly what is done. Unfortunately, JCL can't read the last line from the JCL until the previous line is finished, which it won't be until either the program so executed on that line either releases control back to DOS, or does a line input. : JCL Inconvenience??? Fm Louis Self: I end my JCL files for my Model 4 with "f/EXIT" to pass control to a selected called program after the JCL file is finished its excecution. However LDOS 5.3 needs to access the JCL file one more time at a very inconvenient time: the first time the called program accesses the disk. In some cases this is later after the disk with the JCL file has been replaced by data disks. In that case the garbage is input into the system and the result is unpredictable. If the disk with the JCL file has been removed then the computer goes into never-never land with the cursor continuing to blink. This can be unverving or disasterous when persons other than myself are using the computer. Quiz time: Why? BUG? Hardly, as it has been a fundamental design feature present since LDOS 5.0.0 (before if you count VTOS). You misunderstand my reference to TYPEIN. TYPEIN is a utility program that is designed to read information from a disk file and feed it back via the keyboard. Sounds like JCL, you say? Somewhat, he says, with a major difference or two: (1) TYPEIN will feed to INKEY style requests in addition to INPUT requests. (2) TYPEIN does all its disk I/O up front, not at request time. Is there anyway to fix this? Thanks for your help. Fm Jim Beard: Louis, It is always a NONO to move the TYPEIN for the Model 4 mode is on the LS-Utility Disk, and TYPEIN for the Model 3 mode was on Utility Disk I. disk with the /JCL or .BAT file while the JCL or batch job is executing, under ANY DOS. LDOS Clock display Fm Joe Kyle-DiPietropaolo: Fm Brad Stiles: Actually Louis, the final line from the JCL is only executed when/if the called program does an input or line input that would "see" JCL. If you can force one of those (i.e. your own program), that's one possibility. Another possibility would be to use TYPEIN rather than JCL for some of these cases, as TYPEIN does all of its disk I/O before it starts to feed things to the system. Make that TYPEIN for Model 3 mode is on Utility#1. Fm Louis Self: It seems to me that the DOS should be written so that when it sees the //EXIT it reads the final line of the JCL and closes everything up. What is gained by delaying until the called program does an input? At best this is an LDOS/Model 1/111 Information Re., the Hardware Interface Kit. I run most of my home applications on a Model 4 (or 4P) in the Model Ill mode, The interface Kit has allowed me to operate in a fashion very much, like I operate the office 4P in the Model 4 mode, with one exception. The clock in the Model 4 mode, after installing LS-DOS 6.3's SYSTEM (HERTZ5) command is very accurate. The Clock in the Model III mode (LDOS 5.3, SYSTEM (FAST)), runs at 1/2 of the correct rate. NoW that LDOS is free of the ROM dependency (due to SYS2MEM), is it possible that you will develop a patch that will fix the LDOS clock for 50 Hz operation on a Model 4 (SYSTEM (FAST))? - 24 - LDOS/Model I/Ill Information