ZX Review #7-8-9-10
08 ноября 1997

reader-reader - The printer driver for the Scorpion.

<b>reader-reader</b> - The printer driver for the Scorpion.
(C) Motov A. g.Usole-Siberian


   I would like to offer readers
your printer driver
"ZX-WORD 2.1" for the "Scorpion."
The fact that I have a printer
"CANNON BJ-30", which has
855 table instead of 866. Driver
recode characters in the issuance of
to the printer in accordance with 855
table. The program is very simple
and needs no comment.
140.

          ORG # 5B00

          JR RETU

          NOP

          CALL CPAR

          LD BC, # FFDD

          OUT (C), A
L1 CALL # 1F54

          JR NC, NW

          IN A, (# FE)

          RLCA

          JR C, L1

          LD BC, # 1FFD

          LD A, # 20

          OUT (C), A

          XOR A

          OUT (C), A

          SCF

          CCF

          RET
CPAR CP # 80

          RET C

          LD HL, TAB

          SUB # 80

          LD E, A

          LD D, 0

          ADD HL, DE

          LD A, (HL)
RETU RET
NW SCF

          RET

TAB DEFB 161,163,236,173,167,169,234

      DEFB 244,184,190,199,209,211,213

      DEFB 215,221,226,228,230,232,171

      DEFB 182,165,252,246,250,159,242

      DEFB 238,248,157,224,160,162,235

      DEFB 172,166,168,233,243,183,189

      DEFB 198,208,210,212,214,216,176

      DEFB 177,178,179,255,255,255,255

      DEFB 255,185,186,187,188,255,255

      DEFB 191,192,193,194,195,196,197

      DEFB 255,255,200,201,202,203,204

      DEFB 205,206,255,255,255,255,255

      DEFB 255,255,255,255,255,217,218

      DEFB 219,220,255,255,223,225,227

      DEFB 229,231,170,181,164,251,245

      DEFB 249,158,241,237,247,156,222

      DEFB 133,132,255,255,255,255,255

      DEFB 255,255,255,255,255,255,255

      DEFB 254,255
2

   For normal operation you must change the contents of a cell 
with an address to 28,111 # E0 at # DF. The reason is described 
in N5 for 1994. Makarycheva VP Like

have noticed that I have the program works, and in the mode of 
128K. 


   Ed.: To assemble this
Driver MASM'e need instead of lines:
140.

          ORG # 5B00

insert a combination of lines:


          ORG # C000

          PHASE # 5B00
2

   With this approach, MASM will generate the object code in 
the address # C000, but really the program must be run from the 
address # 5B00. 

   This restriction is absent in all
TASM'a versions.


                 *







Other articles:

TR-DOS for beginners - The end.

Computer novella - Prince of Persia.

Computer novella - Laser team (the game Laser Squad).

Crossing Dragon - Game Rapscallion.

Crossing Dragon - Playing The Runes of Zendos.

Crossing Dragon - Playing The Saga.

Crossing Dragon - Game Witch's Cauldron.

Crossing Dragon - Create Adventyuru. Review of the editors.

Crossing Dragon - Create a dictionary to Adventyurnoy game.

Program, which we choose - The possible consequences of using undocumented commands.

Program, which we choose - About noticed irregularities in some programs and suggestions for future versions.

Program, which we choose - A proposal to all the authors of software, printers, memory dump. Programmers protect discs from being copied.

Program, which we choose - A few suggestions to improve the assembly.

Program, which we choose - Suggestions for refining ZX Word v2.5.

Program, which we choose - The "Spectrum emulator" v1.2.

Program, which we choose - What could want in a perfect assembly.

Retro - 40 best procedures: Copying data in memory.

Retro - 40 best procedures: Exchange token.

Retro - 40 best procedures: Determination addresses BASIC string.

Retro - 40 best procedures: Determination of the length of BASIC programs.

Retro - 40 best procedures: Determination of the amount of free memory.

Retro - 40 best procedures for: Search and replace strings.

Retro - 40 best procedure: Find the string.

Retro - 40 best procedures: Search for the string.

Retro - 40 best procedures: the list of variables.

Retro - 40 best procedures: an increase and up the screen.

Retro - 40 best treatments: Removal of REM-strings.

Retro - 40 best procedures: Remove the block of the program.

Expert Tips - Game Fredloader.

Expert Tips - Game Robin of Sherwood: The Touchstones of Rhianon.

Expert Tips - Game Scorpions: Die Machines.

Expert Tips - Game Terropods.

page iS-DOS - Description of system restarts IS DOS.

Forum - An algorithm for recognizing characters.

Forum - Time undocumented command processor Z80.

Forum - The concept of a high-color screen resolution.

Forum - A few Pokes to a game. Program Hacman96.

Forum - As for the new DOS and BIOS settings for the Spectrum.

Forum - Multicolor program on any computer model. Using the 2 nd screen Multicolor'a. Demonstration of the text. Electronic journals.

Forum - Project ZX Config.

Forum - Improve Art Studio. Ideas on file compression.

Forum - ZX Spectrum emulator for IBM. About the hexadecimal system. Program ZX-Stars. Oddities in the Elita

Forum - The effects on the curb and Multicolor.

reader-reader - ZX Spectrum 128 - new opportunities, new challenges.

reader-reader - With 'Light'. Spectrum and expert system.

reader-reader - The printer driver for the Scorpion.

reader-reader - Print numbers in different number systems.

reader-reader - Programming arcade game with scrolling screen.

reader-reader - The procedure for printing labels assembler XAS to monitor debugger STS 4.3.

Studies - attribute scrolling text. "Gasilka" screen. A simplified version of the procedure, "Curtain". Procedure is enriched with pictures. Procedure display images on the points.

Studies - Graphic effect "color bars".

Studies - Driver screen printing 64 characters per line.

Studies - Set of protective boot.

Studies - Address to the drive mode IM 2. Working with non-standard disc format.

Studies - Print the character, magnified by 8 times. The program "pouring" screen. The procedure for screen-saver on the points. Clear screen in Terminator'e. Search strings in memory. System character set conversion.

Studies - Program - cataloger of disks.

Studies - Program the output values of the amplitude channel music. coprocessor on the curb.

Studies - Program the output image.

Studies - The program plugs sprite.

Studies - Cleanup of the specified window screen.

Studies - The program sort the array in ascending order. The procedure for filling the screen specified attribute. Procedure display pictures. The effect of moving towards the stars. "Shower", coming from the upper left corner of the screen. The procedure of "shedding" pictures on the pixel lines. The program of "pulling" the picture at an angle of 45 degrees. Three procedures "Scroll".

Studies - The printing of numbers.

Studies - The procedure for drawing a character with attributes.

Studies - The procedure for display pictures. Fade-OUT effect (picture goes beyond the edge of the screen). Visual effect "Fountain." Fade-OUT effect, mimicking the TV off. Procedure "Ignition" pictures. The program continuously drawing a picture.

Studies - The procedure for drawing a line.

Studies - The procedure for making optimal symbol table.

Studies - scrolling lines of text in the specified window. Attribute scroller. Diagonal scrolling.

Studies - sprite scroller. Procedure display screen.

Studies - Short procedure indicating the amplitude channel music. coprocessor. Way to subtract a constant from a register pair HL.

Studies - The formula for calculating the day of the week.


Темы: Игры, Программное обеспечение, Пресса, Аппаратное обеспечение, Сеть, Демосцена, Люди, Программирование

Similar articles:
Topic - Tusovka: CSP'99 - poll as the party was held in a nutshell, the general impression.
Mosaic - Reflections Digitecs Inc on the video processor. Going to ENlight'96!
Tutorials - learn how to draw a 'new school' ASCII.
News - The Belarusian team Ellipse completely ceased creativity on the platform zx

В этот день...   21 November