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.013s
<1…26272829303132…34>
  • Why no PLOT, etc. on bottom two lines?I was pondering if there was any way to get PLOT, etc. to address the full screen from BASIC without having to write a few lines of assembler to bypa…

    ... the expression "x=y+USR Plot191" must always be ... ;Syntax: FLASH x=y+USR Plot191
    ;where x= ... br /> Plot191:ld bc,(23653) ;BC=(STKEND)
    push bc
    call $ ... br /> ld (23677),bc ;(COORDS)=BC
    ld a,b ...
    Battle Bunny Battle Bunny August 2014 Sinclair Basic
  • Why no PLOT, etc. on bottom two lines?I was pondering if there was any way to get PLOT, etc. to address the full screen from BASIC without having to write a few lines of assembler to bypa…

    ... USR Plot191

    org 23296

    Plot191:ld bc,(23653) ;BC ... =(STKEND)
    push bc
    call $2307 ... x
    ld (23677),bc ;(COORDS)=BC
    ld a,b ...
    Battle Bunny Battle Bunny August 2014 Sinclair Basic
  • 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…

    [code]ei
    ld bc,65278 ;read keyboard caps to ... l
    moveright
    ld bc,32766 ;read keyboard space to ... pressed. Surely increasing the L register moves the car to the ...
    Tobo Tobo August 2014 Development
  • llvm-z80 statusFew months ago I read about efforts to produce llvm back-end for the Z80 (even perhaps as part of new z88dk). Any update on that? I found [URL="htt…

    ... /> push de
    push bc
    ld ix, 0< ... ld hl, 0
    pop bc
    pop de
    ... should also be doing register allocation for the most ... means each subroutine has register allocation done in isolation ...
    Alcoholics Anonymous Alcoholics Anonymous September 2014 Development
  • Game of Life.Last year (I think) or maybe the year before, I entered a Game of Life simulator into the CSS CGC compo but for the Sinclair ZX81. I decided to port…

    ... previous post with "15 LET bc=USR 23296".
    [code]
    ... 23296
    LifeLoop:
    ld bc,(23645) ;(CH_ADD)
    ld ( ... (23645),bc ;restore CH_ADD
    ld bc,41
    add hl,bc ;skip ...
    Battle Bunny Battle Bunny September 2014 Sinclair Basic
  • Simple text scrolling routine...I'm having trouble writing a very simple text scroller, the idea is to use the ROM printer routine to print 32 characters each time the routine is ca…

    Run with "LET bc=USR 50000: PAUSE 2" and repeat ...< ... /> ld de,dat1
    ld bc,35
    call $203C ;PR_STRING ... /> ld de,dat2
    ld bc,datz-dat2-1
    ldir ...
    Battle Bunny Battle Bunny September 2014 Development
  • Simple text scrolling routine...I'm having trouble writing a very simple text scroller, the idea is to use the ROM printer routine to print 32 characters each time the routine is ca…

    ... "PRINT AT 1,0;"" AND USR 50000: PAUSE 2" and repeat ... /> ld de,dat2
    ld bc,32
    call $203C ;PR_STRING ... /> ld de,dat2
    ld bc,datz-dat2-1
    ldir ...
    Battle Bunny Battle Bunny September 2014 Development
  • Simple text scrolling routine...I'm having trouble writing a very simple text scroller, the idea is to use the ROM printer routine to print 32 characters each time the routine is ca…

    ... PRINT AT 1,4;"" AND USR 50000: PAUSE 4" and ... push de
    ld bc,(23688) ;BC=S_POSN
    dec b ; ... moves
    ld (23688),bc ;the print position one row ... /> pop de
    pop bc
    djnz loop
    ...
    Battle Bunny Battle Bunny September 2014 Development
  • Game of Life.Last year (I think) or maybe the year before, I entered a Game of Life simulator into the CSS CGC compo but for the Sinclair ZX81. I decided to port…

    ... /> 11 RANDOMIZE 0: LET bc=USR InitS:
    BORDER 0: ... :";gen'p$:
    LET bc=USR GenPG: IF INKEY$=" " ... br />
    InitP: ;LET bc=USR InitP
    call GetGPvars

    GenPG: ;LET bc=USR GenPG
    di
    ld ...
    Battle Bunny Battle Bunny October 2014 Sinclair Basic
  • Game of Life.Last year (I think) or maybe the year before, I entered a Game of Life simulator into the CSS CGC compo but for the Sinclair ZX81. I decided to port…

    ... )
    11 RANDOMIZE 0: LET bc=USR InitS:
    BORDER 1: PAPER ... TO 20: LET bc=den=((i-1)*32)+USR InitG: NEXT i ... ;"Generation: ";gen'p$:
    LET bc=USR GenPG: IF INKEY$=" " THEN GO ...
    Battle Bunny Battle Bunny October 2014 Sinclair Basic
  • Making noises with the AYHow do you go about making noises from the AY chip in machine code? I'm wanting to make a pulsating humming noise that increases in volume as you ge…

    ... CLEAR 32767
    20 RANDOMIZE USR 32768

    ... number
    pulsevolloop PUSH BC
    LD BC,65533
    OUT ... to next channel
    POP BC
    DJNZ pulsevolloop
    MatGubbins MatGubbins October 2014 Development
  • clear a windowed area of the screenHi everyone! Ain't been on here for donkeys, but have recently started messing around with a little game. I'm looking for ideas/opinions on the bes…

    ... are normally 0
    ld bc,25
    ldir
    ld ... "@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@": NEXT r
    30 RANDOMIZE USR 23296
    40 PAUSE 0 ...
    Battle Bunny Battle Bunny October 2014 Development
  • clear a windowed area of the screenHi everyone! Ain't been on here for donkeys, but have recently started messing around with a little game. I'm looking for ideas/opinions on the bes…

    ... "@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@": NEXT r
    30 RANDOMIZE USR 23296
    40 PAUSE 0 ... ; clear with zeroes
    ld bc,32 ; dist to next pixel ... /> ENDR

    add hl,bc ; next pixel line or attrib ...
    Atari_Jetman Atari_Jetman October 2014 Development
  • clear a windowed area of the screenHi everyone! Ain't been on here for donkeys, but have recently started messing around with a little game. I'm looking for ideas/opinions on the bes…

    ... would be needed after the USR call.
    [code]
    ; clear ... ;: RANDOMIZE cols+256*rows: LET bc=USR ClearWindow
    ; row,col = top ... =rows
    ld b,0 ;BC never exceeds 32, so B ...
    Battle Bunny Battle Bunny October 2014 Development
  • Ensure my interrupt handler begins at the same T-stateHi! Is there a way to ensure that an IM 2 interrupt handler starts always at the same T-state (related to the moment the ULA triggers the INT line, w…

    ... ZX Guide:
    [CODE]LD BC,#6FF
    ;no more than ... observed on "yellow" Scorpion.
    ; register C contains
    ; #11 for ...
    introspec introspec November 2014 Development
  • Detecting flash mode inversionsIs is possible to detect with certainty when flashing characters change from normal to inverted and vice-versa?

    ... *8: PAUSE 8:
    LET bc=USR 23296:
    NEXT r[/code ... ;: RANDOMIZE cols+256*rows: LET bc=USR FlashWindow
    ; row,col = top ...
    Battle Bunny Battle Bunny November 2014 Development
  • Alkatraz Protection System - "How to" and compo?I'm thinking about writing a "how to" regarding the [URL="http://www.worldofspectrum.org/infoseekid.cgi?id=0020807"]Alkatraz Protection System[/URL].…

    ... />
    [CODE]40 CLS : RANDOMIZE USR 32000: GO TO 40[/CODE ... de,16385
    00190 ld bc,6911
    00200 ld (hl ...
    jp jp December 2014 Announcements
  • Edge Grinder, how would YOU do it?I always meant to post about this and AndyC reminded me in the 'vs' thread in games. [QUOTE=AndyC;808887]The thing I love about threads like this is…

    ... code

    RANDOMIZE USR 4000

    and ... ,HL
    LD BC,scrollset
    ADD HL,BC

    ... D

    POP BC ; lines
    DJNZ decodelines
    MatGubbins MatGubbins December 2014 Development
  • RANDOMIZE - still not sure what it does...Whenever I wish a random number I use RND like: 10 LET a=RND*100 20 PRINT a 30 GO TO 0 and "a" will truly be random. But if is do the following: …

    ... LET a=1+INT ((USR 64061*256+USR 64061)*n/65536)[/CODE ... 4B 39 FA rnd ld bc,(seed) ; xz -> yw
    bc
    006 000 06 00 ...
    Paddy Coleman Paddy Coleman January 2015 Sinclair Basic
  • 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…

    ... upon the format of the USR call, but will end with ... end marker.
    [*]The IY register must point to $5C3A:ERR_NR ... .
    [*]The H'L' register must point to a byte ...
    Battle Bunny Battle Bunny January 2015 Development
  • Help for beginner with z80Hi chaps, I'm reasonably new with z80, but had a fair amount of experience with 68000, so decided to give a few things a go. One little thing I'm t…

    ... code

    RANDOMIZE USR 40000

    It' ... ,HL
    LD BC,scrollset
    ADD HL,BC

    ... INC D

    POP BC ; lines
    DJNZ decodelines
    MatGubbins MatGubbins February 2015 Development
  • Testers for new z88dk clibA long (long, long, long) time ago a few people offered to help test the new clib in z88dk. Much time has passed since then and I won't hold people,…

    ... had to copy zpragma into usr/local/bin myself

    usr/local/share/z88dk/include/_DEVELOPMENT ... : symbol not defined
    ^ ---- ld bc,+_gr_circle
    make: *** [sp1_exc1_CODE.bin ...
    slenkar slenkar February 2015 Development
  • Testers for new z88dk clibA long (long, long, long) time ago a few people offered to help test the new clib in z88dk. Much time has passed since then and I won't hold people,…

    ... had to copy zpragma into usr/local/bin myself

    usr/local/share/z88dk/include/_DEVELOPMENT ... : symbol not defined
    ^ ---- ld bc,+_gr_circle
    make: *** [sp1_exc1_CODE.bin ...
    Alcoholics Anonymous Alcoholics Anonymous February 2015 Development
  • Double height text...<p>Is here any good routines for printing a font double height?</p><p>I've concocted this ridiculous routine but I'm sure it can be done much better.…

    ... d(d$,r,c)=USR DoubleHeight
    ;LET bc=FN d(d ...
    Battle Bunny Battle Bunny June 2015 Development
  • Double height text...<p>Is here any good routines for printing a font double height?</p><p>I've concocted this ridiculous routine but I'm sure it can be done much better.…

    ... d$,r,c)=USR DoubleHeight
    ;LET bc=FN d( ... c)*8
            ld   bc,(23606)      ;DE=(CHARS)
            ... add  hl,bc           ;HL=d$(c) bit pattern ... ;(DEFADD)
            add  hl,bc
            call $33b4           ;STACK_NUM ...
    Battle Bunny Battle Bunny June 2015 Development
  • Hungarian notation for asm - Yes or No ?There is thing called hungarian notation - https://en.wikipedia.org/wiki/Hungarian_notation Basically it is all about using prefixed indetifier to i…

    ...
    ;
    ; Destroys:
    ; AF, BC, D, HL, AF'
    ; -----------------------------------------------------------------------------
    register will be modified, and any ...
    Einar Saukas Einar Saukas July 2015 Development
<1…26272829303132…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