Inferno #09
31 июля 2006 |
|
Softinka - Video Player for ATM.
Video Player for ATM File VPLAYER.ZX a player video on ATM-turbo 2 + with CD-ROM (attention Attention! To autostart it with the CD should be in front his record on the disc to rename it in AUTORUN.ZX). The brief summary for setting up and ex exploitation: Start address - # 6000. Input parameters is not required. All neo- bhodimoe contains sebe.Rabotaet with CD as with SLAVE-device. The utility can not work with arbitrary nym directory CD-ROM and print it list Files on display to user. All she can Jet - is found on this CD-ROM for transfer given to her by a particular template file and ZAPU Stith ego.Spisok same template utility soda rzhit in itself. Therefore, if you have formed make use of their own DVD and you're on Envelopes for this own videos, then will have their names manually through any HEX-editor to write in the correct location of the body program. Next on where and how ETS lat: The shift of # 0009 after the word "Count:" ====================================== is B, meaning the number of rows Check the menu with the names of files that are executed by which will "ride" cursor highlighting. Maximum value - 16 (# 10). So on Thus, the maximum amount of output to video screen is 16-ti.Esli you introduce Dete there a number beyond # 10, it the program will amount to # 10. A zero Boc its value (which was originally spelled) will be interpreted as a sign unconfigured STI player - and will display a window with proposal to do this before impregnated describes the utility on a blank CD. The shift of # 0018 after the phrase "Heads of menu:" ================ is the area in 704 bytes, representing yuschaya a sixteen (16) 44-byte of dramatically with the signatures of a derivable options File menu. Among them: the first three bytes - is data about the color of the letters in the menu (we only change not at all), the last byte - code # 0D - sign of the end of the character string (also change not recommended). And between them are 40 bytes filled with on-screen symbols (for ease of reference in HEX-editor, there are already spelled out the inscription: "[Empty slot xx]" where "xx" = from "00" to "16." square velocity BCH [...] "are included in these 40 bytes). Here the user can write anything you want. In this case, it is recommended inscribe title / short description of the selected form deorolika. How many of these 16 lines displays depends on the content above-mentioned byte at offset # 0009. If this number is less than 16, then will be printed their specified amount from the first 40-byte strochki.A balance will be ignored rovatsya.VNIMANIE! Since the inner space Gramme print driver is primitive and is narrow specialized, it is just stupidly throws byte characters to the screen the text area Vågå mode ATM-turbo 2 + without any transition encoding and processing. And since the hardware controller displays the mode symmetry oxen in the KOI-8, if you vozname rites to write a menu line that any in Russian, then this should be done will be in accordance corresponding KOI-8! The shift of # 02EC, after the phrase "File size and names:" ====================== There is an area of 208 bytes, representing schaya a sixteen (16) 13-byte of segments with the real file names videoro faces that will be searched and ZAPU slid down from the current CD. These segments are the following structure: The first byte contains the number of characters in file name and can take the value of # 01 to # 0C (12dec). A value of zero will be interpreted as a "stub" resp tstvuyuschey the file option in the menu and the option just did not get out. A number greater than # 0C pro one hundred would make it impossible to find a file - Respectively, when trying to start movie will not start and will return to menu. After this byte followed by 12 bytes ("[File xx]", where xx = 01 to 16, and the quasi- dratnye brackets are included in these 12 bytes and can Gut freely substituted the real symbol Lamy's name) with the file name in the format "Filename [.] [Ext]". In contrast to the file names fishing in other disk systems (no CD), if the file name before the extension is less than 8 characters, then it is not complemented by up to 8 samples Lamy. After he immediately followed by a period (EC Is there an extension. Otherwise, the point can also absent), which is also an hour Tew, the file name. And then the extension. So way, the actual length of the file consists actual length of the name, plus neobyazate belorussian point (length = 1), plus the length neobyaza with respect to expansion. And so this length we put this in every first byte of the current 13-byte segment. That is, if we there is a file ZXCLIP.ZXF, then its length will be 6 +1 +3 = 10 (# 0A) bytes. This number and the VPI describes the beginning. And then all the consecutive write 10 character name (if necessary, then for the "edge sivosti "can be extended to 12 and the end spaces. But the program itself it will not be important). WARNING! The name of the file, you must introduce dit LATINSKIMI BIG letters! Well, again: the ordinal position 13baytnyh file names identical ordinal vomu location of 44-byte header lines of the menu. That is, if, for example, you choose cursor in the menu line that corresponds to "[Empty slot 07]" then it will be searched and run the file whose name is in the "[File 07]. And finally: After starting the video by pressing ENTER on the appropriate line of the menu (choice row UP / DOWN arrow) output reverse but the shell is available in three cases: 1) After reaching the end of the clip. 2) Interruption of play for any cluster Viseu. 3) Negative Search Results on the media. Visited options displayed altered nym color characters. That's all. ****************************************** July 2006 Timonin Maxim aka Maksagor / NedoPC group. Driver CD-Video - Alone Coder, January 2006. ******************************************
Other articles:
Similar articles:
В этот день... 21 November