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.007s
<1234567…34>
  • sound effect code causing crash[FONT=Courier New]I have just written this piece of code to produce a lazer sound effect but for some reason it is causing a crash and I can't figure…

    ... /> LD (LAZERFLAG),A
    LD BC,65533: LD A,7: OUT (C),A
    LD BC,49149: LD ...
    LD BC,65533: LD A,0: OUT (C),A
    LD BC,49149: LD A,200 ...
    dmsmith dmsmith July 2007 Development
  • converting ZX128 software for SAM COUPESAM COUPE is computer compatible with ZX48 model. Use same ports, same keyboard with compatible membrane, 64kB adress space with possibility connect …

    ... ) ;)

    Exolon:
    49009 LD BC,65533
    49012 OUT (C),A ...
    49014 LD B,191
    49016 OUT ...
    Jmk Jmk September 2010 Games
  • 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…

    ... di ; *IMPORTANT*

    ld bc,65533
    ld a,7 ; AY Mixer Control ... (c),a

    ld bc,65533
    ld a,14 ; AY I/O ...
    out (c),d
    ld bc,65533

    wait in a ... per bit

    bit ld bc,65533 ; 10
    in a,(c ...
    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…

    ... di ; *IMPORTANT*

    ld bc,65533
    ld a,7 ; AY Mixer Control ... (c),a

    ld bc,65533
    ld a,14 ; AY I/O ...
    out (c),d
    ld bc,65533

    wait in a ... per bit

    bit ld bc,65533 ; 10
    in a,(c ...
    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…

    ... z,done

    ld bc,65533
    ld a,7 ; AY Mixer Control ... (c),a

    ld bc,65533
    ld a,14 ; AY I/O ...
    out (c),d
    ld bc,65533

    wait in a ... per bit

    bit ld bc,65533 ; 10
    in a,(c ...
    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…

    ... br />

    dl57600 ld bc,65533
    ld a,7 ; Mixer
    out ... (c),a
    ld bc,49149
    xor a,a ... />
    exx
    ld bc,65533
    ld a,14 ; I/O

    ; ------------

    read ld a,00010000b ; RxD
    out ...
    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…

    ...

    ul57600 ld bc,65533
    ld a,7 ; Mixer
    ...
    exx
    ld bc,49149
    ld a,01000000b ; Output mode ...
    ; ------------

    write ld a,(hl) ; 57600 BAUD (61 ... exx ; 58

    ld de,00000000b ; STOP BIT = 0 ...
    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…

    ...
    pc3 ld de,(addr)
    ld bc,(size)
    ld ix,pc4
    ld de,(addr)
    ld bc,(size)
    ld ix,pc5< ... br />
    pc5 exx
    ld bc,58000 ; Delay

    ...
    in232 exx
    ld bc,65533
    ld a,7 ; Mixer
    out ...
    ASM ASM November 2010 Hardware
  • First new game of 2013: Apulija-13[center]Corporal Jonlan is on a dangerous mission. Under a false identity, he must gain access to an Omni Corporation base, steal the plans for some…

    ... />
    [PHP]Muzak ld bc,65533
    ld a,0
    out (c ... ),a
    ld b,191
    ld a,64
    ... />
    [PHP]Tip ld bc,65533
    ld a,16
    out (c ...
    SoftLight SoftLight January 2013 Brand new software
  • 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…

    ... /> HissOn LD HL,wavedata
    LD A,9
    waveloop LD BC,65533
    LD D ... ,(HL)
    OUT (C),D
    LD BC,49149 ...
    MatGubbins MatGubbins October 2014 Development
  • 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…

    ... LD HL,pulseoffdata
    LD A,3

    Pulser
    Ponloop LD BC,65533 ...
    LD D,(HL)
    OUT (C),D
    LD BC,49149 ...
    MatGubbins MatGubbins October 2014 Development
  • 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…

    ... /> Ponloop LD BC,65533
    LD D,(HL)
    OUT (C),D
    LD BC,49149 ... /> PulseSpeed LD BC,65533
    LD D,12
    OUT (C),D ;
    LD BC,49149 ...
    MatGubbins MatGubbins October 2014 Development
  • 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…

    ... /> pulsevolloop PUSH BC
    LD BC,65533
    OUT (C),D ;
    LD BC,49149
    POP BC
    DJNZ pulsevolloop
    ...
    MatGubbins MatGubbins October 2014 Development
  • 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…

    ... PulseSpeed LD BC,65533
    LD D,12
    OUT (C),D ;
    LD BC,49149 ... pulsevolloop PUSH BC
    LD BC,65533
    OUT (C),D ;
    LD BC,49149
    MatGubbins MatGubbins October 2014 Development
  • "Floating" AY registersWhile I was working on some AY sample-related stuff, it occurred to me that with the AY port not being completely decoded, it would be a handy CPU-ti…

    ... -saver to do something like LD BC,0xf8fd / OUT (C),B to ... />
    [code]
    10 OUT 65533,42: OUT 49149, 255
    15 PRINT IN 65533
    20 GO TO 10 ...
    gasman gasman December 2008 Hardware
  • Ghosts n' Goblins loaderI'm trying to put Ghosts n' Goblins onto a +3 disk but struggling to understand the mc loader. Basic loader [code] ink 7 : clear 25000 : load "" cod…

    ... />

    65224: LD HL,65240
    65227: LD BC,236

    65230: LD A,(HL)
    65235: DEC BC
    65236: LD A,B
    65237 ... 56
    65532: LD (HL), B
    65533: JP PE, 60016[/code ...
    Speccy_James Speccy_James February 2014 Development
  • Problem with BC corrupting after DJNZJust for fun, I'm messing around trying to get the level maps from Lemmings to display on the screen with machine code. It's been ages since I did an…

    ...
    [code]
    MAIN LD HL,50213 ; MAP START ADD ...

    LOOP1 LD BC,8 ; SET THE COUNTER FOR ... COUNTER

    LD BC,32 ; SET THE COUNTER FOR ... TO NEXT LINE
    LD BC,32 ; 32 TO ADD ... on screen, after popping BC the DJNZ doesn't ...
    mulder mulder January 2016 Development
  • Amiga MOD on ZX SpectrumWell, there were several question about music matters on WOS lats times, so I decided to describe some of my 'adventures', heheh, with MOD playing on…

    ... Module Player

    AY_CTRL = 65533
    AY_DATA = 49149

    ay_out
    ld bc,AY_CTRL
    out (c),d
    ld bc,AY_DATA
    cyborg cyborg March 2004 Sinclair Miscellaneous
  • Short Z80 QuizQ1) Which program gives different result ? A) XOR A ADD A,A B) XOR A ADC A,A C) SCF ADD A,A D) SCF ADC A,A Q2) What is the equivalent of NEG …

    ... )
    LD B,10
    LD HL,60000
    LOOP: LD (HL),B ...

    B)
    LD BC,10
    LD HL,60000
    LOOP ... /> INC HL
    DEC BC
    LD A,B
    OR C ... )
    LD B,10
    LD HL,60000
    LOOP: LD (HL),B ...
    Dr BEEP Dr BEEP July 2002 Games
  • 128 Memory PagingI'm having a problem getting my brain around paging. Well, actually the bit I don't understand is how reading I/O ports works! I hope the collective …

    ... - you set the value in BC to the port number, then ... new page number
    LD BC,32765 ;Set BC to 32765 for write ...
    trellis trellis August 2003 Sinclair Basic
  • AssemblageCan any of you marvellous programmers out there recommend a Speccy assembler that even a complete dunce could use? At the risk of sounding thick, as…

    ... only four bytes.

    ld bc, 99
    ret

    The Mighty Dopethrone The Mighty Dopethrone November 2003 Sinclair Miscellaneous
  • RST 16 with TASMCan any body tell me what is wong when I assemble this test code with TASM : ;print a long string "help me" start .org 32000 ld a,2 call 5633…

    ... 5633
    ld de,data
    ld bc,7
    loop ld a,b ...
    or c
    dec bc ...
    ret z
    ld a,(de)
    Steve(spt) Steve(spt) April 2004 Development
  • FAST PIXEL DRAWINGI'm looking for the fastest way to put a pixel to the screen (on spectrum ofcoz:). Here is my own procedure (written in PASMO). But I don't how do it…

    ... /> ld bc,bits
    add a,c
    ld c,a
    ld a,(bc ... )

    ld b,(hl ... )
    or b
    ld (hl ...
    zxmaniac128 zxmaniac128 May 2004 Development
  • IM 2 interrupts and smooth scrolling - easy peasy!Okay, been fiddling around with IM 2 and have actually mastered (I think) how to use IM 2! Now I run my game Ragnar Revival in IM2 and use HALT to sy…

    ...

    mainloop
    ld a,07Fh ;Trap Space key ... interrupt handling
    prepint
    ld hl,58880 ;Building up a ... 58881 ;pointers to address
    ld bc,260 ;229*256+229, i ... 35002. Order: lsb,msb
    ld (hl),0BAh
    inc hl ...
    ekoman ekoman July 2004 Development
  • Mysterious bit of codeHi everyone, I found the follow piece of code in a game and was wondering what it does. ld bc,40ffh ld e,40h loop ld a,r …

    ... it does.

    ld bc,40ffh
    ld e,40h
    loop ... ld a,r
    in a,( ...
    dmsmith dmsmith August 2004 Sinclair Miscellaneous
  • IM2 Machine Code Sprites Example Code Using Char Based SystemFurther to my earlier post, here are sprites running using char method with IM2 driving it Note, for 48k spectrum using TASM [code] ; ***********…

    ... LD D,0
    ADD IX,DE

    POP BC ...
    LD E,72
    LD D,0
    LD A,(IX ... a table with
    ld bc,0FDh ;253*256+253, ... br /> pp1:
    ld (hl),C ; LD (0FE00h),FDh
    ...
    robpearmain robpearmain August 2004 Development
  • Smooth Color Masked Sprites using fast page flip on 48kHere is a quick demo of using char based sprites using the Page flip method: a) Background is copied to buffer b) Sprites drawn on buffer c) Buffer …

    ... ,BACKGROUND
    LD DE,BACKGROUND+1
    LD BC,1B00h
    LD (HL),%01000111 ... ,A
    PUSH BC
    LD A,(YPOS)
    LD B,A
    LD BC,0FDH ;253*256+253, I ...
    robpearmain robpearmain September 2004 Development
  • Smooth Masked Sprites using fast page flip on 48k Part 2Ok, After all the suggestions in Part 1, which were all excellent (Thankyou), I opted on the following: I have 2 x 6k Offscreen areas (Yes, that's …

    ... /> LD HL,BACKGROUND
    ; LD DE,BACKGROUND+1
    LD BC,0C00h< ... br /> prelp:
    LD (HL),%11111111< ... />
    LD HL,BACKGROUND
    LD DE,BACKBUFFER
    LD BC,1800h
    robpearmain robpearmain September 2004 Development
<1234567…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
ld 6.3K 67.3K
bc 3.6K 14K
65533 70 181

Related Threads

  • DEC BC/LD A,B/OR C/JP NZ,loopyesterday i saw nice trick:[code]<br /> <br /> dec bc<br /> ld a, b<br /> or c<br /> jp nz, loop<br /> <br /> can be replaced (bc starts &gt;255, sho…
  • 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
  • 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…
  • Problems with BC bill gameI have loaded this game with several emulators and game files with the same result:<br /> you can choose the input -&gt; sinclair, kempston, etc but …
  • When would you use LD A,R ?Can anyone tell me a practical use of LD A,R and LD R,A I am confused when you would need to use it?<br /> <br /> Cheers
  • Contention: LDI vs LD (ss), rAccording c.s.s. FAQ:<br /> <br /> instruction LD (ss),r breakdowns as pc:4,[b]ss:3[/b]<br /> and LDI as pc:4,pc+1:4,hl:3,[b]de:3,de:1 x 2[/b]<br /> …
  • BC's Quest for Tires code sheet missingSpeaking of [URL="http://www.worldofspectrum.org/forums/showthread.php?t=35314"]missing code sheets[/URL], it appears the sheet for [URL="http://www.…
  • SBC IX,DE/BCAlways wondered why there wasn't a SBC IX, DE/BC command....<br /> <br /> so have to use<br /> <br /> PUSH HL ; save original HL<br /> PUSH IX ; …
  • Fuse tests - INC BC causes contention delayHi all,<br /> <br /> In the FUSE test suite it has the following for the output of opCode 0x3 (INC BC):<br /> <br /> 0 MC 0000<br /> 4 M…

Related Searches

  • ld ix
  • ld bytes
  • ld hl de
  • ld bc eostr string
  • ld am
  • ld a r
  • ld r a
  • call address in bc
  • ld a b xor c loop
  • ld a b or c loop
  • print usr bc
  • out 65533
  • bc bill
  • bc ill brown
  • bc bill brown
  • bc kid
  • ld i a
  • ld bc hl
  • ld bc 65533
  • screen buffer pop bc ld sp hl

Copyright © 2024 World of Spectrum