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.100s
<1…6789101112…34>
  • Help understanding some z80 asmI'm trying to work out how to represent the structure of a "sprite" in the SAM as "Grabbed" by SmallC. I can see the assembler implementation but I …

    ... order and then executing a CALL instruction. This means ... the stack frame for a call to grab() looks ... ld hl,4
    add hl,sp
    ld c,(hl)
    inc hl
    a push ix so now ... stack into registers before executing a CALL into ROM (CALL ...
    Alcoholics Anonymous Alcoholics Anonymous January 2007 Development
  • Wanted: z80 asm routines...for the Sam. This call goes out to Colin and others who know how it should be done. If you look on the Sam C disk you can see the implementation…

    ... hl,4
    add hl,sp
    ld a,(hl)
    dec hl
    ld d,(hl ... )
    dec hl ...
    ld e,(hl ...
    Alcoholics Anonymous Alcoholics Anonymous January 2007 Development
  • 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
  • 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
  • Cybernoid editorSo, my long tern goal is to make my own Cybernoid or Rex like game (see an ancient thread about Sprite advice)...but my skills are somewhat lacking..…

    ...
    ex de,hl
    pop hl
    ld a,(de)
    or ... a
    jr nz,$3 ... /> $5: ld de,30
    add hl,de
    djnz $2
    push de
    push hl
    ld a,e
    cp 128 ...
    FrankT FrankT March 2007 Development
  • My little first set of routines.Hi all, I just coded a little set of routines just to draw a screen on video mem and a fade out. I could have just copied the screen rendering rout…

    ... push bc

    ld a,b
    or c
    a single "or a" rather than two ... ,0; ex de,hl; add hl,bc; ex de,hl". Edit: And you ... d
    ld a,d
    or a
    jr nz ...
    Alcoholics Anonymous Alcoholics Anonymous April 2007 Development
  • My little first set of routines.Hi all, I just coded a little set of routines just to draw a screen on video mem and a fade out. I could have just copied the screen rendering rout…

    ... you do need a "srl a" or "sra a" -- I'm ... cycles when the equivalent "add a,a" only takes 4. The ... shifts, keep in mind "add hl,hl" which does it in ... . "adc hl,rp", like "sbc hl,rp", are a couple of ... which, unfortunately, makes them a lot less attractive.
    ...
    Alcoholics Anonymous Alcoholics Anonymous April 2007 Development
  • Disassemblers and RSTsI think this is a longshot, but... is anybody aware of a disassembler that handles the Interface One RSTs? e.g. RST $10 DEFW $0020. Cheers

    ... 2c 00 $0ats
    add hl, de ; f98d 19 $0bts ... c3 f9 $0ats
    ld a, (hl) ; f9ec 7e $07ts
    add a, $60 ; fa00 c6 60 ... cb f9 $0ats
    ld a, (hl) ; fa0f 7e $07ts
    l_fa3c: ld a, (hl) ; fa3c 7e $07ts
    jp jp April 2007 Development
  • Reason for strange display layout?I have always wondered if there is any technical reason behind the strange layout of the display file or why did Sinclair choose to do it this way?

    ... frame buffer was a simple raster, when writing a character, you ...
    LD DE, 32
    ADD HL, DE

    which means ... up having to push a value on the stack ... reason. If you have a line where the next ... it, instead of doing a calculation to work out where ...
    Winston Winston April 2007 Development
  • Reason for strange display layout?I have always wondered if there is any technical reason behind the strange layout of the display file or why did Sinclair choose to do it this way?

    ... To draw a character you'd have to add 32 when ... offset. You still need a character spanning check after ... i]feel[/i] like a massive saving over adding 32 ... loops just need an ADD HL,DE to advance lines, ... the Speccy layout, eliminating a line counter register and ...
    obo obo May 2007 Development
  • Reason for strange display layout?I have always wondered if there is any technical reason behind the strange layout of the display file or why did Sinclair choose to do it this way?

    ...
    ld h,a
    ld a,l
    add a,$20
    ld ... l,a
    ret nc ... here

    ld a,h
    add a,$08
    ld h ... drawing loops just need an ADD HL,DE to advance lines, with ...
    Alcoholics Anonymous Alcoholics Anonymous May 2007 Development
  • 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
  • Why the name "8-bit computer"?The Spectrum was called an 8-bit computer, but what does that mean? For modern hardware and operating systems (32 or 64-bit) it seems to be the poss…

    ... with 8 bits at a time but the ... a time by the programmer. Eg, a 16-bit add like "ADD HL ... ,DE" takes 11 cycles whereas an 8-bits-at-a ... -time-equivalent "(AL = HA + DE) add a,e; ld l,a; ld a ... ,d; adc a,h" takes ...
    Alcoholics Anonymous Alcoholics Anonymous May 2007 Development
  • Delay routineAs some people are aware, I have recently starting writing a [url=http://fuse-emulator.svn.sourceforge.net/viewvc/fuse-emulator/trunk/fusetest/]autom…

    ... 've done a couple tests with HL set to things ... you go... it was a quick lunchtime thing.
    HL (the 146), and doing a simple SBC ...
    t_wait:
    xor a ; 4
    ld de, ... ld de, overhead2 ; 10
    add hl, de ; 11

    ...
    icabod icabod May 2007 Development
  • Delay routineAs some people are aware, I have recently starting writing a [url=http://fuse-emulator.svn.sourceforge.net/viewvc/fuse-emulator/trunk/fusetest/]autom…

    ... 3 posters, here's a slightly more concise version ...
    It includes a place-holder for the GPL ...
    t_wait:
    xor a ; 4
    ld de, ... ld de, overhead2 ; 10
    add hl, de ; 11

    ... ; 4
    t_19: ld a, r ; 9
    ret ...
    icabod icabod May 2007 Development
  • Delay routineAs some people are aware, I have recently starting writing a [url=http://fuse-emulator.svn.sourceforge.net/viewvc/fuse-emulator/trunk/fusetest/]autom…

    ... ld de, overhead2 ; 10
    add hl, de ; 11

    ... xor a ; 4
    ld de, overhead ; 10
    sbc hl, de ... ld de, -overhead ; 10
    add hl, de ; 11

    ld ... -21 ; 10
    .lp1: add hl, de ; 11
    jp c ...
    Metalbrain Metalbrain May 2007 Development
  • Delay routineAs some people are aware, I have recently starting writing a [url=http://fuse-emulator.svn.sourceforge.net/viewvc/fuse-emulator/trunk/fusetest/]autom…

    ... down means there's a lower value of HL that will work ... /> ld de, -overhead ; 10
    add hl, de ; 11
    ld de ... , -21 ; 10
    .lp1: add hl, de ; 11
    jp c ...
    icabod icabod May 2007 Development
  • Delay routineAs some people are aware, I have recently starting writing a [url=http://fuse-emulator.svn.sourceforge.net/viewvc/fuse-emulator/trunk/fusetest/]autom…

    ... t_21: nop ; 4
    t_17: add a,(hl) ; 7
    ret ; 10 ... xor a ; 4
    ld de, -overhead ; 10
    add hl, de ... 10

    .lp1: add hl, de ; 11
    jp c ... /> add hl, de ; 11
    ld l, (hl) ; 7
    jp (hl) ...
    icabod icabod May 2007 Development
  • Delay routineAs some people are aware, I have recently starting writing a [url=http://fuse-emulator.svn.sourceforge.net/viewvc/fuse-emulator/trunk/fusetest/]autom…

    ... t_21: nop ; 4
    t_17: add a,(hl) ; 7
    ret ; 10
    add hl, de ; 11
    ld e ... ; 7

    .lp1: add hl, de ; 11
    jp c ... /> add hl, de ; 11
    ld l, (hl) ; 7
    jp (hl) ; ...
    icabod icabod May 2007 Development
  • Delay routineAs some people are aware, I have recently starting writing a [url=http://fuse-emulator.svn.sourceforge.net/viewvc/fuse-emulator/trunk/fusetest/]autom…

    ...
    ; the subtracts (add hl, -de), and jump to ... /> ld de, -overhead ; 10
    add hl, de ; 11

    ... /> add hl, de ; 11
    ld l, (hl) ; 7
    jp (hl) ; ... t_21: nop ; 4
    t_17: add a,(hl) ; 7
    ret ; 10< ...
    icabod icabod May 2007 Development
  • Delay routineAs some people are aware, I have recently starting writing a [url=http://fuse-emulator.svn.sourceforge.net/viewvc/fuse-emulator/trunk/fusetest/]autom…

    ... ld de, -overhead ; 10
    add hl, de ; 11

    ... 7

    .lp1: add hl, de ; 11
    jp c ... /> add hl, de ; 11
    ld l, (hl) ; 7
    jp (hl) ... t_21: nop ; 4
    t_17: add a,(hl) ; 7
    ret ; 10 ...
    icabod icabod May 2007 Development
  • Delay routineAs some people are aware, I have recently starting writing a [url=http://fuse-emulator.svn.sourceforge.net/viewvc/fuse-emulator/trunk/fusetest/]autom…

    ... ; destroys: af, bc, hl
    ld a, c
    rra
    dec hl
    .b3: rra
    ld hl, 0
    add hl, hl
    .b4: jr ... n*32 + 160T+
    add hl, bc
    ccf
    ...
    qaop qaop May 2007 Development
  • Delay routineAs some people are aware, I have recently starting writing a [url=http://fuse-emulator.svn.sourceforge.net/viewvc/fuse-emulator/trunk/fusetest/]autom…

    ... -29

    delay xor a ; 4
    or h ; 4 ... ld de,-d3 ; 10
    add hl,de ; 11
    jr delay ...
    Patrik Rak Patrik Rak May 2007 Development
  • Delay routineAs some people are aware, I have recently starting writing a [url=http://fuse-emulator.svn.sourceforge.net/viewvc/fuse-emulator/trunk/fusetest/]autom…

    ... 8000

    delay xor a ; 4
    or h ; 4 ... br /> skip2 ld (jump+1),a ; 13
    jump jr ... ld de,-d3 ; 10
    add hl,de ; 11
    jr ...
    Patrik Rak Patrik Rak June 2007 Development
  • Delay routineAs some people are aware, I have recently starting writing a [url=http://fuse-emulator.svn.sourceforge.net/viewvc/fuse-emulator/trunk/fusetest/]autom…

    ... and no confinement to a 256b page (all things ... /> .b0

    ld a, c
    rra
    jr ... nc, b4b
    ld hl, 0
    add hl, hl

    ; ...
    ret nc
    add hl, bc
    ccf
    ... the delay (without a borrow from bit 5 ...
    Alcoholics Anonymous Alcoholics Anonymous June 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…

    ... This subroutine takes as input a single UDG byte and ... Namely that multiplication of a number by two is ... least significant bit a '-' appears (actually a 0 but I ... bit 0, not necessarily a binary 0 digit).
    ... it may even be a bit of a struggle to grasp ...
    Alcoholics Anonymous Alcoholics Anonymous June 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…

    ... going on is to do a zcc -a [other options] which ... will create a .opt file with the ... I can optimize the code a bit. I am doing ... message 1 pixel at a time in the buffer< ... add hl,de
    pop de
    push hl
    rl (hl)
    dec hl ...
    wokani wokani July 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…

    ... /> [code]
    ld hl,3
    add hl,sp ;; hl = address of the LSB ... /> ld a,(hl)
    inc hl
    ld h,(hl)
    ld l,a ;; hl = value ... the scroll buffer in hl so a "ld hl,_scroll_buffer" will do. ... C code accessing a variable and do a "zcc -a" on the ...
    Alcoholics Anonymous Alcoholics Anonymous July 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…

    ... working - just shows you what a little bit of determination can ... hl
    add hl,de
    push hl
    rl (hl)
    dec hl
    rl (hl ... so that I can improve a little on sending the routine ... me please?

    Thanks a lot,

    Adriaan
    wokani wokani July 2007 Development
<1…6789101112…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
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