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.247s
<1234567…34>
  • PRINT a numerical value i.e. the scoreHow do you fo about printing a numerical value using the print routine in the ROM? For instance I have a value 0-255 and want to PRINT the result at…

    ... ld a,1 call 5633 and ld a,0 call 5633 don't they? Just try the code with ld a ... ,1 call 5633 ... , then do a RANDOMIZE USR 32768: PAUSE 0 ... , the value in a needs to be refreshed ...
    R-Tape R-Tape August 2012 Development
  • Zecut0r and ZAFA while ago (about 2 yrs)i took VbSpec and tried to port it to Delphi 6. Althought it was pretty weak, it. Meanwhile DelphiSpec 0.1 appeared and i wa…

    ...
    procedure zxcls ;"call zx cls"
    0 ink
    7 paper ...
    asm ;"asm code"
    ld a, ... 2
    call 5633
    call 3435 ;"call ZX ROM ROUTINE ...

    _________________
    To 0 or to 1 ?

    zecut0r zecut0r October 2004 Emulators
  • What Z80 development tools do you use? What books?Hi. I've been meaning to do it for over 25 years, but.. better late than never :) I'm starting to learn machine code and am trying to get a developme…

    ... xor a
    ld (5C3Ch),a ;open screen for printing
    ;
    ld a,0
    loop inc a
    ld b,0 ;
    ld c,a ;load bc with a ... br />
    [CODE]
    ld a,2
    call 5633 ;as in Johnathan Cauldwell ...
    xyzzy xyzzy January 2010 Development
  • Anyone know where this is going wrong?I've written a simple routine to make a block drop from the top of the screen, but for some reason it wont 'cover its trail' so to speak. The block i…

    ... : LD A, (a2)
    LD (cor1), A
    LD A, (b1)
    LD (cor2), A
    LD A, 2
    CALL 5633 ...
    Dr BEEP Dr BEEP October 2012 Development
  • Help needed...I am at my wits end with this pigs ear of a routine, can anyone simplify it and make it work as it should? Basically it should make the characters '…

    ... /> [CODE]org 32768
    ld a,2
    call 5633 ;tell ROM we're ... in the upper screen
    ld a,21 ... /> ;
    xcor defb 0
    ycor defb 0
    string2 defb 'ABCD ...
    R-Tape R-Tape October 2012 Development
  • Troublesome routine, help needed!Having problems with this routine, it basically fires a rocket up the screen, but refuses to detect collisions. I'm using attribute blocks for detect…

    ...
    print ld a,2
    call 5633
    ld de,rktdat
    ld bc,33 ... ), A
    [B]LD A, (15)[/B]
    LD (bv1), A
    LD A, (av1)
    LD H, 0 ...
    LD L, A ...
    Jerri Jerri November 2013 Development
  • How to print logo onto screen at chosen coordinates?Hi, I've just got back into zx spectrum games after all these years and after seeing some of the great games on here I would like to start learning p…

    ... to data

    ld a,2
    call 5633 ;open channel to screen ... (top 22 lines)
    ; ld de ... /> udg
    DEFB 0,0,0,0,0,0,0,0 ;(032) - SPACE
    DEFB 0,48,48,48 ... ,48,0,48,48 ;(033 ...
    alienbanana alienbanana February 2014 Development
  • How to print logo onto screen at chosen coordinates?Hi, I've just got back into zx spectrum games after all these years and after seeing some of the great games on here I would like to start learning p…

    ... br /> printtext

    ld a,2
    call 5633 ;open channel to screen ...
    DEFB 0,0,0,0,0,0,0,0 ;(032) - SPACE
    DEFB 0,48,48,48 ... ,48,0,48,48 ;(033 ... ) - !
    DEFB 0,108,108,0,0,0,0,0 ;(034) - "

    alienbanana alienbanana February 2014 Development
  • How to print logo onto screen at chosen coordinates?Hi, I've just got back into zx spectrum games after all these years and after seeing some of the great games on here I would like to start learning p…

    ... ]
    printtext

    ld a,2
    call 5633 ;open channel to screen ... /> udg
    DEFB 0,0,0,0,0,0,0,0 ;(032) - SPACE
    DEFB 0,48,48,48 ... ,48 ;(033) - !
    DEFB 0,108,108,0,0,0,0,0 ;(034) - "

    etc ...
    Morkin Morkin February 2014 Development
  • How to print logo onto screen at chosen coordinates?Hi, I've just got back into zx spectrum games after all these years and after seeing some of the great games on here I would like to start learning p…

    ... ]
    printtext

    ld a,2
    call 5633 ;open channel to screen ... /> udg
    DEFB 0,0,0,0,0,0,0,0 ;(032) - SPACE
    DEFB 0,48,48,48 ... ,48 ;(033) - !
    DEFB 0,108,108,0,0,0,0,0 ;(034) - "

    etc ...
    rich_chandler rich_chandler February 2014 Development
  • Simple bit of machine code not working [SOLVED]ishHi all. It's late and I'm tired and I have no idea why the following piece of code wont display a little smiley face [code]ld hl,udg ld (236…

    ... of screen
    LD B,3
    LD C,0
    CALL CLSET ; $0DD9 ... ]ld a,2
    call 5633
    RES 0,(IY+$02)
    ld b,10
    ld ... c,10
    call ... 3545
    ld a,35 ...
    Tobo Tobo March 2016 Development
  • im having problems with zx spin. im getting invalid combination of opcodes and operands errorim trying to assemble this program: [code]org 40000 ld a,0 call 8859 ld (iy+83),7 ld a,2 call 5633 call 3435 ld a,2 call 5633 ld de,d…

    ... /> ld a,0
    call 8859
    ld (iy+83),7
    ld a,2
    call 5633
    call ... 3435

    ld a,2
    call 5633
    ld de ...
    rich_chandler rich_chandler June 2020 Assembler
  • Hep needed with a bit of code...I've written a bit of code to make a character move across the screen, but the counter stops at 29 when the 3 lines to delete the characters trail ar…

    ...
    space: ld a, 2
    call 5633
    ld bc, 10
    ld de, 63290 ...
    call 8252
    daveysludge daveysludge August 2012 Development
  • Anyone know where this is going wrong?I've written a simple routine to make a block drop from the top of the screen, but for some reason it wont 'cover its trail' so to speak. The block i…

    ... : LD A, 0
    LD (59997), A
    RET
    print1: LD A, (a1)
    LD (cor1), A
    LD A ... , (b1)
    LD (cor2), A
    LD A, 2
    CALL 5633 ...
    daveysludge daveysludge October 2012 Development
  • Help needed...I am at my wits end with this pigs ear of a routine, can anyone simplify it and make it work as it should? Basically it should make the characters '…

    ... : ld a,0
    ld (41999),a
    ret
    appo: call app8
    app: ld a,2 ...
    call 5633 ...
    ld ...
    daveysludge daveysludge October 2012 Development
  • Printing textThis is probably quite a basic question, or there might be something obvious I'm missing. I'm looking for an economical way of printing formatted te…

    ...
    [CODE]
    ld a,2
    call 5633 ; open print channel

    ld hl,text_to_print
    print_text
    ld a,(hl)
    or a
    ret z
    defb "LINE 7 TXT",0
    [/CODE]

    Morkin Morkin April 2013 Development
  • Troublesome routine, help needed!Having problems with this routine, it basically fires a rocket up the screen, but refuses to detect collisions. I'm using attribute blocks for detect…

    ...
    print ld a,2
    call 5633
    ld de,rktdat
    ld bc,33 ... /> LD (av1), A
    LD A, (15)
    LD (bv1), A
    LD A, (av1)
    LD H, 0
    LD ...
    daveysludge daveysludge November 2013 Development
  • Simple text scrolling routine...I'm having trouble writing a very simple text scroller, the idea is to use the ROM printer routine to print 32 characters each time the routine is ca…

    ... to do an AT 1,0 using RST 16 or whatever ... defb 0,0

    ld a,(counter)
    inc a ;increase
    ld (counter),a ;update ... /> ld a,2
    call 5633
    point ld de,dat
    ld bc,32
    call ...
    daveysludge daveysludge September 2014 Development
  • counting in assembleri have this program which cycles through the character set. how do i do this with numbers say 0 to 65535? org 40000 ld b,120 ld (23612),a L…

    ... 0 to 65535?

    org 40000
    ld b,120
    ld ... (23612),a
    LD A,2
    CALL 5633
    ld c ... ,33
    loop LD a,22 ...
    digital digital February 2019 Assembler
  • im having problems with zx spin. im getting invalid combination of opcodes and operands errorim trying to assemble this program: [code]org 40000 ld a,0 call 8859 ld (iy+83),7 ld a,2 call 5633 call 3435 ld a,2 call 5633 ld de,d…

    ... /> ld a,0
    call 8859
    ld (iy+83),7
    ld a,2
    call 5633
    call ... 3435

    ld a,2
    call 5633
    ld de ...
    digital digital June 2020 Assembler
  • how do i set this code up, so i can print more than one line of text?well i got it working but how do i set this code up, so i can print more than one line of text? with a loop or something? not sure where to start on …

    ... /> ld a,0
    call 8859
    ld (iy+83),7
    ld a,2
    call 5633
    call ... 3435

    ld a,2
    call 5633
    ld de ...
    digital digital June 2020 Assembler
  • IM2 Machine Code Sprites Example Code Using Char Based SystemFurther to my earlier post, here are sprites running using char method with IM2 driving it Note, for 48k spectrum using TASM [code] ; ***********…

    ... />
    Start:

    ld a,0
    call 8859 ; set permanent border colour ... :
    LD (IX+0),A ; Save new X Position

    call SprBlank ; Blank ...
    robpearmain robpearmain August 2004 Development
  • IM2 Machine Code Sprites Example Code Using Char Based SystemFurther to my earlier post, here are sprites running using char method with IM2 driving it Note, for 48k spectrum using TASM [code] ; ***********…

    ... />
    Start:

    ld a,0
    call 8859 ; set permanent border colour ... :
    LD A,0
    ADD A,(ix+7)
    ld (IX+3),A

    robpearmain robpearmain August 2004 Development
  • Changing the colour of the screenCan anyone tell me the ROM command to change the paper colour of the main screen ?

    ...

    ld a, 2
    call 5633
    call 3435
    ret

    ....< ... to output to upper screen,call CLS, ret.
    Steve(spt) Steve(spt) June 2005 Development
  • question about RST 10hhow do you set the position of the text when using 'RST 10h' to print to screen?

    ... ]
    LD A,2
    CALL 5633 ;set main screen as output
    LD a,22 ...
    RST 16
    LD a,10 ;x-coord ...
    RST 16
    LD a,20 ;y-coord
    RST ... 16
    LD a,65 ;character code to print ...
    Rickard Rickard May 2007 Development
  • Setting the border/paper/ink colours problem[deleted]

    ... :
    org 23760
    ld a,5
    call 8859
    ret
    org 23760
    ld a,2
    call 5633
    call 3435
    ret
    rich_chandler rich_chandler August 2011 Development
  • Increasing the number of UDGs...Hi Folks, I know by default the Spectrum can have 21 UDGs (48K) and 19 (128K) and that the address of the bit patterns is pointed to by the UDG syst…

    ... ;CLS
    ld a,$FE
    call $1601 ;CHAN_OPEN
    ld a,0
    call $0b03 ;PO_FETCH ...
    Battle Bunny Battle Bunny March 2012 Sinclair Basic
  • Hep needed with a bit of code...I've written a bit of code to make a character move across the screen, but the counter stops at 29 when the 3 lines to delete the characters trail ar…

    ...
    space: ld a, 2
    call 5633
    ld bc, 10
    ld de, 63290 ...
    call 8252
    daveysludge daveysludge August 2012 Development
  • Printing textThis is probably quite a basic question, or there might be something obvious I'm missing. I'm looking for an economical way of printing formatted te…

    ... /> ld a,2
    call 5633 ;open print channel
    ld bc,9
    ld de ... ,text_start
    call ...
    Battle Bunny Battle Bunny April 2013 Development
  • SE Basic IV Buffy v4.1 source (WIP)I've been doing a major refactor on the SE Basic source and I'd appreciate a code review from anyone who has time to look at it. I've almost certainl…

    ... /> call re_st_two ; both numbers to full floating point form
    xor a ; LD A, 0 ...
    call prep_m_or_d ; prepare first number ...
    chev chev October 2013 Development
<1234567…34>

Latest Posts

  • I am currently watching.....
    Paradigm Shifter on 12:49AM
  • New video about S-video modification on Issue two 48K Spectrum.
    Renegade on April 21
  • Fixed Speccy Software. And which games remained unfixed?
    John Elliott on April 21
  • Happy 40th Birthday to the Amstrad CPC464!
    rich_chandler on April 21
  • Another Birthday! The Game Boy Is 35!
    mel the bell on April 21
  • European Software Titles with an English version
    harriusherbartio on April 21
  • Elusive Strategy Games done by the Smaller or less Prolific Software Houses.
    harriusherbartio on April 21
  • 1992 Spectrum Software
    harriusherbartio on April 21
  • +3 Disk drive motor
    AndyC on April 21
  • Celebrity deaths...
    mel the bell on April 20

HitBox

Word Docs Hits
ld 6.3K 67.3K
a 589.5K 1.7M
0 940.2K 1M
call 14.3K 24.3K
5633 93 112

Related Threads

  • ANNOUNCE: Fuse 0.6.1, libspectrum 0.2.0, fuse-utils 0.6.1I'm pleased to announce the release of the Free Unix Spectrum Emulator (Fuse) 0.6.1, which is now available from its [url="http://www.srcf.ucam.org/~…
  • A Spectrum, a couple of felt tip pens and a lot of free time on Sunday afternoons...In my opinion the best part of having a Spectrum was drawing a game map of the latest Ultimate game in the back page of my geography text book thereb…
  • Fuse 0.5.1 and libspectrum 0.1.0 releasedVersion 0.5.1 of Fuse, the Free Unix Spectrum Emulator, is now available from its homepage, [url="http://www.srcf.ucam.org/~pak21/spectrum/fuse.html"…
  • ANNOUNCE: Fuse 0.6.1.1, libspectrum 0.2.0.1Hi all.<br /> <br /> The recently released Fuse 0.6.1 and libspectrum 0.2.0 contained a couple of moderately serious bugs:<br /> <br /> * The SVGAlib…
  • Release candidates for Fuse 0.7.0 and libspectrum 0.2.2Hi all.<br /> <br /> Release candidates for [url="http://fuse-emulator.sourceforge.net/fuse-0.7.0pre1.tar.gz"]Fuse 0.7.0[/url] (and [url="http://fuse…
  • (Belated) ANNOUNCE: Fuse 0.7.0 and libspectrum 0.2.2 releasedThe Fuse team is pleased to announce that release of Fuse 0.7.0, the associated utilities and version 0.2.2 of the Spectrum emulator support library,…
  • I NEED A HAND FINDING A 3D CHESS GAME......WITH A HAND IN ITOk.Firstly - It's not one of the chess games in the archive with the word chess in the title.<br /> ##(Although - The ChessMaster2000 LOOKS very fami…
  • HELP!!! i need help turning a .wav files into a .tzx. im a new beginnerhi there. i hope anyone doesnt think im thick or owt but im having trouble in find the right program or the know how to convert all my 8bit mono .wav…
  • Free to a good home - Anyone in South Wales want a pile of Spectrum Games and a +3?Bit of an emergency - I'm moving out in a hurry and I don't have time to sell these!<br /> <br /> Is there anyone in South Wales who wants a fairly b…
  • A clever method of using a single 8-bit register to be used for two things at a timeI don't know if this is the way the SAVE routine in the Spectrum works. Anyway, this is what I've learned today.<br /> <br /> I've been commented the…

Related Searches

  • r forum loading error 0 1
  • r tape loading error 0 1
  • speccy 4 0
  • ld a r
  • ld r a
  • ld a b xor c loop
  • ld a b or c loop
  • ld i a
  • ld a 3fh
  • ld a 5b5c
  • ld a r counter
  • ld a r rnd
  • ld a r bug
  • ld a ix
  • 01320 print at 0 paper 8 ink a message that is easy to read
  • ld bc 65533 a 254 out c
  • call 5633
  • cpi ld a b or c
  • ld ixl a
  • ld a 1 call 1601

Copyright © 2024 World of Spectrum