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.016s
<1234567…34>
  • Keyboard routinesI'll ask here first - since this must be a long-ago solved problem, and hopefully I can avoid re-inventing the wheel... I need a keyboard routine th…

    ... /> jr nc,nodig
    sub 16
    jr pr
    nodig ... 32 ; SET LOWERCASE
    pr RST 16
    JP START
    [/code ...
    Dr BEEP Dr BEEP January 2009 Development
  • Using INPUT without clearing last two lines of screen?I'm trying to print to the 22nd row of the screen using the ol' print #0 trick. Unfortunately, I require user INPUT which seems to wipe out the botto…

    ... zero
    ret z
    rst 16
    inc hl
    jr ...
    Winston Winston January 2009 Sinclair Basic
  • So you want to make a cardgame......but you haven't got a good deck to display. Well here is a fully relocatable routine that will do the job for you. Place the code anywhere in me…

    ... AT
    RST 16
    LD A,B
    RST 16
    LD ...
    Dr BEEP Dr BEEP January 2009 Development
  • Assembler snippetsI was just thinking that a thread for small but useful assembler snippets to do useful things would be cool for people learning z80 coding. Not to me…

    ... /> LD A,":" ; display seperator
    RST 16
    DEC HL ; goto seconds ...
    Dr BEEP Dr BEEP January 2009 Development
  • How does the Speccy deal with the Character Set?Hi All, Can anyone spare a little time to explain to me the basic Assembly method of how the Speccy interprets and retrieves Characters to print on …

    ... asm method is to use RST 16. This is the Spectrum's ... done.
    ret z
    rst 16 ; print the character
    inc ...
    Winston Winston February 2009 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 …

    ... ; end printing if so
    rst 16 ; do the printing of the ...
    Dr BEEP Dr BEEP April 2009 Development
  • Getting started with asm Speccy codingSomeone on another forum I read has asked for good Speccy coding resources. I thought it would be great to link him to a simple tutorial about how to…

    ... control code
    RST 16 ; Call the print ... Vertical position
    RST 16 ; Call the print routine ... Horizontal position
    RST 16 ; Call the print routine ... A character
    RST 16 ; Call the print routine ...
    Matt_B Matt_B May 2009 Development
  • Getting started with asm Speccy codingSomeone on another forum I read has asked for good Speccy coding resources. I thought it would be great to link him to a simple tutorial about how to…

    ... control code
    RST 16 ; Call the print routine ... Vertical position
    RST 16 ; Call the print routine ... ; Horizontal position
    RST 16 ; Call the print routine ... B] character
    RST 16 ; Call the print ...
    Dr BEEP Dr BEEP May 2009 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 …

    ... 255
    ret z
    rst 16
    jr textout

    Bob Stains Bob Stains May 2009 Development
  • DivIDE QuestionHi all, I've been trying to work out how the DivIDE works and after reading and re-reading the DivIDE programming model document by Zilog I think it…

    O.K., in that case, if I wanted to display text on the screen as part of my NMI function can I use the Spectrum ROM functions to do the display (RST 16 etc) or do I need to write my own function?

    Thanks

    Gareth
    garethadams garethadams August 2009 Development
  • DivIDE QuestionHi all, I've been trying to work out how the DivIDE works and after reading and re-reading the DivIDE programming model document by Zilog I think it…

    ... functions to do the display (RST 16 etc) or do I need ...
    velesoft velesoft August 2009 Development
  • DivIDE QuestionHi all, I've been trying to work out how the DivIDE works and after reading and re-reading the DivIDE programming model document by Zilog I think it…

    ... to do the display (RST 16 etc) or do I ... are zeropage.asm (the RST 8 initial entry point), ... />
    [code]
    rst CALLBAS (actually, RST 16)
    defw ADDRESS_TO_CALL
    ret z
    rst CALLBAS
    defw 0x0010
    Winston Winston August 2009 Development
  • Easy way to print text in machine code?Please? It sounds so simple, but I've never done it. At the moment I'm grabbing the start address for each letter then printing them out one at a t…

    You could use the rom-routine RST 16 (decimal).
    The A register holds the code of the character that is to be printed.

    (It's the BASIC PRINT command)
    zx128k zx128k March 2010 Development
  • Easy way to print text in machine code?Please? It sounds so simple, but I've never done it. At the moment I'm grabbing the start address for each letter then printing them out one at a t…

    ... could use the rom-routine RST 16 (decimal).
    The A register ...
    frobush frobush March 2010 Development
  • Easy way to print text in machine code?Please? It sounds so simple, but I've never done it. At the moment I'm grabbing the start address for each letter then printing them out one at a t…

    ... /> ret

    text defb 16, 7, 17, 0 ; CHR$ codes ... 255
    ret z
    rst 16
    jr print_text
    [/code ...
    FrankT FrankT March 2010 Development
  • 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 …

    [code]
    ; PRINT AT Y,X full screen
    ; Y = B-reg, X = C-reg
    ; 0
    Dr BEEP Dr BEEP April 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 …

    Now with saving temporary colours

    [code]
    ; PRINT AT Y,X full screen
    ; Y = B-reg, X = C-reg
    ; 0
    Dr BEEP Dr BEEP April 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
  • 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 …

    ... lines of code?[/QUOTE]
    RST 16 also handles colour, it's ... print to the screen via RST 16 then the characters will inherit ... can alter them easily with RST 16 and the graphical codes.
    Dr BEEP Dr BEEP 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
<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

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…
  • 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…
  • last games you played before 16 bitsI passed to Amiga, I suppose the majority of you passed to AtariST, Amiga or PC,..<br /> <br /> before that what games were the last you were playing…

Related Searches

  • thunderbirds 16
  • radastan 128 x 96 16 colours
  • rst 08
  • quote rst
  • rst 16 registers
  • rst 16 print routine
  • write emulator rom 16 48
  • print 16 bit number
  • 16 48
  • 16 48 ys
  • 16 48 your
  • poke 23570 16
  • esxdos rst commands
  • rst
  • 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