Echo #03
31 марта 1997 |
|
Programmers - On additional functions TR-DOS 5.04.
Additional Features TR-DOS 5.043v1 VfNG / NEW We have already talked about the problems with Brest DOS. For those who have not read previous editions of Echo, I repeat: the controller drives the production of local concern (BEMK) has a port other than the corporate controller. This was due to the fact that time when the BEMK began production of the disk interface, we have not yet smelled any TR-DOS'ami, and if started smell slightly, then no one could say that the TR-DOS will be the future standard. Therefore, the basis of disk interface was derived system CP / M, which, it must recognize, much steeper than wretched TR-DOS. But some time later, for some reason TR is caught on ... And the project BEMK in support of CP / M flew into ... Well, wherever in the Union somehow always flew good projects. By the time the expansion of the TR-DOS on Brest Market and Belorus in general, BEMK'ovskih controllers fired the sea. A TR-DOS and settle user'y groaned. K Fortunately, the interface BEMK had excellent ability: a downloadable ROM. Therefore, in order to satisfy users, was made attempt to adapt the TR-DOS 5.01 under the controller ports BEMK. More or less succeeded. Then b Brest showed up and 5.04T adapted as well. About 100% compatibility to dream and do not have to, but life has become possible. Moreover, in an adapted DOS was added a few nice features. In 1997, tried a little pomuchat adapted version I, VfNG. Torment him until pulp and work was about 90% had not previously running programs. In addition, the my version of some work program, not working because of the separate fields of memory for branded controllers. I also added a couple of new features. __________________________________________ - Additional features of the system - TR-DOS v5.043V1 (C) Technology research'1986 (C) C.C. '1991 (C) Cerikopik software inc. '1994 (C) New corporation'1997 __________________________________________ DIM xxxx - built-in installation address printer driver: 0B00 - standard BASIC - - Driver; 0D04 - Driver 1; 0DA0 - Driver 2; SCREEN $ - copy the current screen to the printer; LEN xx - number of characters per line at printing; LLIST "name" - Basic print - file; LPRINT "name" CODE - print code files; LET xx - code is sent to the printer; INPUT xx, yy, zz - are sent to the printer; PRINT (adress) - display memory dump; PRINT (adress, xx) - print the dump memory; FOR xxxxx - translate a decimal number to hexadecimal. Eg.: 00010 = 0A; NEXT xxxx - translate hexadecimal number to decimal. For example - 0A = 00010; GO SUB adress - the transition to a specified address; MAGIC + 1-3 - exit at TR DOS; MAGIC + "up" at Kempston - joystick - print the current screen and the continuation of the program; MAGIC + CAPS SHIFT ('Capital') - to turn off the motors and the drive continued program implementation; MAGIC + z - a pause. Pressing the 'z' - continuation of the program; MAGIC + 5 - stack into the screen and reset MAGIC - the file to disk. NOTE: All values must be entered ONLY hexadecimal form! __________________________________________ Well, finally worth it to talk about ports used in the controller BEMK: 008h = 01fh firm (the status / command); 028h = 03fh firm (track); 048h = 05fh firm (sector); 068h = 07fh brand (data); 009h: and here the main difference. Only for recording and has the following significant bits: 0: 1 = double density; 1: 1 = include a motor drive 0 = vyklyuait; 2: 1 = side 0, 0 = side 1; 3: 0 = drive A, 1 = drive B.
Other articles:
Similar articles:
В этот день... 21 November