Inferno #02
01 мая 2001 |
|
For Coderz - Description of a personal computer ATM-TURBO 1.
Personal computer ATM-TURBO 1 PCB version 4.10-4.50 Technical description and Programmer's Guide. (C) MicroArt (C) 1995 MaxSoft (?) The structure of memory and I / O ports. 1. System port Access address: # FDFD Picks: A1 = 0, A9 = 0, A15 = 1, WR = 0 D0 - EA16 \ is used to switch D1 - EA17 / 4 banks of RAM (512K) D2 - RA16 selects which bank ROM 27010 connected to "0" - BIOS + SP128 + TR-DOS + SP48 "1" - ROM DISK D3 - CPNET "1" in this bit informs that the computer is networked, in this mode SPECTRUM, while trying to Released in TR-DOS, we find ourselves on the fact the same address, but in the ROM BIOS (in the program connection to the network that M-ART and not wrote ;-)). Should be installed in "0". D4 - TON "1" in this bit connects dummy load to the telephone line (JIP). Should be set to "0" D5 - TNAB used for dialing phone ("1" line is closed, "0" open) 2. Port SPECTRUM-128 Access address: # 7FFD Picks: A15 = 0, _A9 = 1_, A1 = 0, WR = 0 D0-PAGE0 \ Determines which page D1-PAGE1> imprinted with address # C000 D2-PAGE2 / (choice of bank-cm. Port # FDFD) D3 - SCREEN This category determines which page will be located on-screen RAM. In the "SPECTRUM": 0 - 5-th page (from the address # 4000). 1 - 7 th page. in the mode of CP / M: 0 - 5-th page of a point, 1-I attributes. 1 - 7 th page is the point, the third attribute. D4 - ROM2 This signal selects which ROM connected to BASIC-128 (1) or BASIC-48 (0). D5 - LOCK write to this bit to "1" we prohibit further work with the port # 7FFD (this is done for full compatibility with the SPECTRUM-48). Memory card for different modes of computer operation. mode Spectrum-128 Spectrum-1948 TR-DOS CPM-system CPM-users roms ROM2 = 1 ROM2 = 0 ROM2-irrelevant # 0000 ROM-2 ROM-ROM-3 a ROM-RAM-0 0 # 4000 5 RAM-RAM-5 RAM-5 RAM-RAM-May 4 # 8000 RAM-2 RAM-2 RAM-2 RAM-2 RAM-2 # C000 sm.sostoyanie ports # 7FFD # FDFD RAM-1 or 3 RAM-3 In the ZX-SPECTRUM in the window with the address # C000 can be switches on every page to 0 # 1F (it depends on the state Port # 7FFD and 2-LSBs # FDFD) CPM-system - if active mode ROM monitor (to the screen, standard Procedure I / O drive, the survey keyboard interrupt) CPM-users - active mode when the user program (in a window page 0 0 RAM in the box, 1-page 4). When reading from a Printer Port Bus A7 sets signal state CPSYS this signal is forced to turn off all possible SPECTRUM ROM and connect with Address # 0000 ROM BIOS CP / M. (0-Part I 27512) IN A, (# 7B) off CPSYS (at address 0 is connected one of the ROM SPECTRUM) IN A, (# FB) includes CPSYS (with address 0 is connected with the ROM CP / M-BIOS) 3. Reading the telephone line Access address: # 7FFD Picks: A15 = 0, A9 = 1, A1 = 0, RD = 0 So the same port # 7FFD readable. D0 - 1 indicates that the telephone line a ring (call) other bits of the port is not enabled. 4. Reading the ADC. Access address: # 7DFD Picks: A15 = 0, A9 = 0, A1 = 0, RD = 0 Used to read the status of the ADC. If the ADC is not completed conversion cycle data processor pritormazhimaetsya signal WAIT. 5. Ports musical coprocessor. Access address: # BFFD, # FFFD Picks: A15 = 1, A9 = 1, A1 = 0 Used to program the music synthesizer AY-8910 (12). (See description "SPECTRUM-128 for users and programmers) 6. Printer port and the port of the DAC. Access address: # FB Picks: A0 = 1, A1 = 1, A2 = 0 The board implemented a standard interface CENTRONIX. It does not require any initialization. Condition of the signals when reading: D7 - state signal BUSY printer. D6 - The voltage on the telephone line 1 - 60 V 0 - 15 volts (busy) A7 - signal CPSYS (see above) Standard output driver to the printer symbol from the register C: OUT_PRN IN A, (# 7B); (for SRM - # FB, , Otherwise switch ; ROM) RLCA RET C; C FLAG = 1 return ; (Printer not ready) LD A, C OUT (# FB), A; derive data OUT (# 7B), A; pulse strobe OUT (# FB), A; reset gate RET; C FLAG = 0 ; Bytes sent It must be remembered that this same port- connected to digital-analog converter. 7. Interface I / O port Access address: # FA Picks: A0 = 0, A1 = 1, A2 = 0 Gates IOWR, IORD this port withdrawn on the system connector of the computer from using this port, and port to CENTRONIX computer can connect 256 input and 256 output devices while maintaining full compatibility with original. In this case, the port address is written in CENTRONIX team-OUT (# FB), A and the data is read by the command IN A, (# FA), or written by a team OUT (# FA), A. The data bus on the connector buffered. For compatibility, all new development is recommended to connect using only this port. 8. Entry panel Access address: # 7DFD Picks: A15 = 0, A9 = 0, A1 = 0 Code for the color palette you want to set must be set on port BORDER (do not forget about 3-m (inverted) bit color, which must be passed through the bus A3). In order to curb not blinking, the record must be synchronized with the interrupts. The number of recorded to port # 7DFD should bear in bits 0-5 information on the intensity bgrBGR component for the color. For each ray R, G, B can be set 4 intensity. 9. Keyboard port Access address: # FE Picks: A0 = 0, A1 = 1, A2 = 1, RD = 0 D0-KD1 \ D1-KD2 \ D2-KD3 keyboard data entry D3-KD4 / D4-KD5 / D5-ADD reading 1-bit signal from the telephone line. D6-TIN signal read from the tape. D7-Z System signal from the PLA on this signal is based copy protection boards. Signal is activated after a certain number of clock cycles after the arrival interrupt (do not remember exactly what). Program by counting the number gets a byte which is the key extraction from the ROM BIOS and BDOSa. A8-KA0 \ A9-KA1 \ A10-KA2 \ A11-KA3 \ Address line keyboard A12-KA4 / A13-KA5 / A14-KA6 / A15-KA7 / 10. Port curbs Access address: # FE Picks: A0 = 0, A1 = 1, A2 = 1, WR = 0 This port is somewhat different from the standard SPECTRUM. The fact that CP / M border (and screen) can be any of the sixteen colors (from a palette 64) therefore require additional bit color, which has been led by the inverse A3. So is this port opened Several new signals expansion, which is impeding interoperability computer c firm. D0-BRD0 \ D1-BRD1 color border D2-BRD2 / D3-TAPEOUT output to tape D4-SOUND Loudspeaker D5-not used D6-not used D7-not used A3-BRD3 - 3rd bit color (inverse) A5-RG1 \ defines the video mode screen A6-RG0 / (see below) A7-CPUS 0 - in this bit disables the ROM and instead connects the 0-th page RAM, while addresses from # 4000 connects 4 th page of RAM (instead of the standard included the 5 th). It is necessary for normal functioning of CP / M. Display Modes: RG0 = 1 '& RG1 = 0 - forbidden state RG0 = 0 '& RG1 = 0 - 320x200 pixels RG0 = 0 '& RG1 = 1 - 640x200 pixels RG0 = 1 '& RG1 = 1 - Screen Sinclair Programmers need to remember that when switching from Sinclair screen and high resolution screens, entangled address space and RAM namely A5, A6, A7 and A8, A9, A10, respectively; If you want to switch screen mode - switching program should take no longer than 32 bytes and located at the address with the same A5, A6, A7 and A8, A9, A10, respectively, otherwise your program will hang!
Other articles:
Similar articles:
В этот день... 21 November