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…14151617181920…34>
  • Arcade Game Designer 2.0 releasedI know dozens of you downloaded the previous version of AGD. Well, you can put it away now because I've made some major improvements to that version…

    ... think it returns with the bc registers pointing to the score ... . So

    LET A=USR 35800

    will put ...
    BiNMaN BiNMaN April 2010 Development
  • Static vs stacked local variables in z88dkHello everyone. I'm doing a program for Spectrum 48KB with z88dk v1.8 (XX Mar 2008), and I eventually discovered that if your local variables in fun…

    ... />
    1) Use an index register pair to index the stack ... , 21 cycles

    pop bc
    pop hl
    push ... hl
    push bc ; hl = 16 bit int second ...
    Alcoholics Anonymous Alcoholics Anonymous April 2010 Development
  • DivIDE and joystick interfaceWhich joystick interface works with the DivIDE and ZX 48K? I have TurboRAM but it works not correct or blocks DivIDE. Multiface One works with the j…

    ... , which uses the MB02+ paging register. Normal divIDE firmwares should be ... manual firmware selection by POKEs/USR) and so will clash with ...
    glancaster glancaster April 2010 Hardware
  • DivIDE and joystick interfaceWhich joystick interface works with the DivIDE and ZX 48K? I have TurboRAM but it works not correct or blocks DivIDE. Multiface One works with the j…

    ... , which uses the MB02+ paging register. Normal divIDE firmwares should be ... manual firmware selection by POKEs/USR) and so will clash with ...
    Alien 8 Alien 8 April 2010 Hardware
  • z80 emulator with converter ?Hi i am finding the old z80 emulator v2 or v3, dont remember. Some of these versions have the snapshopt to 1.45 converter that allows us to conver t…

    ... /> Register BC #1617 Register BC' #1614
    Register DE #5cf3 Register DE' #0038
    Register HL #10a8 Register ...
    Battle Bunny Battle Bunny May 2010 Sinclair Miscellaneous
  • +3 how to detect if a file exist ?Need help. I am making a generic menu to my compilations over the spectrum +3. Exist some way programatically to detect if some file exists on the d…

    ... see if the value of BC is different on returning to ... BC value.

    Something like this

    LET A=USR ... A holds the value of BC if this value is fixed ... value can be transferred to BC before returning, so ALL registers ...
    Dr BEEP Dr BEEP May 2010 Sinclair Basic
  • +3 how to detect if a file exist ?Need help. I am making a generic menu to my compilations over the spectrum +3. Exist some way programatically to detect if some file exists on the d…

    ... ), 255
    1030 PRINT USR(prog + 5)
    [/ ... current stack pointer
    push bc
    pop ix ;IX = ... SP

    ld bc, PORT ;Switch to +3DOS ... parameter

    ld bc, 5 ;Open file 0, shared ... result

    ld bc, PORT
    di
    ...
    John Elliott John Elliott May 2010 Sinclair Basic
  • 'Hello World' in ASM ?Can someone show how to make the classic 'Hello World' print with ASM code ? I cant figure at this moment how to insert and handle strings with the s…

    ... data to a 16-bit register
    ld h , ... /> ; I need one more register to hold this loop's ... next_scanline:
    push bc ; Free up a register

    ... />
    pop bc
    inc bc
    jr next_character[/CODE ... data to a 16-bit register
    ld h , ...
    ajmoss ajmoss June 2010 Sinclair Basic
  • +3 how to detect if a file exist ?Need help. I am making a generic menu to my compilations over the spectrum +3. Exist some way programatically to detect if some file exists on the d…

    ... /> DEF FN o(f$)=USR 49050
    where f$ ... ; 49050 243
    ld bc, 32765 ; 49051 1 253 127 ... restore BASIC environment
    ld bc, 32765 ; 49100 1 253 ... ; 49115 251
    pop bc ; 49116 193 ;restore status
    Battle Bunny Battle Bunny June 2010 Sinclair Basic
  • Building a menu in ASMWEll as probably some figured, i am learning asm at least to make the basic menu i did in basic. It is a menu where we can select games to be loaded.…

    ... , with selected item number in BC. You can get this number ... as the value returned by USR function, and do a few ...
    Shiru Shiru June 2010 Sinclair Basic
  • Obfuscated code ideaThe instructions [b]SUB A[/b] and [b]XOR A[/b] both have the effect of setting the accumulator to zero. The only difference between them is that [b]…

    ... /> PUSH AF
    POP BC[/code] sets BC = 2, while [code]XOR ... /> PUSH AF
    POP BC[/code] sets BC = 0. Perhaps this could ... other bits in the flags register are set to.

    BC will give you BC=66.

    Jonathan Harston Jonathan Harston June 2010 Development
  • Howto paint a squared zone of the screen ?You know what guys ? i begin to love this languaje. Cant understand why not put more effort on the 80's to learn it :( because it is really speedy. …

    ... br />
    [code] ld bc,some number
    ret[/code ... and call it using PRINT USR. You also can call ... it LET variable=USR, so instead of printing ... br />
    [code] ld bc,string
    ret
    string ... br /> [code]10 LET a=USR ..
    20 LET c=PEEK ...
    Shiru Shiru June 2010 Sinclair Basic
  • Howto paint a squared zone of the screen ?You know what guys ? i begin to love this languaje. Cant understand why not put more effort on the 80's to learn it :( because it is really speedy. …

    ... then i see how the BC contains the row number on ... :

    10 let a=usr 32768
    20 let b ... number as is into the BC registers

    of course ...
    arfgh arfgh June 2010 Sinclair Basic
  • Howto paint a squared zone of the screen ?You know what guys ? i begin to love this languaje. Cant understand why not put more effort on the 80's to learn it :( because it is really speedy. …

    ... :

    10 let a=usr 32768
    20 let b ... ;if 'enter' key
    ld bc,cursor
    ret z
    arfgh arfgh June 2010 Sinclair Basic
  • Optimize this assembly?Aiming for Variable*192 -> HL In the first case, I came up with the obvious method - *128 +*64: [code] ld a, (variable) ;13 ld h,0 ; 7 ld l,…

    ...


    ADD HL,BC ; HL=A*192 11
    register copies (21 t states, vs ...
    Gedlion Gedlion August 2010 Development
  • Common pitfalls and solutionsLet's discuss some of the common problems in Speccy programming, and the methods we use to avoid them. For an example, here is a piece of code that …

    ... /> ;ANTI-USR0
    ;
    ;Typing USR 0 in 128 BASIC effectively ... /> EX DE,HL
    LD BC,4
    LDIR
    RES ...
    BiNMaN BiNMaN August 2010 Development
  • Common pitfalls and solutionsLet's discuss some of the common problems in Speccy programming, and the methods we use to avoid them. For an example, here is a piece of code that …

    The usr 0 "issue" and possible solutions ... /> EX DE,HL
    LD BC,4
    LDIR
    RES ... any program to switch to usr 0 mode without resetting the ...
    zxbruno zxbruno August 2010 Development
  • Z80 Machine Code Question...Hi Folks, I know not strictly a BASIC question but I have started to learn Z80 machine code - 25 years too late! :smile: I have been reading a book…

    ... that the 16-bit DEC BC operation doesn't affect the ... .

    You could DEC BC then LD A,B and ... bits together in the A register, and that would set the ... to the second byte and BC to one less than the ...
    joefish joefish August 2010 Sinclair Basic
  • Z80 Machine Code Question...Hi Folks, I know not strictly a BASIC question but I have started to learn Z80 machine code - 25 years too late! :smile: I have been reading a book…

    ... [INDENT][FONT="Courier New"]LD BC,1400h
    LD HL,4000h ... the [FONT="Courier New"]DEC BC[/FONT].

    ... />
    yup, instruction DEC BC does not affect Z flag ... way how to check taht BC==0 is
    [ ... to change value in HL register or you just will ...
    Fikee Fikee August 2010 Sinclair Basic
  • Z80 Machine Code Question...Hi Folks, I know not strictly a BASIC question but I have started to learn Z80 machine code - 25 years too late! :smile: I have been reading a book…

    ... the bits with the A register and (b) sets the Z ... take advantage of the B register as the inner loop and ... counter, you can use other register (e.g. C) to hold ... .
    [code]

    LD BC, 14h ' Sets outer loop C ...
    BloodBaz BloodBaz August 2010 Sinclair Basic
  • Z80 RRCA instruction...Hi Folks, Well my exploration of Z80 MCODE continues apace! I am struggling to understand how the RRCA instruction works. The official Zilog manua…

    ... ; value to divide
    ld bc,0 ; here comes result

    Call with PRINT USR 4e4 will give 52.
    Dr BEEP Dr BEEP August 2010 Sinclair Basic
  • Z80 RRCA instruction...Hi Folks, Well my exploration of Z80 MCODE continues apace! I am struggling to understand how the RRCA instruction works. The official Zilog manua…

    ... ; value to divide
    ld bc,0 ; here comes result

    Call with PRINT USR 4e4 will give 52.[/QUOTE]
    Dr BEEP Dr BEEP August 2010 Sinclair Basic
  • Z80 RRCA instruction...Hi Folks, Well my exploration of Z80 MCODE continues apace! I am struggling to understand how the RRCA instruction works. The official Zilog manua…

    ... ; value to divide
    ld bc,0 ; here comes result

    Call with PRINT USR 4e4 will give 52.[/QUOTE ...
    Dr BEEP Dr BEEP August 2010 Sinclair Basic
  • ANN: EsxDos 0.73 released (third party - not mine)Papaya Dezign have finally released their firmware/OS for the DivIDE interface. Go get it from [url]http://www.esxdos.org/files/esxdos073.zip[/url]…

    ... has something to do with usr 0 mode. I should try ... fatware.[/QUOTE]

    Yes, usr 0 mode is indeed the ... issue - ESXDOS boots into usr 0 mode, where 128K memory ... writes to the memory paging register.

    To force 'true ...
    gasman gasman August 2010 Development
  • Pretty CrashesTo make a 48K spectrum crash spectacularly and beautifully enter the following into basic. Also works on a 128k in 48k mode though not quite as prett…

    ... the WoS forums Scottie!
    USR 1331 jumps directly into the ... the value of the IX register is is what the spectrum ... 1331 and then performing RAND USR 1331 shows that IX contains ...
    BloodBaz BloodBaz September 2010 Sinclair Basic
  • Pretty CrashesTo make a 48K spectrum crash spectacularly and beautifully enter the following into basic. Also works on a 128k in 48k mode though not quite as prett…

    ... WoS forums Scottie!
    USR 1331 jumps directly into the ... the value of the IX register is is what the ... and then performing RAND USR 1331 shows that IX ... spectrum by invoking things via USR? I once wrote a ... off sub routines via Randomize USR. When it crashed I ...
    Scottie_uk Scottie_uk September 2010 Sinclair Basic
  • Machine code[CODE] OPCODE HEX ADD LD A,05 3E05 F000 LD B,00 0600 F002 INC B 04 LOOP F004 CP A,B B8 F005 JP NZ,LOOP C2F003 F006 LD B,00 0600 F009 LD …

    BASIC gets value from BC as result of USR function, this way you ... . If you don't want, BC value does not matter. There ...
    Shiru Shiru September 2010 Development
<1…14151617181920…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