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…18192021222324…34>
  • Announce Pasmo 0.5.1Hello. New release 0.5.1 of Pasmo, multiplatform Z80 cross-assmbler. The main news are related to macros: the MACRO parameters now are expanded ins…

    ... /> if c
    add hl, bc
    rla
    else
    add hl, bc
    rla
    jp _uniqLabel_h39sf3 ...
    Erlstoned Erlstoned January 2005 Development
  • Spectrum programmingI have a Spectrum+ at home. I tried to write some programs in BASIC (IIRC i wrote a breakout clone in which you had to hit those spider-like characte…

    ... keyboard like this
    LD BC,#NNFE ; NN holds the row ...
    Dr BEEP Dr BEEP January 2005 Development
  • Help needed to speed up functionCan anyone help me to re-factor this code snippet. The "MAP" section holds information about which tiles go where on the screen (handled by another f…

    ... br /> ld c,(hl) ; BC -> Colour value
    ld ... a,(bc)
    ld (de),a< ... br /> inc l
    pop bc
    djnz loop
    ... pop hl

    pop bc
    djnz loop2

    AndyC AndyC February 2005 Development
  • DEC BC/LD A,B/OR C/JP NZ,loopyesterday i saw nice trick:[code] dec bc ld a, b or c jp nz, loop can be replaced (bc starts >255, short jump) by: dec bc inc b djnz loop [/code] …

    ... br /> [code]

    dec bc
    ld a, b
    can be replaced (bc starts >255, short jump ... by:

    dec bc
    inc b
    djnz ... The first code ends when BC reaches zero.
    The ... second code ends when BC reaches 255

    Dr BEEP Dr BEEP February 2005 Development
  • Anyone help re-factoring a tile functionI had some excellent feedback for re-factoring my function that displays the colour for my screen tiles. Can anyone offer some help to improve the fu…

    ... B,16
    PRTTILELOOPX PUSH BC
    PUSH DE
    LD ...
    POP DE
    POP BC
    INC E
    INC ...
    Dr BEEP Dr BEEP February 2005 Development
  • Anyone help re-factoring a tile functionI had some excellent feedback for re-factoring my function that displays the colour for my screen tiles. Can anyone offer some help to improve the fu…

    ... and replaced the Push/Pop BC with an EX AF,AF ...
    Mr Millside Mr Millside February 2005 Development
  • The incredible shrinking screendumpIn this topic I stated that I would be impressed if the screendump could be smaller than 37 bytes. [url="http://www.worldofspectrum.org/forums/viewt…

    ... once again.

    DEC BC
    INC B
    DJNZ ... /> print dec hl
    inc bc
    djnz noret
    dec ... /> print dec hl
    inc bc
    djnz noret
    dec ... /> print dec hl
    inc bc
    djnz noret
    dec ...
    Dr BEEP Dr BEEP February 2005 Development
  • Anyone help re-factoring a tile functionI had some excellent feedback for re-factoring my function that displays the colour for my screen tiles. Can anyone offer some help to improve the fu…

    ... /> LD DE,16384
    LD BC,9
    LD HL,MAINMAP ...
    Mr Millside Mr Millside February 2005 Development
  • How to apart a 16K from a 48K?How can I understand that if i have a 16K or 48K? Thanks

    ... value in some register pair (BC?) or stack pointer? Ok, so ...
    Arjun Arjun February 2005 Sinclair Miscellaneous
  • How to apart a 16K from a 48K?How can I understand that if i have a 16K or 48K? Thanks

    ... value in some register pair (BC?) or stack pointer? Ok, so ... , the USR address is in BC when the machine code runs ... , and BC holds the result returned back ... there was little chance of BC being changed with a simple ...
    Woody Woody February 2005 Sinclair Miscellaneous
  • Games that are impossible to complete due to bugs!I'm trying to compile a list of Speccy games that cannot be completed because of a bug (or simply bad programming)! Here's a few... [B]Frankie Goes …

    ... $32, $41, $be, $c3, $e8, $bc


    You can ...
    Mr. Anonymous Mr. Anonymous February 2005 Games
  • Zoom cover questionhiya I just got a copy of zoom by imagine. only... it's got a black and white cover! Not seen one like this before. It's clearly not a pirate copy, …

    ... -Gold editions of Alchemist and BC Bill (Not the usual gold ...
    Graz Graz February 2005 Sinclair Miscellaneous
  • Zoom cover questionhiya I just got a copy of zoom by imagine. only... it's got a black and white cover! Not seen one like this before. It's clearly not a pirate copy, …

    ... -Gold editions of Alchemist and BC Bill (Not the usual gold ...
    Rainbird Rich Rainbird Rich February 2005 Sinclair Miscellaneous
  • How do I convert score to 00000 formatWhat is the quickest and best way in machine code to display the score formatted in zeros. For example, My score is currently 320, so I want it to …

    ... call getdigit
    ld bc,-1000
    call ... getdigit
    ld bc,-100
    call ... getdigit
    ld bc,-10
    call ...
    Woody Woody February 2005 Development
  • Quickest Assembly to find if point in rectangleWhat is the fastest way to see if a point is in a rectangle. e.g rectangle is 10,10 100,10 100,40 10,40 how do i know if a point (e.g 20,20) is in…

    This seems to work

    [code]
    org 32768


    ; h=x1 , l=y1 (Rect top left)
    ; d=x2 , e=y2 (Rect bottom right)
    ; b=x , c=y (x,y point to test)

    ; ...
    robpearmain robpearmain March 2005 Development
  • Quickest Assembly to find if point in rectangleWhat is the fastest way to see if a point is in a rectangle. e.g rectangle is 10,10 100,10 100,40 10,40 how do i know if a point (e.g 20,20) is in…

    ... /> ld de,(y2x2)
    ld bc,(yx)

    ld a ...
    Dr BEEP Dr BEEP March 2005 Development
  • OT: Calling all you rockersjust bought classic rock mag today with a dvd on the cover......think a new issue comes out tommorow mind, so if you want it youll have to get a back…

    ... Link (Napalm Death)
    8. BC/AD (Nocturnus)
    9. Party ...
    stupidget stupidget April 2005 Chit chat
  • Installing Z88DK Z88DK INSTALLATION Z88DK is distributed in two parts. The first part is the platform independent bits (including source and z80 libraries) and th…

    ... br /> pop bc
    pop bc
    pop bc
    pop bc
    ... br /> pop bc
    pop bc
    pop bc
    pop bc
    ... /> pop bc
    pop bc
    pop bc
    pop bc
    ... /> call sp_Invalidate
    pop bc
    pop bc
    .i_7
    ...
    na_th_an na_th_an April 2005 Development
  • Cool BASIC tricks and tips!Following on from Dunny's excellent suggestion of a compendium of BASIC tips + tricks, I believe it would be better to have a topic dedicated to it. …

    ... and returning the value in BC from an EI.

    Dunny Dunny April 2005 Sinclair Basic
  • Cool BASIC tricks and tips!Following on from Dunny's excellent suggestion of a compendium of BASIC tips + tricks, I believe it would be better to have a topic dedicated to it. …

    [quote]
    On 2005-04-14 16:02, Dunny wrote:
    value from BASIC short of issuing a DI from M/C, reading the bytes and returning the value in BC from an EI.
    [/quote]

    16 bit loads are atomic in m/c -- no need for di/ei
    Alcoholics Anonymous Alcoholics Anonymous April 2005 Sinclair Basic
  • BEEPing in assemblyI'm using Z88DK and I'd like to know how to produce BEEPs. I know it's a matter of writting very fast to a certain port, but I've read somewhere that…

    ... )
    {
    #asm
    pop bc ; bc = return address
    pop hl ...
    push hl
    push bc
    jp 0x03b5 ; jump to ...
    na_th_an na_th_an April 2005 Development
  • Fastest way to write something to screen$Hi, I just got pasmo.exe and start playing with attr scrolling, well, not scrolling, just write different values to a block and see if I can introdu…

    ... construct in your program ( DEC BC / LD A,B / OR C ...
    gasman gasman April 2005 Development
  • Fastest way to write something to screen$Hi, I just got pasmo.exe and start playing with attr scrolling, well, not scrolling, just write different values to a block and see if I can introdu…

    ... construct in your program ( DEC BC / LD A,B / OR C ...
    AE.Vasconcelos AE.Vasconcelos April 2005 Development
  • Fastest way to write something to screen$Hi, I just got pasmo.exe and start playing with attr scrolling, well, not scrolling, just write different values to a block and see if I can introdu…

    ... storing the low byte in BC, and having an inner loop ...
    gasman gasman April 2005 Development
  • Competition: Sadistick routine on Spectrum ROMMy vote goes to BEEPER at #03B5 Let's ear you pick! :) And a great BOHHHHHHHHHHHHH to Dr Ian Logan & Dr Frank O'Hara for their description about the…

    ... A and duration (ms) on BC.

    What formulas do ...
    AE.Vasconcelos AE.Vasconcelos May 2005 Development
  • Competition: Sadistick routine on Spectrum ROMMy vote goes to BEEPER at #03B5 Let's ear you pick! :) And a great BOHHHHHHHHHHHHH to Dr Ian Logan & Dr Frank O'Hara for their description about the…

    ... [/url], untested):

    LD BC,duration
    CALL 2D2B ; ROM ... routine to put value of BC on top of the calculator ...
    gasman gasman May 2005 Development
  • Competition: Sadistick routine on Spectrum ROMMy vote goes to BEEPER at #03B5 Let's ear you pick! :) And a great BOHHHHHHHHHHHHH to Dr Ian Logan & Dr Frank O'Hara for their description about the…

    ... [/url], untested):

    LD BC,duration
    CALL 2D2B ; ROM ... routine to put value of BC on top of the calculator ...
    AE.Vasconcelos AE.Vasconcelos May 2005 Development
  • Competition: Sadistick routine on Spectrum ROMMy vote goes to BEEPER at #03B5 Let's ear you pick! :) And a great BOHHHHHHHHHHHHH to Dr Ian Logan & Dr Frank O'Hara for their description about the…

    ... rocket science:

    LD BC,duration
    CALL 2D2B ; ROM ... routine to put value of BC on top of the calculator ...
    Philip Kendall Philip Kendall May 2005 Development
<1…18192021222324…34>

Latest Posts

  • Happy 40th Birthday to the Amstrad CPC464!
    AndyC on 6:29PM
  • Goodbye Z80
    i love the z80s on 6:28PM
  • Another Birthday! The Game Boy Is 35!
    dm_boozefreek on 6:17PM
  • I bought an accoustic guitar. How do you play it?
    Maroc's Other Projection on 6:04PM
  • 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
  • Elusive Strategy Games done by the Smaller or less Prolific Software Houses.
    harriusherbartio on April 21

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