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.187s
<1…23242526272829…34>
  • Help fix this keyboard read program?This code runs in an interrupt routine with DI. What would be the simplest way of making it so it doesn't auto repeat a keypress? [code]keys: ld a…

    ... .

    I numbered the states that way ... spot

    ld a,(pos) ; get current state ... /> .state8

    ld a,1
    bit 1,c ... setstate

    ld a,8 ; let's return with ... /> .setstate

    ld (pos),a
    ret
    [/code]
    Alcoholics Anonymous Alcoholics Anonymous February 2010 Development
  • Character scrollingOk, first I'd like to say that I'm not looking for a complete routine (but that might help) because I am hoping to write it myself and learn a bit mo…

    Here's a scroll routine I wrote for scrolling the entire ... by one row. I use it for a text file viewer.
    I know it can be optimized, but I ... /> ld a,l
    add a,$20
    ld l,a
    ret nc
    ld a ...
    0sAND1s 0sAND1s February 2010 Development
  • Please test my Manic Miner remake!Thanks to everyone who downloaded my sneak preview of Manic Miner Turbo. Thanks especially to na_th_an who is the only person so far to give feedback…

    ... .

    I draw to a back buffer in non ... from the dirtybuffer, which I don't touch in the ... a
    ld (tune_offset), a
    ld a, 4

    .playnote
    ld (tune_tick), a
    ld a ... /> [/code]

    EDIT2: I use #a000 as my backbuffer ...
    Paradigm Shifter Paradigm Shifter February 2010 Games
  • Please test my Manic Miner remake!Thanks to everyone who downloaded my sneak preview of Manic Miner Turbo. Thanks especially to na_th_an who is the only person so far to give feedback…

    ... =Paradigm Shifter;425241]Yeah I know, I try and use them ... as little as possible, but as a ... br /> add a,SPTypes &0xff
    ld l,a
    ld h,SPTypes ... ld a,(hl)
    inc l
    ld h,(hl)
    ld l,a< ...
    frobush frobush February 2010 Games
  • Help fix this keyboard read program?This code runs in an interrupt routine with DI. What would be the simplest way of making it so it doesn't auto repeat a keypress? [code]keys: ld a…

    ... wise.

    Also I hate self-modifying code :-p ... .

    I've toyed with adding a state machine data ... br /> ld c,a ; c = keys

    ld hl,state_data_structure
    ld a,(hl ... for right.

    I also fixed the situation where ...
    Alcoholics Anonymous Alcoholics Anonymous February 2010 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 …

    ... been that long already!?!) I wrote this huffman decoder ... /> ld a,(hl)
    inc hl
    ld h,(hl)
    ld l,a ... not including the tree). I never even considered dictionary ... to implement such a thing here, I remember a coupl eof ...
    Alcoholics Anonymous Alcoholics Anonymous February 2010 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 …

    ... 3 16K programs on a 48K simultaneously) I used a simple RLE-compressor ... /> inc hl
    ld a,(hl)
    nocomp ld (de),a
    inc de ... /> inc hl
    ld a,h
    or a
    jr nz,decomp ...
    Dr BEEP Dr BEEP February 2010 Development
  • Problem with Spin 0.7s +3 file I/OI'm currently trying the +3 disk functions in z88dk. I've based my work upon the simple snippet Winston posted a while ago, but doing the contrary. H…

    Slightly off-topic, I'm taking notes about the ... paging. Currently we do this, I believe $5B5C is the correct ... () {
    #asm
    .SetRAMBank
    ld A, ($5B5C)
    and F8h
    or B
    ld BC, $7FFD
    ld ($5B5C), A
    out (C ...
    na_th_an na_th_an March 2010 Emulators
  • Problem with Spin 0.7s +3 file I/OI'm currently trying the +3 disk functions in z88dk. I've based my work upon the simple snippet Winston posted a while ago, but doing the contrary. H…

    ... =na_th_an;429509]Slightly off-topic, I'm taking notes about the ... paging. Currently we do this, I believe $5B5C is the correct ... () {
    #asm
    .SetRAMBank
    ld A, ($5B5C)
    and F8h

    Edit: I had a look at the FAQ [url ...
    Alcoholics Anonymous Alcoholics Anonymous March 2010 Emulators
  • Easy way to print text in machine code?Please? It sounds so simple, but I've never done it. At the moment I'm grabbing the start address for each letter then printing them out one at a t…

    ... nz, text1
    ld a, (hl)
    ld (text_attr), a
    inc hl

    ld a, (text_attr) ;get attribute
    ld (de), a ;and store it ... ]

    simple text printing, i used something like that in ...
    Fikee Fikee March 2010 Development
  • Feelin' kinda proud of myselfOkay, it has bugs. But I kludged it together about 10 mins after getting the sprite thing to actually work. [url]http://britlion.googlepages.com/Spr…

    ... laborious than they should be. I hope when you see them ... routines)

    I also noticed that I could hold xpos and ... /> So
    ld a,(xpos)
    dec a
    ld (xpos),a

    Actually ... than spinning in circles, so I don't think the optimizations ...
    Gedlion Gedlion March 2010 Development
  • Games hacked to be played with Sinclair Joystick #1 (67890)I have mentioned a few of these in other threads, but I think they kinda deserve their own... I have been hacking a few of my favorite games which ha…

    ... A,(254)
    LD C,A
    AND 08
    LD E,A
    LD A,C ...
    AND 31
    LD E,A
    LD A,247
    NOP
    A,(254)
    LD C,A
    AND 04
    LD E,A
    LD A,C ... without the Cursor joystick option (I think Jetpac and TranzAm - both ...
    Tom-Cat Tom-Cat March 2010 Games
  • Feelin' kinda proud of myselfOkay, it has bugs. But I kludged it together about 10 mins after getting the sprite thing to actually work. [url]http://britlion.googlepages.com/Spr…

    ... routines)

    I also noticed that I could hold xpos and ... /> So
    ld a,(xpos)
    dec a
    ld (xpos),a

    ... the pointers, I'm a very cheesy ASM coder, I didn't devote ... sourches.

    Thank you, I will learn tons.

    na_th_an na_th_an March 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 …

    I use some PRINT AT ... LD A,22
    RST 16
    LD A,B
    RST 16
    LD A ... /> LD A,(DE) ; DE = Programcounter
    LD L,A ; to lowbyte
    LD H ... start of table highbyte
    LD H,(HL) ; Fetch Highbyte< ...
    Dr BEEP Dr BEEP March 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 …

    ... the keyboard in my MiniGames I always use this:
    < ... /> [code]
    waitkey xor a
    ld hl,23560 ; last key pressed ... through IM 1
    ld (hl),a ; set to NO VALID ... (ENTER becomes ;)
    ret ; A holds value of key pressed ...
    Dr BEEP Dr BEEP March 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 …

    ... with programming in assembler i had very simple approach to ... tests and so...
    Later i started thinking about data structures ... aware of what i'm doing.
    Recently, i find myself using ... />
    add a, a
    add a, l
    ld l, a
    jr nc ...
    frobush frobush March 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 …

    ... /> ld a, (hl)
    inc hl
    ld h, (hl)
    ld l,a

    I use the CALL (HL) to ... handle the keypresses in a game
    where HL points ...
    Dr BEEP Dr BEEP March 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 …

    ... I never use the ROM)

    [code]
    WorkSPLoop:
    ld a ... />
    add a,SPTypes &0xff
    ld l,a
    ld h,SPTypes ... /> ld a,(hl)
    inc l
    ld h,(hl)
    ld l,a
    frobush frobush March 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 …

    ... /> LD (PORT),A
    LD A,(PORT)
    LD A,(PORT)
    LD A,(PORT)
    LD A,(PORT)
    LD A ... /> LD (PORT),A
    LD A,C
    RET
    [/code]

    I had ...
    frobush frobush March 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 …

    ... a,a ; a = STDIO_MSG_* times two
    add a,l
    ld l,a< ... .

    I've toyed with embedding instructions ... />
    ====

    I've also been embedding code ...
    ====

    I've gone one further on ...
    Alcoholics Anonymous Alcoholics Anonymous March 2010 Development
  • Need help with small asm piece of codeI could use some help. I have a number in A register. It can be 1,2,4 or 8 (always only one bit is set) I need to make number transformation: 1 ->…

    I haven't tested ... temp space
    ld b,a ; store original value< ... /> ld c,a ; store temp result in c
    ld a,b ... /> ld c,a ; store as new temp result
    ld a,b ... /> [/CODE]

    I think this is 21 bytes ... .

    [I]EDIT: I can't count .. it' ...
    riv riv March 2010 Development
  • New member here. And a spider! :)Hello everyone. My name is Sekrets. I'm quite a lonely individual, searching for a digital home where I might find fellow speccy enthusiasts to adopt…

    ... you that I spotted:

    [code]
    * In a few places ...
    ld d,h

    In the beginning I did the ... description of the display file. I have never read it but ...
    32 ld l,a
    33
    34 ld a,h
    35 ...
    Alcoholics Anonymous Alcoholics Anonymous March 2010 Development
  • Double Dragon 128k - The graphicsAs you are all probably aware, I tried gathering a team of people together a few years back to make a totally re-programmed version of Double Dragon …

    [quote]
    I think in Renegade, they didn' ... DE ;get 2 bytes
    LD A,(HL)
    AND D ;mask ... /> OR E ;sprite
    LD (HL),A ;write to screen
    [/code ...
    Ralf Ralf March 2010 Development
  • Midi Out from machine codeI need to send midi-signals by machine code, while Basic is too slow for my current project. I already read I can use hookcode #11E, but I have some …

    ... 0)
    LD BC,4514
    LD A,(BC)
    LD BC,39999 ; save ... in 39999
    LD (BC),A
    LD A,16
    LD BC,#7FFD
    OUT (C),A ; back to ... starts with 'LD L,A' (value = 111).

    I tried this in ...
    bverstee bverstee April 2010 Hardware
  • Midi Out from machine codeI need to send midi-signals by machine code, while Basic is too slow for my current project. I already read I can use hookcode #11E, but I have some …

    ... to work :(

    So I did this:

    1 ... ' from rom 0 but instead I still get '42' from rom ...
    LD A,(HL)
    LD HL,50000
    LD (HL),A

    LD BC ... [/FONT]

    WHAT AM I DOING WRONG??? :(
    bverstee bverstee April 2010 Hardware
  • Tricks with IN 31It's generally considered unwise to use a Kempston joystick's fire button to start a game, because the floating bus effect can make arbitrary data ap…

    If the kempston interface [i]is[/i] present, then when the ... /> 504: 87CB 32CE85 LD (KEMPSTON),A ; Kempston joystick not present ...
    612: 88A3 3E01 LD A,&01
    613: ... 88A5 32CE85 LD (KEMPSTON),A ; Set joystick flag
    Jonathan Harston Jonathan Harston April 2010 Hardware
  • 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 …

    ... was totally portable but I have changed it a little to make ...
    ld d,a
    ;
    p_print: ld a,(hl)
    ld (de),a
    dec ... /> p_print: ld a,(hl)
    ld (de),a
    inc d
    ld(de),a
    Turkwel Turkwel April 2010 Development
  • FMV on +3eOK, so about 6 months ago i posted here that i got full motion video on +3e, with a bunch of scr files called passion. I added the glider rider music…

    ... table for 8bit sample. I didn't try it ... br /> ; ld a,(hl)
    ; add a,#80
    ; ld e,a
    < ... unsigned:
    ld e,(hl)
    ld a,(de)
    ... exx
    out (c),a
    exx
    ld a ...
    omega omega April 2010 Development
  • Mistake in the 128K technical FAQ?[url]http://www.worldofspectrum.org/faq/reference/128kreference.htm[/url] [quote]Memory banks 1,3,5 and 7 are contended.[/quote] Really? I thought i…

    I'll write a test program based ... fragment:
    [CODE]loop ld (hl), a ; 7 T
    ... />
    If I can get a meaningful result on my ... +2 (assuming my +2 still works), I ... br /> Edit: Make that [b]ld a, (hl)[/b] in the timing ...
    ajmoss ajmoss April 2010 Hardware
  • +3 how to detect if a file exist ?Need help. I am making a generic menu to my compilations over the spectrum +3. Exist some way programatically to detect if some file exists on the d…

    ... this last one you posted ? I am trying to understand it ... br /> Note, while doing this i have spotted some errors with ... code. Ah well.
    Basically, i didnt change the address of ... /> 48977 LD (23387),A
    48980 OUT (C),A
    48982 LD SP, 40959 ...
    spodula spodula May 2010 Sinclair Basic
<1…23242526272829…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
ld 6.3K 67.3K
i 630.8K 2.1M
a 589.5K 1.7M

Related Threads

  • I have become a shamen. I see, I am blind and I understandI am a shamen. I am. I've been there, and done it. I see things people can't see. I've tripped, and seen things, most would not want to see. At times…
  • 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…
  • I've been using a Mac, I must say I'm dissapointed.I have been using an Apple Macintosh to do some video editing this week. I also trialed it on other simple tasks such as web browsing and Java apple…
  • 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…
  • Can I convert a sna to a real tape ?Hi <br /> I just want to know if there is a way to convert a spectrum files for emulator to a real tape that I can load to my real spectrum. Or conve…
  • 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 think I have thought of a brand new topic!! Horse Racing predictors.......Racking my brains, trying to think of a brand new topic earlier, and I don't recall seeing Horse Racing forecasting (or any other real gambling predi…
  • F.A.O the Chzec member who I sent a "lego" robot book to.A bit vague I know, but I am sure you recognise the descrition.<br /> <br /> I sent you a book about building robots with the help of lego for the Sp…

Related Searches

  • otherworld is the only show i remember about a family
  • ld a r
  • ld r a
  • ld a b xor c loop
  • ld a b or c loop
  • i went for a rare night out
  • i decked a bloke
  • i demand a working search function
  • ld a 3fh
  • ld a 0 call 5633
  • how do i comment add a post
  • bout a woman i know
  • i ve made a colour palette for 16k 48k machines
  • i did a thing
  • how do i add code to a game
  • i done a thing
  • i writ a thing
  • ld a 5b5c
  • ld a r counter
  • ld a r rnd

Copyright © 2024 World of Spectrum