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.160s
<1234567…34>
  • Keyboard Issues When Setting Border ColourWelcome to the next in my series of inane 'Z80 on the Spectrum' questions! ;) Here's a minimal snippet of code for polling the keyboard until any ke…

    ... NOKEY: LD A,0
    IN A,($FE)
    CPL
    OR A
    ... /> [CODE]
    LD A,0
    OUT ($FE),A[/CODE]

    OUT ($FE),A

    NOKEY: LD A,0
    IN A,($FE)
    CPL ...
    OR A
    ...
    RoseCotton RoseCotton December 2009 Development
  • Help fix this keyboard read program?This code runs in an interrupt routine with DI. What would be the simplest way of making it so it doesn't auto repeat a keypress? [code]keys: ld a…

    ... />
    [code]keys: ld a, $df ;
    in a, ($fe) ;

    bit ... 0, a ; Test for 'p' key ...

    bit 1, a ; Test for 'o' key
    in one of 3 positions, ...
    FrankT FrankT February 2010 Development
  • AZIMUT / Frecuency spectrum[code]start DI LD HL,#7F40 LD D,#58 loop LD B,#00 bucle1 LD A,H IN A,[#FE] XOR A,C AND A,L J…

    ... br /> bucle1 LD A,H
    IN A,[#FE]
    XOR A,C
    AND ... br /> bucle2 LD A,H
    IN A,[#FE]
    XOR A,C
    AND ... C,#00
    LD A,H
    IN A,[#FE]
    RRA
    ...
    Z80user Z80user February 2012 Development
  • Speccy machine code info where is it?Recently I've been trying to learn Z80 and I've managed to make limited progress (some of my routines even compile now!) but I seem to be having trou…

    ... br /> ld a,0111 1111 ; row #7 active
    in a,($fe) ; read ... keyboard
    ; a = status of keys ... br /> ld bc,$7ffe
    in a,(c)

    - The ... display file represents 8 pixels in a particular column.
    < ...
    Alcoholics Anonymous Alcoholics Anonymous June 2003 Sinclair Miscellaneous
  • ZX81 and ZX80 emulator on Spectrum 128KA couple of weeks ago we were talking about a new ZX81 emulator for the 128K. Someone beat me. More details at [url="http://www.fruitcake.plus.com/S…

    ... that gets a bit from the casette in zx81 rom, ... ; decrement the measuring timer.
    IN A,($FE) ; read the
    RLA ... BIT 7,E ;
    LD A,E ;
    JR C, ...
    Tom-Cat Tom-Cat September 2003 Emulators
  • Reading the keyboardDoes anyone have a code sample to read the keyboard in machine code ?

    ... /> ld d,$fe ; d = max 1 keypress
    xor a ; a = current key ... />
    ld a,$fe ; check on CAPS key
    in a,($fe)
    and 1 ... ; check on SYM SHIFT
    in a,($fe)
    and 2
    jr ...
    Alcoholics Anonymous Alcoholics Anonymous November 2004 Development
  • IN Port FE bit 6 confusionI know I've got this wrong. Tapes load fine but it all feels messy. Currently my emulator does this: Sets bit 6 of the result to 0. If (and only if…

    ... they're reading from port FE?
    [/quote]

    Sorry ... make this check for port FE.

    Well, the ROM ... read from port +7FFE
    IN A,(+FE) i.e. BREAK and EAR ... EAR everytime there is an IN from FE no matter what the ...
    Unique Unique March 2005 Emulators
  • Saboteur - Safe or secret place?Hello. Im sure many of you played Saboteur. When you are on the 1st floor (the floor you start), you can see a blocked ladder on a screen just before…

    ... br /> ld a,$fb
    in a,($fe)
    bit 0,a
    jp ... br /> ld a,$fd
    in a,($fe)
    bit 0,a
    jp ... br />
    ld a,$df
    in a,($fe)

    bit ...
    Mr. Anonymous Mr. Anonymous April 2005 Games
  • Fastest way to write something to screen$Hi, I just got pasmo.exe and start playing with attr scrolling, well, not scrolling, just write different values to a block and see if I can introdu…

    ... /> I'll be interested in your results.
    [/quote ... #1: OLDSP is a label for a DEFW
    NOTE ... full src code, in case someone what to ... option --tzxbas, and testing in spectaculator 5.0
    ...

    LD A,#FE
    IN A,(#FE)
    RRA
    JP ...
    AE.Vasconcelos AE.Vasconcelos April 2005 Development
  • Capture Routine HelpData: ORG 32768 [ This Message was edited by: dalmudlee on 2005-08-10 01:57 ]

    ...
    JR Z,J1
    IN A,($FE)
    RLCA
    JR NC ...
    JR Z,J1
    IN A,(#FE)
    RLCA
    JR C ... /> [/code]

    (Edit: using $ in the forum produces strange results ...
    Metalbrain Metalbrain June 2005 Development
  • Key press to ASCII valueI need a bit of code that will give me an ASCII value when the key is pressed. I only really need a-z. I tried using the following code but it only s…

    ... /> ld d,$fe ; d = max 1 keypress
    xor a ; a = current key ... />
    ld a,$fe ; check on CAPS key
    in a,($fe)
    and 1 ... ; check on SYM SHIFT
    in a,($fe)
    and 2
    jr ...
    Alcoholics Anonymous Alcoholics Anonymous July 2005 Development
  • Beginner InfoI have trying to find some hardware information for use with assembly coding but havn't had much luck. For instance. How do I redirect the vertical …

    ... you want to read the 'a' key.

    [code ... ; Get the key row
    IN A,($FE) ; Read the 'keypress'
    ... BIT 0,A ; Test for the 'a' key
    JP ... I wanna tell you a story 'bout a woman I know...
    rich_chandler rich_chandler February 2006 Development
  • Key press to ASCII valueI need a bit of code that will give me an ASCII value when the key is pressed. I only really need a-z. I tried using the following code but it only s…

    ... />
    ld a,$fe ; check on CAPS key
    in a,($fe)
    and 1 ... ; check on SYM SHIFT
    in a,($fe)
    and 2
    jp ...
    Mr Millside Mr Millside May 2006 Development
  • Key press to ASCII valueI need a bit of code that will give me an ASCII value when the key is pressed. I only really need a-z. I tried using the following code but it only s…

    ... ; check on SYM SHIFT
    in a,($fe)
    and 2
    jp ... ; check on SYM SHIFT
    in a,($fe)
    and 2
    jp ...
    Alcoholics Anonymous Alcoholics Anonymous May 2006 Development
  • Loading schemes18 years ago I hated loading schemes like Alcatraz and Speedlock because they were a b*tch to copy and became unreliable when the tape got older. Now…

    ... di
    ld a,$08
    out ($fe),a
    ld hl ...
    push hl
    in a,($fe)
    rra
    and ... ret z
    ld a,$7f
    in a,($fe)
    rra
    ...
    Tom-Cat Tom-Cat July 2006 Games
  • Spectrum audio signallingI've had a poke around in some of the docs (and my Z80 assembler-fu is so rusty it'll be a while before I grok the Complete Spectrum ROM disassembly)…

    ... />
    [code]
    LD A,#7F
    IN A,(#FE)
    [/code]

    a pulse present, and 1 when ... pulse to 'silence'. This is a Good Thing.

    Of ...
    Winston Winston July 2006 Hardware
  • Urgent Help needed to fix this: calling all machine code gurusI am currently trying to write tutorials on the amazing Orfeus music composer by Proxima which allows you to do multi channel music through the beepe…

    ... ; (-20)
    l8c51: xor a
    in a,(#fe)
    cpl
    and #1f ... br /> xor b
    sbc a,a
    sub (hl)
    adc ... 1 ; (3)
    add a,a
    adc a,c
    l8ceb:
    a
    adc a,l
    add a,c
    adc a,l ...
    robpearmain robpearmain November 2006 Development
  • NEW games for you chaps (and girls too) ;-)Okie, did some .TAP versions of NEW original games that were only released on TRDOS disk format. Some of you might have seen some (one or two are eve…

    ...
    wait: LD A,$7f
    IN A,($FE)
    RRA
    JP ... B is number of sectors in trdos, one sector = 256 ... br /> JP $556 ; load in the headerless block

    A LOT of free space to put your own tape loader in ... .
    A lot of the ...
    Tom-Cat Tom-Cat January 2007 Games
  • New Game - JustinA new isometric 3D Game for ZX Spectrum, Justin: [url]http://cpce.emuunlim.com/justin.tap.zip[/url] It can be played in spanish and english languaj…

    ... of putting it into a magazine-style type-in hack (the CALLs ... game code
    keypress:
    IN A,($FE) ;get keyboard
    AND $01 ... A,B ;put B into A
    OUT ($FE),A ;send B to port $FE ...
    LD A,B ;put B into A
    OUT ($FE),A ;reset border ...
    StuBruise StuBruise April 2007 Games
  • How does interrupts work?I am a little confused regarding the interrupts on the Spectrum. If I have some hundred bytes of machine code started with, say, [B]RANDOMIZE USR 300…

    ... $xxFE
    inc hl
    in a,($fe)
    and (hl) ; select which ... key in row to pay attention to ... keys with one IN instruction and save yourself a few tens of ... there is almost zero difference in execution speed.

    [ ...
    Alcoholics Anonymous Alcoholics Anonymous May 2007 Development
  • Splitting Images tzx maybe not perfectI've been hacking this game and its loader. Also the save routine is intact in this game. It saves a block with a pilot length of 801 pulses. Test…

    ... /> di
    ld a, $0f
    out ($fe), a
    in a, ($fe)
    rra
    ret z
    ld a, $7f
    in a, ($fe)
    rra
    xor ... b, $31
    ld a, $7f
    in a, ($fe)
    rra
    ret ...
    FrankT FrankT August 2007 MIA/STP/SDP
  • DarkStar.tzx in Spectaculator 6.25Hi all I think I have found a bug in Spectaculator. Darkstar.tzx(OriginalRelease) wiil not not load. DarkStar.tap loads The DarkStar Re-release t…

    ... happily stand corrected for a better explanation which I ... error in the loader is here: $fc7d (set a breakpoint ... clears the EAR bit in C. This is okay ... the actual data coming in (since it misses the ... 7F LD A,$7F
    FD2C DB FE IN A,($FE)
    ...
    Jon Needle Jon Needle August 2007 Emulators
  • New (easier) speccy games testI've created a new speccy games test: [url]http://www.sometests.com/tests/Gaming/ZXSpectrumGamesTest_EasierVersion_.html[/url] Again it's 20 questi…

    ... see it all before in a previous game. Taking the ... ; it is "optimised" in Knight Lore onwards. To ... to a port and then read in from a port. In ... pentagram, etc), they use it in a subroutine.


    A
    IN A,(#FE)
    BIT 0,A
    RET ...
    zxspecticle zxspecticle November 2007 Games
  • New (easier) speccy games testI've created a new speccy games test: [url]http://www.sometests.com/tests/Gaming/ZXSpectrumGamesTest_EasierVersion_.html[/url] Again it's 20 questi…

    ... out a byte and then read it in to ... OUT (#FD),A
    IN A,(#FE)
    BIT 0,A
    RET ... will be significant differences in the draw code between ... in the game... oh and in the menu... oh and wait for a ... with a decent keyboard reading routine sometime in its ...
    Alcoholics Anonymous Alcoholics Anonymous November 2007 Games
  • Bizarre stuff in Interface 1's shadow ROMAccording to the Complete Shadow ROM disassembly, the function that exits back to the BASIC interpreter after interpreting IF1 commands is this: [co…

    ... going to get overwritten by IN A, (0xFE) - why are they setting ... ]

    Wiith IN A,(value) and OUT (value),A, it uses the ... /> So LD A, &7F : IN A,(&FE) acts effectively as IN A,(&7FFE ... the 16 bit address when IN x,(C) and OUT (C ...
    Quazar Quazar March 2008 Development
  • Bizarre stuff in Interface 1's shadow ROMAccording to the Complete Shadow ROM disassembly, the function that exits back to the BASIC interpreter after interpreting IF1 commands is this: [co…

    ... /> So LD A, &7F : IN A,(&FE) acts effectively as IN A,(&7FFE ... of the address bus for IN/OUT instructions. (Slaps head ...
    Winston Winston March 2008 Development
  • Was Knight Lore Really Written Before Sabre Wulf?Was Knight Lore really written before Sabre Wulf or was this a clever form of self promotion by the Stamper brothers? It was a great piece of journa…

    ... see it all before in a previous game. Taking the ... ; it is "optimised" in Knight Lore onwards. To ... to a port and then read in from a port. In ... pentagram, etc), they use it in a subroutine.

    ... OUT (#FD),A
    IN A,(#FE)
    BIT 0,A
    RET ...
    Matt_B Matt_B July 2008 Games
  • VIC 20 emulation on the SpectrumI'm sure most people are aware of the my attempt at bringing the full Commodore experience to Sinclair users with the "Twenty Commodes" program. It e…

    ... true - I did that in the Galaksija emulator, but ... probably saves less than a second in the 2-3 ... abort the keyscan if XOR A; IN A,($FE) ; CPL; AND $1F ... ll be including this fix in the next release then ... also include this improvement in the UK101 emulator as ...
    Jimmy Jimmy September 2008 Sinclair Miscellaneous
  • VIC 20 emulation on the SpectrumI'm sure most people are aware of the my attempt at bringing the full Commodore experience to Sinclair users with the "Twenty Commodes" program. It e…

    ... abort the keyscan if XOR A; IN A,($FE) ; CPL; AND $1F returns ... t expecting such an increase in speed (>10%).[/quote]
    In particular, replacing the key scanning ... that uses keyboard control takes a large speed hit from the ...
    obo obo September 2008 Sinclair Miscellaneous
  • Help: OUT (port), A[deleted]

    ... the port... examples (using IN) show ports as having ... /> There is no connection in the code used. OUT ... whereas OUT (port),A/IN A,(port) as in the example uses the ... />
    OUT (BC)/IN (BC) uses the BC register ... 8 bits. So, LD A,7F:IN A,(FE) reads from 7FFE, ...
    Jonathan Harston Jonathan Harston December 2008 Development
<1234567…34>

Latest Posts

  • Where to Buy the New or Fairly Recent , Excellent ZX Spectrum Games Software?
    harriusherbartio on 11:40AM
  • i am currently listening to........
    mel the bell on 11:34AM
  • Mis-labeled cassette titles or a name change?
    harriusherbartio on 11:06AM
  • Ways to preserve Speccy Tapes in the loft
    harriusherbartio on 10:58AM
  • Fixed Speccy Software. And which games remained unfixed?
    harriusherbartio on 10:47AM
  • Minor British Sports that did become games on the ZX Spectrum
    harriusherbartio on 10:30AM
  • How to return to basic properly from ASM
    Paradigm Shifter on 1:54AM
  • Frankie's ZX Spectrum Digouts
    Zup on April 8
  • Elusive Strategy Games done by the Smaller or less Prolific Software Houses.
    harriusherbartio on April 8
  • 1992 Spectrum Software
    harriusherbartio on April 7

HitBox

Word Docs Hits
in 401.9K 810.5K
a 589.5K 1.7M
fe 725 1.6K

Related Threads

  • I NEED A HAND FINDING A 3D CHESS GAME......WITH A HAND IN ITOk.Firstly - It's not one of the chess games in the archive with the word chess in the title.<br /> ##(Although - The ChessMaster2000 LOOKS very fami…
  • Free to a good home - Anyone in South Wales want a pile of Spectrum Games and a +3?Bit of an emergency - I'm moving out in a hurry and I don't have time to sell these!<br /> <br /> Is there anyone in South Wales who wants a fairly b…
  • A.I. in a Pacman game made in BasicA few years ago I tried to make my own Pacman game in Sinclair Basic. The map, UDGs and the whole game was completed and was working with just one gh…
  • A Day in the Life of a Tupperware Salesman (Tie-in licence)[URL="http://www.worldofspectrum.org/infoseekid.cgi?id=0010762&amp;loadpics=3"]A Day in the Life of a Tupperware Salesman[/URL]<br /> <br /> "Inspire…
  • How to separate a character from a number in a string?Hi <br /> I've been writing a kind of logo type program in BASIC that takes a string a$ from INPUT and then draws according to what you give it. Say…
  • A recollection of a Bug in a "good" game:the mystery of the bug and the game will be revealed later!Well what is the "big deal":- a bug in an old Spectrum game. So what!<br /> <br /> Well , I should explain: it was a good very popular game and I …
  • getting c nonsense in basic when trying to load a program through a string in +3 basicstrangely if i use load s$(to 8), it says nonsense in basic but works when i run it. but when i execute the command without a line no it works withou…
  • A Spectrum, a couple of felt tip pens and a lot of free time on Sunday afternoons...In my opinion the best part of having a Spectrum was drawing a game map of the latest Ultimate game in the back page of my geography text book thereb…
  • Install a Sintech Video adaptor in a Spectrum+Hi all,<br /> <br /> I'm an old Commodore user (boo! hiss!) that's aquired his first Spectrum. Since my modern TV doesn't like the RF output of any o…
  • have a speccy program not in the archive or in MIAIntermediated Maths 2 for the 48K!!

Related Searches

  • print a char in asm
  • cars ending in a
  • a gremlin in the works
  • a message to all the devs in this section
  • 2 motherboard in a 128
  • 2 roms in a 128
  • how to load a tape in 3
  • colors in a string
  • attributes in a string
  • a yankee in iraq
  • in fe
  • copying a screen in zx basic 1 second
  • post a picture in forum
  • in a row
  • in a
  • a day in the life
  • in a c
  • in a c key map
  • in a fe
  • in a fe keyboard

Copyright © 2024 World of Spectrum