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.104s
<1…78910111213…34>
  • Who knows how to program a "pathfinder"?Hi all. I like to play games like "Colour Lines" and I think, I will create a version of this game for the SAM Coupe. It looks easy - until this "dam…

    ... hl),a
    jr z,next
    ld a,255
    ld (hl),a ... noempt
    ld a,l
    add a,16
    ld ... l,a
    call check ... br />
    check ld a,(hl) ; fetch value near field< ... blocked field
    ld (hl),a ; path+1
    ...
    Dr BEEP Dr BEEP January 2007 Development
  • Fixing Attribute Clash via emulationI'm sorry if this has been posted already, but is there a possibility to fix attribute clash via emulation? I'm not talking about RealSpec or any of …

    ... colour.
    again: inc a ; Increment to next colour.
    Add white paper colour.
    ld hl, 22528 ; Start ... attributes.
    nextch: ld (hl), a ; Store this colour.
    ... inc hl ; Next attribute.
    ...
    Matt_B Matt_B February 2007 Emulators
  • Game Programming Source Code & Startup HelpHi there, I'm planning on porting an existing commercial title to the speccy. I'm in the process of disassembling the original code and commenting i…

    ... learning process anyway). As a reference you might also ... /> [code]
    ; in HL is VRAM address
    ; ... /> OR B
    LD (HL),A
    INC L
    ... ... LD SP,HL ; HL holds address of background graphics
    ADD HL,BC ; ... INC H
    LD A,H
    AND 7< ...
    omega omega May 2007 Development
  • Project: M.u.l.e.Wokani came up with a great idea about trying an open-development approach for spectrum games, and I thought why not try with a game I have under dev…

    ... 't normally use. A switch to globals would ... cycles. This subroutine is a good candidate for hand-optimizing ... little savings that add up in a large program. Anyway ... (adriaan's rl(hl)/dec hl unrolled is probably close ... any takers I'll add this to the project, ...
    Alcoholics Anonymous Alcoholics Anonymous July 2007 Development
  • Game ideaThinking of a game that could enter the Minigame compo I came to the following idea for a game, although it might not fit 1K or 4K: A mazed snake ga…

    ...

    Anyone willing to add his own defined level???
    xor a
    ld hl,23560 ; LASTKEY
    ld (hl),a ; set impossible ... value
    nokey or (hl ...
    Dr BEEP Dr BEEP July 2007 Games
  • Getting Lifeguard to workI'm struggling with this Muliface utility to find infinite lives cheats. I can get the program to load up, and when I load a game and press the red b…

    ... follows:

    DEC (HL)
    LD A,(HL)
    CP 2F
    HL) then Escape to return to ... W box and clicked Add to set a breakpoint whenever $95EB is ... :

    LD HL,95EB
    LD (HL),39

    So ...
    StuBruise StuBruise September 2007 Sinclair Miscellaneous
  • Compressors are available for Speccys ?Hi folks, although I was an wasn't strictly a speccy coder in the glory days (amstrad & amiga for the most part), I have secides to arse about with …

    ...
    ld a,(hl)
    add hl,bc
    ld (hl),a
    inc hl
    ex ... de,hl
    jr ...
    ld a,(hl)
    add hl,bc
    ld (hl),a
    inc hl
    ex ...
    Metalbrain Metalbrain October 2007 Development
  • Vector drawing routines.Anybody could point me to some sort of vector drawing package of routines, callable from BASIC? With "vector drawing" I mean to draw 2D pictures with…

    ... left
    ld a,b ; within byte
    add a,a
    or c ...
    or b ; a = incoming pixels ... change

    or (hl)
    ld (hl),a ; fill byte on screen ...
    Alcoholics Anonymous Alcoholics Anonymous October 2007 Development
  • Compressors are available for Speccys ?Hi folks, although I was an wasn't strictly a speccy coder in the glory days (amstrad & amiga for the most part), I have secides to arse about with …

    ...
    ld a,(hl)
    add hl,bc
    ld (hl),a
    inc hl
    ex ... de,hl
    jp ... /> add a,a
    ld ixl,a
    ret nz
    ld a,(hl)
    inc hl ...
    Metalbrain Metalbrain November 2007 Development
  • help sought with first foray into machine code - pixel scrolldownI have started to code my first machine code program, a simple roadrace game. I've based it around the pixel scrolldown routine in 40 Best Machine Co…

    ... ;graphic for roadside
    ld (hl),a ;print road left side
    printroad
    ld (hl),a ;print left side on line1 ... to next line through a char
    add hl, de ;goto next line ... through a char boundary
    ...
    bigjon bigjon February 2008 Development
  • Changing the way SCREEN$ is loadedThe way the speccy loads in a SCREEN$ is interesting - top two-thirds first, then middle and finally the bottom, which is due to the way the speccy d…

    ... ; mask
    ld (hl), a ; poke colour
    inc hl ; next attribute
    drawline: ld a, 0 ; a = screen poke byte
    ld (hl), a ; poke to ... address
    add a, 32 ; add 32
    ld (screenaddress+1), a ; poke result ...
    FrankT FrankT October 2008 Sinclair Miscellaneous
  • A scrolling starfield - help needed!I have been messing on my speccy again recently and tried to do a scrolling (parallax - maybe) starfield. I know how to scroll using machine code but…

    ... 3 most lsb
    ADD A,A
    ADD A,A ;multiply result by 4 ... L,A ; add the x-coordinate to the low byte of hl ... HL,STARDATA
    LD B,0
    LD C,A

    ADD HL ... ,BC ; add ofset 0-7 ...
    Digital Prawn Digital Prawn December 2008 Development
  • A scrolling starfield - help needed!I have been messing on my speccy again recently and tried to do a scrolling (parallax - maybe) starfield. I know how to scroll using machine code but…

    ... 3 most lsb
    ADD A,A
    ADD A,A ;multiply result by 4 ... L,A ; add the x-coordinate to the low byte of hl ... HL,STARDATA
    LD B,0
    LD C,A

    ADD HL ... ,BC ; add ofset 0-7 ...
    Digital Prawn Digital Prawn December 2008 Development
  • A scrolling starfield - help needed!I have been messing on my speccy again recently and tried to do a scrolling (parallax - maybe) starfield. I know how to scroll using machine code but…

    ... 3 most lsb
    ADD A,A
    ADD A,A ;multiply result by 4 ... L,A ; add the x-coordinate to the low byte of hl ... HL,STARDATA
    LD B,0
    LD C,A

    ADD HL ... ,BC ; add ofset 0-7 ...
    Digital Prawn Digital Prawn December 2008 Development
  • A scrolling starfield - help needed!I have been messing on my speccy again recently and tried to do a scrolling (parallax - maybe) starfield. I know how to scroll using machine code but…

    ... 3 most lsb
    ADD A,A
    ADD A,A ;multiply result by 4 ... L,A ; add the x-coordinate to the low byte of hl ... HL,STARDATA
    LD B,0
    LD C,A

    ADD HL ... ,BC ; add ofset 0-7 ...
    Digital Prawn Digital Prawn December 2008 Development
  • A scrolling starfield - help needed!I have been messing on my speccy again recently and tried to do a scrolling (parallax - maybe) starfield. I know how to scroll using machine code but…

    ... /> LD D,A

    LD HL,STARPOS_X
    ADD HL,BC
    LD ... (HL),A
    YCOORD_INRANGE_D
    LD D,A

    LD HL,STARPOS_X
    ADD HL ...
    LD C,A

    ADD HL,BC ; add ofset 0-7 to ...
    Digital Prawn Digital Prawn December 2008 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…

    ... ,(HL)
    ADD A,55-24
    LD L,A
    LD C,(HL)
    ADD A ... /> LD L,A
    LD A,B
    ADD A,C
    LD (HL),A
    Shadow Maker Shadow Maker January 2009 Development
  • Jetpac questionHi all, I just bought a copy of Jetpac off of Ebay and I'm having problems. To start, I'm trying to play it on an issue 2 Speccy with Interface 1, 2 …

    ... HL ;Increment string pointer
    DEC C ;Decrement charcater
    ADD A,A ;Shift A ... ATTRIBUTE file
    ADD HL,BC

    LD A,(QP_ATTR) ; Gett attribute ... ,A ;B=D AND $18

    LD HL,$4000
    ADD HL,BC ;HL ...
    Digital Prawn Digital Prawn January 2009 Games
  • Speech reproduction on the Speccy - 2009 style?Thanks to Chapter 33 of [url="http://www.worldofspectrum.org/infoseekid.cgi?id=2000388"]Super Charge Your Spectrum[/url] by David Webb - "Speech Repr…

    ... A,(DE) ;(TADPCM+..)
    ADD A,A
    ADD A,A
    LD HX,A ;delta
    LD (HL),A ... H
    ADD A,'TABMID
    LD (HL),A
    POP HL
    INC L ...
    Shiru Shiru January 2009 Development
  • New for 2009 - mc onelinersI found the limit of one line and one screen's worth of program really useful in (re-)learning BASIC, so I've decided to carry the format over into m…

    ...
    add hl,de
    ld (hl),a
    inc hl
    ld (hl),a
    ld ...
    add hl,de
    ld (hl),a
    inc hl
    ld (hl),a
    ;random ... /> add hl,de
    ld (hl),a
    inc hl
    ld (hl),a
    inc bc ;
    bigjon bigjon January 2009 Development
  • Rainbow Generator for 48K Spectrum using PUSHThis is what I came up with from [B]gasman[/B]'s suggestions. It's stable in ZXSpin and ZX32 simulating a 48K Speccy. Anyone like to try it on the …

    ... , a ; low byte to l

    add hl, hl ; x2
    add hl, hl ; x4
    add hl, hl ... /> add hl, hl ; x16
    add hl, hl ; x32
    add hl, hl ; x64
    add hl, hl ; x128
    …
    chev chev May 2009 Development
  • Z80 compressorIs there one available? Is it any good? Peeps have been suggesting we should look into this, so here's a new thread! I'd do the compressor on the …

    ... hl
    ld a,(hl)
    inc hl
    ld h,(hl)
    ld l,a ; hl ... /> ld b,0
    add hl,bc
    add hl,bc ; hl = &encoder[c ...
    Alcoholics Anonymous Alcoholics Anonymous February 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 …

    ... or the contents of HL.

    A great time saver![/QUOTE ... A,(PORT)
    LD A,(PORT)
    CPL
    AND %1111
    ADD A ... ,C
    LD C,A
    LD (KEYPRESS),A
    LD A,$30 ...
    frobush frobush March 2010 Development
  • Hi Res Print Routine neededHas anyone seen code for a print routine with pixel accuracy? That is print(y,x,CHAR) that allows 0 < y < 192 and 0 < x < 255 - that takes a charact…

    ...
    ; ld l,a
    ; add hl,hl
    ; add hl,hl
    ; add hl,hl
    ; add hl,de
    ; call ... /> and d
    or (hl)
    ld (hl),a
    ;Similar to the ... ,a
    ld a,c
    srl a
    srl a
    srl a
    Turkwel Turkwel June 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…

    ... /> ld h,a
    ld b,#00
    add hl,bc
    ret ... ,a
    add hl,hl
    add hl,hl
    add hl,hl
    ld bc,15360 ;ROM font
    add hl ... ,bc
    ex de,hl
    dup 8
    ld a,(de ...
    Shiru Shiru June 2010 Sinclair Basic
  • How to insert special characters in Basic and ASM ?Look the next picture. [IMG]http://img25.imageshack.us/img25/9479/scode.jpg[/IMG] I dont know how to insert these black and diagonal characters. No…

    Well, you can add 'cpl' before and after ld (hl),a in the old code to invert the character. You can use address+7 as start and dec hl instead of inc hl to flip the character vertically.
    Shiru Shiru June 2010 Sinclair Basic
<1…78910111213…34>

Latest Posts

  • Where to Buy the New or Fairly Recent , Excellent ZX Spectrum Games Software?
    harriusherbartio on 11:40AM
  • i am currently listening to........
    mel the bell on 11:34AM
  • Mis-labeled cassette titles or a name change?
    harriusherbartio on 11:06AM
  • Ways to preserve Speccy Tapes in the loft
    harriusherbartio on 10:58AM
  • Fixed Speccy Software. And which games remained unfixed?
    harriusherbartio on 10:47AM
  • Minor British Sports that did become games on the ZX Spectrum
    harriusherbartio on 10:30AM
  • How to return to basic properly from ASM
    Paradigm Shifter on 1:54AM
  • Frankie's ZX Spectrum Digouts
    Zup on April 8
  • Elusive Strategy Games done by the Smaller or less Prolific Software Houses.
    harriusherbartio on April 8
  • 1992 Spectrum Software
    harriusherbartio on April 7

HitBox

Word Docs Hits
add 20.8K 30K
adc 362 761
hl 6.2K 48K
a 589.5K 1.7M

Related Threads

  • 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…
  • 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…
  • Add quite a lot of items to my site and a Make an Offer Button.Hi everyone, I asked for some feedback on my site a month or so ago ([URL="http://www.worldofspectrum.org/forums/showthread.php?t=33521"]link[/URL]).…
  • Take a game - add a letterBecause all good threads deserve a sequel. Same as before but adding a letter so:<br /> <br /> Beach Head becomes Bleach Head, the adventures of a bl…
  • Sinclair QL: I'm searching for a Gold Card (or better a Super Gold Card) and a Super HermesIf someone here want to sell his Super Gold Card and Super Hemes I'm a big collector of QL stuff and I will pay very very well.<br /> <br /> Very tha…
  • Trying to find a magazine entry for a program I wrote as a child!Hi, <br /> <br /> Back when I was a child I wrote a program called "milkround" that we published in either your spectrum, your sinclair or sinclai…
  • im looking for a basic routine that adds a numerical character to a stringim looking for a basic routine that adds a numerical character to a string. so a=1, "1", then a=0 "10", then a=1 "101......" and so on

Related Searches

  • print a char in asm
  • divmmc 3 a
  • testing a microdrive
  • create a batch file screen
  • change a letter
  • ld hl de
  • is there a system test for the spectrum
  • is there a system test tape for the spectrum
  • how to do a tzx file
  • how to create a tzx file
  • how to make a tzx file
  • add music a g d
  • add ay music to a game
  • add a letter
  • how do i comment add a post
  • how do you add a post
  • how do i add code to a game
  • add hl a
  • how do i add a game
  • add hl

Copyright © 2024 World of Spectrum