XTR modem

ZXNet echo conference «hardware.zx»

From Valerij Kozhevnikoff To All 24 June 2000

Hello, All! ······------====== Monitor glass cutter ======------······ ────────────────────────── (c) X-TRADE GROUP XTR-modem Now it's time to please the SPEC world - CY - XTR is made, debugged and put into production Vodka The announcement in ZF#5 was intended to inform tion about the need for this product on the market. We got this information, thanks to which the first one is expected by April 10th batch of modems. To satisfy everyone's interest, I will tell you Briefly about the concept of a modem. ----- IRON ----- Initially, we planned to improve create VICOMM and make it as de- sewn Alas, half measures did not lead to anything, the initial defectiveness of VICOMM did not allow was able to realize all the ideas, namely: it was possible possibility of automatic (without button) line answering, call monitoring and busy control lines. All this gives unprecedented opportunities possibilities, such as: pulse and tone dialing, automatic redial, op- Dividing the number dialed from parallel new phone, automatic detection calling subscriber number (AON), and in the mode me modem improved service and increased quality quality of reception/transmission. It’s not for nothing that I focus on the side function tion of the modem - AOH, because I think AOH is without- seems like a useful and necessary function in a modem. Therefore, software compatibility with VI-COMM was lost, but not completely. When communicating online, the process looks like this: in the following way: you turn on the car, launch the program, turn off the monitor, turn off your phones so they don't ring, and go to bed. And in the morning, over a cup of tea and a plate of semolina porridge, you flip through the our messages. The modem has become internal (this reduces the cost design) - it plugs into the SCORPI slot - ON/KAY and its connection is not supported heating up the soldering iron. Connecting to others SPECTRUM-compatible machines will be accompanied by turning on the soldering iron and using it according to the instructions. The modem is galvanically isolated from line (breakdown voltage 1.5 Kv). Time the mating is done using optocouplers, not transformer, as in VICOMM, which again still reduces the cost of the design and reduces it dimensions. All final standards are met telephone network device (maximum leakage 250 µA, maximum voltage - 220 V, maximum current - 100 mA). When the computer is turned off, when the modem is on do not use, as well as by pressing RESET, The modem disconnects from the line and does not provide no influence on her. The signal part of the modem has a frequency transmission bandwidth of more than 20 kHz, when it is more than 10 kHz, which is more than enough but for exchange at 3200 baud (if the line and station will allow). Maximum tested speed - 3900 baud, the results are encouraging -vayut. An important detail: the appa- military support for exchange with a modem gating the process of selectable quartz- frequency using the WAIT signal. The idea is this - the program is written according to the clock cycle CPU SPECCY frequency is not lower than, say, 3.2 MHz, and all machines with a higher frequency slow down to the required level. Unfortunately, there is a limitation - no more than 7.0 MHz (typically howl TURBO mode). This is very convenient - the quality of communication is not hangs from a temporary car and does not need to be used press the TURBO button, everything works just like that, including CONNECT SCORPION-PENTAGON. It is possible to transmit an analog signal to the line Nala with quantization at 16 levels post- by means of PWM modulation with a sampling frequency up to 23 kHz (voice capabilities AOH RUS-16 and higher, as well as DIGITAL STU- DIO). Structurally, the device represents a a printed circuit board measuring 75*70 mm and co- holds the connector in the form of a SCORPION/KAY slot and telephone line connector. Current consumption from the SPECCY power supply about 100 mA. +12 V is not required. ----- SOFT ----- While the modem is in production, we are adapting existing terminal programs, as well as We’re writing new ones. Already remade MODEM 3.6 and The AOH program was written. The converted MODEM 3.6 can be used called for XTR-VICOMM communication. This project is supported by OMEGA GROUP and Macro-Modem program will be adapted under XTR.We are confident that XTR will completely replace all VICOMMs and will become a standard on boards form ZX-SPECTRUM. ----- WISHES ----- We know that for today, except for Peter and In Moscow, there are no traces of modems anywhere. A Therefore, we suggest - try this product and in your region, you won't regret it. -+- iS-DOS 4.5 ······------====== Monitor glass cutter ======------······ WBR, Jason. [Team Obituary][Team Friday 13th][Team Evil Maniacs][Team Huge Axes]

From Valerij Kozhevnikoff To All 24 June 2000

Hello, All! ······------====== Monitor glass cutter ======------······ ----- PROGRAMMING ----- For curious users we inform the required minimum of information. Communication with modem occurs through a single port with address #B7 (183). IN A,(#B7), if the line is not occupied by the modem Bit7 Bit0 0 0 line is not connected to the modem 0 1 off-hook parallel. apparatus 1 0 call (glitches possible) 1 1 line free IN A,(#B7), if the line is occupied by the modem Bit7 is always 0 Bit0 receives data through it OUT (#B7),A Bit0 when the line is busy - transmitted data, when receiving d.b. =1 not relevant when the line is free Bit1 1 - take line 0-release line Bit4 bits define the time until which Bit5 hardware will stretch the time interval Bit7 menu between two adjacent commands Bit6 dami IN A,(#B7) or OUT (#B7),A Bit7-Bit4 #00 time .000002*16 sec #10 time .000002*15 sec ... #E0 time .000002*1 sec #F0 asynchronous mode, NO WAIT For case #F0 nothing is stretched, everything is performed as for port #FE in mode ME emulation VICOMM. What are bits 7-4 for? example: LD A,#?0 * OUT (#B7),A * IN A,(#B7) ! POP AF IN A,(#B7) ! without hardware support for commands, note!, the completion period will be: ticks seconds PENTAGON 11+10=21 .000006 TURBO PENTAGON 11+10=21* .000004 ! SCORPION 12+10=22 .0000063 TURBO SCORPION 12+10=22* .000004 ! KAY 12+10=22 .0000063 TURBO KAY 12+12=24 .0000034 * plus WAIT ! approximately For the XTR case, the period for all machines equalizes, increasing (!) to a value value set in bits 7-4 (except for the #F0). The same is true for OUT (#B7), A and for any IN/OUT combinations with port #B7. Note_1: naturally, the program should to be written under the worst car, so that the execution time of commands on this machine would be less than the set time until why everything is stretched (otherwise it will be compression!). note_2: the period without stretching is not must be less than .00000229 sec, (8 clock cycles non-TURBO PENTAGON, 16 cycles TURBO PENTA- GONa), otherwise stretching will not occur. Example of a pause of .002 seconds: W002 XOR A OUT (#B7),A ; period 32 µS LD B,62 W002_1 IN A,(#B7) ; 62*.000032=.001984 DJNZ W002_1 ... On any machine it will be .002 seconds, not depending on TURBO/non-TURBO. Programming examples: release the OUT line (#B7),#F0 occupy the OUT line (#B7),#F3 Dialing a number (WAIT ... in seconds): ADRNUM DB "1234567"DIAL OUT (#B7),#00 ; line reset WAIT 0.5 OUT (#B7),#02 ; take the line LD HL,ADRNUM LD C,7 DIAL7 WAIT 0.5 LD A,(HL) SUB #30 JR NZ,DIAL7_0 LD A,10 ; for zero-ten DIAL7_0 LD B,A INC HL PUSH HL PUSH BC CALL DIALN; dialing numbers POP B.C. POP HL DEC C JR NZ,DIAL7 WAIT 0.5 OUT (#B7),#03 RET DIALN OUT (#B7),#00 WAIT .06 OUT (#B7),#02 WAIT .04 DJNZ DIALN1 RET Data transmission (VICOMM principle): OUT (#B7),#F2 WAIT OUT (#B7),#F3 WAIT repeat according to the algorithm Waiting for a call: WTCALL LD DE,#8180 XOR A OUT (#B7),A WTCL0 LD BC,#FF00 WTCL1 WAIT .002 IN A,(#B7) AND D CP E JR NZ,WTCL2 INC C WTCL2 DJNZ WTCL1 LD A,C CP 30; anti-glitch JR C,WTCL0 ; no call WTCL3 LD B,0 ; waiting for the end WTCL4 WAIT .002 ; call IN A,(#B7) AND D CP E JR Z,WTCL3 DJNZ WTCL4 ; you can take a line RET ! It is not recommended to occupy the line in mid- ment of the bell (after all, 120 volts!!!), you need to wait for a pause between calls (say this is true for any terminal telephone line devices).__________________________ That's it. -+- iS-DOS 4.5 ······------====== Monitor glass cutter ======------······ WBR, Jason. [Team Obituary][Team Friday 13th][Team Evil Maniacs][Team Huge Axes]