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.009s
<1…18192021222324…34>
  • Is it possible to access the +3 disk drive via m/c in USR0 mode?Is it possible to access the disk drive of the +3 via m/c +3DOS calls when running in USR0 mode? I ask because I'm having an awful lot of trouble ge…

    ... for later restoration
    ld bc,$7ffd ; paging port
    USR 48796)
    ei ; ...
    ld bc,1
    here push bc ; save the ...
    di
    ld bc, $7ffd
    ld a,($5b5c ...
    di
    ld bc,$7ffd
    ld a,($5b5c ...
    cmonkey cmonkey October 2011 Development
  • which zx-spectrum games uses 1bit sound samples?hi! I'm looking for zx-spectrum games using 1bit sound samples. Compairing with msx, which has far less games available than zx-spectrum, there are f…

    ... />
    Oh yeah, use PRINT USR 65260 to actually listen to ... loop-unwinding (that inner B-register length loop using DJNZ), so ...
    PrinceGaz PrinceGaz November 2011 Games
  • tiny routine to shift RAMTOP & stackCompressing some data areas above RAMTOP and wanting to make the released space available for BASIC arrays, I needed to move RAMTOP without using CLE…

    ... ,lo_val: POKE 23731,hi_val: RANDOMIZE USR ...
    LD HL, 18 ; ... ; 77
    DEC BC ; 11
    DEC BC ; 11
    POP ... 27 ;$1B76 STMT_RET
    POP BC ; 193
    LD SP, ...
    Battle Bunny Battle Bunny November 2011 Sinclair Basic
  • how can we convert .z80 to .tap ?is there some way to convert a .z80 file (specially 48k) to .tap, in a similar result as saved from Multiface1? (i'm asking this because i imagine th…

    ... ; 23962 225
    LD BC, 18 ; 23963 1 18 0 ...
    ADD HL, BC ; 23966 9
    LD ... 0 190
    LD BC, 512 ; 23970 1 0 ... which is run with RANDOMIZE USR (VARS) set at 23958. ...
    Battle Bunny Battle Bunny November 2011 Development
  • Auto generated spritesLooking around for some graphics I came across [url]http://blog.disktree.net/?p=19[/url] , one of several such pages. Need the odd 8x8 UDG or two (…

    ... the contents of the r register, halves it & mirrors ... de,string ;instructions
    ld bc,theendofthestring-string
    call 8252 ... br /> ld a,r ;r register always ticking round
    and ... ld de,udgstring
    ld bc,22 ;string length
    call ...
    R-Tape R-Tape December 2011 Development
  • Xor-shift random number generator for Z80[QUOTE=Patrik Rak;320244]Come on, people, [URL="http://www.jstatsoft.org/v08/i14/paper"]xor-shift generators[/URL] devised by Marsaglia, that's the w…

    ... 34 F9 ld (seed+2),bc
    006 000 06 00 ...
    Paddy Coleman Paddy Coleman December 2011 Development
  • Procrustean PrintingHere's a short routine to manage printing of text with command tokens, to avoid messing up the screen when they are expanded. It just prints as many …

    ... by:
    ;PRINT USR stack,arg1[,arg2...,argn],address ... /> ld sp,hl ;undo USR
    ld ix,0< ... push ix
    pop bc
    dec bc
    ld a,c ... function call:
    PRINT USR stack,arg1[,arg2...,argn], ...
    Battle Bunny Battle Bunny December 2011 Sinclair Basic
  • Procrustean PrintingHere's a short routine to manage printing of text with command tokens, to avoid messing up the screen when they are expanded. It just prints as many …

    ... by:
    ;PRINT USR stack,arg1[,arg2...,argn],address ... /> ld sp,hl ;undo USR
    ld ix,0< ... push ix
    pop bc
    dec bc
    ld a,c ... function call:
    PRINT USR stack,arg1[,arg2...,argn], ...
    Dunny Dunny December 2011 Sinclair Basic
  • Calculating percentage..or even calculating percentage. Maths and asm I find verryyy tricky. Can anyone suggest the easiest/best way to calculate a percentage from two 1…

    ... .

    [CODE];Enter with BC holding the Total Amount and ... /> ld de,GivenCopy24
    ld bc,3
    ldir
    ;make ... the loops in the C register.
    ret
    ;
    Total24 ...
    Turkwel Turkwel December 2011 Development
  • Calculating percentage..or even calculating percentage. Maths and asm I find verryyy tricky. Can anyone suggest the easiest/best way to calculate a percentage from two 1…

    ... : equ $2d2b ;to calculator stack: BC
    FPTOA: equ $2dd5 ;from ...
    ld sp,hl ;undo USR
    GETARG: rst $20
    ld bc,5
    add hl,bc
    ld (23653 ...
    Battle Bunny Battle Bunny December 2011 Development
  • ANN: Tipshop updated Saturday, 31 December 2011Saturday 31 December 2011 The last update of the year - Happy New Year when it comes! * GoodBoy sent in a cheat for Wacky Races. * Hippy Smith sen…

    ... /> LD DE,$9E00
    LD BC,$2000
    LDIR
    < ... /> LD DE,table
    LD BC,$9E00
    again:
    LD ... B,A
    LD A,(BC)
    ADD A,$40 ; ... relocate!
    LD (BC),A
    JR again
    USR 49152 and finally play the ...
    Jimmy Jimmy January 2012 Announcements
  • Definitive list of games incompatible with +2A/+3 and of compatible versions (if any)I am trying to compile the definitive list of games which are incompatible with the +2A and the +3 and of their compatible versions, if they are pres…

    ... last basic line before RANDOMIZE USR xxxx command POKE 65529,59 ... =1
    Same problem, I register is set to #3A
    Ivanzx Ivanzx January 2012 Games
  • Definitive list of games incompatible with +2A/+3 and of compatible versions (if any)I am trying to compile the definitive list of games which are incompatible with the +2A and the +3 and of their compatible versions, if they are pres…

    ... last basic line before RANDOMIZE USR xxxx command POKE 65529,59 ... =1
    Same problem, I register is set to #3A
    Alessandro Grussu Alessandro Grussu January 2012 Games
  • Creating a new game - AssemblySo... finally I?m studying Assembly Z80... after 36 years. :) Well... it?s sooooooooooooo hard to make a game using Assembly? I bought a book (Spectr…

    ... result in BC, so that you can simply do PRINT USR to ...
    Arjun Arjun January 2012 Development
  • Creating a new game - AssemblySo... finally I?m studying Assembly Z80... after 36 years. :) Well... it?s sooooooooooooo hard to make a game using Assembly? I bought a book (Spectr…

    ... /> [FONT="Fixedsys"]A Accumulator
    BC Counter
    DE Destination
    BC as a length counter, with ... 's it.

    All register pairs have a high and ...
    csmith csmith January 2012 Development
  • Creating a new game - AssemblySo... finally I?m studying Assembly Z80... after 36 years. :) Well... it?s sooooooooooooo hard to make a game using Assembly? I bought a book (Spectr…

    ... /> Why do you think the register is called 'HL', if not ... you can't use BC as an addressing register it makes sense ... to use B, C or BC as ... PUSH a number from one register onto the stack and POP ...
    joefish joefish January 2012 Development
  • PLOT and DRAW in machine codeHow do you go about it? If I posted a really simple BASIC instruction could someone do a machine code routine so I could learn from it? I wouldnt k…

    ... /> ld de,9000
    ld bc,8000

    ld ... bc,-56
    ld a,-40
    [/code]

    Each register ... form a single 16-bit register that can hole a ... ld hl,10000'). The register pairs are AF, BC, DE, HL, IX ... a single 16-bit HL register with H the most ...
    Alcoholics Anonymous Alcoholics Anonymous January 2012 Development
  • Fairlight's use of LDIRYS, comparing Fairlight and Nightshade, said: [quote]Fairlight is much more interesting even though the techniques that Bo Jangeborg uses for screen…

    ... /> pop af
    pop bc
    pop de
    pop af
    pop bc
    pop de
    push de
    push bc
    push af
    push de
    push bc
    push af
    register for PUSH and for ...
    climacus climacus January 2012 Sinclair Miscellaneous
  • Loading the display with data from memoryTrying to load part of the screen(4k's worth) with data from memory location 53000, I've written this routine, but it doesnt work... [I]ld b,4000 ld…

    ... with the B register? Does it work with BC? :-o

    BC,4000 and then replacing DJNZ ... loop with:

    DEC BC
    LD A,B
    Morkin Morkin January 2012 Development
  • Loading the display with data from memoryTrying to load part of the screen(4k's worth) with data from memory location 53000, I've written this routine, but it doesnt work... [I]ld b,4000 ld…

    ... br />
    [CODE] ld bc,4000
    ld de,16384 ... /> inc hl
    dec bc ;can't djnz as this ... and c into the a register to examine
    or ... better

    ld bc,4000 ;no of bytes
    bc', stops when bc zero
    ret[/ ...
    R-Tape R-Tape January 2012 Development
  • Creating a new game - AssemblySo... finally I?m studying Assembly Z80... after 36 years. :) Well... it?s sooooooooooooo hard to make a game using Assembly? I bought a book (Spectr…

    ... rom dissassembly, and it said BC as input and HL as ... must be something related to USR command.

    Ok thanks ...
    Arda Arda January 2012 Development
  • Creating a new game - AssemblySo... finally I?m studying Assembly Z80... after 36 years. :) Well... it?s sooooooooooooo hard to make a game using Assembly? I bought a book (Spectr…

    ... code via the USR. On entry BC holds the USR address, and A ...
    obo obo January 2012 Development
  • 2nd OpCode question.... pretty please...Whats 0xED 0x70 please? Sean's doc says: IN F,(C)* / IN (C)* That doesn't mean much to me :( Lower down in Sean's doc it says: ED 70 is IN F,(n) so…

    ... with the flag register?

    Is (C) = BC?[/QUOTE]
    Yes ... (C) = BC. The port identified ... by BC is read, and the Flag register is ... A,(c) except the A register isn't affected.
    < ...
    ccowley ccowley February 2012 Emulators
  • 2nd OpCode question.... pretty please...Whats 0xED 0x70 please? Sean's doc says: IN F,(C)* / IN (C)* That doesn't mean much to me :( Lower down in Sean's doc it says: ED 70 is IN F,(n) so…

    ... ) = BC. The port identified by BC is read, and the Flag register is ... A,(c) except the A register isn't affected.

    Korinel Korinel February 2012 Emulators
  • Maritrini and Cray 5 loading problemsHas anyone else here had issues loading either of these on a 128k? No matter what I try, both these games refuse to load properly. I can get both t…

    ... to 48K using PRINT USR 0 (to not to ... to write to
    ld BC, #7FFD
    out (C ... ld de, 49152
    ld bc, 16384
    ldir
    ... RAM0, main screen.
    ld BC, #7FFD
    out (C ...
    mcleod_ideafix mcleod_ideafix March 2012 Games
  • Maritrini and Cray 5 loading problemsHas anyone else here had issues loading either of these on a 128k? No matter what I try, both these games refuse to load properly. I can get both t…

    ... : ld (BANK_M),a
    ld bc,(BANK_P)
    out (c),a ... be discarded until the next USR 0/NEW
    mcleod_ideafix mcleod_ideafix March 2012 Games
  • LZ77 en/decodingI've written an LZ77 en/decoding routine as I couldn't find one around for the Spectrum. Initially I'm just doing it in BASIC to get the logic right.…

    ... to compare via the A register rather than using SBC, changing ... further match

    ld bc,(CPOS)
    ld a,h ... Position

    MANEXT1:ld bc,ILAST
    ld a,d ...
    Battle Bunny Battle Bunny March 2012 Development
  • LZ77 en/decodingI've written an LZ77 en/decoding routine as I couldn't find one around for the Spectrum. Initially I'm just doing it in BASIC to get the logic right.…

    ... until the RET from the USR call anyway; plus saving "match ...
    Battle Bunny Battle Bunny March 2012 Development
  • LZ77 en/decodingI've written an LZ77 en/decoding routine as I couldn't find one around for the Spectrum. Initially I'm just doing it in BASIC to get the logic right.…

    ... BC anymore inside the MALOOP section. So you can now use register ...
    Einar Saukas Einar Saukas March 2012 Development
  • LZ77 en/decodingI've written an LZ77 en/decoding routine as I couldn't find one around for the Spectrum. Initially I'm just doing it in BASIC to get the logic right.…

    ... BC anymore inside the MALOOP section. So you can now use register ...
    Battle Bunny Battle Bunny March 2012 Development
<1…18192021222324…34>

Latest Posts

  • I am currently watching.....
    Paradigm Shifter on 12:49AM
  • New video about S-video modification on Issue two 48K Spectrum.
    Renegade on April 21
  • Fixed Speccy Software. And which games remained unfixed?
    John Elliott on April 21
  • Happy 40th Birthday to the Amstrad CPC464!
    rich_chandler on April 21
  • Another Birthday! The Game Boy Is 35!
    mel the bell on April 21
  • European Software Titles with an English version
    harriusherbartio on April 21
  • Elusive Strategy Games done by the Smaller or less Prolific Software Houses.
    harriusherbartio on April 21
  • 1992 Spectrum Software
    harriusherbartio on April 21
  • +3 Disk drive motor
    AndyC on April 21
  • Celebrity deaths...
    mel the bell on April 20

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