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.026s
<1…16171819202122…34>
  • Code to test if a rectangle is in a rectangle[SIZE=3][FONT=Calibri]I am looking to write some code that will check if a rectangular shape is outside or overlapping a second rectangle. If the sma…

    ... corner
    ;bc XY right down corner

    ;on exit ... - no collision

    ld hl,(rect2_xx)
    ;d b

    no_coll1
    ld hl,(rect2_yy)
    ;e c
    Jerri Jerri January 2014 Development
  • Help with File Compressor by Mladen PopovicHi, I'm trying to compress BombJack (MCM) and transfer it to a +3 disk (Yes I own the original game :) ). I'm unsure about the addresses to enter in…

    ... BASIC in memory, SP is down in TSTACK, so ignore that ... : di
    ld hl,$0000
    add hl,sp ;HL=stack pointer
    hl ;move (ERRSP)
    ld hl,$0000
    add hl,sp
    sbc hl ...
    Speccy_James Speccy_James January 2014 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 …

    ... /> ld a,170 ;
    ld hl,16384 ;start of display file ...
    lp: ld (hl),a ;put byte on screen ... /> inc h ;next line set down
    djnz lp
    ret ...
    R-Tape R-Tape January 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…

    ... ?

    then ld a,(hl) outputs the info at 23695 ... by CHARS, as referenced further down the listing, similarly for UDG ...
    Battle Bunny Battle Bunny February 2014 Development
  • IX register wonderings...***noob alert*** I'm doing a lot of these in my program: ld a,(ix+n) cp 0 jp z I know you can do things like this: dec (ix+n) but can you test …

    ... have proof they really slow down code.

    You can ... working registers
    2) using HL (or DE or BC) instead ... ]
    ld a, (hl) ;read dx
    inc hl
    add a ... , (hl) ;dx + x
    ld (hl), a ;store ...
    catmeows catmeows February 2014 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 …

    ...

    ld hl,$4730 ;initialise bomber at beginning ... bomberprint2
    inc h;down 1 line of screen display ... bomberprint2

    ld hl,$4711 ;initialise bomber at beginning ... bomberprint3

    ld hl,$4731 ;initialise bomber at beginning ...
    bigjon bigjon February 2014 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 …

    ... ;cls

    ld hl,bomberdata ;bomber graphic loc
    hl)
    ld (de),a
    inc d ;down ... a,(hl)
    ld (de),a
    inc d ;down ... a,(hl)
    ld (de),a
    inc d ;down ... a,(hl)
    ld (de),a
    inc d ;down ...
    Einar Saukas Einar Saukas February 2014 Development
  • Is ESXDOS flexible enough to incorporate e.g. Spectranet commands?I was just discussing the idea with someone about the wish some people have to be able to combine interfaces such as DivIDE (Plus) / DivMMC EnJOY! wi…

    ... />
    A = STDIO_MSG_EATC
    HL'= int (*qualify)(char c)
    DE'= optional
    HL = max_length = number of stream chars ... bytes consumed from stream
    HL = next unconsumed (unmatching) char ... without travelling up and down the i/o chain.< ...
    Alcoholics Anonymous Alcoholics Anonymous February 2014 Hardware
  • Is ESXDOS flexible enough to incorporate e.g. Spectranet commands?I was just discussing the idea with someone about the wish some people have to be able to combine interfaces such as DivIDE (Plus) / DivMMC EnJOY! wi…

    ... position

    cpi ; hl++, bc--

    ld ... ;
    ; set-up: hl = state machine function address

    ld hl,state_2 ; next time consume ... the vector. Further down the road I need ...
    Alcoholics Anonymous Alcoholics Anonymous February 2014 Hardware
  • Tile routinesHi all, Please does anyone have any examples of tile routines in pure asm to set up maptile screens. I would like to try and understand them and ti…

    ... y)
    call get_screen_location ; HL now contains screen position to ... /> ld (hl),a ; put on screen
    inc h ; down 1 pixel ... z,next_line ; if so, move down to next row
    < ... ld (tile_y),a ; next line down stored
    jr check_tile
    Morkin Morkin February 2014 Development
  • treasure found !Hi everyone- just had a clearout of my loft and found a treasure trove of Spectrum goodies !:-D 3 x zx Spectrum +2 128k & almost a thousand games ! …

    ... MS"][COLOR="Sienna"]Keyboardking beaten down by Mr Fog [/COLOR][/FONT ... =cz.dejvice.rc.Marvin&hl=en_GB[/url]

    you ...
    fog fog February 2014 Sales
  • Tile routinesHi all, Please does anyone have any examples of tile routines in pure asm to set up maptile screens. I would like to try and understand them and ti…

    ... y)
    call get_screen_location ; HL now contains screen position to ... /> ld (hl),a ; put on screen
    inc h ; down 1 pixel ... z,next_line ; if so, move down to next row
    < ... ld (tile_y),a ; next line down stored
    jr check_tile
    alienbanana alienbanana March 2014 Development
  • Tile routinesHi all, Please does anyone have any examples of tile routines in pure asm to set up maptile screens. I would like to try and understand them and ti…

    ... hl),a ; put on screen
    inc h
    inc de ; down ... ; if so, move down to next row
    ... (tile_y),a ; next line down stored
    jr check_tile< ... bc,767
    ld (hl),a
    ldir
    ...
    alienbanana alienbanana March 2014 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 …

    ... /> LD DE,SpriteCol
    LD HL,22528 ; (22528-23295)
    ... ; read byte
    LD (HL),A ; poke byte
    INC ... DE ; inc
    INC HL ; inc
    LD A,(DE ...

    ADD HL,BC ; move down 1 line and restart ...
    MatGubbins MatGubbins March 2014 Development
  • Tile routinesHi all, Please does anyone have any examples of tile routines in pure asm to set up maptile screens. I would like to try and understand them and ti…

    ... )
    call get_screen_location ; HL now contains screen position to ... hl),a ; put on screen
    inc h
    inc de ; down ... ,next_line ; if so, move down to next row
    < ... ld (tile_y),a ; next line down stored
    jr check_tile
    alienbanana alienbanana March 2014 Development
  • Tile routinesHi all, Please does anyone have any examples of tile routines in pure asm to set up maptile screens. I would like to try and understand them and ti…

    ... hl),a ; put on screen
    inc h
    inc de ; down ... call get_screen_location ; returns HL containing attribute co-ordinates ... ; if so, move down to next row
    ... (tile_y),a ; next line down stored
    jr check_tile< ...
    alienbanana alienbanana March 2014 Development
  • Tile routinesHi all, Please does anyone have any examples of tile routines in pure asm to set up maptile screens. I would like to try and understand them and ti…

    ... (hl),a ; put on screen
    inc h
    inc de ; down ... z,next_line ; if so, move down to next row

    ld (tile_y),a ; next line down stored
    jr check_tile
    Also, notice the PUSH HL and POP HL. This saves the screen ...
    polomint polomint March 2014 Development
  • Tile routinesHi all, Please does anyone have any examples of tile routines in pure asm to set up maptile screens. I would like to try and understand them and ti…

    ... z,next_line ; if so, move down to next row

    ld (tile_y),a ; next line down stored
    jr check_tile
    ld a,(de)
    ld (hl),a
    inc h
    ld a,(de)
    ld (hl),a ; print the colour
    Morkin Morkin March 2014 Development
  • Tile routinesHi all, Please does anyone have any examples of tile routines in pure asm to set up maptile screens. I would like to try and understand them and ti…

    ... z,next_line ; if so, move down to next row

    ld (tile_y),a ; next line down stored
    jr check_tile
    ld a,(de)
    ld (hl),a
    inc h
    ld a,(de)
    ld (hl),a ; print the colour
    alienbanana alienbanana March 2014 Development
  • Routine for handling large scores?[FONT=Calibri][SIZE=3]I want to store various numbers for scores and levels etc. Some of these can be very large so will need to be held in multiple …

    ... also need numbers that count down in ones. I have a ... 0
    add a, (hl)
    ld (hl), a
    cp 10 ... DoDecTen
    ld (hl), a
    dec hl
    ld a, b ...
    Mr Millside Mr Millside March 2014 Development
  • Routine for handling large scores?[FONT=Calibri][SIZE=3]I want to store various numbers for scores and levels etc. Some of these can be very large so will need to be held in multiple …

    ... need numbers that count down in ones. I have ... [CODE]
    dec_timer:
    ld hl,time

    next_digit: ...
    dec (hl)
    ld a,$2f ; '0 ... '-1
    cp (hl)
    ret nz ; not ... br /> ld (hl),'9'
    inc hl
    jr ...
    Jon Needle Jon Needle March 2014 Development
  • Routine for handling large scores?[FONT=Calibri][SIZE=3]I want to store various numbers for scores and levels etc. Some of these can be very large so will need to be held in multiple …

    ... ; increment the score.
    ld hl,score+4 ; point to tens ... 10 ; subtract 10.
    ld (hl),a ; put new character back ... .
    sub 10 ; down by ten.
    ld (hl),a ; put it ...
    R-Tape R-Tape March 2014 Development
  • How did you learn to code on the Spectrum?Got to be honest, as much as I wish I did, I don't know anything about programming. I had a Spectrum (+2 and then +2B) when I was a kid, and my prog…

    ... I'd be doing LD HL,#4000 because that makes more ... though, there my brain breaks down often. :/
    RobeeeJay RobeeeJay March 2014 Development
  • New game: Flappy Bird ZXAt last I finished it :) [B]Flappy Bird ZX[/B] [IMG]http://i62.tinypic.com/2f0517q.png[/IMG] The download: [url]http://www.sendspace.com/file/odftv…

    ...
    REPT 8
    LD (HL),C
    INC H
    LD A,L ;one char down
    ADD A,32
    Ralf Ralf April 2014 Brand new software
  • FUSE serial communication sample anyone?Hi, in [URL="http://manpages.ubuntu.com/manpages/precise/man1/fuse.1.html"]FUSE man pages[/URL] one finds switches for serial comms. By using --inte…

    ... if we're to go down that path. :-)[/QUOTE]

    .db 0x1d
    ld hl,#ERR_NO_DATA /* assume error */
    ret ...
    tstih tstih April 2014 Development
  • byte to screen eventI have another question regarding assembly routine in MMCOYZXS by Toni Baker page's 87-88 [QUOTE]21A440 LD HL,40A4 11083F LD DE,3F08 0608 LD B,08…

    ... would be exactly as the 'HL' registers that indirectly address the ... table.
    [/QUOTE]

    HL points to the screen address ... H is the same as HL = HL+256 . In this case it ... move to the next line down.

    Here in the ...
    seedy1812 seedy1812 April 2014 Sinclair Miscellaneous
  • bytes bits balonyNever mind

    ... addresses HL, HL + 0020, HL +
    0040, HL + 0060, HL + 0080, HL + 00A0, HL + 00C0 and HL + 00E0 ... simpler. Going one pixel row down would always mean adding 32 ...
    Ralf Ralf April 2014 Sinclair Miscellaneous
  • SBC or ADDIs this dangerous/bad practice thing to do..... I want to subtract 64 from a number, but to save a few bytes can I just add (65536-64) 65472 to the…

    ... a list of 64x DEC HL (yup) just to make ...
    Removing the DEC HL list and adding the CCF ... part of the code. Down doesn't need it.
    HL gives the same result and ... as both UP and DOWN can then use the ... set BC,64 for down and BC,65472 for up ...
    MatGubbins MatGubbins April 2014 Development
  • Spectrum screen layoutSeeing the thread on displacement I was wondering why the spectrum had the stupid screen split into three sections and the addresses for each section…

    ... /> You can go one line down by [B]INC H[/B ... 'd really prefer [B]ADD HL,DE[/B] in any case ...
    Ralf Ralf May 2014 Sinclair Miscellaneous
  • New Game: Sun Bucket[IMG]http://i1142.photobucket.com/albums/n608/daveyboyhughes/loader_zpsbc757e08.gif[/IMG] [IMG]http://i1142.photobucket.com/albums/n608/daveyboyhugh…

    ... smaller end of interrupt moves down from 64992 (as in original ... .

    [CODE]
    ld hl,hack_int ;miss out the JP ... .

    [CODE]
    ld hl,hack_int ;miss out the JP ...
    DenisGrachev DenisGrachev May 2014 Brand new software
<1…16171819202122…34>

Latest Posts

  • European Software Titles with an English version
    harriusherbartio on 12:06PM
  • How Do You Categorize Your Speccy Software and Games?
    harriusherbartio on 11:21AM
  • Fixed Speccy Software. And which games remained unfixed?
    harriusherbartio on 11:01AM
  • I am currently watching.....
    Paradigm Shifter on 12:49AM
  • New video about S-video modification on Issue two 48K Spectrum.
    Renegade 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
  • 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

HitBox

Word Docs Hits
down 43K 50.8K
hl 6.2K 48K

Related Threads

  • ftp.worldofspectrum.org down?I seem to be unable to connect to ftp.worldofspectrum.org or any of the mirrors.<br /> <br /> All I get is:<br /> <br /> H:\&gt;ftp ftp.worldofspectr…
  • Ramsoft Site DownPerhaps there finally putting the last version of Real Spectrum onto the site!<br /> <br /> Or better still Realx!!
  • WoS slowing down - again?Is this site slowing down again, or is it just me? Pages are taking a while to appear...
  • RZX Archive downFor the last couple of days, the RZX Archive site has been down. It's hosted on my home PC, and I'm experiencing difficulties, which may be HD releat…
  • red and green lines down pictureThese lines are usually hardly noticable, when playing games etc. but when I loaded a screenshot last night into my +3 the tv picture was vividly mar…
  • Trying to track down Speccy game authors for RGHi,<br /> <br /> I hope some of you read and enjoyed my Konix feature (and video) in Retro Gamer issue 8!<br /> <br /> For my next few articles, I'm …
  • Slowing down the emulationHi!<br /> I'm looking for a speccy emulator that lets me slow down (not speed up!) the emulation. I know good old X128 can do this, but does anyone k…
  • RZX Archive down :-(The joys of home-hosting :p<br /> <br /> A fault occurred with my BT phone line yesterday. The engineers are 'looking at it', it may take a day or 2 …
  • NickH/YSRnRY Bit Torrent server going down on SundayDue to my Win98SE attracting the wrong kind of spyware, I'm having to do a complete reinstall of my main machine (bye-bye Windows...), and thought I …

Related Searches

  • ld hl de
  • scroll down
  • scroll screen down
  • return to basic hl
  • pentagram up down left right
  • character scroll down
  • scroll screen down one line
  • scroll screen down one characte
  • scroll screen down one character
  • 2 pixel scroll down
  • scroll attributes down
  • call hl
  • in 31 up down left right
  • key down
  • plot down screen
  • up down keys not working
  • slt format hl
  • 16 bit hl load
  • dizzy down the rapids
  • move hl down one character line

Copyright © 2024 World of Spectrum