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.004s
<1…45678910…34>
  • In Machine Code, what is the quickest way to sort bytes?I am playing around with some ordering of sprites, where I want to order them by vertical position. I used some Rodnay Zaks code to order some bytes…

    ... /> ld hl,numbers
    ld bc,7

    bubble ld ...
    robpearmain robpearmain August 2006 Development
  • Pimp my code...Erm, this is just the result of a mental exercise - I wanted to repeatedly display a UDG but decided against using a ROM routine and UDGs! Any sugges…

    ... ,#08
    ;
    loop push bc
    ld a,b
    inc de
    ld bc,#0100
    ld (hl),a ...
    ldir
    pop bc
    djnz loop
    ret ...
    jp jp August 2006 Development
  • Screen LoaderCouple days ago i find very interesting loader routine in ex Yugoslavia magazine "Svet Kompjutera" from january 1987. Authors of article, calls this …

    ...
    PUSH BC
    LD BC,32
    ADD HL,BC
    EX ... DE,HL
    ADD HL,BC
    EX DE,HL
    POP BC
    DJNZ LOPP
    JP ...
    Pegaz Pegaz August 2006 Games
  • Using assembler in SPINI can't get this to work (i.e. display 10): [code]Main LD BC, 10 RET[/code] Any idea as to what I'm doing wrong?

    I can't get this to work (i.e. display 10):

    [code]Main LD BC, 10
    RET[/code]

    Any idea as to what I'm doing wrong?
    Mousey Mousey November 2006 Development
  • Urgent Help needed to fix this: calling all machine code gurusI am currently trying to write tutorials on the amazing Orfeus music composer by Proxima which allows you to do multi channel music through the beepe…

    ... l8b53 ; (28)
    ld bc,#4297
    jr l8b53 ; ... (23)
    ld bc,#e01f
    jr l8b53 ; ... (18)
    ld bc,#c0a1
    jr l8b53 ; ... (13)
    ld bc,#200f
    jr l8b53 ; ...
    robpearmain robpearmain November 2006 Development
  • ANN: Tipshop updated Thursday, 30 November 2006Thursday 30 November 2006 A big HAPPY 11 BIRTHDAY to WoS... Oh, and a big batch of tips as well :-) * HAPPY 11TH BIRTHDAY, WOS... Thanks for all of…

    ... new RZX Archive entries for BC Bill , Captain Planet , Chequered Flag ...
    hackersanon hackersanon November 2006 Announcements
  • Very OT - SCOTask for the day: Looking at this stock chart: [url]http://finance.yahoo.com/q/bc?s=SCOX&t=6m&l=off&z=m&q=l&c=[/url] ...guess which days each of t…

    ... ]http://finance.yahoo.com/q/bc?s=SCOX&t=6m ...
    NickH NickH December 2006 Chit chat
  • Component Equivalents/substitutionsA while ago, I mentioned to somebody in a thread that we should have a list of component equivalents and substitutions so that it's easier to fix our…

    ... on issue 3B and
    BC 549B in TR9 and TR8 ...
    DEATH DEATH December 2006 Hardware
  • Best replacement for ZTX650?What is the best replacement transistor for the obsolete ZTX650? I've read that TIP31 will do the trick. Is there a decent equivalent from the BC or …

    What is the best replacement transistor for the obsolete ZTX650?
    I've read that TIP31 will do the trick.
    Is there a decent equivalent from the BC or others transistors?
    gtsamour gtsamour December 2006 Hardware
  • Repairing Broken TapesA friend of mine just forwarded this link to me: [url]http://fly.cc.fer.hr/~arsen/tapefix/[/url] It's &#8364;15 to register (I've no idea what the s…

    ... it's author

    BC
    bluechip bluechip January 2007 MIA/STP/SDP
  • Problem with SPIN assemblerCan anybody tell me why the following machine code program doesn't assemble in the SPIN assembler? ; my first machine code program ld bc, 5 ret Any…

    ... machine code program
    ld bc, 5
    ret

    BigBadMick BigBadMick January 2007 Development
  • Noob to Z80 needing +3 helpI'm quite new to z80 programming, but i'm attempting to write some kind of windowing system that will run alongside BASIC on my +3 with Kempston mous…

    ... to use the register pair BC for parameters, but i have ...
    rbsfou rbsfou January 2007 Development
  • Mode 2 Tile Editor SourceA Timex Mode 2 Tile Editor incorporating a byte mirror table. The compiled version is available in the CSSCGC 2008 collection from the WoS archive. …

    ... ; copy bitmap
    ld bc,$17e0 ; offset
    add ... cp32bytes ; copy attributes
    ld bc,$281e ; offset
    sbc ... c,a ;
    ld ($4728),bc ;

    mirror_attributes:
    ... c,a ;
    ld ($6728),bc ;

    call zoom_bitmap ...
    chev chev January 2007 Development
  • RFC: 64 column font codeIn BASIC, type CLEAR 49999 then import the code at 50000. Then type RANDOMIZE USR 50000. This will create a new channel and attach stream #4 to it. A…

    ... one address

    ld bc,$0005 ; the new channel takes ... one address

    ld bc,chan_4 ; could write the bytes ... one address

    ld bc,$15c4 ; address of input routine ... the offset
    add hl,bc ; the offset is added to ...
    chev chev January 2007 Development
  • Well I'm excited, but I guess you might not beHehe this is as far as I got today, a silly little border program: [PHP] ORG 32768 PROGGY: LD C,255 ; We loo…

    ... the border
    DEC A ; Decrement register A
    DJNZ BORDERDOWN ... into A
    DEC A ; Decrement it
    LD C,A ...
    DonkeyPong DonkeyPong February 2007 Development
  • Currah MicroSource emulationIt appears to be impossible to emualte the MicroSource in software on the ZX Spectrum SE as hardware polling is required. The following patch is not …

    ... de,$0000 ; destination
    ld bc,$2000 ; length
    ldir ... de,$2000 ; destination
    ld bc,$2000 ; length
    ldir ... ,$18fe ; destination
    ld bc,13 ; length
    ldir ... de,$0000 ; destination
    ld bc,$4000 ; length
    ldir ...
    chev chev March 2007 Emulators
  • 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…

    ... to draw
    dec bc
    push bc

    ld ... br /> FadeOutPaper:

    push bc
    ld c,a ;backup ...
    HexDump HexDump April 2007 Development
  • How do debuggers guess mnemonicsLet's suppose I have the following numbers in Spectrum memory: Address Byte 30000 1 30001 2 30002 3 30003 4 If I execute in assembler j…

    ... will execute

    LD BC,770
    INC B

    LD (BC),A
    INC BC
    INC B
    Ralf Ralf June 2007 Development
  • How do I clear only a specific area of a screen (quickly) in machine code ?I'm looking for a machine code routine which will clear the first 20 rows of the Spectrum's display (or any number of rows or columns) . I have found…

    ... 33 0 64
    LD BC,17FFH 1 255 23
    bobbyjaykid bobbyjaykid July 2007 Development
  • Help hacking Split PersonalitiesI`ve been hacking away at Split Personalities for the purpose of putting new screens and graphics (items). The current screen is at 41187 and is 160…

    ... /> nop ; 54590 0
    inc bc ; 54591 3
    ld hl ... /> nop ; 54625 0
    inc bc ; 54626 3
    ld (33314 ...
    FrankT FrankT July 2007 Games
  • sound effect code causing crash[FONT=Courier New]I have just written this piece of code to produce a lazer sound effect but for some reason it is causing a crash and I can't figure…

    ... JR Z,SOUNDOFF
    LD BC,65533
    LD A,0 ... OUT (C),A
    LD BC,49149
    LD A,(HL ... LD (LAZERFLAG),A
    LD BC,65533
    LD A,8 ...
    dmsmith dmsmith July 2007 Development
  • A few questions about machine codeOh no... another noob. I'm giving my first steps in assembler (finally, after 20 years stuck in BASIC). I read a SU article explaining that if I wan…

    ... /> ld hl,24785
    ld bc,40832
    ldir[/CODE]
    bc' sets the amount of bytes ...
    zxbruno zxbruno August 2007 Sinclair Miscellaneous
  • IY RegisterIve got a really bizarre bug, and I have only just started using the IY register. I seem to remember reading somewhere in a programming book, to neve…

    ... a double register (HL, DE, BC) for zero?

    Carl
    carlinski carlinski September 2007 Development
  • Easy Compare On 2 Byte Register?e.g. HL, BC, DE Has anybody got a really easy way of doing this without comparing each byte seperately? Any maths has no effect on the flags as far a…

    e.g. HL, BC, DE
    Has anybody got a really easy way of doing this without comparing each byte seperately? Any maths has no effect on the flags as far as I can tell.
    carlinski carlinski September 2007 Development
  • Paging MemoryAny idea why this short piece of code doesnt work, just crashes. I am just messing with paging memory in and out (not achived this yet) and reading t…

    ... />
    01 FD 7F LD BC, NN Hardware Memory Switch
    carlinski carlinski September 2007 Development
  • AY-player from Rastan SagaHello. For what ports #3F, #5F in the given fragment of a code are used? They give What effect in sounding? ================================= F4C1 21…

    ... 013FFF [B][COLOR="Red"]ld bc,FF3F[/COLOR][/B]
    F4D0 ...
    BeeEye BeeEye November 2007 Games
  • Graphic equalizer m.c. program neededBack in the 90's I had a full-screen attribute equalizer that was simple, yet very impressive. We used to listen to Vangelis or Jean M Jarre by conne…

    ... counter is different from zero, decrement that counter by one. This ...
    zxbruno zxbruno November 2007 Development
  • Airwolf debuggingI've been trying to fix a couple of things in Airwolf. 1. To pause after death so as to avoid the multiple deaths. As it regenerates the helicopter…

    ... /> ORG 23760
    pause: LD BC,254
    IN A,(C ...
    FrankT FrankT December 2007 Games
  • If you've got a real working MF128,IF1, and MDR combo can I ask a favour?So, if you do have a real Multiface 128, Interface 1, Microdrive and, oh yeah, a Spectrum (48k or 128k) that are all working, can I ask a favour...? …

    ... (err_sp),sp
    ld bc,0 ; clear bc
    ld de,gethook ... /> ret
    ;
    gethook ld bc,($00ec) ; return the address of ... HOOK-CODE in bc register
    ret
    ;[/CODE ...
    jp jp February 2008 Hardware
  • 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…

    ... side to line1
    ld bc,$bf00 ;set counter to 191 ... lines
    scrlcount
    push bc ;save line counter
    dontmove ... line road left
    pop bc ;recover count for number of ...
    bigjon bigjon February 2008 Development
<1…45678910…34>

Latest Posts

  • Your Favorite Magazine Cover Tapes.
    dm_boozefreek on 4:45PM
  • Happy 40th Birthday to the Amstrad CPC464!
    dmsmith on 4:10PM
  • "Late Entries"
    harriusherbartio on 4:00PM
  • How Do You Categorize Your Speccy Software and Games?
    harriusherbartio on 1:34PM
  • Simple Sprite Routine
    dmsmith on 1:25AM
  • I am currently watching.....
    zx1 on April 11
  • Today's BASIC program: visit attribute cells I am interested in, in pseudorandom order
    Paradigm Shifter on April 11
  • How do you share programs online?
    firelord on April 11
  • Celebrity deaths...
    Ælita on April 11
  • Who Has Got The Earliest ZX Spectrum Software?
    harriusherbartio on April 11

HitBox

Word Docs Hits
cpi 101 164
decrement 190 311
bc 3.6K 14K

Related Threads

  • BC 's Quest For Tireswhen playing this game you can only use keyboard right?.WRONG.if you press the letter "p" while the game has started(paused and waiting for input)a c…
  • BC Bill does this game work with a emulator?Can anyone get this game running with a emulator. I get as far as the main screen but can't start the game
  • BC BillThis is embarrassing but here goes...<br /> <br /> I'm playing BC Bill using ZX32. On the control menu I press 2 to select 'Kempston'. What do I need…
  • DEC BC/LD A,B/OR C/JP NZ,loopyesterday i saw nice trick:[code]<br /> <br /> dec bc<br /> ld a, b<br /> or c<br /> jp nz, loop<br /> <br /> can be replaced (bc starts &gt;255, sho…
  • Problems with BC bill gameI have loaded this game with several emulators and game files with the same result:<br /> you can choose the input -&gt; sinclair, kempston, etc but …
  • CPI emulationI'm currently writing Sinclairean's emulation assembly for the CPI/CPD/CPIR/CPDR instruction group. Does anybody know what exactly the behavior of th…
  • BC's Quest for Tires code sheet missingSpeaking of [URL="http://www.worldofspectrum.org/forums/showthread.php?t=35314"]missing code sheets[/URL], it appears the sheet for [URL="http://www.…
  • SBC IX,DE/BCAlways wondered why there wasn't a SBC IX, DE/BC command....<br /> <br /> so have to use<br /> <br /> PUSH HL ; save original HL<br /> PUSH IX ; …
  • Fuse tests - INC BC causes contention delayHi all,<br /> <br /> In the FUSE test suite it has the following for the output of opCode 0x3 (INC BC):<br /> <br /> 0 MC 0000<br /> 4 M…
  • Problem with BC corrupting after DJNZJust for fun, I'm messing around trying to get the level maps from Lemmings to display on the screen with machine code. It's been ages since I did an…

Related Searches

  • ld bc eostr string
  • call address in bc
  • print usr bc
  • bc bill
  • bc ill brown
  • bc bill brown
  • bc kid
  • usr bc register
  • usr bc register address
  • 14 bc b9
  • cpi
  • print bc assembler
  • ld bc hl
  • otdr decrement
  • ay envelope decrement
  • cpi copy
  • decrement screen line
  • bc
  • cpi ldecrement bc
  • cpi ldecrement bc chris pile

Copyright © 2024 World of Spectrum