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.008s
<1…25262728293031…34>
  • How to print logo onto screen at chosen coordinates?Hi, I've just got back into zx spectrum games after all these years and after seeing some of the great games on here I would like to start learning p…

    ... refer to them. The "RANDOMIZE USR 60212" is to set up ... .
    [code]
    100 RANDOMIZE USR 60212
    180 INPUT "text ... ):
    LET bc=ox=(oy=(sx=(sy=(ds=(c+USR 60000))))):
    Battle Bunny Battle Bunny February 2014 Development
  • Animated attribute revealA new challenge to solve next. I would like to create an animated attribute reveal in machine code by having my 768 byte attributes held in ram whic…

    ... 6144
    44 RANDOMIZE USR 23296
    45 ... c,b
    push bc
    ld b,32 ... push hl
    push bc
    ld b,24 ... starting column
    pop bc
    djnz REV0 ;done ...
    Battle Bunny Battle Bunny February 2014 Development
  • Deterministic random number generatorI'm looking for a random number generator in assembly which, given a seed, the generated sequence is always the same. You change the seed, you get a …

    Patrik's XOR generator is a good one but it only generates 8-bit numbers (again a plus if that's all you want!). If you want random numbers larger than 8-bit you have to call the function several times and piece together the results, which degrades the ...
    Alcoholics Anonymous Alcoholics Anonymous February 2014 Development
  • Machine Code Routine of the weekHow about a thread that has a routine each week that is in [B]assembly language[/B] and is also described in great detail what the hell is going on …

    [CODE]
    ld bc, $5700
    ld a, $aa[/CODE]

    ld bc,$57[B]AA[/B]
    ld a,c

    also, as [B]Hikaru[/B] mentioned, after RANDOMIZE USR adr, BC=adr.
    another trick:D
    g0blinish g0blinish February 2014 Development
  • IX register wonderings...***noob alert*** I'm doing a lot of these in my program: ld a,(ix+n) cp 0 jp z I know you can do things like this: dec (ix+n) but can you test …

    ... ]I'm using the Ix register in my game to organise ... ) using HL (or DE or BC) instead IX and accesing objects ...
    catmeows catmeows February 2014 Development
  • Is ESXDOS flexible enough to incorporate e.g. Spectranet commands?I was just discussing the idea with someone about the wish some people have to be able to combine interfaces such as DivIDE (Plus) / DivMMC EnJOY! wi…

    ... and identified in the A register.

    [code]
    ...

    cpi ; hl++, bc--

    ld a,(hl ... br /> ; de = void *buffer
    ; bc = uint buffer_len
    ;
    ; return ...
    Alcoholics Anonymous Alcoholics Anonymous February 2014 Hardware
  • A "generic" loader for +3(e)I've made this loader for 128k games in +3DOS. [CODE]dos_open equ 262 dos_close equ 265 dos_abandon equ 268 dos_read equ 274 dos_write equ 277 dos_s…

    ... /> ; to load part 1, USR 24579
    ; to load ... part 2, USR 24576

    ; ... /> ; part 1 24800,40650; USR 25856
    ; part 2 ... 25088,40447; USR 51207

    ; ... :
    di
    ld bc,32765
    ld (BANKM),a ...
    Zup Zup February 2014 Development
  • 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…

    ... ]
    9900 RESTORE 9992: RANDOMIZE USR (FN p(23639)+6):
    Battle Bunny Battle Bunny March 2014 Sinclair Basic
  • LDI questionWhen using LDI (or LDD) is it possible to access the value that is transfered from (HL) to (DE), or does the Z80 use an internal data cache to store …

    ... doesn't use the A register or anything so the value ... result of the DEC on BC as a counter.
    joefish joefish March 2014 Development
  • LDI questionWhen using LDI (or LDD) is it possible to access the value that is transfered from (HL) to (DE), or does the Z80 use an internal data cache to store …

    ... and add the value of register A to it.
    Call ... .
    PF flag Set if BC not 0.
    SF, ZF ... unused bits of the flag register) get 2 bits of info ... hardwork of subtracting the A register just not outputing the results ...
    Basher Basher March 2014 Development
  • LDI questionWhen using LDI (or LDD) is it possible to access the value that is transfered from (HL) to (DE), or does the Z80 use an internal data cache to store …

    ... ,with the value from the register that had just used to ... command that doesn't alter BC.
    MatGubbins MatGubbins March 2014 Development
  • We could design the LokiWouldn't it be great... if this community would develop what Sinclair himself started but was never finished: a successor of the 128K with 'cartoon l…

    ... complete Z80 register sets (i.e. 4 of AF, BC, DE, HL ... , AF', BC', DE', HL', IX ...
    The_Bert The_Bert March 2014 Hardware
  • JP (HL) confusionokay.... JP nn will jump to memory address nn. JP (HL) ,I assumed would read the contents of memory address HL and jump to the location and be a gre…

    ... ,16,20,24 etc
    ; BC is the current address of ... standing on
    LD A,(BC)
    LD L,A
    register instead of BC this could be even ...
    PokeMon PokeMon March 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…

    ... through them with a spare register like IX.

    Also ... Stack Pointer as an extra register and read/write two bytes ... at a time using AF, BC, DE and HL (8 bytes ... ' to swap to the alternate register set for another 8 bytes ...
    joefish joefish April 2014 Development
  • Fuller AY only gamesThe definitive list: 1) Demonstration Tape 2) Bodysnatchas 3) Star Bike

    ... /> ld de,$5c00
    ld bc,801
    ldir ;restore fuller ... a,b
    push bc
    ld bc,$fffd
    out (c ... ),a
    ld bc,$bffd
    ld a,(hl ... /> out (c),a
    pop bc
    ret[/CODE]

    USR 37146 then start the game ...
    Jimmy Jimmy May 2014 Games
  • Sorting BusinessThis is a little bit different from the usual game-related fare but I know there are a few people here who like this sort of thing. This is about so…

    ... i
    push bc ; save size
    push bc ; save size< ... k % size

    pop bc ; bc = size
    pop de ; de ... ll be using the R register for a quick random ...
    Alcoholics Anonymous Alcoholics Anonymous May 2014 Development
  • Sorting BusinessThis is a little bit different from the usual game-related fare but I know there are a few people here who like this sort of thing. This is about so…

    ... br /> ; hl = array_hi
    ; bc = size
    ; ix = compare< ... br />
    add hl,bc
    push hl ; save ... br /> insert_exit:

    ; bc = size
    ; ix = compare< ... exchange set. The R register is there, but ...
    Alcoholics Anonymous Alcoholics Anonymous May 2014 Development
  • AMX mouse emulationI'm trying to add AMX mouse emulation to Spud but not getting very far. I can get a reaction to button presses but nothing to moving the mouse. …

    ... way by using the I register as the high byte.
    82ea c5 push bc
    82eb d5 push de ... de
    82fd c1 pop bc
    82fe f1 pop af ... 3fh)
    8305 c5 push bc
    8306 d5 push de ...
    Jon Needle Jon Needle May 2014 Emulators
  • AMX mouse emulationI'm trying to add AMX mouse emulation to Spud but not getting very far. I can get a reaction to button presses but nothing to moving the mouse. …

    ... way by using the I register as the high byte.
    82ea c5 push bc
    82eb d5 push de ... de
    82fd c1 pop bc
    82fe f1 pop af ... 3fh)
    8305 c5 push bc
    8306 d5 push de ...
    rich_chandler rich_chandler May 2014 Emulators
  • Fast and easy read/write of attributes?What are the fastest or easiest ways to check the attributes of tiles on the screen, in BASIC? It seems to be a great way of storing object info. …

    ... as needed in basic then USR to whichever jp I need ... /> ld e, a
    ld bc, (byteloop)
    ; hl = attr memory ... = attr value to poke
    ; bc = number of times to poke ...
    inc hl
    dec bc
    ld a, b
    polomint polomint June 2014 Sinclair Basic
  • DSK version of Terramex?I'm trying to make a DSK version of Terramex, but game refuses to load. The problem is probably in a protected loader (302 bytes), but I wasnt able …

    ... forget to do
    ld bc 29184
    call 29184
    40 RANDOMIZE USR 29184, but just in this ... works good in 48k mode (usr 0), but in 128k mode ...
    Pegaz Pegaz July 2014 Games
  • Drawing a dotted line...Hi Folks, I cannot be the first person to want this (?) so here goes! Does anyone have a MC routine that does the same as the BASIC DRAW command bu…

    ... 255,0: LET bc=-255=175+USR DOTS: REM DRAW ... 255,175: LET bc=-255=-175+USR DOTS
    40 ... 127,0: LET bc=0=175+USR DOTS
    50 ... 0,87: LET bc=255=0+USR DOTS
    70 ... EXX
    POP BC
    PUSH BC
    JR L_24DF
    Battle Bunny Battle Bunny July 2014 Sinclair Basic
  • Drawing a dotted line...Hi Folks, I cannot be the first person to want this (?) so here goes! Does anyone have a MC routine that does the same as the BASIC DRAW command bu…

    ... PLOT 255,0: LET bc=-255=175+USR DOTS: REM DRAW coords ... PLOT 255,175: LET bc=-255=-175+USR DOTS
    40 PLOT ... 127,0: LET bc=0=175+USR DOTS
    50 PLOT ... 0,87: LET bc=255=0+USR DOTS
    70 PAUSE ...
    Paddy Coleman Paddy Coleman July 2014 Sinclair Basic
  • RTC module for DIVIDE[IMG]http://velesoft.speccy.cz/other/rtc_module_v01_full_top.jpg[/IMG] [IMG]http://velesoft.speccy.cz/other/rtc_module_v01_full_bottom.jpg[/IMG] [IMG…

    ... used for select number of register in RTC chip. All RTC ... fire buttons
    ;and in register B will always state of ... (C)
    RETURN LD (JOYDIR),BC
    EI
    RET
    velesoft velesoft July 2014 Hardware
  • Block RoutineHi Folks, I want to draw a block on the screen dependent on providing the X,Y,W,H values. I came up with the following: [CODE]100 LET l$=" …

    ... a(x,y,h,v)=USR 63000
    2 REM ... )
    LD BC,4
    ADD HL,BC
    LD ... D,(HL)
    LD BC,ERROR-1
    ADD HL ... LD B,A
    PUSH BC
    63061 PUSH HL
    PUSH BC
    PUSH HL
    ... /> POP HL
    POP BC
    INC H
    ...
    Paddy Coleman Paddy Coleman July 2014 Sinclair Basic
  • Block RoutineHi Folks, I want to draw a block on the screen dependent on providing the X,Y,W,H values. I came up with the following: [CODE]100 LET l$=" …

    ... (x,y,w,h,a)=USR 63000
    110 INPUT "Row ...
    Battle Bunny Battle Bunny July 2014 Sinclair Basic
  • A new full-screen bicolor engine called NIRVANA[I]OK, there's something I need to clarify first: Nowadays if you write [B]"multicolor"[/B] everyone assumes it refers to "multicolor 8x1" (an attri…

    ... it to address in register pair (hl,bc) ?

    Psss, secret ...
    DenisGrachev DenisGrachev July 2014 Brand new software
  • A new full-screen bicolor engine called NIRVANA[I]OK, there's something I need to clarify first: Nowadays if you write [B]"multicolor"[/B] everyone assumes it refers to "multicolor 8x1" (an attri…

    ... it to address in register pair (hl,bc) ?[/QUOTE]

    Sure ... address pointed by HL or BC?

    [QUOTE=DenisGrachev;782500 ...
    Einar Saukas Einar Saukas July 2014 Brand new software
  • Manic Miner loading screen adjustmentHad half an hour spare earlier and wanted to try a few things. Always like to learn anyways even now. [URL="http://www.yellowspider.co.uk/speccy/Man…

    ... (see below)

    LD BC, 20 ; to a part of ... start the game ie a USR 33792[/code]

    A ...
    spider spider August 2014 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…

    ... 128 BASIC, 48 BASIC and USR 0 mode.[/QUOTE]

    register I=#39). Here is fixed ... version of game with new register I value #3B working on ...
    velesoft velesoft August 2014 Games
<1…25262728293031…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