ZX Pilot #40
30 декабря 2000 |
|
DIY - fix the program to format the drive FAST FORMAT'a.
C A D E S I S A M I (C) SKL-KEEPER FIX FAST FORMAT'a. I have appeared not so long program that seems interesting (sent by reputable ZePagan). Why appear? Yes, because on my Scorpio she did not go :-( Wrong poll mouse, so I have it loaded and "hanging" not responding to the keyboard. And judging by the I've seen on the screen, the program with an intriguing name FAST FORMAT, developed Vladimiron Cheprasova from Dnepropetrovsk, lets you format a floppy disk in System TR-DOS, and in the IS-DOS, and MS-DOS (360, 720 and 800 kB), and even in the CP-M! It's a shame I was ... Well, I do not have this "Devaysa, and perhaps never will be, what am I, and not a man, or what? " (Incidentally, a similar situation I had with ZXWINDOWS 1.4 ...) And I decided to try it to spice up ... This is what I want to dedicate his note. So, using the shadow of his monitor, "Scorpio", I found that the mouse can turn off very simply. She queried command CALL # 9BE5, but is this team at # 9C61. Worth we score zero, these three bytes and you're done! The mouse is disabled and you can use the keyboard to select options and run! But there is one "but" ... It's the most simple thing to do, and after such blatant interference hardly can tell you thanks to some Spektrumist which you give modifed so program if it has a mouse ... Further developed, so civilized! :-) You just need to insert a space program a small protsedurku that detects the presence of "little mouse" correctly and if one is discovered it when the program starts, it will not do anything, and simply pass control to the main program. If such devaysa this procedure does not detect, it will score a zero most CALL # 9BE5 and the program will work correctly now only the keyboard. Now, specific recommendations for those who faced the same desperate situation, as I do (and why else would I host a foreign program?). With GLOBAL Commander 1.31i or another way to cut the file FASTFORM two - the length of 1 and 27 sectors. First - a BASIC-loader, and the second - it's packed with the program HRUST 1.0 code block. Unpack it can be elementarily simple way through the magnificent (I can not hide his admiration for this program!) BEST VIEW 2.9. Once the file is written to your working floppy disk doctor tweak the starting address of this code block to # 8000 (32768), and along with the correct extension "B" to "C". Procedure that correctly identifies the presence of a mouse, I found in the annex of the newspaper ZX-Pilot # 36. In any assembler files of type: ; Kempston Mouse Interface ORG 46355 HALT LD BC, 65503 IN H, (C) LD B, 251 IN L, (C) DEC B IN A, (C) CP L JP NZ, 32768; mouse is! CP H JP NZ, 32768; mouse is! XOR A; Mice do not! LD (# 9C61), A LD (# 9C62), A LD (# 9C63), A JP 32768 Otassembliruyte its object code, write to the disk under the name "mouse". Length This procedure will be 34 bytes. Now write it down right behind the unpacked Fast Format'om a simple program to BASIC'e: 10 CLEAR 30000: RANDOMIZE USR 15619: REM: LOAD "UNPACK" CODE 32768,13587 20 RANDOMIZE USR 15619: REM: LOAD "mouse" CODE 46355,34 30 RANDOMIZE USR 15619: REM: SAVE "NEWFF" CODE 32768,13621 The time has come again to pack already changed our code block. To do this, download HRUST 1.3, select the cursor that Repack the file and it by setting the following Parameters: Address Unit - CAT Length - CAT Decompressor - 32000 Where raspachit - 32768 Interrupts - EI Auto - 46,355 Stack - OFF DePacker - ON The last thing you should do - this is again "Glue" the first file with the length of a sector and had only just packed our file length 27 sectors. This can be done by the same GC 1.31i or REAL COMMANDER-ohm or more chemnibud that you like best :-) That's it! Now the absence of a mouse does not spoil your existence :-) A few words in conclusion about this program. Great prog, speed formatting - incredible (faster than me did not come across the formatter). What's interesting, I tried to format in IS-DOSe - the process was excellent, and the drive is formatted to It was already established device 3200 sectors with the name of the disk - ISDOS! Checking doctor showed that the formatting was great! (True, spavedlivosti sake, I note that in the IS-DOS 1999 , the disk is formatted program FAST FORMAT, not defined as IS-DOS ' ovsky when trying to open it :-( In MSDOS'e and CP-M did not format because not than check :-( A TR-DOS format significantly better in quality than, for example, the formatter REAL Commander (tested to "zapilennyh" diskettes). In general, the program is worthwhile! Try it and see for yourself!
Other articles:
Similar articles:
В этот день... 21 November