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.011s
<1…6789101112…34>
  • "The Register" logo.What do those walking legs in the "The Register" logo represent? Is there a story behind them and why is it missing the rest of the body? Where is …

    What do those walking legs in the "The Register" logo represent? Is there a story behind them and why is it missing the rest of the body? Where is it walking to?

    [img]http://www.theregister.co.uk/Design/graphics/std/logo_414_80.png[/img]
    ZnorXman ZnorXman April 2013 Chit chat
  • Machine code loopsDear all, 30 years too late I know, but I'm finally starting to get to grips with Machine Code - something I could never manage back in my early tee…

    ... back to if the b register isn't 0, but I ... ) Can I not just load BC with say 6912, dec it ... misunderstood this? Does the flag register only react to operations on ...
    Tobo Tobo June 2013 Development
  • Some thoughs about fast scrolling on 128 modelPlease, consider this article as technically interesting concept not a proven algorithm. ONE The fastest scrollers use long sequence of PUSH inst…

    ... DE for empty tile and BC for generic wall tile. And ... spend 256T by updating one register.

    TEN
    If ...
    catmeows catmeows June 2013 Development
  • Cobra (improved again BUGFIX)This is an improved BUGFIX for game [URL="http://www.worldofspectrum.org/infoseekid.cgi?id=0000996"]Cobra[/URL], that works better than the fix curre…

    ... loop:
    [CODE]95fe: ld bc,$3f28
    9601: ld a ...
    9602: in a,($ff) ; register 'A' always set to $FF ... /> [CODE]95fe: ld bc,$0300
    9601: dec bc
    9602: ld ...
    Einar Saukas Einar Saukas July 2013 Infoseek database
  • MOVE_M Object Movement Manager for BASICAs moving things around on the screen is usually the slowest part of a game written in BASIC, I've been pottering around with this routine to handle …

    ... /> REM RESTORE USR DOINT : do stuff : RESTORE USR NOINT:
    ... REM replace USR labels with the ... /> 257 RESTORE USR DOINT: PAUSE 0: RESTORE USR NOINT: RETURN< ... $028e KEY_SCAN the DE register and the Zero flag
    Battle Bunny Battle Bunny September 2013 Sinclair Basic
  • 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…

    ... FN c$(r,c)=STR$ USR ScrDol0 .
    [code]
    ScrDol0 ... instead of BC
    pop bc ;BC=$2d2b (discard)
    pop bc ;BC=$3365
    push de
    push bc
    ld de,(23653) ;DE ...
    Battle Bunny Battle Bunny October 2013 Sinclair Basic
  • that "listing variables during runtime" thingWell, I did eventually finish this, but with my meds playing up I don't have much time each day that I can spend at the computer, so it's taken rathe…

    ... FN s$(r,k)=STR$ USR ScrDol0
    so if called ... contain r & k and BC=ScrDol0 prior to the call ...
    Battle Bunny Battle Bunny November 2013 Sinclair Basic
  • Ghosts n' Goblins loaderI'm trying to put Ghosts n' Goblins onto a +3 disk but struggling to understand the mc loader. Basic loader [code] ink 7 : clear 25000 : load "" cod…

    ... load "" code : ink usr 65477 : print usr 65040[/code]

    65227: LD BC,236

    ... /> 65243: PUSH BC
    65244: PUSH BC
    65245: ... SP
    65250: POP BC
    65251: ADD HL ... , 23610
    65441: POP BC
    65442: RET
    ...
    Speccy_James Speccy_James February 2014 Development
  • dumping protected BASIC loadersI wrote this a few weeks ago but forgot to post it. It will load & list from tape/TAP/TZX any BASIC program which has been saved with SAVE, including…

    ... mc+5,0:
    LET bc=USR mc: IF PEEK bytes THEN ... +5,PEEK (bytes+12): LET bc=USR mc
    10 LET a ...
    Battle Bunny Battle Bunny March 2014 Sinclair Basic
  • SBC IX,DE/BCAlways wondered why there wasn't a SBC IX, DE/BC command.... so have to use PUSH HL ; save original HL PUSH IX ; IX on stack POP HL ; IX …

    ... 't a SBC IX, DE/BC command....

    so have ... is the value to subtract, BC is the counter. Another note ...
    MatGubbins MatGubbins April 2014 Development
  • Double-Buffer ScreenFor my Alien Breed Speccy re-write I decided to use a Double Buffer (DB) or 'Back Screen' to draw all the game action onto, before shuffling the whol…

    ... DB screen and then RANDOMIZE USR 31144 (or JP or CALL ...
    loop1:
    ld bc,32 ;BC is counter for block copy ...
    LuMan LuMan April 2014 Development
  • Fuse bug? Strange T state countingI was testing delay routine presented [URL="http://www.worldofspectrum.org/forums/showthread.php?p=214851"]here[/URL]. I'm reproducing its listing: …

    ... GPL
    ; wait bc T (including call; bc>=141)
    ; ... ,-141
    add hl,bc
    ld bc,-23
    .loop add ... /> [CODE] ORG 40000
    LD BC,141
    CALL DELAY
    USR to "SCF + RET NC" or ...
    TK90XFan TK90XFan May 2014 Emulators
  • Machine Code in 30 minutes - car gameWotcha folks, 30 years on and I'm still struggling with Machine Code. I'm going through the 30-minute tutorial on the Chuntey blog and it's all made…

    ... this:
    [code]
    ld bc,65278 ;read keyboard caps to ... l
    moveright
    ld bc,32766 ;read keyboard space to ... why 65278 is loaded into BC, but what is 'IN A ... the contents of the C register ...which doesn't make sense ...
    Tobo Tobo August 2014 Development
  • Return to basic from sna created by Z80 compilerHow can I go back to basic when running sna created using Z80 Assembler ([url] http://www.worldofspectrum.org/utilities.html#crossass [/url])? For e…

    ... /> ld de,16385
    ld bc,6143
    ld a,255 ... and run it with RANDOMIZE USR 31500 everything works well - screen ...
    princm princm January 2015 Development
  • Strange keyboard port reads on 48+Hi all, I don't know whether it was already discussed (I also searched forum, but there are too much of results searching "48k keyboard" so I didn't…

    ... /> 40 POKE 23692,255: PRINT USR 32768;" ";: GO TO 40
    rept 3270
    ld bc,+
    ld a,239
    ub880d ub880d January 2015 Hardware
  • Fuse tests - INC BC causes contention delayHi all, In the FUSE test suite it has the following for the output of opCode 0x3 (INC BC): 0 MC 0000 4 MR 0000 03 4 MC 0001 …

    ... output of opCode 0x3 (INC BC):

    0 MC 0000 ... understand is why incrementing the BC pair should introduce two contentions ...
    garethadams garethadams July 2015 Emulators
  • ZERO Emulator - BugsI have been using Zero emulator to experiment a few routines in assembly, since it has a somewhat usable debugger. However I believe I found a few b…

    I have been using Zero emulator to experiment a few routines in assembly, since it has a somewhat usable debugger.
    However I believe I found a few bugs, some in "zero" application, and some on emulation itself.

    The following example ...
    RMartins RMartins July 2015 Emulators
  • The I register and IM 1Hi al! I've been doing some coding, replacing the BASIC ROM with my own code and upon examination of a few 16Kb cartridges, all the ones I've look…

    ... to say about the I register, apart from its use in ...
    Mysterion Mysterion November 2015 Development
  • 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…

    ... />
    LOOP1 LD BC,8 ; SET THE COUNTER FOR ... LINES
    LOOP2 PUSH BC ; STORE THE LINE COUNTER ...

    LD BC,32 ; SET THE COUNTER FOR ... NEXT LINE
    POP BC ; RETRIEVE THE LINE COUNTER ... on screen, after popping BC the DJNZ doesn't ...
    mulder mulder January 2016 Development
  • Z88DK NOOB cplot INK colorHi I am a complete NOOB with Z88DK, I am trying to draw colored circles. How does ink, paper and border work with Z88DK. I started trying to wo…

    ... for CALLEE functions)
    POP BC ; C = x, and remove x ... ; Move X to the proper register

    ; D = X and ...
    andydansby andydansby June 2016 Development
  • So it occurred to me; "Why bother with going into 48K BASIC when you can just....wrap the machine code calls inside a 'RST #28;DEFW addr:RET'?" Of course, you DO need a small M/C routine to do that, and ta-daaa, here it is: [cod…

    ... /> DEFW #2DA2 ; unstack BC from the calculator stack - ...
    LD (addr),BC ; store the value at ... addr DEFW #0000 ; loaded from BC above ^^
    RET
    ... Usage: RANDOMIZE addr AND USR 23764
    3 ...
    The_Bert The_Bert September 2016 Sinclair Basic
  • RANDOMIZE USR, PRINT USR etcHello just wondering why is it called RANDOMIZE UsR what does randomising have to do with it ? When calling machine code routine from adress x you ty…

    ... why is it called RANDOMIZE UsR what does randomising have to ... you type RANDOMIZE USR x. Why not RUN USR x ? I just ... tried PRINT USR 65368 it resets the machine! ...
    ivanb303 ivanb303 October 2016 Sinclair Basic
  • Print (to screen) avalue held in a register pairHi guys, looking for a routine that will print any value from 0 to 65535 to the current position on the screen. I once heard that there was a PRIN…

    ... a value held in theBC register pair, to the current screen ...
    DEATH DEATH October 2016 Development
  • More basic assembly stuff!I've been figuring out some more stuff using CALL and DEFB but this has me a bit stumped. [code] ORG 33000 LD BC, 16384 PUSH BC CALL GO RET …

    ... 33000
    LD BC, 16384
    PUSH BC
    CALL GO
    BC
    RET
    [/code]

    When I do PRINT USR ...
    ivanb303 ivanb303 March 2017 Assembler
  • New Windows Spectrum Emulator: CSpect V0.2 ZXSpectrum emulator by Mike DaillyNew Windows Spectrum Emulator: CSpect V0.2 ZXSpectrum emulator by Mike Dailly (Found on SpecNext Facebook-Page) Info and Download (=klick "CSpe…

    ... ===================
    ld bc, $243B ; select the X scroll register
    ld a ... ===================
    ld bc, $243B ; select the Y scroll register
    ld a ... as transparent

    Register $20 ; Layer 2 transparency ...
    Luzie Luzie July 2017 Emulators
  • shadow regs musingIn the process of optimising some assembler, it occurred to me how great it would have been if the Z80's shadow reg opcodes had been a bit more fully…

    ... to exchange either AF or BC,DE,HL. Which makes them ... cumbersome to get shadow BC into regular BC without going via the ... .. originally intended for a quick register bank swap during interrupts, which ... up with:

    ex bc, bc'
    ex de, de'
    CatWeazle CatWeazle August 2017 Development
  • Using BASIC from Machine CodeHi Folks, Came across a very interesting article by Toni Baker in Your Spectrum: http://www.users.globalnet.co.uk/~jg27paw4/yr11/yr11_66.htm …

    ... /> LD HL,(23641)
    LD BC,130
    CALL 5717
    POP HL
    LD BC,128
    LDIR
    SET ... 0
    120 LET A=USR 62000[/code]

    The ...
    Paddy Coleman Paddy Coleman August 2017 Development
  • Can't Get My Simple Code To RunHello again, I'm trying to run the following simple code: [code] org 32768 main ld b, 21 ; x coordinate is …

    ... ; string to print
    ld bc, eostring-string ; length of string ... . I tried
    [quote]Randomize USR 32768[/quote]
    but I ...
    Scorpion_Realities Scorpion_Realities October 2017 Development
  • A Neat Redefine Keys RoutinePreviously, I’ve only shared this routine with a couple of people via PM, but I’ve now decided to make it public. I optimized it for size, so it uses…

    ...

    2$ push bc ;remember counter
    ld a ... ; otherwise, use a 16-bit register
    ;pair, such as ... ;table row

    pop bc ;restore counter
    djnz 2 ... up (HL will be incremented BC times)
    cpir ;while ...
    Ast_A_Moore Ast_A_Moore October 2017 Development
<1…6789101112…34>

Latest Posts

  • i am currently listening to........
    Paradigm Shifter on 12:26AM
  • Happy 40th Birthday to the Amstrad CPC464!
    dmsmith on April 16
  • Celebrity deaths...
    mel the bell on April 16
  • Cooperative Games.
    Paradigm Shifter on April 16
  • LONELY TZX files : software TZX'd on the online sites with NO ASSOCIATED DOCUMENTATION
    harriusherbartio on April 16
  • European Software Titles with an English version
    harriusherbartio on April 16
  • How we became brainwashed by social media
    Antiriad2097 on April 16
  • How Do You Categorize Your Speccy Software and Games?
    Antiriad2097 on April 16
  • Fixed Speccy Software. And which games remained unfixed?
    harriusherbartio on April 16
  • I am currently watching.....
    zx1 on April 15

HitBox

Word Docs Hits
usr 3.4K 6.2K
bc 3.6K 14K
register 4.2K 6.1K

Related Threads

  • RANDOMIZE USR, PRINT USR etcHello just wondering why is it called RANDOMIZE UsR what does randomising have to do with it ? When calling machine code routine from adress x you ty…
  • Randomize USR xxxxxA weird topic:<br /> When I was a kid I use to mess around with the RANDOMIZE USR xxxxx, sad I know!!!<br /> For instance RANDOMIZE USR 51234 would g…
  • 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
  • Run BASIC program by R. USR xxxxxGuys, please help. Suppose I have BASIC program in my Spectrum 48K starting with line 10. I'd like to start it by RANDOMIZE USR xxxxx. Which paramete…
  • POKE, PEEK and RANDOMIZE USRAnyone got a store of useful POKES, or RANDOMIZE USR statements with interesting effects?<br /> <br /> As a start, try anything from RANDOMIZE USR 12…
  • 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…
  • Index register questionDoes anyone know whether the DD / FD prefix works on the ex de,hl instruction, ie. modifying it to ex de,ix or ex de,iy.<br /> <br /> Derek
  • Index register subtractionHi,<br /> <br /> Just wondering if there a way to perform SBC HL,BC on the IX or IY registers. I can't find an op code for it, and my assembler doesn…
  • Is the IY register used by the spectrum rom?Hi<br /> <br /> I've been writing a sprite routine and have noticed that the sprite data gets corrupted at some points. I have no idea why and can on…

Related Searches

  • randomize usr
  • otla settings clear usr
  • otla clear usr
  • usr 15619
  • ftp register
  • register error
  • forum register error
  • usr 0
  • usr 0 128
  • usr 328
  • scroll usr 328
  • scroll usr
  • rom scroll usr
  • fuse register i
  • ld bc eostr string
  • strange loading randomize usr
  • rand usr
  • tr dos randomize usr
  • print usr bc
  • usr bc register address

Copyright © 2024 World of Spectrum