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>
  • 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
  • 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
  • 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 …

    ... ) you can use the normal RST 16 for all characters on the ...
    Dr BEEP Dr BEEP 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
  • Keys redefine routine and key check.I have written some asm code which allows me to redefine keys (for a game etc.), and also allows me to be able to check any keypresses for the redefi…

    ... 5633
    CC_INK: EQU 16
    CC_PAPER: EQU 17< ... ret z ; so exit
    rst 16 ; print the character
    ... $bf
    key_pause_pattern: defb 16
    key_quit_port: defb $df< ... br /> key_quit_pattern: defb 16
    msg_up: defm CC_AT,7 ...
    polomint polomint September 2011 Development
  • Tile based graphics and scrolling thingy...Here's my best attempt so far at a tile based rendering and scrolling routine. It draws in 22 8*8 graphics tiles along the top of the screen (junk i…

    ... text printing routine that used RST 16, with the ASCII code in ...

    ldi ; Using LDI, 16 ticks per byte * 22 = 352 ...
    Zoltar Zoltar September 2011 Development
  • probably a stupid question about RST16I'm using the 'hello world' code borrowed from [url=http://equant-retrochallenge.blogspot.com/2008/07/zx-spectrum-assembly-programming-under.html]her…

    ... A
    RET Z
    RST 16
    INC HL
    JR ...
    rich_chandler rich_chandler October 2011 Development
  • probably a stupid question about RST16I'm using the 'hello world' code borrowed from [url=http://equant-retrochallenge.blogspot.com/2008/07/zx-spectrum-assembly-programming-under.html]her…

    ... A
    RET Z
    RST 16
    INC HL
    JR ...
    sack sack October 2011 Development
  • New WIP underway - 'Dingo'.Hi, Prepare for a long post. Perhaps I can even challenge ewgf here. :razz: Anyway, I've been meaning to get into Z80 programming and making a game…

    ...
    CC_INK: EQU 16
    CC_PAPER: EQU 17 ... z ; so exit
    rst 16 ; print the character
    ... $bf
    key_pause_pattern: defb 16
    key_quit_port: defb $df ...
    key_quit_pattern: defb 16
    msg_up: defm CC_AT ...
    polomint polomint October 2011 Development
  • probably a stupid question about RST16I'm using the 'hello world' code borrowed from [url=http://equant-retrochallenge.blogspot.com/2008/07/zx-spectrum-assembly-programming-under.html]her…

    ... , (HL)
    RET Z
    RST 16
    INC HL
    JR ...
    TVzombie TVzombie October 2011 Development
  • Newbie says 'Alreet?'Hiya dudes, Just dropping a line to say hello as i've decided at 33 to try and fulfill a long time ambition to write a speccy game in machine code..…

    ... wrote my first game using RST 16 and udgs, so I'd ...
    R-Tape R-Tape November 2011 Development
  • Up/Down Left/Right scrollCan anybody give a newbie some pointer to simple one char scrolling by pixel? I've looked at a lot of resources, but as you can imagine, it's all a …

    ... afraid! I managed to use RST 16 quite well, but as you ...
    Atari_Jetman Atari_Jetman November 2011 Development
  • Up/Down Left/Right scrollCan anybody give a newbie some pointer to simple one char scrolling by pixel? I've looked at a lot of resources, but as you can imagine, it's all a …

    ... br /> ;and again - multiplying by 16. Why multiply this number by ... need to fiddle around with 16 bit
    ;arithmetic - those ... of...basically just replaces the RST 16 command - I won't ... character just like PRINT....or RST 16)
    pop de
    ;since ...
    Turkwel Turkwel November 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

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