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>
  • RST 16 with TASMCan any body tell me what is wong when I assemble this test code with TASM : ;print a long string "help me" start .org 32000 ld a,2 call 5633…

    ... ,(de)
    inc de
    RST 16
    jr loop
    data ... : unrecognized argument. which is the RST 16

    Is it something ...
    Steve(spt) Steve(spt) April 2004 Development
  • Using RST 16 and udg flickerHi there! I'm using UDGs and RST 16 to make a simple canyon bomber game. I've got the game mechanics working ( finally ) but now I'd like to make …

    ... /> I'm using UDGs and RST 16 to make a simple canyon ...
    Atari_Jetman Atari_Jetman October 2012 Development
  • Programming MC : first stepsIsn't nice to collect all kinds of short routines to help making the first steps into MC for everyone who never touched MC? What I mean is mostly th…

    ... " ; display number
    rst 16 ; with print
    ret ... ; save registers
    push bc ; save registers
    ... /> pop bc ; retrieve registers
    pop hl
    Dr BEEP Dr BEEP August 2005 Development
  • MC TipPlace your MC tip here: Here is my first: When using alternate registers (EXX) the HL register must not be affected on return to BASIC. Also the IY…

    ... :

    When using alternate registers (EXX) the HL register must ... using ROM-routines (i.e. RST 16).
    or return to BASIC ...
    Dr BEEP Dr BEEP November 2005 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…

    ... don't save/restore any registers on entry/exit, so ... ret z ; so exit
    rst 16 ; print the character
    jr ... $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
  • Codies help? Werewolves of LondonHi All, never one for shying away from the deep end, having only just dipped my toe in to the world of machine code I find myself trying to find out …

    ... eg be constrained to certain registers) because it is part of ... .
    [/quote]

    RST are fast single-byte calls ... RST locations, and this is what is done on the Spectrum. RST 16 ... (print) and RST 48 (calculator) are ...
    Alcoholics Anonymous Alcoholics Anonymous March 2006 Sinclair Basic
  • Where to start?Hi all, I wanna start coding something for the speccy. I have good experience at C/C++ and some other languages. I have coded asm on pc too, and ma…

    ... having lots and lots of registers to play with :-) In my ... than the Spectrum's own RST 16 routine! (Probably didn't help ...
    Winston Winston March 2007 Development
  • IF2 Rom snapshot creationHi, is it possible convert a Speccy 16k snapshot to a Interface 2 Rom file? I've the original Ultimate Pssst, Cookie, Trans-am and Jetpac tapes and …

    ... "packs" targeted RAM and the registers in and around "reserved" ROM ... and associated CHANNEL information for RST 16 to work? WOuld games be ...
    BloodBaz BloodBaz April 2008 Emulators
  • 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…

    ... and DE are more useful registers for things your code block ... zero
    ret z
    rst 16
    inc hl
    jr ...
    Winston Winston January 2009 Sinclair Basic
  • 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 ... NMI code.
    3) push registers to stack + your NMI code ... 48rom you must pop all registers + jump to "map-off area ...
    velesoft velesoft August 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 …

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

    ... 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.
    registers (BYTEvalues) rather than 5 bytes ...
    Dr BEEP Dr BEEP April 2010 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
  • 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…

    ... don't save/restore any registers on entry/exit, so ... ret z ; so exit
    rst 16 ; print the character
    jr ... $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
  • 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…

    ... t save/restore any registers on entry/exit, ... 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
  • 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 …

    ... and again - multiplying by 16. Why multiply this number by ... need to fiddle around with 16 bit
    ;arithmetic ... in one pair of registers and add it ... ...basically just replaces the RST 16 command - I won ... character just like PRINT....or RST 16)
    pop de
    Turkwel Turkwel November 2011 Development
  • Can't Get My Simple Code To RunHello again, I'm trying to run the following simple code: [code] org 32768 main ld b, 21 ; x coordinate is …

    ... printing a string, a few registers have already been corrupted.
    RST 16 with a terminator byte or ...
    Ast_A_Moore Ast_A_Moore October 2017 Development
  • Can't Get My Simple Code To RunHello again, I'm trying to run the following simple code: [code] org 32768 main ld b, 21 ; x coordinate is …

    ... printing a string, a few registers have already been corrupted.
    RST 16 with a terminator byte or ...
    Scorpion_Realities Scorpion_Realities October 2017 Development
  • The incredible shrinking screendumpIn this topic I stated that I would be impressed if the screendump could be smaller than 37 bytes. [url="http://www.worldofspectrum.org/forums/viewt…

    ... ) ; Fetch byte for print
    rst 16 ; Printing table and screen
    Dr BEEP Dr BEEP September 2004 Development
  • PRINT AT in assembler Hello everyone, I am very new to this forums. Like perhaps many others I had a Spectrum as a child and did pretty much simple BASIC programming, bu…

    ... />
    LD a,22
    RST 16
    LD a,10 (x ... -coord)
    RST 16
    LD a,20 (y ... -coord)
    RST 16
    LD a,65 (character ... code)
    RST 16

    I might have ...
    Rickard Rickard July 2005 Development
  • Aggravating problem with screensI've rewritten my Sam C runtime emulator code ( well almost ) to allow me to use my own routines for blitting sprites onto the screen, storing tiles …

    ... your program calls ROM routines ( RST 16 and jump
    table vectors ...
    DonkeyPong DonkeyPong January 2007 Development
  • 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 December 2008 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…

    ... a,#69
    daa
    rst 16
    ret
    endp
    Bob Stains Bob Stains January 2009 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…

    ... programs?

    there are 16 registers, 0 to F
    if ...
    Robin Robin September 2010 Chit chat
  • Machine code sub routinesHi everyone, I have noticed that in machine code you can call different "preset" routines like rst 16 or something, or call 6533... where can i fi…

    ... call different "preset" routines like rst 16 or something, or call 6533 ...
    Robin Robin October 2010 Sinclair Basic
<1234567…34>

Latest Posts

  • I am currently watching.....
    mel the bell on 5:54PM
  • Happy 40th Birthday to the Amstrad CPC464!
    Luny on 5:14PM
  • Your Favorite Magazine Cover Tapes.
    dm_boozefreek on 4:45PM
  • "Late Entries"
    harriusherbartio on 4:00PM
  • How Do You Categorize Your Speccy Software and Games?
    harriusherbartio on 1:34PM
  • Simple Sprite Routine
    dmsmith on 1:25AM
  • Today's BASIC program: visit attribute cells I am interested in, in pseudorandom order
    Paradigm Shifter on April 11
  • How do you share programs online?
    firelord on April 11
  • Celebrity deaths...
    Ælita on April 11
  • Who Has Got The Earliest ZX Spectrum Software?
    harriusherbartio on April 11

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