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.157s
<1234567…34>
  • Machine Code Routine of the weekHow about a thread that has a routine each week that is in [B]assembly language[/B] and is also described in great detail what the hell is going on …

    A lot of the code mentioned ... bad for speed. Here's a very small piece of code ... to wait until a key is pressed which doesn ... ]
    _WAITFORNOKEYS
    xor a
    in a, ($fe)
    cpl
    and %00011111 ...
    bobs bobs April 2009 Development
  • Machine Code Routine of the weekHow about a thread that has a routine each week that is in [B]assembly language[/B] and is also described in great detail what the hell is going on …

    [QUOTE=bobs;348510]A lot of the code ... for speed. Here's a very small piece of code ... to wait until a key is pressed which ... ]
    _WAITFORNOKEYS
    xor a
    in a, ($fe)
    cpl
    and % ... I can see this being a real pain for bigger ...
    frobush frobush April 2009 Development
  • Machine Code Routine of the weekHow about a thread that has a routine each week that is in [B]assembly language[/B] and is also described in great detail what the hell is going on …

    ... 's a good point - just about everything in my post needs a good ... keyboard (QWERT, ASDEF etc)
    in a, ($fe)
    ; Invert each bit of ... important as only five keys in a section.
    and %00011111
    bobs bobs April 2009 Development
  • Machine Code Routine of the weekHow about a thread that has a routine each week that is in [B]assembly language[/B] and is also described in great detail what the hell is going on …

    ... your explanation! Just in case I still have ... are in my semi-confused state :)

    A ... overwrite it with [COLOR=Blue]IN A, ($FE)[/COLOR] ?

    ... [B]EDIT[/B]: A bit more research indicates that ... the accumulator are put in the high order ...
    szeliga szeliga April 2009 Development
  • Machine Code Routine of the weekHow about a thread that has a routine each week that is in [B]assembly language[/B] and is also described in great detail what the hell is going on …

    ...
    Often in games you need to display a screen after some ... which might others who are in my semi-confused state :)[/ ... overwrite it with IN A, ($FE) ?[/QUOTE]

    On a spectrum, ports ... call itself. So in clearing A, and then using $FE, the port ...
    bobs bobs April 2009 Development
  • Machine Code Routine of the weekHow about a thread that has a routine each week that is in [B]assembly language[/B] and is also described in great detail what the hell is going on …

    ... =szeliga;348536]
    A quick question though: why ... it with IN A, ($FE) ?[/QUOTE]

    IN A,($FE) places $FE on the ... the contents of the A register goes on the ... the port read. Port $FE selects the keyboard and ... is being read. Since A=0, the top 8 ...
    Alcoholics Anonymous Alcoholics Anonymous April 2009 Development
  • Machine Code Routine of the weekHow about a thread that has a routine each week that is in [B]assembly language[/B] and is also described in great detail what the hell is going on …

    [QUOTE=bobs;348510]A lot of the code mentioned ... bad for speed. Here's a very small piece of code ... to wait until a key is pressed which doesn ... ]
    _WAITFORNOKEYS
    xor a
    in a, ($fe)
    cpl
    and %00011111 ...
    BloodBaz BloodBaz April 2009 Development
  • +3 Centronics port: How does it work?I've been trying to follow the code with Fuse's debugger and I can't see it writing anywhere except to port 0x1ffd. It also jumps through some fairly…

    ... busy bit
    221d ed78 in a,(c)
    221f cb47 bit ... /> 2c6b 3e7f ld a,#7f
    2c6d dbfe in a,(#fe)
    2c6f 1f ... /> 2c71 3efe ld a,#fe
    2c73 dbfe in a,(#fe)
    2c75 1f rra ...
    spodula spodula July 2009 Hardware
  • Machine Code Routine of the weekHow about a thread that has a routine each week that is in [B]assembly language[/B] and is also described in great detail what the hell is going on …

    ... ; Save return state
    LD A,(BORDCR) ; Get border colour
    RRCA
    OUT (&FE),A ; Set border colour
    POP ... error
    LD A,&7F
    IN A,(&FE) ; Scan B-SPACE ...
    Jonathan Harston Jonathan Harston July 2009 Development
  • Creating a Spectrum game that won't load...Dear All, I have recently been using my ZX Spectrum as a reference for the production of a new body of art work and something I keep coming back to …

    ... SALEAD DJNZ SALEAD
    OUT ($FE),A
    XOR %00011111 ;toggle between ...

    OUT ($FE),A
    LD A,%00001101 ;MIC off, brd ... B,$31
    LD A,$7F
    IN A,($FE)
    RRA
    ... RET NC
    LD A,D
    INC A ...
    roko roko November 2009 Sinclair Miscellaneous
  • What are the keys for Penetrator?Q - Up, A- Down, O-Left P- Right Space - Bomb. So what's fire? When I press the P button, it fires bullets, but that's the 'right' key. Surely they…

    ... row 'P-Y'
    IN A, ($FE) ;
    BIT 0, A ; Test for 'P ... A, $FD ; Keyboard row 'A-G'
    IN A, ($FE) ;
    BIT 0, A ; Test for 'A ... row 'SPACE-B'
    IN A, ($FE) ;
    BIT 0, A ; Test for 'SPACE ...
    FrankT FrankT January 2010 Games
  • 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 ' ... ld a, $df ;
    in a, ($fe) ;

    bit 0, a ; ...
    Dr BEEP Dr BEEP February 2010 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]
    ld a, $df ; 7 (7)
    in a, ($fe) ; 11 (18) ; ... /> [/code]
    So that 'a' = 1,2,4,8 or ... de and b. Loading b in the keystates with the low ... byte of a table, which holds the low ... . This also doubles as a check to see if the ...
    FrankT FrankT February 2010 Development
  • zxs v0.2 releasedI have released v0.2 of zxs if anyone is interested, judging by the response to the first release, I'd say not, but I'm gonna do it anyway!. It has h…

    ... with it but there are a few (obviously with their own ... than you're anticipating. "XOR A : IN A,($FE) : AND $1F ..." and variations thereof ...
    ccowley ccowley June 2010 Emulators
  • zxs v0.2 releasedI have released v0.2 of zxs if anyone is interested, judging by the response to the first release, I'd say not, but I'm gonna do it anyway!. It has h…

    ... than you're anticipating. "XOR A : IN A,($FE) : AND $1F ..." and variations thereof ... is not going to remain in it's present state, infact ... ZXS has only been in development for a few weeks and is ... written Z80 core. It is in this area that I really ...
    alien8r33d alien8r33d June 2010 Emulators
  • Beepola v1.01A new version of Beepoa, v1.01, is now available for download from:- [URL]http://freestuff.grok.co.uk/beepola/Beepola_v1.01.00.zip[/URL] (650KiB) …

    ... is PreCalculated & now Stored in M3
    ; M0 seems ... />
    CheckKey:
    xor a
    in a, ($fe)
    cpl
    and %00011111 ... /> ; Assembled Duration = INT(Basic duration in Sec / (1/51) )
    ; ...
    kgmcneil kgmcneil June 2010 Announcements
  • Using Interface II joystick in kempston-only gamesHi everyone! It's me again, bothering you with new crazy ideas :) I have recently acquired an Amstrad +2A Speccy with a joystick and built-in Interf…

    ... some luck to find a solution to my first ... for read joystick port - XOR A,IN A,(1F)
    -replace this ... PUSH AF
    LD A,EF
    IN A,(FE)
    CPL
    ... POP AF
    LD A,E
    POP DE
    in register A emulated kempston joystick state.
    velesoft velesoft August 2010 Hardware
  • Games hacked to be played with Sinclair Joystick #1 (67890)I have mentioned a few of these in other threads, but I think they kinda deserve their own... I have been hacking a few of my favorite games which ha…

    ... always use IN instructions on port $FE, something like ... (they could use any other IN instruction, not just IN A ... ,(NN)):

    LD A ... , $DF ; Keyboard row 'P-Y'
    IN A, ($FE ...
    Tom-Cat Tom-Cat August 2010 Games
  • Flash based rom replacement board for +2A/+3I'm sure I already started a thread about this, but I can't find it... Anyway, this post's to say that I've just sent off the order for the printed …

    ... on all entry points used in DIVIDE.

    adress #0000 ... HL,#1F80
    adress #0562: IN A,(FE)

    Some modified 48roms ...
    velesoft velesoft September 2010 Hardware
  • Flash based rom replacement board for +2A/+3I'm sure I already started a thread about this, but I can't find it... Anyway, this post's to say that I've just sent off the order for the printed …

    ... on all entry points used in DIVIDE.

    adress #0000 ... HL,#1F80
    adress #0562: IN A,(FE)

    Some modified 48roms ...
    guesser guesser September 2010 Hardware
  • 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…

    ... ; it still crashed after a few iterations using WinZ80. ... worked all the time in Fuse I presumed that ... /> Anyhoo, I've experimented a bit more with WinZ80 and ... 23
    in a, ($fe) ; 7f62 db fe
    bit 6, a ; 7f64 ...
    Battle Bunny Battle Bunny November 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…

    ... 23
    in a, ($fe) ; 7f62 db fe
    bit 6, a ; 7f64 cb 77 ... Ear bit is bit 4 in 0xfe. The mic bit is ... you're sampling bit 6 in the above code.
    Arjun Arjun November 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…

    ... you're sampling bit 6 in the above code.[/QUOTE]
    FE; bit 6 of IN-port FE is the EAR ...
    L_7F5E: IN A, ($FE) ; 7F5E DB FE
    BIT 6, A ; 7F60 CB 77 ... use for the returned value in BC), so the loop limit ...
    Battle Bunny Battle Bunny November 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…

    ... port $7FFE with LD A,$7F / IN A,($FE). On checking the Z80 ... bus to the current value in A and the low order ... to the value n from IN A,(n), so the two ... A, $7F ; 7F5E 3E 7F
    IN A, ($FE) ; 7F60 DB FE
    BIT 6, A ...
    Battle Bunny Battle Bunny November 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…

    ... : LD A, $7F ; 3E 7F
    IN A, ($FE) ; DB FE
    BIT 6, A ; CB ... , disabling IRQs while in a timing loop is essential in order to have ... a more constant loop time ...
    Marcelo Marcelo December 2010 Sinclair Miscellaneous
  • Zombie Zombie Loading SchemeA quick check of the [URL="http://www.worldofspectrum.org/infoseekid.cgi?id=0005866"]Zombie Zombie[/URL] loader identifies it's the RAPID LOADING SYS…

    ... $07ts
    out ($fe), a ; 5d74 d3 fe $0bts
    ld hl ... 04ts
    out ($fe), a ; 5d85 d3 fe $0bts
    ld a, $7f ; 5d87 ... 3e 7f $07ts
    in a, ($fe) ; 5d89 db fe $0bts
    l_5d8b: ... l_5dcc: jr l_5dcc ; 5dcc 18 fe $0cts
    l_5dce: defm " ...
    jp jp February 2011 Infoseek database
  • Small Machine Code Routines Which Maybe UsefulAs part of creating Flynn's Adventure in Bombland I created a lot of little routines to do all sorts of things. A lot of these I created based on inp…

    ...
    ; ******************************
    xor a ; 4t - a=0
    in a,($FE) ; 11t - read all keyboard ... ; 4t - next mem
    in a,($FE) ; 11t - read in the keyboard half row ...
    TomD TomD April 2011 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