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
<1234567…34>
  • 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
  • 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
  • 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
  • Understanding extensions to the BASIC parserFor a while, I've had a rather 'rinkety dink' extension to BASIC via an RST 8 trap in hardware, just so that I can send stuff to a Spectrum over ethe…

    ... work at all for me - BC is set to 0000 regardless ...
    Winston Winston March 2008 Development
  • problem using FRAMES to generate 'random' numbersI realise the pros use bytes from ROM to get their random numbers, presumably because they want to use FRAMES to synchronise the printing and avoid s…

    ... ,a
    contrandommove
    push bc ;save no. of moves in ...
    bigjon bigjon March 2008 Development
  • Speccy sound on tv show - againRemember the spectrum loading noise in two CSI shows? Well, fuzzix on c.s.s. has found what seems to be another clip of Speccy goodness: [url]http:/…

    ... L,1
    110 LD BC,#B201
    120 LBITS CALL ...
    zxbruno zxbruno March 2008 Sinclair Miscellaneous
  • Need Help with codeHi there, let me preface this by saying I'm NOT an old school computer guy though I do remember using the internet before the WWW and my first comput…

    ...
    INC (HL)
    INC BC
    LD HL,nn
    Red_Fox Red_Fox May 2008 Sinclair Miscellaneous
  • Alternative ROM on original DivIDEOriginal DivIDE interface contain too allram mode (16kB paging). [url]http://raww.org/index.php?name=News&file=article&sid=2471[/url] Switch to ALLR…

    ... /> LD DE,0
    LD BC,16384
    LDIR ;rom instalation ...
    velesoft velesoft June 2008 Hardware
  • How to read AY Registers from M/C?Gentlemen, I will appreciate if you can provide me some details on this, as I could not find info in other sources. I would like to know if it's pos…

    ... /> LD D,7
    LD BC,ayctrl
    OUT (C),D ...
    LD BC,aydata
    IN A,(C ...
    worldxxisoft worldxxisoft June 2008 Development
  • DJNZ e ProblemI'm trying to write the DJNZ e instruction as part of the development of my emulator and can't get it to work. Here is the in and out states of Phil…

    ... :[/u]
    AF 0x00
    BC 0x0800
    PC 0X0000
    AF 0x0000
    BC 0x0001
    PC 0x0004

    I end up with BC = 0x0001 and PC = 8. Here ...
    MadDoc MadDoc June 2008 Emulators
  • Integer RangesOK, I need a little help clarifying something. I am making good progress with the emulator so far - I've emulated most ADD, INC, DEC commands (as we…

    ... -bit integer pairs (e.g. BC, DE, etc) but I represent ...
    MadDoc MadDoc June 2008 Emulators
  • Games sale clean-out...Having a clean-out, and are selling the titles below... PM me if you're interested in any of them. Unsure of any particular prices - make me an off…

    ...
    Arkanoid
    Ballcrazy
    BC's Quest for Tires
    bobs bobs July 2008 Sales
  • 128 ROM paging alternativeWould this work (with the appropriate code in each ROM)? [code] ; 128 rom paging routine ; use rst 28h with call address stored after restart ;;rom…

    ... ) ; get value
    ld bc, 0x7ffd ; bc holds port address
    di ... ) ; get value
    ld bc, 0x7ffd ; bc holds port address
    di ...
    chev chev August 2008 Development
  • Bresenham's line algorithmHelp - I really am struggling to get my head around this algorithm. I don't know why, I coped with Cordic (SIN/COS) and integer divide routines (/10 …

    ... Y value ($032A)
    LD BC,(real328) ;get back relative X ... /> OR B ;check that both BC & HL 0
    OR ... ;preserve HL
    SBC HL,BC ;if Y>X then ... next bit

    ;swap BC/HL to keep X> ... ,A ;swap HL (Y) and BC (X)

    gfxdraw2:< ...
    Jimmy Jimmy August 2008 Development
<1234567…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
ldecrement 0 0
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
  • cpi copy
  • bc
  • ld bc 65533 a 254 out c
  • ld bc 65533
  • screen buffer push bc
  • cpi decrement bc
  • cpi ldecrement bc chris pile

Copyright © 2024 World of Spectrum