Madness #01
17 февраля 2001 |
|
Glyukodrom - glitches determine whether the mouse - an actual procedure from Stranger'a.
GLYUKODROM (C) STRANGER / ASM Corp. "Where's that bastard?" Mihalich 'Features of national tional hunting ' That is, damn it, I sit and think of Claudia as well Still bad, when programs written by people kotorum absolutely poheru user-friendliness! Mouse on sinter already at least three years, and until now very few people have learned to correctly identify its presence. Because there are components on which the presence of absence of a presence of this device of the ports, the corresponding read just nonsense, and if the poll mouse is not disabled, the user poimeet totally non-work prog, and the author poimeet mass absolutely foul language in his address (from this user). So today I start popetalsya some program called "BRED_512". Do not think something bad, so mysterious the name of the author dubbed the level editor for "Black Crow." So, the number of nerves that we spent at the same time, can only be compared with the amount of vodka drunk for the entire last year (what I mean?) Accordingly, the amount of foul language against author of the BRED-a (:)) has exceeded all reasonable predely.A problem was the above-described glitch, which, incidentally, to avoid not just a very prosto.Eto done something like this: LD B, 100, and may be less LOOP PUSH BC LD BC, # FADF IN A, (C) CPL AND% 00000111 CALL NZ, M_OFF POP BC DJNZ LOOP ... M_OFF; here per cent, breaking The poll mouse Total 17 bytes - and the problem is gone! "Something like that used in the shell our zhurnala.Stavitsya this Mulk in the beginning of the program, work out in front starting the main bloka.A better yet put it already in the LOADER-e, then the procedure (;->>) M_OFF should make it clear to the loader, that after unpacking the need to disconnect survey of the mouse. Now, to the holders of particular powerful intelligence brief everlasting essence of the above progi.Vse simple - it 100 times polls port mouse buttons, and if at least once considered a number other than # FF, then This demonstrates the instability of mouse ports, and a survey it will be brutally (ruthlessly barbaric, well downright brutal) disabled. It is assumed that juzverej will not press the buttons during the boot (well and if - as a reward poimeet disabled myshu - Nehru poke fingers where no should be and when not!). By the way, the number of 100 (# 64 or% 01100100) is taken (as you might think from where?) Course from the ceiling. When desired number of repetitions cycle can install anything - from 2 to hell knows what values, even up to 10 ^ 64 (if you have enough patience organize a number of cycles). Once poll is not recommended - may be that just at this moment the port is # FF, and will glyuki.Esli someone does not have enough imagination to imagine how this looks like a bug, it can briefly describe it (emphasis on A !!!): cursor jumps wildly screen daily activities, including all fall under his will, and absolutely does not respond to attempts to control it. Someone may say: "hanged himself would myshu and agreed to all the problems, and people nefig shipping its bredyatinoy ...". My answer: it not that I've got a mouse or not, I somehow myshu all available pathological prog zarezal.Delo already that I'm not the only one with such perverse computers and without myshi.Navernyaka there are people who also want poredaktit Raven Black, and break someone else's prog they can not because of his noble upbringing (;)). Add a few extra bytes in the program is not so difficult, why spoil the nerves of the few users who still have (I hope ...) for the Spectrum ... The above procedure was tested on all available to me myshoy companies with and without her, and has a 100% guarantee rabochesti. Maybe this is not a masterpiece, but it works, and reliably. And said "BRED_512" I'm broke (Sorry!!!), Myshu slaughtered, left to decide let it free distribution or No (it is still in the internet for a long time is - Drop-I do not want). And odno.Kto I can explain why the REAL COMMANDER ruined my disc my favorite Mouzon, which I had so long and hard vyTASKival of all that is possible? This hrenovina somehow found it empty disk, and skopnula 500 sectors, starting with outset drive, scoring on that directory at the time were about three dozen faylov.Koroche, half Mouzon hvost.Mozhet flew under the cat, I'm a fool, and nifiga simply can not handle it Commanderie?? Who has something to say about it, write. Address under "Author". <END OF TEXT>
Other articles:
Similar articles:
В этот день... 21 November