joelynn@ihlpf.ATT.COM (Lynn) (02/07/89)
Can anyone tell me what address to read/write to change the time that my Tandy 1400LT stay's active? I have an application that takes hours at times, and the 1400 times out after 3 hours and 10 minutes, and goes into a "stand by" mode. I need to change this. I tried the alt-cont-ins keys and the longest I can set the timer for is 3:10 Also, what address can I "PEEK" at to determine what computer the program is running on. One simple application would be a program that I run on my 6300+ and the 1400LT. How can I write a program to determine which computer the program is running on?
Gary_T_Trindl@cup.portal.com (02/13/89)
The first attempt at posting this seems to have gone astray somewhere along the line. Pardon the repeat if this has been posted previously. . . In article <7602@ihlpf.ATT.COM>, joelynn@ihlpf.ATT.COM (Lynn) writes, >Can anyone tell me what address to read/write to change the time >that my Tandy 1400LT stay's active? There is, in fact, a small program from Tandy called NODOZE.SYS that can be installed in your CONFIG.SYS file which will disable the standby mode altogether. It is supposed to be available free to 1400 owners through the Training and Support Centers. The problem is that there seem to be very few Tandy personnel who are aware of it, so getting ahold of it has proven to be rather difficult. In case you can't get your hands on NODOZE.SYS or you just want to experiment on your own, I'm including some information that appeared in the Tandy Professional Forum on CompuServe on October 22 and 23, 1988. It was stated that data pertaining to the standby mode is held in two areas in the BIOS Data Area (segment 0040H). The locations were listed as: 00C1H Elapsed seconds since last reset 00C2H Elapsed minutes since last reset 00C3H Elapsed hour since last reset 00C4H Standby seconds 00C5H Standby minutes 00C6H Standby hour The 1400 goes into standby mode when the elapsed time becomes the same as the standby time. What NODOZE.SYS does is to add one hour to the elapsed hour time 18 times per second by using the hardware real time clock interrupt (IRQ0, INT 08H). >Also, what address can I "PEEK" at to determine what computer >the program is running on. One simple application would be a program >that I run on my 6300+ and the 1400LT. How can I write a program >to determine which computer the program is running on? Well, if the ROM BIOS in your computers contain text strings that identify the make and/or model of computer it is, you could have the program search the area in the F block of memory at _absolute_ addresses hex 400 to 500 to look for, for example, the string "AT&T" or "Tandy" or whatever else might help to identify the machine. This will only work if the BIOS contains some identifying data like that. Some do and some don't. The BIOS in IBM machines contains an 8-byte area for the ROM release date from F000:FFF5H to F000:FFFCH and a byte indicating the model ID which can be found at F000:FFFEH. If your computers' BIOS's use the same convention, you may be able to have your program use it to distinguish between the two machines. --Gary gary_t_trindl@cup.portal.com or sun!portal!cup.portal.com!gary_t_trindl