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.018s
<1234567…34>
  • Keyboard problem...Hi Folks, I have hit a problem in MRT and I cannot see how to get around it. Please allow me to explain. I have a list of items from which one can…

    ... For example:

    key=read keyboard
    update time
    if ... key not ENTER then goto read keyboard

    If I ... The selection code reads the keyboard again (using INKEY$) but ... a way to flush the keyboard buffer? I have tried ...
    Paddy Coleman Paddy Coleman April 2012 Sinclair Basic
  • IN command in BASIC to read keyboardThis weekend on a Sinclair meeting we had some BASIC-games using IN to control the character. The maker of the game assumed that the result of an IN …

    This weekend on a Sinclair meeting we had some BASIC-games using IN to control the character. The maker of the game assumed that the result of an IN without a key press would always be 191, making it impossible to play it on ANY Spectrum.

    Here ...
    Dr BEEP Dr BEEP September 2005 Sinclair Basic
  • New for 2009 - mc onelinersI found the limit of one line and one screen's worth of program really useful in (re-)learning BASIC, so I've decided to carry the format over into m…

    ... j=z TO z+167: READ b: POKE j,b: NEXT ... /> ei
    ld bc,65278 ;read keyboard caps to v
    in ... /> moveright
    ld bc,32766 ;read keyboard space to b
    in ...
    bigjon bigjon December 2008 Development
  • Getting started with asm Speccy codingSomeone on another forum I read has asked for good Speccy coding resources. I thought it would be great to link him to a simple tutorial about how to…

    Someone on another forum I read has asked for good Speccy ... , maybe make some sounds and read keyboard input... that sort of thing ...
    evilpaul evilpaul May 2009 Development
  • Tutorial - learn machine code in 30mins[B][I]Message from the moderators[/I] - bigjon has requested that readers' attention be drawn to a better version of this tutorial, one which is easi…

    ... execute over and over
    ;read keyboard
    ;set new carposition
    moveright
    ld bc,32766 ;read keyboard space to b
    in ... ei
    ld bc,65278 ;read keyboard caps to v
    in ... moveright
    ld bc,32766 ;read keyboard space to b
    in ...
    bigjon bigjon November 2009 Development
  • L Break Into Program, 0:1 BlogThis is very much a work-in-progress but it's got a load of Z80 code I'm in the progress of writing, including some fast vector graphics primitives (…

    ... some Spectrum fundamentals (output text, read keyboard etc).

    A lot ...
    d1n0 d1n0 July 2012 Announcements
  • trying to read keyboardI have the speccy in interrupt mode 1 I used 'IM1' in assembly language then Im printing the contents of memoryu area 23560 to the screen: [quote] l…

    I have the speccy in interrupt mode 1
    I used 'IM1' in assembly language

    then Im printing the contents of memoryu area 23560 to the screen:
    [quote]
    ld a,#2 ;channel2
    call #5633 ;open channel

    ld a,#22 ...
    slenkar slenkar August 2013 Development
  • Machine Code in 30 minutes - car gameWotcha folks, 30 years on and I'm still struggling with Machine Code. I'm going through the 30-minute tutorial on the Chuntey blog and it's all made…

    ... that deals with reading the keyboard.

    The example Assembly ... /> [code]
    ld bc,65278 ;read keyboard caps to v
    in ... /> moveright
    ld bc,32766 ;read keyboard space to b
    in ...
    Tobo Tobo August 2014 Development
  • Console frameworkStill working on Specotron, but at the point where working out the diagonal lines collision is not good at beer o'clock. In the meantime I've knoc…

    ... />
    ; scan all keys on keyboard into kbd_buff
    scankeys:
    .nexthalfline
    in a, (c) ; read keyboard half-line
    cpl
    Paradigm Shifter Paradigm Shifter August 2022 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…

    ... specific questions:
    - The keyboard is attached to i/o ... during a 16-bit port read identifies which row you ... active
    in a,($fe) ; read keyboard
    ; a = status of keys ... contains code for scanning the keyboard, reading a variety of joysticks ...
    Alcoholics Anonymous Alcoholics Anonymous June 2003 Sinclair Miscellaneous
  • Spectrum programmingI have a Spectrum+ at home. I tried to write some programs in BASIC (IIRC i wrote a breakout clone in which you had to hit those spider-like characte…

    Here you find how to read keyboard and use beeper.

    [ ... /books/[/url]

    The keyboard is a matrix of 8 ... bit

    You read the keyboard like this
    LD BC ... BIN 11111101 ) C = 254 for keyboard
    IN A,(C)
    Dr BEEP Dr BEEP January 2005 Development
  • ANN: SP1 for Z88DK (aka splib3, Sprite Pack v3.0)Well it's finally arrived, after a month of "a few days from now" release deadlines. SP1 is the lastest version of splib, a flicker-free software sp…

    ... keyboard scanning functions. "spectrum.h" and "input.h" contain functions to read ... the keyboard, joysticks and mice.
    Alcoholics Anonymous Alcoholics Anonymous May 2006 Development
  • Oneliner contestHello to you all, I dare you to make a program on 1 BASIC line. Here is the place to sent your ONELINERS [url]http://www.zxspectrum.00freehost.co…

    ... /> Game now uses IN to read keyboard and is compatible with all ...
    Digital Prawn Digital Prawn September 2007 Development
  • Dangerous Z80 Assembly CommandHave been reading Toni Bakers' "Mastering MC On Ya Speccy" book and came across the list of Z80 commands in the dictionary section. Page 102 "[b]IM…

    ... and
    perform the intruptroutine (=read keyboard)

    With IM 2 ...
    Dr BEEP Dr BEEP March 2008 Sinclair Miscellaneous
  • New oneliners for 2008[INDENT][INDENT][INDENT]Here's my attempt at a first-person-perspective 3d game in one line of BASIC. It's called 'wormhole', and you've got to get t…

    ... of a number

    READ c$,m,n,v,p ...
    Dr BEEP Dr BEEP March 2008 Development
  • ZX Spectrum (16K) sound/beepHi all, I think I'm in right place now, I've tried to find an answer how to generate two channel sound using ZX Spectrum 16K. Only think I've found …

    ... ,break ; If A is OFFh read a new envelope.
    INC ... accumulator.
    IN A,(254) ; Read keyboard.
    CPL ; Complement result.
    AND 31 ; Mask keyboard bits.
    JP NZ, keyp ...
    Matt_B Matt_B November 2008 Sinclair Basic
  • New for 2009 - mc onelinersI found the limit of one line and one screen's worth of program really useful in (re-)learning BASIC, so I've decided to carry the format over into m…

    ... ][/SIZE][FONT=Arial][SIZE=2]read keyboard space to b[/SIZE][/FONT ...
    Dr BEEP Dr BEEP December 2008 Development
  • Keyboard routinesI'll ask here first - since this must be a long-ago solved problem, and hopefully I can avoid re-inventing the wheel... I need a keyboard routine th…

    ... br /> First read keyboard without shift.
    Then read Symbol Shift again ... ; B=Hight byte of keyboard port
    ; A=mask ... CPL
    AND E ; READ 4 OR 5 KEYS
    READ 5 KEYS
    JR ...
    Dr BEEP Dr BEEP January 2009 Development
  • New for 2009 - mc onelinersI found the limit of one line and one screen's worth of program really useful in (re-)learning BASIC, so I've decided to carry the format over into m…

    ... ][/SIZE][FONT=Arial][SIZE=2]read keyboard space to b[/SIZE][/FONT ...
    bigjon bigjon January 2009 Development
  • New for 2009 - mc onelinersI found the limit of one line and one screen's worth of program really useful in (re-)learning BASIC, so I've decided to carry the format over into m…

    ... /> ei
    ld bc,65278 ;read keyboard caps to v
    in ... /> moveright
    ld bc,32766 ;read keyboard space to b
    in ...
    bigjon bigjon January 2009 Development
  • Getting started with asm Speccy codingSomeone on another forum I read has asked for good Speccy coding resources. I thought it would be great to link him to a simple tutorial about how to…

    ... ]Someone on another forum I read has asked for good Speccy ... , maybe make some sounds and read keyboard input... that sort of thing ...
    Fikee Fikee May 2009 Development
  • Getting started with asm Speccy codingSomeone on another forum I read has asked for good Speccy coding resources. I thought it would be great to link him to a simple tutorial about how to…

    ... ]Someone on another forum I read has asked for good Speccy ... , maybe make some sounds and read keyboard input... that sort of thing ...
    jonathan jonathan May 2009 Development
  • Tricks with IN 31It's generally considered unwise to use a Kempston joystick's fire button to start a game, because the floating bus effect can make arbitrary data ap…

    ... interrupts

    IN 31 ; read joystick port
    AND 31 ... controls

    IN 254 ; read keyboard
    AND 31 ; mask bits ... NZ, xxy ; start game with keyboard controls
    [/CODE]

    ajmoss ajmoss April 2010 Hardware
  • Tricks with IN 31It's generally considered unwise to use a Kempston joystick's fire button to start a game, because the floating bus effect can make arbitrary data ap…

    ... interrupts

    IN 31 ; read joystick port
    AND 31 ... controls

    IN 254 ; read keyboard
    AND 31 ; mask bits ... NZ, xxy ; start game with keyboard controls
    [/CODE]

    velesoft velesoft April 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…

    ... a
    in a,(254) ; read keyboard
    cpl
    and %00011111 ...
    obo obo September 2010 Development
  • Why doesn't my routine work?I have a "level" defined by 504 bytes (28 squares across x 18 squares down) I'm trying to write a routine that will take an X,Y coordinate in pixels…

    ...
    JP 56
    to read keyboard and let ROM set EI ...
    Dr BEEP Dr BEEP June 2011 Development
  • Is there a limit to the numberof variables you can have in BASIC..... Reason I ask is I've got an idea....but using my "lowest common denominator" approach to code I fear that I'…

    ...
    110 GOSUB 200: REM read keyboard
    120 GOSUB 300: REM ...
    Rebelstar without a cause Rebelstar without a cause January 2012 Sinclair Basic
  • Is there a limit to the numberof variables you can have in BASIC..... Reason I ask is I've got an idea....but using my "lowest common denominator" approach to code I fear that I'…

    ...
    110 GOSUB 200: REM read keyboard
    120 GOSUB 300: REM ...
    Wookiee Wookiee January 2012 Sinclair Basic
  • pc keyboard for speccyis it possible to use a ps/2 keyboard for a speccy. I have a +2A, spectrum+ and toastrack, which all have broken keys. So an external keyboard woul…

    ... management were ok, but keyboard, ear, mic and speaker ... pins that control the keyboard (the damaged suffered by ... the GAL so it can read keyboard columns, plus EAR, and ... = KB2 ; /* KB0 to KB4, keyboard columns */
    PIN 8 = ...
    mcleod_ideafix mcleod_ideafix April 2012 Hardware
  • BIFROST* Advanced Programming - part 6The purpose of this demo is somewhat different from previous ones. Instead of teaching a new technique, the main goal here is to demonstrate how much…

    ... in BIFROST* documentation) and always read keyboard input directly, thus saving another ...
    Einar Saukas Einar Saukas September 2012 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
read 31.6K 38.6K
keyboard 14.1K 21.6K

Related Threads

  • how do i read the keyboard in assembly?here is the code i tried writting to find out the value of a key<br /> <br /> <br /> call 28f (hex)<br /> loop: ld a,255<br /> cp e<br /> jr z loop<b…
  • IN command in BASIC to read keyboardThis weekend on a Sinclair meeting we had some BASIC-games using IN to control the character. The maker of the game assumed that the result of an IN …
  • Keyboard stickers for a DK'Tronics keyboardSee topic.<br /> I know sintech used to sell them, but I can't find them in their shop anymore.<br /> Anyone know another place where to get these pu…
  • Best way to read the keyboard in Tommy Gun?Remember, I'm a bit of a novice here (a bit?!) and I tried to use the Out command as I usually do with my basic or machine code, but Tommy just wont …
  • Help fix this keyboard read program?This code runs in an interrupt routine with DI.<br /> <br /> What would be the simplest way of making it so it doesn't auto repeat a keypress?<br /> …
  • SAGA 1 Emporer keyboard ->swap-> dk' Tronics keyboardHi,<br /> <br /> Anyone here that would like to swap a SAGA 1 Emporer keyboard for a dk Tronics keyboard?<br /> Without the insides, just the keyboar…
  • trying to read keyboardI have the speccy in interrupt mode 1<br /> I used 'IM1' in assembly language<br /> <br /> then Im printing the contents of memoryu area 23560 to the…
  • I need help with MOVIE! Please read!I would like to know what to do with the very last knight of the game. You know, these knights are always guarding important doors: the first knight,…
  • KEYBOARD PROBLEMHI, MOST OF THE KEYS ON MY SPECTRUM + 48K WONT WORK, I`VE HAD IT FOR YEARS AND WAS WONDERING DO I NEED A NEW MEMBRANE OR IS IT SOMETHING ELSE? THE DI…

Related Searches

  • keyboard not working
  • keyboard
  • keyboard control joystick
  • ps2 keyboard interface
  • divmmc read internal disk
  • keyboard 3
  • keyboard delay
  • spectrum 3 spare keyboard springs
  • spectrum 3 keyboard springs
  • keyboard springs
  • read keyboard press with in command
  • basic read keyboard
  • keyboard issue 2 port read
  • keyboard issue 2 port read games
  • keyboard read faster basic
  • in keyboard basic read ports
  • read keyboard input
  • keyboard read routiner
  • keyboard read routine
  • keyboard read routine in fe a

Copyright © 2024 World of Spectrum