World of Spectrum
  • Categories
  • Discussions
  • FAQ
  • Sign In
Home › Search
Title Search
@title beer Word 'beer' in title
User Search
  • @user admin Only posts by Admin
Text Search
  • @body beer Word 'beer' in the text
Phrase Search
"Hello World" Exact phrase match
Exclude Terms
  • car -red Search cars that are not red
"Or" Searches
  • honda | bmw 'honda' or 'bmw' results
Multi-Field
@(title,body) hello Both contain 'hello'
WildCard
  • hond* civ* Match all with an astrix
Combination
  • @title bmw @user admin
See more supported syntax examples
Search Again :: Adv Search 1000 results in 0.012s
<1234567…34>
  • tricks to simplify codingWhen i started with programming in assembler i had very simple approach to do things. Just shifting bytes around, doing simple tests and so... Later …

    ... /> RST 16
    LD A,B
    RST 16
    LD A,C
    RST 16 ...
    Dr BEEP Dr BEEP March 2010 Development
  • Machine Code Routine of the weekHow about a thread that has a routine each week that is in [B]assembly language[/B] and is also described in great detail what the hell is going on …

    ... print to the screen via RST 16 then the characters will inherit ...
    Turkwel Turkwel April 2010 Development
  • 'Hello World' in ASM ?Can someone show how to make the classic 'Hello World' print with ASM code ? I cant figure at this moment how to insert and handle strings with the s…

    ... ROM-routine is done with RST 16

    So Hello World ... ,(hl) fetch next character
    rst 16 do the actual print
    16-21
    Dr BEEP Dr BEEP June 2010 Sinclair Basic
  • 'Hello World' in ASM ?Can someone show how to make the classic 'Hello World' print with ASM code ? I cant figure at this moment how to insert and handle strings with the s…

    ... ,(hl) fetch next character
    rst 16 do the actual print
    Dr BEEP Dr BEEP June 2010 Sinclair Basic
  • 'Hello World' in ASM ?Can someone show how to make the classic 'Hello World' print with ASM code ? I cant figure at this moment how to insert and handle strings with the s…

    ... ,(hl) fetch next character
    rst 16 do the actual print
    ret z
    rst 16
    inc hl
    jr ...
    Winston Winston June 2010 Sinclair Basic
  • 'Hello World' in ASM ?Can someone show how to make the classic 'Hello World' print with ASM code ? I cant figure at this moment how to insert and handle strings with the s…

    [QUOTE=Winston;448233]

    It's amazing how many ways there are to write a null-terminated string print routine :)

    [/QUOTE]

    [code]
    xor a
    or (hl)
    ret z
    rst 16
    [/code]
    Dr BEEP Dr BEEP June 2010 Sinclair Basic
  • Howto paint a squared zone of the screen ?You know what guys ? i begin to love this languaje. Cant understand why not put more effort on the 80's to learn it :( because it is really speedy. …

    ... ;AT
    rst 16
    ld a,d ;X
    rst 16
    ld ... a,e ;Y
    rst 16
    .loop0 ... 255? then all printed
    rst 16
    jr .loop0

    Shiru Shiru June 2010 Sinclair Basic
  • Cool BASIC tricks and tips!Following on from Dunny's excellent suggestion of a compendium of BASIC tips + tricks, I believe it would be better to have a topic dedicated to it. …

    ... opcode
    rst 16
    ld a,y-val
    rst 16
    ld ... a,x-val
    rst 16
    ld ...
    Dr BEEP Dr BEEP August 2010 Sinclair Basic
  • IF and control flow in machine codeHi everyone, Basic has a nice control flow like if statements. How can these be done in machine code since i cant find anything thanks

    ... ,48 ; make it printable
    rst 16 ; do print
    pop af ...
    Dr BEEP Dr BEEP September 2010 Development
  • designing a computerHi everyone! I am designing a 4 bit computer and i need some advice, is this a good instruction set? [CODE] BINARY OPCODE DESCRIPTION 00000 nop…

    ... giving the ability to address 16 different registers (0-F) - if you ... a mandatory 4 bits for 16 registers. The Z80 generally only commits ... bits for 8 (and not 16) addressable registers.
    4) Call your ... the Z80 and (b) such registers can be very useful in ...
    BloodBaz BloodBaz September 2010 Chit chat
  • Mushroom ManNice to see that Mushroom Man has been such a popular new release coming in at [URL="http://www.worldofspectrum.org/bestgames.html"]the top of the ch…

    ... added
    LD A,"."
    RST 16
    and deleted these from ...
    Dr BEEP Dr BEEP September 2010 Games
  • Print text in assemblyHello, a perhaps simple question: I would like to print a text string on the screen and I wonder how to do that in the most easy way? I seem to re…

    ... kind of ROM based code, RST 16 (?), but can that print more ... 255
    ret z
    rst 16
    inc hl
    jr ...
    Dr BEEP Dr BEEP October 2010 Development
  • Print text in assemblyHello, a perhaps simple question: I would like to print a text string on the screen and I wonder how to do that in the most easy way? I seem to re…

    RST 16 only prints the single character ...
    gasman gasman October 2010 Development
  • Optimization for this codeHello, I have done and submitted a small program for the CSS Crap Game Compo which involves a machine code routine. The z80 with BASIC and MC is av…

    ... 255
    ret z
    rst 16
    inc hl
    jr ... /> text defb 22,6,15,16,4,18,1 ; AT 5 ...
    FrankT FrankT October 2010 Development
  • Games in machine codeHi everyone, How do go about doing multiple shots like a machine gun, do you have to store every x and y position of each bullet? When you kill som…

    ... of genuine general purpose registers over CISC features. After ... Having to constantly shuffle registers around to make sure the ... comparison, the ARM with 16 registers, hardware multiply, a barrel ... very large number of registers, with limited addressing modes ...
    Winston Winston October 2010 Development
  • Printer Printing Problem (assembler)I've a program that outputs to the lower screen at various places, using a combination of calls to RST $10 plus OUT-NUM-1 and PR-STRING. It also call…

    Show us your code.

    The call channel routine is OK, but do you use the RST 16 to (L)PRINT?
    Dr BEEP Dr BEEP November 2010 Development
  • Time difference for jumps and calls?Just interested (and possibly trying to distract myself from the more pressing problems in my sprite routine) and willing to risk a potentially daft …

    ... get some background on that RST 16 I used so much.
    R-Tape R-Tape April 2011 Development
  • New game! Nanako in CJMC for ZX81!Yup, that's true. We've been busy in crafting a nice, small, simple library to code games in text mode (this is, standard, unexpanded) for the 16K ZX…

    ... on a routine to replace RST 16 to use with UDG and ...
    Dr BEEP Dr BEEP May 2011 Brand new software
  • Back to BASIC[U][B]Archaeology guide to programs compiled used MCODERII.d[/B][/U] After various people have been talking about "Frank'n'stein" I decided to finis…

    ... 62 17
    RST 16 ; 27929 215
    ;RST 16 is the standard ... L ; 27933 125
    RST 16 ; 27934 215
    CALL ... br /> LD A, 16 ; 27944 62 16
    RST 16 ; 27946 215
    RST 16 ; 27951 215
    CALL ...
    Jimmy Jimmy May 2011 Development
  • Back to BASIC[U][B]Archaeology guide to programs compiled used MCODERII.d[/B][/U] After various people have been talking about "Frank'n'stein" I decided to finis…

    ...
    LD A, 16 ; 28735 62 16
    RST 16 ; 28737 215
    LD ... A, L ; 28741 125
    RST 16 ; 28742 215
    CALL 7341 ...
    Jimmy Jimmy May 2011 Development
  • Print TextHow do i print text on the bottom left row(memory location in attribute 23295) of the screen in assembly? I understand the parts better on paper and …

    ... A,22 ;AT INSTRUCTION
    RST 16 ;FAST CALL, don't know ... SCREEN)
    RST 16 ;
    LD A,6 ;COLUMN
    RST 16 ;
    ld ...
    R-Tape R-Tape June 2011 Development
  • Print TextHow do i print text on the bottom left row(memory location in attribute 23295) of the screen in assembly? I understand the parts better on paper and …

    ... A,22 ;AT INSTRUCTION
    RST 16 ;FAST CALL, don't know ... SCREEN)
    RST 16 ;
    LD A,7 ;COLUMN
    RST 16 ;
    ld ...
    ooze48k ooze48k June 2011 Development
  • Print TextHow do i print text on the bottom left row(memory location in attribute 23295) of the screen in assembly? I understand the parts better on paper and …

    ...
    This means using more RST 16 Control Codes. I avoid the ... ld a,16
    rst 16
    ld a,7
    rst 16
    ... ld a,17
    rst 16 ...
    ld a,4
    rst 16 ...
    Turkwel Turkwel June 2011 Development
  • Print TextHow do i print text on the bottom left row(memory location in attribute 23295) of the screen in assembly? I understand the parts better on paper and …

    ...
    ld a,16 ;set ink colour
    rst 16
    ld a ... A,22 ;AT INSTRUCTION
    RST 16 ;FAST CALL, don't know ... SCREEN)
    RST 16 ;
    LD A,6 ;COLUMN
    RST 16 ;
    ld ... ]

    These codes before RST 16 or in the defbs of ...
    R-Tape R-Tape June 2011 Development
  • Print TextHow do i print text on the bottom left row(memory location in attribute 23295) of the screen in assembly? I understand the parts better on paper and …

    ... print


    pr rst 16
    inc hl
    defb ...
    Dr BEEP Dr BEEP June 2011 Development
  • Why doesn't my routine work?I have a "level" defined by 504 bytes (28 squares across x 18 squares down) I'm trying to write a routine that will take an X,Y coordinate in pixels…

    ... program
    ret z
    rst 16 ; display key (also ENTER)
    Dr BEEP Dr BEEP June 2011 Development
  • (part of) screen to UDGHere is a routine to copy a Y,X-position on screen to a UDG. 0<=y<=23 0<=x<=31 144<=udg<=165 (UDG "A" to UDG "U") [code] ; start code with ; PRINT …

    ... set back by a simple RST 16 of the valid UDG.
    Dr BEEP Dr BEEP June 2011 Development
  • Move objectHi again, I am using paper colors to represent game objects. I have a "paddle" that is 4 pixels wide. I save its position as a 2 byte word in memory…

    ... color control code

    RST 16 ; fast call

    ... color control code

    RST 16 ; fast call


    RST 16 ; fast call


    RST 16 ; fast call

    ...
    ooze48k ooze48k July 2011 Development
  • Move objectHi again, I am using paper colors to represent game objects. I have a "paddle" that is 4 pixels wide. I save its position as a 2 byte word in memory…

    ... color control code

    RST 16 ; fast call

    ... color control code

    RST 16 ; fast call


    RST 16 ; fast call


    RST 16 ; fast call

    ...
    ooze48k ooze48k July 2011 Development
  • User Defined GraphicsCan someone please give some very simple code for a displaying a UDG at a location on screen? Any assistance would be greatly appreciated. Sincerely…

    ... routine for printing chars (the rst 16 thing) just using the char ...
    R-Tape R-Tape September 2011 Development
<1234567…34>

Latest Posts

  • Frankie's ZX Spectrum Digouts
    Zup on 1:58PM
  • Elusive Strategy Games done by the Smaller or less Prolific Software Houses.
    harriusherbartio on 1:02PM
  • Minor British Sports that did become games on the ZX Spectrum
    harriusherbartio on 12:42AM
  • 1992 Spectrum Software
    harriusherbartio on April 7
  • Celebrity deaths...
    mel the bell on April 7
  • LONELY TZX files : software TZX'd on the online sites with NO ASSOCIATED DOCUMENTATION
    harriusherbartio on April 7
  • spectrum in netflix bomb and the cold war documentary
    zxbruno on April 7
  • Are there any decent Speccy Flight Sims?
    harriusherbartio on April 7
  • Who Has Got The Earliest ZX Spectrum Software?
    harriusherbartio on April 6
  • Tradtional games that were not programmed on the ZX Spectrum
    harriusherbartio on April 6

HitBox

Word Docs Hits
rst 1.2K 2.5K
16 15.1K 22.7K
registers 2.3K 3.4K

Related Threads

  • RST 16 with TASMCan any body tell me what is wong when I assemble this test code with TASM :<br /> <br /> ;print a long string "help me"<br /> start .org 32000<br…
  • 8-bit or 16-bit registers?I'm playing around with writing a Speccy emulator for mobile Java at the moment. I did a quick and dirty port of Qaop, which does run but at less tha…
  • Using RST 16 and udg flickerHi there!<br /> <br /> I'm using UDGs and RST 16 to make a simple canyon bomber game. <br /> <br /> I've got the game mechanics working ( finally ) b…
  • Graphic/music prog (16 pictures, 16 songs)"YERZMYEY's SLIDESHOW" by HOOY-PROGRAM<br /> A slideshow for ZX Spectrum 16K with AY-interface. <br /> Released in 01.06.2013 (the Children's Day in …
  • Full 16*16-digit BASIC multiplicationI liked Andre Adrian's 32-bit long multiplication routine so much that I decided to a decimal version. After all, 2^63 is only 9223372036854775808, a…
  • Crash 7 and 16 needed ;-)If anybody has spare copies of these I would be willing to trade for some of my spare issues or pay ?3-5 each for these issues, (they must have the m…
  • Question on 8-bit, 16-bit, 32-bit...Hello,<br /> Sorry, this is probably a really dumb question(and something I should know by now :)). I tried doing some searches about this but came u…
  • 16/48I had a couple of these weird 'computer magazines' both of which had one rather good game each, being Pyramania and Snowman Sam (i think that was wha…
  • kazaa for 8/16 bit stuffhello, <br /> <br /> just thought id pop my head in the spectum camp (im a commodore 64 geezer by choice. please dont throw any bricks yet)<br /> <br…

Related Searches

  • ay tone registers
  • ix registers
  • thunderbirds 16
  • radastan 128 x 96 16 colours
  • rst 08
  • quote rst
  • z80 registers
  • rst 16
  • rst 16 print routine
  • write emulator rom 16 48
  • print 16 bit number
  • 16 48
  • 16 48 ys
  • 16 48 your
  • rst 16 newline
  • rst 16 slow
  • rst 16 fast
  • rst 16 from basic
  • rst 16 interface 1
  • inverse rst 16

Copyright © 2024 World of Spectrum