miscellaneous

ZXNet echo conference «code.zx»

From 500:812/06.00 To Yaroslav Kozlov 2 May 1998

04/31/98, 03:26, Yaroslav Kozlov launched a letter to Kirill Frolov, on the topic "miscellaneous": Strength and wisdom to you, Yaroslav! YK> First I uploaded it to MIRROR, (now YK> SPICE) BBS. She lay there for a while YK> And then it disappeared somewhere. I uploaded it to YK> KIRR BBS, in my opinion it is still there. Damn, you need to throw it in the firebox, otherwise many people are climbing onto their BBS. [skip] YK> Let me know if you know about disk detection YK> in the drive via #3D2F or #3D30. YK> LD advises digging, and I dig and how much more YK> I will dig - unknown. TR-DOS is not diss- YK> sample, and time is running out. :) Well, here you go. I hope you know how to get into the tr-dos ROM. The principle is this. You need to restore the controller with command #0C (restoration with checking the position of the head). LD A,#0C LD HL,LOOP LD IX,#2A53 (Subroutine OUT (C),A ) LD BC,#001F PUSH HL PUSH IX JP #3D2F Then read the value of the status register: Prog written by the respected Oleg Grigoriev: ;-----------------------------------; FR_PR5F PUSH HL,DE,BC;OUT: A=IN (#5F) LD (FR_P05F+#01),SP LD A,#C3 LD HL,FR_P05F LD (#5CC2),A LD (#5CC3),HLLD IX,#3F72 PUSH IX D.I. JP #3D2F FR_P05F LD SP,#0000 POP BC,DE,HL RET ;-----------------------------------; FR_PR3F PUSH HL,DE,BC;OUT: A=IN (#3F) LD (FR_P03F+#01),SP LD A,#C3 LD HL,FR_P03F LD (#5CC2),A LD (#5CC3),HL LD IX,#3F69 PUSH IX D.I. JP #3D2F FR_P03F LD SP,#0000 POP BC,DE,HL RET ;-----------------------------------; FR_PR1F PUSH HL,DE,BC;OUT: A=IN (#1F) CALL FR_PR3F LD D,A LD (FR_P01F+#01),SP LD A,#C3 LD HL,FR_P01F LD (#5CC2),A LD (#5CC3),HL LD IX,#2740 PUSH IX D.I. JP #3D2F FR_P01F LD SP,#0000 POP BC,DE,HL LD A,(#5CCD) RET ;-----------------------------------; ;And it would also be nice to have at the address ;#5cb6 #f4. Basically he's always there ;but suddenly you rub the variables. ;So it will be faster with him. As they say: read - I don’t want to ;) Best regards, Alexander/Merlin. CMTG/Chaos Corp -+- SMM version 1.08

From 500:812/06.13 To Alexandr Knyzev 4 May 1998

Hello, Alexandr! 02-05-98 at 14:56 Alexandr Knyzev => Yaroslav Kozlov: YK>> And then it disappeared somewhere. I uploaded it to YK>> KIRR BBS, in my opinion it is still there. AK> Damn, you need to throw it in the firebox, otherwise many people are climbing onto their BBS. Or in the echo, let the vain-lovers suffer. ;))) YK>> Let me know if you know about disk detection YK>> in the drive via #3D2F or #3D30. AK> :) Here you go. I hope you know how to get into the tr-dos ROM. AK> The principle is as follows. You need to restore the controller with the command #0C Listen, you should first find out what a person needs, and only then threw something of dubious origin. ;))) AK> (restoration with head position check). AK> LD A,#0C AK> LD HL,LOOP AK> LD IX,#2A53 (Subroutine OUT (C),A ) AK> LD BC,#001F AK> PUSH HL AK> PUSH IX AK> JP #3D2F Aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa!!!!:EEE This is not best for several reasons: 1. If the head is already on the zero cylinder, whatIt’s very likely that the VG will immediately set the signal “head to home” "nom position" regardless of the presence/absence of a disk. 2. If the head is not on the zero cylinder, then depending on the presence of the disk, the "head..." signal will not be semi- chen. This is due to the lack of verification that you whether VG completed the team. 3. If you check for execution, then the program It will just stand up until the disc is inserted. chtd. AK> Prog written by the respected Oleg Grigoriev: Also for me, the program... several dependent subroutines. 2YK: do you need to check specifically for the presence of a floppy disk in the drive? Hold: SEA_DR1 CALL FR_PR1F ;Read #1f and in between ;twisted the flop guide. AND #02 ;Selecting index value ;signal. LD B,A LD HL,#2000 ;The time during which it will be ;detect the presence of a disk. ;The smaller the faster, but ;you shouldn’t get too carried away, but ;fast cars will be glitchy. SEA_DR2 CALL FR_PR1F AND #02 ;Again take the value, if any CP B; changes mean the disk is spinning.JR NZ,SEA_DR0 ;If there are no changes within DEC HL ;total period of time, that means LD A,H ;no disk. OR L JR NZ,SEA_DR2 ;here you need to scold him thoroughly ;gefickene beta tester. SEA_DR0 ;And we get here if everything is ob. You can also check here ;something... For example, the disk belongs to trdos, ;record protection, well, etc... ;Uce. ;-----------------------------------; FR_PR1F PUSH HL,DE,BC;OUT: A=IN (#1F) CALL FR_PR3F LD D,A LD (FR_P01F+#01),SP LD A,#C3 LD HL,FR_P01F LD (#5CC2),A LD (#5CC3),HL LD IX,#2740 PUSH IX D.I. JP #3D2F FR_P01F LD SP,#0000 POP BC,DE,HL LD A,(#5CCD) RET ;-----------------------------------; FR_PR3F PUSH HL,DE,BC;OUT: A=IN (#3F) LD (FR_P03F+#01),SP LD A,#C3 LD HL,FR_P03F LD (#5CC2),A LD (#5CC3),HL LD IX,#3F69 PUSH IX D.I. JP #3D2F FR_P03F LD SP,#0000 POP BC,DE,HL RET ;-----------------------------------; AK> As they say: read - I don’t want to ;) ja,ja.;))) 2YK: I recommend reading the zx review 4'94, 1-2'97, ZF 5.6. What would starting is enough. 2AK: ;-P =)Best wishes, Oleg aka Ruiner. ps. It would be good practice to do this before checking for the presence of a disk. check for the presence of a disk drive... Oh well...;)) -+- Shoot-Edit v6.06

From 500:812/08.14 To Yaroslav Kozlov 5 May 1998

Hi Yaroslav! YK>>> a simple printing procedure (I can’t do it any faster YK>>> saw). DL>> share :) YK> It takes a long time to divide. I get everything from Hass with a fountain pen YK> rewrite, and then to ZXASM.. YK> Procedure + somewhere #150-#180 cycles YK> takes 2 seconds, and so 3. ? 2 sectors? or seconds/screen? :) YK>>> The program is superior in some characteristics YK>>> many newspapers and magazines are teristics. DL>> do you mean viewers? well, well :) YK> Would say “well, well” after seeing- YK> dil. throw it in. although I still know that my procedures are faster ;) YK> Did the hole under the diode slip through, or not. YK> Isn't that what is meant? no. LD A,#D0:CALL OUTCMND; interrupt LD A,#D4:CALL OUTCMND; interrupt by index CALL READY JR Z,NO_DISK JR NZ,... ; OUTCMND LD C,#1F LD IX,#2A53 JPTR PUSH IX JP #3D2F READY LD BC,#047F; number of wait cycles/data port LD HL,0; will be dirty with one byte LD IX,#3FD7 JR JPTR YK> It's one thing to dig for programs that you see YK> other that I haven't seen a single bit of YK> pzu tr-dos. what's stopping you? STS seems to see TR-DOS. Best wishes. Dmitry aka -=LD=- / X-TRADE GROUP -+- SMM version 1.08

From 500:812/22.01 To Yaroslav Kozlov 6 May 1998

┌┐ CM07p├0 B┴┴py┌ 05-04-98, B 01:50 ├┤ekT0 Yaroslav Kozlov ┌┐│/│Ca/ k Kirill Frolov ┌┐p0 miscellaneous: ├┤i Yaroslav & Kirill! [...] YK> Why music at all? This same type of music will fuck you. [...] YK> In my opinion, the spec needs these do- YK> works: YK> -Add bars. not the main thing. YK> - Graphics card with memory and processor. nonsense. YK> -Music card at the level of a dandy. YK> -Basic prog. provision. Just not toys. I think it is necessary: 1._Normal_Text_Mode. 80x25 (or more). 16 colors. 2. INTERRUPTION CONTROLLER. 3. POSSIBILITY OF PROTECTING MEMORY BANKS. 4. DDP - for full compatibility with the ISA bus. 5. MINIMUM PIECE OF OS IN ROM. 6. FULL WORK WITH BANK MEMORY (about the same as in the Z180). 7. MINIMUM 1 METER OF RAM MEMORY AND THE PRESENCE OF A HARDWARE. 8. SUPPORT ITEM 7. [...] KF>> Simple - 3d13, im1 and=#3f, #7ffd only. KF>> And you only need to use even-numbered banks (for code). YK> Didn’t I once say something about even numbers YK> banks? It seems Denis Kitel wrote: YK> fast: 0123, slow: 4567.And Arseny Astapenko - odd slow ones. Who's right? IMHO it depends on the computer. Forget it. Write it so it works on all braked banks. Multi-CALOR, music downloaders - everyone goes to the garden. Curb effects are the same. [...] YK> And you can also promote #3D13. For a long time. But only #3d13 - don’t break off people with screws. Wi7h be57 Wi5he5, FK0. -+- SMM version 1.08