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…15161718192021…34>
  • compressing basicI thought I'd ask here instead of the basic forum.. in the sense of giving me 1 command line, and NOT the whole listing joined up etc. and it uncom…

    ... -18 )
    LET bc=USR get (to get program ... stack)
    LET bc=USR put (to put program ... THEN RANDOMIZE prog: LET bc=USR put:
    LET prog ... THEN RANDOMIZE prog: LET bc=USR get
    1035 PRINT ... 0 8 LD BC,2048 ;BC=length of program< ...
    Battle Bunny Battle Bunny September 2010 Development
  • Sorting an array...Hi Folks, Over the weekend I had a play with sorting algorithms - takes me back to my student days! :-o My first try was with the good old Bubble S…

    ... t=2 THEN LET bc=0: LET bc=USR 30010
    70 GO ... />
    ld bc,(CH_ADD)
    push bc
    ld bc,30000
    ld ... (CH_ADD),bc
    call ...
    Battle Bunny Battle Bunny September 2010 Sinclair Basic
  • logical operators and the calculator stackI was wondering if there was a utility which would provide the list of commands needed for the ROM calculator to evaluate a logical expression. For e…

    ... classic method of RANDOMIZE USR routine: REM my ... param block.
    ld bc,0
    ;Search ... a,(hl)
    inc bc
    inc hl
    BC
    call PLOT_CB ...
    mcleod_ideafix mcleod_ideafix October 2010 Development
  • Help! Reverse engineering a Spectrum game[deleted]

    ... joystick reader
    [B]LD BC,something
    IN A,(C ... debug screen that displays the register values and various other information ...
    Ralf Ralf October 2010 Development
  • Spectrum 128K RS232 to PC serial cableIf you have read some of my recent posts then you will know that I am eager to link my Spectrum +3 to a PC. This will be done by wiring a standard PC…

    ... *IMPORTANT*

    ld bc,65533
    ld a,7 ... out (c),a
    ld bc,49149
    ; ld a ... /> ; ------------

    byte ld bc,49149 ; Init
    ld d ... out (c),d
    ld bc,65533

    ... : mov dx,3fdh ; Status Register
    in al,dx
    ASM ASM October 2010 Hardware
  • Spectrum 128K RS232 to PC serial cableIf you have read some of my recent posts then you will know that I am eager to link my Spectrum +3 to a PC. This will be done by wiring a standard PC…

    ... *IMPORTANT*

    ld bc,65533
    ld a,7 ... out (c),a
    ld bc,49149
    ; ld a ... /> ; ------------

    byte ld bc,49149 ; Init
    ld d ... out (c),d
    ld bc,65533

    ... : mov dx,3fdh ; Status Register
    in al,dx
    ASM ASM October 2010 Hardware
  • Spectrum 128K RS232 to PC serial cableIf you have read some of my recent posts then you will know that I am eager to link my Spectrum +3 to a PC. This will be done by wiring a standard PC…

    ... RAM*
    ; *CORRUPTS REGISTER 7 OF AY-3-8912 ... out (c),a
    ld bc,49149
    ; ld a ... exx

    ld bc,49149 ; Init
    ld d ... > DE = Source
    ; > BC = Length (NULL = 65536)


    dec bc ; Subtract length
    ld ...
    ASM ASM October 2010 Hardware
  • Print text in assemblyHello, a perhaps simple question: I would like to print a text string on the screen and I wonder how to do that in the most easy way? I seem to re…

    ... start call.

    RANDOMIZE USR adres= lower screen
    PRINT ... "" AND USR adres = upper screen and undoing print of BC on return
    Dr BEEP Dr BEEP October 2010 Development
  • Print text in assemblyHello, a perhaps simple question: I would like to print a text string on the screen and I wonder how to do that in the most easy way? I seem to re…

    ... =Dr BEEP;485247]
    RANDOMIZE USR adres= lower screen
    PRINT ... "" AND USR adres = upper screen and undoing print of BC on return ...
    Rickard Rickard October 2010 Development
  • Spectrum 128K RS232 to PC serial cableIf you have read some of my recent posts then you will know that I am eager to link my Spectrum +3 to a PC. This will be done by wiring a standard PC…

    ... NON-CONTENDED RAM*
    ; *CORRUPTS REGISTER 7 OF AY-3-8912 ...


    dl57600 ld bc,65533
    ld a,7 ... /> out (c),a
    ld bc,49149
    xor a,a ...

    exx
    ld bc,65533
    ld a,14 ...
    ASM ASM October 2010 Hardware
  • SAM programmingHi Can anyone provide any example hello world or graphics/sprite printing style machine code routines for the SAM? I can't seem to find anything rem…

    ...
    RET

    print usr 32768
    [/CODE]

    register.

    [QUOTE=spud;485794 ...
    Chris Pile Chris Pile October 2010 Development
  • Spectrum 128K RS232 to PC serial cableIf you have read some of my recent posts then you will know that I am eager to link my Spectrum +3 to a PC. This will be done by wiring a standard PC…

    ... not used. The IX register was used as a ... function to send the Z80 register state to the PC. ... CONTENDED RAM*
    ; *CORRUPTS REGISTER 7 OF AY-3-8912 ... />

    ul57600 ld bc,65533
    ld a,7 ... />
    exx
    ld bc,49149
    ld a,01000000b ...
    ASM ASM October 2010 Hardware
  • Games in machine codeHi everyone, How do go about doing multiple shots like a machine gun, do you have to store every x and y position of each bullet? When you kill som…

    ... POP' as my code was register inefficient but I eventually started ... , H and L... or A, BC, DE, HL etc.
    ... addressing modes such as; destination register equals (address + register1) + (register2 * ... loading 32 BITS into a register over two instructions. It ...
    ASM ASM October 2010 Development
  • Games in machine codeHi everyone, How do go about doing multiple shots like a machine gun, do you have to store every x and y position of each bullet? When you kill som…

    ... be coded using a low register count. I have also ... ],a

    pop bc
    inc bc ; Fix...

    ... loop

    .lz4: dec bc
    ld a,c

    .lz5: ld a,[bc]
    ld [de],a
    inc de
    inc bc

    ld a, ...
    ASM ASM October 2010 Development
  • Learning Assembly LanguageHow easy would it be to learn assembly language for someone who has a decent grasp of Basic? I mean how long do you think it would take before I coul…

    ... to use structures using index register IX as I feel ... ; Attribute address
    ld bc,768 ; Attribute length
    ... attribute location

    dec bc ; Length = length - 1
    ... position
    add hl,bc ; Table pointer += BC * 2 (Y position)< ...
    ASM ASM October 2010 Development
  • emulatorsplease help can we see clearly which emulator emaulates which hardware is there any that has a pc function key for the mulitface nmi button and the +…

    ... and runs it using the USR function. I'm not typing ... the code with a full register dump on the PC side ...
    ASM ASM November 2010 Emulators
  • SPRINTER 2000 and kempston joystickInfo about connection kempston joystick connector on Sprinter 2000 are corrected. My previous documentation contain bugs. Here is all OK (tested on r…

    ... joy reading

    LD BC,15 + IN A,(C) - can ... reading

    [B]LD BC,31 + IN A,(C) - return ... ) will read value 0 if register C = 31[/B] )

    BC refister to adress 15 or ...
    velesoft velesoft November 2010 Hardware
  • Printer Printing Problem (assembler)I've a program that outputs to the lower screen at various places, using a combination of calls to RST $10 plus OUT-NUM-1 and PR-STRING. It also call…

    ...
    ...
    ;print BC 3 digits padded
    PRIN3N ... bc
    jr c,PRINTN ;BC>=100
    push bc ... rst $10
    pop bc
    ld hl,-10
    [code]
    LPRINT USR START

    START ...
    Dr BEEP Dr BEEP November 2010 Development
  • Hacking the O.C.P Full Screen Editor/AssemblerIf you have been reading my posts recently then you will know that I am eager to have the sourcecode I wrote for the Spectrum during the period 1988 …

    ... h,130
    start ld bc,8192

    ... /> inc h
    pop bc
    ld (hl),c< ... /> inc h
    pop bc
    ld (hl),c< ... /> inc h
    pop bc
    ld (hl),c< ... ld de,33280
    ld bc,18
    xor a< ... I removed the RANDOMIZE USR 34304 line and used ...
    ASM ASM November 2010 Development
  • Transferring games into MicrodriveLast week a big pack of empty microdrive cartridges arrived, and now I'm ready to playing with my little microdrive equipped speccy. One of my aim w…

    ...
    db 193 ; pop bc
    db 241 ; pop ...
    db 193 ; pop bc
    db 241 ; pop ... LOAD "" CODE
    40 RANDOMIZE USR 24832
    [/code]
    ... = Pointer to registers HL and BC
    ; > HL = ... pop hl ; 1
    pop bc ; 1
    ld sp, ...
    ASM ASM November 2010 Sinclair Miscellaneous
  • Transferring games into MicrodriveLast week a big pack of empty microdrive cartridges arrived, and now I'm ready to playing with my little microdrive equipped speccy. One of my aim w…

    ... LOAD "" CODE
    40 RANDOMIZE USR 26318
    [/code]

    db 193 ; pop bc
    db 217 ; exx
    bc,0

    jump db ... hl
    db 193 ; pop bc
    reg_sp db 49,0 ...
    ASM ASM November 2010 Sinclair Miscellaneous
  • Override AUTOLINE start?Hi there, Is there a poke that prevents a BASIC program from auto running, when it was previously saved with the LINE command? Cheers, Steve

    ... : NEXT N
    50 RANDOMIZE USR 23296
    60 DATA 237 ... program area big
    ld bc, (l_5b56) ; enough for the BASIC ... set up HL (PROG) and BC and call MAKE-ROOM
    stefrobb stefrobb November 2010 Sinclair Basic
  • Programming flash eprom on DIVIDE+Can you test it on DIVIDE PLUS ? [url]http://velesoft.speccy.cz/other/flasher-divide-plus.zip[/url] (This flash utility is WINSTON's flasher for dia…

    ... 32768,16384
    4 randomize usr 32000

    next file ... /> LD DE,0
    LD BC,16384
    LDIR ;copy rom ...
    velesoft velesoft November 2010 Hardware
  • New tool: ZXBOOT.EXE[B]ASM[/B] is proud to present the first release of ZXBOOT.EXE: [url]http://www.4shared.com/file/NP-FVOSf/zxboot__beta_.html[/url] ZXBOOT is a comma…

    ... LOAD "" CODE
    40 RANDOMIZE USR 24987
    [/code]
    ... db 1,253,STUBLEN ; ld bc,0

    ... b ; A = 0 so BC will equal 256
    < ... br /> .copy: ld c,a ; BC = count from stream
    ldir ... ; COPY BC BYTES from stream
    < ...
    ASM ASM November 2010 Announcements
  • Why doesn't my loop work?Can anyone help me understand why my loop doesn't work? Is it to do with how DEC HL affects the flags? [code] ; Read 32k bytes from port 191 as fa…

    ... /> ORG 32001

    LD BC,191 ; Port to IN from ... contents of A to another register to avoid losing the read ...
    rich_chandler rich_chandler December 2010 Development
  • Oscilloscope Speccy ProgramHi all, I remember very well in the old days when my Speccy was my single computer (around 1992) that I have had an oscilloscope software. This uses…

    ... unexplained behaviour of the B register, when the keyboard-scanning routine ... this:

    [CODE] LD BC, $AF00 ; 01 00 AF
    Marcelo Marcelo December 2010 Sinclair Miscellaneous
  • Oscilloscope Speccy ProgramHi all, I remember very well in the old days when my Speccy was my single computer (around 1992) that I have had an oscilloscope software. This uses…

    ... every USR call which didn't disable interrupts. SFAIK the B-register ...
    Battle Bunny Battle Bunny December 2010 Sinclair Miscellaneous
  • Why doesn't my loop work?Can anyone help me understand why my loop doesn't work? Is it to do with how DEC HL affects the flags? [code] ; Read 32k bytes from port 191 as fa…

    ... first INI instruction
    LD BC,191 ; Port to read from ... ,(C)
    AND E ; any register that doesn't affect INI ...
    RetroTechie RetroTechie December 2010 Development
<1…15161718192021…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