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.010s
<1…18192021222324…34>
  • What would be the simplest tape loading routine?I'm searching for some small assembly snippet I can use to load a (headerless or not) block from tape into RAM I can embed in my C games to load furt…

    ... cannot hold +FF.)
    EX AF,A'F' The ... tape.
    LD (IX+00),L Make the actual ... /> 05C2 LD-NEXT INC IX Increase the 'destination'.
    ...
    jamorski jamorski October 2013 Development
  • What would be the simplest tape loading routine?I'm searching for some small assembly snippet I can use to load a (headerless or not) block from tape into RAM I can embed in my C games to load furt…

    ... d ; reset zero flag
    ex af, af' ; A holds 0 ... /> org 0x05a9
    ld_loop:
    ex af, af' ; get flags
    ld_next:
    inc ix ; increment destination
    dec de ... /> org 0x05c5
    ld_dec:
    ex af, af' ; store flags
    chev chev October 2013 Development
  • display file addressing; screen slicingWhile working on this Compendium I'm updating or rewriting a lot of stuff. One thing I eventually came to appreciate was the simple & clever way in w…

    ... hl
    call GETDISP
    ex de,hl ;DE=display file ... hl ;HL=attribute address
    ex af,af'
    ld (hl ... /> ld a,(hl)
    cp (ix+0)
    ret nz ;don ...
    Battle Bunny Battle Bunny October 2013 Sinclair Basic
  • Experimenting with turboloadersHello, My first post, having lurked here for a while. I'm a lifelong computer nerd, Spectrum fan since childhood in the eighties, and have recently…

    ... ORG 65328

    LD IX, 16384 ;Address of the first ... loading routine
    LD IX, 24576 ;Address of the second ...
    INC D
    EX AF, AF'
    DEC D ... NZ, 65441
    LD (IX+0), L
    JR 65451 ... br /> INC IX
    DEC DE
    EX AF, AF'
    Alessandro Grussu Alessandro Grussu October 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…

    ... org 0x04d0
    sa_flag:
    ex af, af' ;'store flag ( ... a ; write port
    ex af, af' ;'restore flag
    inc ix ; increase base address
    ... 0x05c5
    ld_dec:
    ex af, af' ;'store flags
    chev chev October 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…

    ... :
    ex de, hl ; switch pointers
    push ix ; copy IX
    pop ... ; store
    ld (ix + 15), l ; result
    ex de, hl ; pointer ... /> ld l, (ix - 6) ; program and variables
    ex de, hl ; put ...
    chev chev October 2013 Development
  • SCREEN$ bug fixI've been using the SCREEN$() function recently for reading data off the screen rather than taking up space with an array and I got fed up with the s…

    ... ,(de)
    ld b,(ix-12) ;B =CHR$ ... jr nc,ScrDone
    ex af,af' ;A =???, A ... 0e9e ;CL_ADDR+3
    ex de,hl ;DE=display address ... add hl,bc
    ex de,hl ;DE=display ...
    Battle Bunny Battle Bunny October 2013 Sinclair Basic
  • Copy 4Kb in Assembly?Here's an interesting problem: what's the best way to copy a block of 4Kb in assembly? The most obvious solution is to use [B]LDIR[/B]: [CODE] l…

    How about just using IX for referencing SP and just SET or RES bit 7 of IXH. Then IY can be the additional register pair to allow 16 bytes at a time, this solving the leftovers issue?
    jamorski jamorski October 2013 Development
  • Copy 4Kb in Assembly?Here's an interesting problem: what's the best way to copy a block of 4Kb in assembly? The most obvious solution is to use [B]LDIR[/B]: [CODE] l…

    ... ]How about just using IX for referencing SP and just SET or ...
    Ralf Ralf October 2013 Development
  • IF EXIST?In MS-DOS scripting, there is an IF EXIST command that lets you check wether a file exists in disk or not. There are any way to check it out from BA…

    ... /> Always:
    C DE HL IX corrupt
    All other registers ...
    The_Bert The_Bert October 2013 Sinclair Basic
  • NEW GAME: Elixir VitaeOnly 2 weeks after Janosik I have a pleasure to announce my next creation - a logical minigame called [B]Elixir Vitae[/B]. Just like another Polish …

    ... br /> [CODE] ; 15891T
    LD SP,nn
    ; 15901T
    POP ... POP AF
    ; 15965T
    EX AF AF
    ; 15969T
    ; 16016T
    EX AF AF
    ; 16020T
    Einar Saukas Einar Saukas October 2013 Brand new software
  • 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…

    ... ; first character match?
    ex de, hl ; switch back
    ex de, hl ; token character ... (hl) ; final character?
    ex de, hl ; token character address ... return if so
    push ix ; IX to
    pop hl ; ...
    chev chev October 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…

    ... org 0x1f94
    def_fn_5:
    ex de, hl ; swap pointers
    sp
    push hl ; stack it ... not
    ld (err_sp), sp ; else update error stack pointer ... /> pop hl ; unstack err-sp address
    ld (err_sp), ...
    chev chev October 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…

    ... jr z, set_top ; jump if sp
    ld (p_ramt), iy ; ... skip one location
    ld sp, hl ; point stack to next ... ld (err_sp), hl ; set err-sp
    im 1 ; interrupt mode ... copy initial channel table
    ex de, hl ; swap pointers
    chev chev October 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…

    ... ; set it
    ld sp, (attr_t) ; restore stack pointer ... clear carry flag
    ex de, hl ; switch destination ...
    chev chev November 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…

    ... hl, de ; destination
    ex de, hl ; swap pointers< ... unstack counters
    ld sp, (attr_t) ; restore stack ...
    chev chev November 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…

    ... stack DE
    push ix ; IX
    pop de ... ld (err_sp), sp ; set err-sp to stack pointer ...
    chev chev November 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…

    ... ; cursor left
    ex de, hl ; swap pointers ... hl ; unstack old err-sp
    ld (err_sp), ...
    chev chev November 2013 Development
  • That painter thing..I'm struggling to think of a non clunky way of detecting when a 'box' has been surrounded and can be highlighted, like in the pic: [IMG]http://i1142…

    ...

    CountCorners:
    ld ix,CORNERS-9
    ld bc ... /> ld e,(hl) ;col
    ex de,hl
    sbc hl ... ,NextCorner
    GotCorner:
    or (ix+0) ;use OR to avoid ...
    Battle Bunny Battle Bunny November 2013 Development
  • That painter thing..I'm struggling to think of a non clunky way of detecting when a 'box' has been surrounded and can be highlighted, like in the pic: [IMG]http://i1142…

    ... ;A =right col
    sub (ix+1) ; -left col
    ... br /> add hl,de
    ex de,hl ;DE=bot row ... =row diff
    Loop3: ex af,af'
    ld (hl ... hl,bc
    ex de,hl
    ex af,af'
    Battle Bunny Battle Bunny November 2013 Development
  • bit manipulation conundrumWhat's a neat way to change this bit pattern in registers BCDE: [code]Loop0: ;change B:00000000 C:abcdefgh D:ijklmnop E:qrstuvwx[/code] to this bit …

    ... br />
    BitManipulate:
    ld ix,bufferSource
    ld iy,bufferTarget ... across the bytes
    push ix
    pop hl
    ... a
    ex af,af'
    SelfMod: ; BIT bit,(IX+NN) is ... /> jr nc,SameByte
    inc ix ; carry so next bit is ...
    David Jones David Jones November 2013 Development
  • Converting an integer arbitrary large binary number into a printable decimal formThis was asked a long ago at the comp.sys.sinclair newsgroup. At that time, I came up with a solution by extrapolating the classic algorithm of suces…

    ... .
    * Used HL instead of IX; turns out that "ld c ... " is quicker than "ld c,(ix+0)".
    * Reduced the number ... />
    EndProg:inc hl
    ex de,hl
    dec bc ...
    Battle Bunny Battle Bunny December 2013 Development
  • Multicolor chess?I thought multicolor chess pieces would be a good idea, since it's easy to fit a 8x8 chessboard within the 9x9 tile area of BIFROST*. However this tu…

    ... for each row, just an EX AF,AF' and an EXX ... of PUSH AF, DEC SP, PUSH DE, DEC SP etc. on each ...
    joefish joefish December 2013 Development
  • Getting aquainted with the IF1bisToday, fifteen days after dispatch, the IF1bis arrived at my door. In perfect order. No customs, no TVA and no handling fee involved. The arrival of …

    ... ),HL ;and in ERR-SP
    LD IY, ... ;Z=end count
    EX DE,HL
    ;---------- < ...
    roko roko December 2013 Hardware
  • Z80AsmI've been using the Z80 PC Assembler 1.2 by Peter Hanratty and found that the RST 8 instruction assembles to 200. It should be 207. Ret Z is 200 wh…

    ...
    ;
    0000 31362C LD SP,2C36H
    0003 2032 JR ... )
    000d DD8E00 ADC A,(IX+00H)
    0010 FD8E00 ADC ...
    rune rune December 2013 Development
  • Beepola v1.08 AvailableA new version of Beepoa, v1.08, is now available for download from:- [url]http://freestuff.grok.co.uk/beepola/[/url] (1.76MB zipped exe, no installe…

    ... errors with instructions such as EX AF, AF' and I can ... issue with the standard [b]EX AF,AF'[/b] mnemonic. It ... wants the non-standard [b]EX AF,AF[/b] (without the ... of engines use LD r,(IX+0) rather than LD r ... ,(IX) because I believe the former ...
    ccowley ccowley December 2013 Announcements
  • A new full-screen bicolor engine called NIRVANA[I]OK, there's something I need to clarify first: Nowadays if you write [B]"multicolor"[/B] everyone assumes it refers to "multicolor 8x1" (an attri…

    ... dup 4
    ld sp, 22562+ROWREPT*32+5 ; ... and 4
    ld sp, 22562+ROWREPT*32+19 ; ... and 16(*)
    push ix ; columns 17 and 18 ... and 8
    ld sp, 22562+ROWREPT*32+27 ; ...
    DenisGrachev DenisGrachev January 2014 Brand new software
  • 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…

    ... ; do it
    ld sp,24099 ; set stack
    ... ld a,$80
    ex af,af'
    ms ... jr nc,m1x
    ex af,af'
    djnz ... jr nz,m4
    ex af,af'
    inc ... jr nc,n5
    ex af,af'
    add ...
    FrankT FrankT January 2014 Development
  • Pac-Land: can be coloured?All versions of this game are full coloured, but not the Spectrum version. It has large sprites, but maybe the scroll is too fine to make a coloured …

    ... bottom screen black
    EX AF,AF'
    LD ... attribute buffer
    LD IX,22528+96 ;attribute area
    EX AF,AF'

    EX AF,AF'
    SUB ... A ;write attribute
    EX AF,AF'
    SUB ...
    Ralf Ralf February 2014 Games
  • Using the stack to blit bufferI was using a ldir to blit my back buffer to the screen RAM, and it was working pretty well if not rather slow. After reading about using the stack …

    ... . It is done by [B]EX AF,AF'[/B].

    EX AF,AF'
    EXX
    And don't forget that IX and IY can't be ...
    joefish joefish February 2014 Development
<1…18192021222324…34>

Latest Posts

  • Minor British Sports that did become games on the ZX Spectrum
    dmsmith on 11:22PM
  • I bought an accoustic guitar. How do you play it?
    Maroc's Other Projection on 9:55PM
  • Goodbye Z80
    moggy on 9:07PM
  • Happy 40th Birthday to the Amstrad CPC464!
    AndyC on 6:29PM
  • Another Birthday! The Game Boy Is 35!
    dm_boozefreek on 6:17PM
  • I am currently watching.....
    Antiriad2097 on 5:05PM
  • 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
  • New video about S-video modification on Issue two 48K Spectrum.
    Renegade on April 21

HitBox

Word Docs Hits
ex 4.4K 7K
sp 1.7K 4.2K
ix 1.5K 6.5K

Related Threads

  • deus ex and deus ex invisible war ?3 on steam.Just downloading these two games at the mo. I think there are a few fans of these games on here, if you want to grab em there cheap on steam at the m…
  • The point of IX+1 IX+2 ?the numbers that you can add-on to IX and IY seem hardcoded, so I dont see the use of that feature?<br /> any examples of the use of IX and IY plus …
  • Deus Ex MachinaAm I the only person who loved Deus Ex Machina on the speccy?<br /> Just wondering.<br /> <br /> I've even got the soundtrack that i downloaded as mp…
  • An ex-Bloodwych fanatic speaks...I've got a s**t-load of maps that I carefully (and painstakingly) made back in the day, with the intention of sending them into YS, only for the maga…
  • Anyone here an ex speccy-journalist or programmer?Anyone here used to write for the Spectrum magazines or program the Speccy? Just curious ;)
  • ex-YU homepage updatedThe ex-YU Homepage has been updated, after almost 2 years. Added some really nice new stuff, including some commercial games that were developed by e…
  • ex-YU Homepage Updated !Hey All...<br /> <br /> This will probably be interesting only for the people here that are from ex-Yugoslav countries, but it might be interesting f…
  • Deus Ex MachinaHas anyone got a copy?
  • TransVersion EXHopefully my latest game will be of some interest here. :)<br /> <br /> A remake of an old 16k Spectrum game, but with online scores and Care Bears. …
  • XBasic or EX-Basic ???I found couple NIB Artic x- or ex-basic.<br /> Case and manual seys X-Basic but casette is EX-Basic.<br /> Is this MIA ?<br /> <br /> [url="http://ko…

Related Searches

  • ld ix
  • ix registers
  • add ix
  • add constant value to ix
  • reset sp ffff
  • ix 0
  • reset ix
  • deus ex machina
  • ix register
  • caf turco com os ex jugoslavos
  • sp format
  • snapshot sp format
  • undocumented ix assembler
  • ix displacement before after
  • ix displacement byte
  • clear sp
  • ex af carry
  • regular ex
  • ex sp hl
  • ex sp iy

Copyright © 2024 World of Spectrum