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.181s
<1…28293031323334>
  • Fast and easy read/write of attributes?What are the fastest or easiest ways to check the attributes of tiles on the screen, in BASIC? It seems to be a great way of storing object info. …

    ...
    ld a, (attr)
    ld (hl), a
    ei< ... for high byte.
    add a,88 ; 88*256=22528, ... /> add a,l ; add to low byte.
    ld l,a ; hl=address ... of attributes.
    ld a,(hl) ; return attribute in a ...
    polomint polomint June 2014 Sinclair Basic
  • Help needed with calculating screen addressesCan anyone help me finally crack Jonathan Cauldwell's screen addressing calculator and, more to the point, is the reason I'm struggling because this …

    ... = B * 2
    ADD HL,DE ; HL = table row address
    LD E,A
    ADD HL,DE ; HL = screen pixel ... byte address
    LD A,C ...
    dbolli dbolli June 2014 Development
  • So shooting 360 degrees?...[I]How do I go about having - for example - a cannon in the middle of the screen, that can shoot in any direction towards the player?[/I] Well, I do…

    ... about having - for example - a cannon in the middle of ...
    I can think of a couple of ways of doing ... cos, but that seems a biiit long-winded and overkill ... m kinda hoping someone has a more fast and efficient ... br /> ;x=x+dx
    add hl, de
    ; where H, ...
    catmeows catmeows June 2014 Development
  • Help needed with calculating screen addressesCan anyone help me finally crack Jonathan Cauldwell's screen addressing calculator and, more to the point, is the reason I'm struggling because this …

    ... ,$00
    LD L,A
    ADD HL,DE ; HL = screen pixel byte address ...
    LD A,C
    AND ...
    Einar Saukas Einar Saukas June 2014 Development
  • 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…

    ... /> ;; buffer to hl
    ld iy,#0x0000
    add iy,sp
    a,(c)
    in a,(c)
    ;; FUSE HACK END

    ;; add ... ; 4 t-states
    ld (hl),a ; write to buffer | 7 t ... -states
    inc hl ; increase buff. counter | 6 t ...
    tstih tstih June 2014 Development
  • Drawing a dotted line...Hi Folks, I cannot be the first person to want this (?) so here goes! Does anyone have a MC routine that does the same as the BASIC DRAW command bu…

    ... bc,10
    add hl,bc
    ld (23653),hl ;restore the calculator ... /> L_24DF: LD HL, ($5C7D)
    LD A, B
    ADD A, H
    LD ...
    Battle Bunny Battle Bunny July 2014 Sinclair Basic
  • 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…

    ... /> ld hl,#0x0000
    add hl,sp
    inc hl
    inc hl ; hl points to ... /> cpl ; prepare result in a
    ld (hl),a ; write to buffer
    inc hl ; increase buff. counter
    tstih tstih July 2014 Development
  • Change PAPER and BORDER colours from machine codeHow do you go about changing PAPER and BORDER colours from machine code? I've forgotten the system variables for border and paper.

    ... H to 0, and do ADD HL,HL three times - that multiplies ... result as a 16-bit number in HL. Then put ... This copies a byte from (HL) to (DE), increments HL and DE, ... in screen memory, within a character space, each byte ... is LD A,(HL) then LD (DE),A then INC HL then ...
    joefish joefish July 2014 Development
  • Block RoutineHi Folks, I want to draw a block on the screen dependent on providing the X,Y,W,H values. I came up with the following: [CODE]100 LET l$=" …

    ... ,(HL)
    LD (63092),DE
    ADD HL,BC
    LD D,(HL)
    ADD HL ... ,BC
    LD E,(HL)
    POP HL
    POP BC
    LD A,32
    ADD A,L
    Paddy Coleman Paddy Coleman July 2014 Sinclair Basic
  • Block RoutineHi Folks, I want to draw a block on the screen dependent on providing the X,Y,W,H values. I came up with the following: [CODE]100 LET l$=" …

    ... ;unnecessary

    add hl,bc
    ld a,(hl)
    ex af,af ... :
    ld (hl),a
    inc hl
    djnz colloop
    add hl,de ;skip ...
    Battle Bunny Battle Bunny July 2014 Sinclair Basic
  • Block RoutineHi Folks, I want to draw a block on the screen dependent on providing the X,Y,W,H values. I came up with the following: [CODE]100 LET l$=" …

    Here's a much neater version of my ... , as it was only doing a check on y, whereas all ... b(x,y,w,h,a)=USR 63000
    110 INPUT ... ,"Width=";w:
    INPUT "Attribute=";a
    120 LET y=INT ... : LET w=INT w: LET a=INT a
    130 LET y ... h31) OR w=0 AND a
    Battle Bunny Battle Bunny July 2014 Sinclair Basic
  • ccZ80++Here is the url for a new compiler pour all computers with Z80: [url]http://ccz80pp.webcindario.com[/url] It's a beta version, but it's works. If y…

    ... hl,3
    add hl,sp
    ld c,(hl)
    INC HL
    INC HL ... />
    LD HL,16384
    LD A,B
    ADD A,L
    LD ... L,A


    LD A,(DE)

    LD (HL),A
    LD A,(DE)

    LD (HL),A

    INC ...
    slenkar slenkar July 2014 Development
  • Problem Reading the KeyboardHi Folks, I'm working my way through Toni Baker's rather good book and thought I'd write some code to scan the keyboard and store the results so tha…

    ... /> ADD HL, BC ; "
    DEC HL ; "
    LD A, (HL) ; "
    POP HL ; "
    IN A, (0xFE ...
    Battle Bunny Battle Bunny July 2014 Development
  • Problem Reading the KeyboardHi Folks, I'm working my way through Toni Baker's rather good book and thought I'd write some code to scan the keyboard and store the results so tha…

    ... the keyboard segments
    LD HL,_currentKeyStates ;Where to store the ...
    KrazyKattapilla KrazyKattapilla July 2014 Development
  • Why no PLOT, etc. on bottom two lines?I was pondering if there was any way to get PLOT, etc. to address the full screen from BASIC without having to write a few lines of assembler to bypa…

    ... that the
    IsNeg: add a,175 ;ADD will calculate -16:+175 ... br /> ld h,a

    ld a,(23677) ;A =x
    ... djnz MoveBit
    or (hl)
    ld (hl),a

    pop bc ...
    Battle Bunny Battle Bunny August 2014 Sinclair Basic
  • Why no PLOT, etc. on bottom two lines?I was pondering if there was any way to get PLOT, etc. to address the full screen from BASIC without having to write a few lines of assembler to bypa…

    ... that the
    IsNeg: add a,175 ;ADD will calculate -16:+175 as ... 0:+191

    ld a ... /> djnz MoveBit
    or (hl)
    ld (hl),a

    pop bc ...
    Battle Bunny Battle Bunny August 2014 Sinclair Basic
  • ZX-Assembler file handling concept[QUOTE=clausjahn;777075]Dear readers, At this time, it's a good time to ask you, the future users, how to implement the file usage. Let's suggest so…

    ... /> Cycle ld a,(ix)
    or a
    ret ... z
    ld b,a
    call CallR
    ... br /> ld hl,RoutStart
    add hl,bc
    push hl
    ...
    Shadow Maker Shadow Maker September 2014 Emulators
  • ZX-Assembler file handling concept[QUOTE=clausjahn;777075]Dear readers, At this time, it's a good time to ask you, the future users, how to implement the file usage. Let's suggest so…

    ... ,0
    ld hl,RoutStart
    add hl,bc
    push hl
    ret ... /> add hl,hl
    add hl,de

    ld a,(hl)
    inc hl
    ld h,(hl ...
    Alcoholics Anonymous Alcoholics Anonymous September 2014 Emulators
  • llvm-z80 statusFew months ago I read about efforts to produce llvm back-end for the Z80 (even perhaps as part of new z88dk). Any update on that? I found [URL="htt…

    ... , a
    ld hl, a
    inc hl
    ld d, (hl)
    ld a, (a)
    a
    ld h, b
    ld l, c
    add hl, de ... /> ld hl,(_b)
    add hl,de
    ld (_c),hl
    ld hl,0 ...
    Alcoholics Anonymous Alcoholics Anonymous September 2014 Development
  • Game of Life.Last year (I think) or maybe the year before, I entered a Game of Life simulator into the CSS CGC compo but for the Sinclair ZX81. I decided to port…

    ... ld bc,41
    add hl,bc ;skip over header, ... />
    ld a," "
    ld hl,0
    ld ... br /> adc hl,bc

    ld a,3
    CountC: ld a,2 ;if live count ...
    Battle Bunny Battle Bunny September 2014 Sinclair Basic
  • Issue 6 repair with a twist...(Starting with a slight grump - the forum ate my first attempt at this so this'll probably end up being a bit terse :)) I got a Issue 6 48K machine …

    ...
    add hl, bc

    .marchtest3.loop

    ld a, (hl)

    xor a
    ld (hl), a
    dec hl
    dec bc ...
    add hl, bc

    .marchtest4.loop

    ld a, (hl)
    balford balford September 2014 Hardware
  • 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…

    ... a,h,0; calculate adress ROM font

    add hl,hl ... ;ascii*8
    add hl,hl
    add hl,hl
    ld bc ... ,$3C00;ROM font
    add hl, ... bc
    ex de,hl

    g0blinish g0blinish October 2014 Development
  • Game of Life.Last year (I think) or maybe the year before, I entered a Game of Life simulator into the CSS CGC compo but for the Sinclair ZX81. I decided to port…

    ... a routine by Jon Ritman
    LD D,L
    ADD HL,HL
    ADD HL,HL ...
    add a,10 ;" "+10="*"
    LoadP: ld (hl),a
    inc hl
    dec ...
    Battle Bunny Battle Bunny October 2014 Sinclair Basic
  • Creating a linked list in Z80[FONT=Calibri][SIZE=3]I am using a circular buffer to store tiles to be displayed on the screen. Tiles only appear for a set period of time, so when …

    ... /> ld hl,linkbuf
    xor a
    lp_ini
    ld (hl),a
    inc ... l
    add a,5
    jr ... />
    [code]
    ;add new sprites
    ld hl,(spr_num)
    ld ...
    char char October 2014 Development
  • clear a windowed area of the screenHi everyone! Ain't been on here for donkeys, but have recently started messing around with a little game. I'm looking for ideas/opinions on the bes…

    ... ; preserve stack

    ld a,192+24 ; 192 pixel lines ... de
    ENDR

    add hl,bc ; next pixel line or ... /> [CODE] ld a,192 ; 192 pixel lines
    ld hl,16384+LAST_COL ...
    Einar Saukas Einar Saukas October 2014 Development
<1…28293031323334>

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
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 adc hl a
  • how do i add a game
  • add hl

Copyright © 2024 World of Spectrum