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.021s
<1234567…34>
  • Redefine keys routineHow would I go about making a memory efficient redefine keys routine? I only want to define up, down, left and right and reserve key 'H' for pause.…

    ... about making a memory efficient redefine keys routine?

    I only ... pause.

    The key scan routine in the game goes something ...
    daveysludge daveysludge August 2013 Development
  • A Neat Redefine Keys RoutinePreviously, I’ve only shared this routine with a couple of people via PM, but I’ve now decided to make it public. I optimized it for size, so it uses…

    ... />
    [code]
    ;Redefine Keys routine
    ;By Ast A. Moore ... the code of the first key (dummy_key)
    control_count ld ... to (dummy_key+BC), so store key code there

    ... call $31e ;now decode key code for printing
    ex ...
    Ast_A_Moore Ast_A_Moore October 2017 Development
  • New Compo IdeaI've had this idea and would like to know what do you think about it. I think that most of us here know how to code in BASIC. The problem with Specc…

    So someone who's written a game in pure MC can tack on a hi-score table or redefine key routine in BASIC, and instantly double their final score?
    gasman gasman March 2005 Development
  • Game being created with Platform Game DesignerBeen playing with this since yesterday when i bought it from Cronosoft. To someone like me who cant program its excellent to create a Manic Miner st…

    ... routine at address 654 (028Eh) which returns the number of the key ... being pressed). So your redefine key routine should CALL this address and ... the memory location for the key you're redefining.

    jonathan jonathan May 2005 Development
  • Game being created with Platform Game DesignerBeen playing with this since yesterday when i bought it from Cronosoft. To someone like me who cant program its excellent to create a Manic Miner st…

    ... routine at address 654 (028Eh) which returns the number of the key ... being pressed). So your redefine key routine should CALL this address and ... assembly to call that ROM routine, read the E register and ... else when the 14 bytes routine was done.

    ...
    na_th_an na_th_an May 2005 Development
  • 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…

    ... =================================================================================================
    ; _REDEF - Redefine keys
    ; input-none ... as part of redefine key loop with:< ... key in a redefine key loop ... 17t - call get redefine key routine
    ld ...
    TomD TomD April 2011 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…

    ... ?p=565673&postcount=21"]redefine key routine[/URL] as I've been ... of view, I reckon the key motivation comes from having a ... a game listing, or a routine I don't instantly want ...
    Morkin Morkin November 2011 Development
  • New Game: Catacombs of BalachorCurrently in the process of uploading onto WoS... Watch this space..! [IMG]http://i1016.photobucket.com/albums/af288/Thirdharmoniser/catacombs.jpg[/…

    ... intro screen & you can redefine keys :-)[/QUOTE]

    Cheers ... slightly modified version of your redefine key routine that you posted in the ...
    Morkin Morkin August 2012 Brand new software
  • [Updated] RetroVM 1.0.4 with Recreated ZX Spectrum support.A new version available the change log: - Recreated ZX Spectrum "game mode" keyboard support. - Fix a bug with multiples machines running in para…

    ... outcome of a key read routine that most emulators ... key reads not to be interpreted into ascii correctly during the redefine key routine ... . The routine uses a key scan which figures out which key ... work fine and the key read correctly. Running ...
    TomD TomD November 2015 Emulators
  • [Updated] RetroVM 1.0.4 with Recreated ZX Spectrum support.A new version available the change log: - Recreated ZX Spectrum "game mode" keyboard support. - Fix a bug with multiples machines running in para…

    ... outcome of a key read routine that most emulators ... key reads not to be interpreted into ascii correctly during the redefine key routine ... . The routine uses a key scan which figures out which key ... work fine and the key read correctly. Running ...
    jcgamestoy jcgamestoy November 2015 Emulators
  • Running out of fingers in AssemblyDear all, Still trying to learn Assembly and have put a few routines together. However, as my routines become a little more involved I find myself…

    ... feel when you change a routine and save 9 bytes.. ;)
    redefine key routine I [s]stole[/s] borrowed ... states or use an interrupt routine
    - All sound effects and ... CALLS to the ROM beeper routine, I didn't use OUT ...
    Morkin Morkin September 2016 Development
  • CAPS-SHIFT KeyCodeIs there a standard Keycode for CAPS-SHIFT Key ? Looking at the ROM documentation in the Main key table KEYTABLE_A, there is no Entry for CAPS_SHI…

    ... use 39 (decimal) in my redefine key routine and it works fine.
    key for RIGHT
    en_l ... ;move on to scan the key for RIGHT
    ss_l ... ;move on to scan the key for RIGHT
    cs_l ... ;move on to scan the key for RIGHT
    pr_l rst ...
    Ast_A_Moore Ast_A_Moore October 2016 Development
  • CAPS-SHIFT KeyCodeIs there a standard Keycode for CAPS-SHIFT Key ? Looking at the ROM documentation in the Main key table KEYTABLE_A, there is no Entry for CAPS_SHI…

    ... use 39 (decimal) in my redefine key routine and it works fine.[/quote ... you keyCode 39, for internal key scan control , if using your ...
    RMartins RMartins October 2016 Development
  • Requesting permissions from authors!!![url="http://spectrumcomputing.co.uk/"]Spectrum Computing[/url] is currently hosting ZXDB, however it has chosen to only distribute files after obtai…

    ... start the game will have key 5 to drop bomb. I ... ]

    Thanks Mat, seems key routines don't like me ... to vs mode menu
    ; redefine key routine now stops you using the ... same key for two things
    ; better ...
    TomD TomD April 2017 Announcements
  • Tetris Championship Edition - excellent mod of Tetris 2[img]https://idpixel.ru/news/2241/main_2x.png[/img] Russian developer TheShich just released beta version of [b]Tetris Championship Edition[/b] - gr…

    ... disc drive is attached the redefine key routine crashed . i tried it with ...
    TheShich TheShich December 2020 Brand new software
  • Keys redefine routine and key check.I have written some asm code which allows me to redefine keys (for a game etc.), and also allows me to be able to check any keypresses for the redefi…

    ... array if it was the redefine routine you wanted. :)
    ;
    key
    jr gk_exit
    ... /> ; ----------------------------------------------
    ; ROUTINE: get_defined_key
    ;
    ; check for key being pressed
    polomint polomint September 2011 Development
  • 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…

    ... haven't seen many
    redefine key routines round here - could come ... is where you put the routine address to be called upon ... each be executed for each key tested for, preferrably in some ... MEM_KEYS changing, to define which key is being tested (MEM_KEYS being ...
    kgmcneil kgmcneil April 2011 Development
  • 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…

    ... haven't seen many
    redefine key routines round here - could ... is where you put the routine address to be called upon ... MEM_KEYS changing, to define which key is being tested (MEM_KEYS ... specific routine & MEM_KEYS is the memory location with each key ...
    TomD TomD April 2011 Development
  • Keys redefine routine and key check.I have written some asm code which allows me to redefine keys (for a game etc.), and also allows me to be able to check any keypresses for the redefi…

    ... array if it was the redefine routine you wanted. :)
    ;
    key
    jr gk_exit
    ... /> ; ----------------------------------------------
    ; ROUTINE: get_defined_key
    ;
    ; check for key being pressed
    polomint polomint September 2011 Development
  • New WIP underway - 'Dingo'.Hi, Prepare for a long post. Perhaps I can even challenge ewgf here. :razz: Anyway, I've been meaning to get into Z80 programming and making a game…

    ... array if it was the redefine routine you wanted. :)
    ;
    key
    jr gk_exit
    ... /> ; ----------------------------------------------
    ; ROUTINE: get_defined_key
    ;
    ; check for key being pressed
    polomint polomint October 2011 Development
  • CAPS-SHIFT KeyCodeIs there a standard Keycode for CAPS-SHIFT Key ? Looking at the ROM documentation in the Main key table KEYTABLE_A, there is no Entry for CAPS_SHI…

    ... printable character. Any key code returned by KEY-SCAN is not a ... in my redefine keys routine—[i]after[/i] I decode the key by ... .

    Simply put, my routine works like this:

    key character on screen directly unless ...
    Ast_A_Moore Ast_A_Moore October 2016 Development
  • Flicker free animation in BASIC, is it possible ?With all my various noodlings in BASIC and indeed with my so far limited assembly​ I keep coming up with the same issue. How do you do animations wit…

    ... be GOTO ) but a redefine keys routine at the end of your ... those lines to which ever key you choose.
    Dunny Dunny May 2017 BASIC
  • Atic Atac - Redefine Keys ModRedefine keys screen. Added a Quit key. FIxed to work on 128K models. Code: https://bitbucket.org/Threetwosevensixseven/aticatacmod TAP: [url="…

    ... I have a very compact redefine keys routine. It’s under 300 ... keys and makes sure no key is registered twice. (I optimized ...
    Ast_A_Moore Ast_A_Moore September 2017 Announcements
  • A Neat Redefine Keys RoutinePreviously, I’ve only shared this routine with a couple of people via PM, but I’ve now decided to make it public. I optimized it for size, so it uses…

    ... />
    [code]

    ;Redefine Keys routine
    ;By Ast A. Moore ... />
    call $31e ;now decode key code for printing
    ex ... the controls in your key-polling routine in same order as they ...
    Ast_A_Moore Ast_A_Moore October 2017 Development
  • Gandalf [z88dk][Nirvana Plus][128Kb]Gandalf 1.00 [url="https://drive.google.com/open?id=1T9HK0_isoMrfogSIJVhPGehjVIdFus4c"]Download Ver 1.00[/url] Long after the destruction of t…

    ... the jump as a separate key is a little awkward.
    redefine keys routine; (a) it doesn’t print the key labels ...
    Ast_A_Moore Ast_A_Moore February 2018 Brand new software
  • Gandalf [z88dk][Nirvana Plus][128Kb]Gandalf 1.00 [url="https://drive.google.com/open?id=1T9HK0_isoMrfogSIJVhPGehjVIdFus4c"]Download Ver 1.00[/url] Long after the destruction of t…

    ... the jump as a separate key is a little awkward.
    redefine keys routine; (a) it doesn’t print the key labels ...
    cgonzalez cgonzalez February 2018 Brand new software
  • Tinkering with Quique Llar?a's Midi2Ay tool...Im tinkering with Quique Llar?a's Midi2Ay tool, found at: [url]ftp://ftp.worldofspectrum.org/pub/sinclair/tools/pc/midi2ay-0.1.zip[/url] Im not a v…

    ... to understand why the routine crashes after the music ... to add a short routine to stop the playing ... return to basic when a key is pressed, something like ... (just prior the "finrsi" routine)... The Problem is, I don ... I can put after this key routine to get it to ...
    kgmcneil kgmcneil October 2009 Development
  • ZX Alien Breed - WIPI'm sure a lot of you have seen the discussion in the New Game Ideas area about a Speccy version of the classic Amiga game Alien Breed. I've been dro…

    ... be quicker!

    2 - Key routine. This is really straightforward and ... yet!

    3 - Map routine. This is in 2 parts ... of the LDIR block-copy routine means I can shift individual ... alien data into the routine and use just the one ...
    LuMan LuMan April 2014 Announcements
  • Keymap for The Order of MazesI've created a keymap for The Order of Mazes but I don't have a Vega to test it out. Can somebody please give it a try and let me know if it works. I…

    ... (1) and then skip the redefine key selector (Fire pressed)

    TomD TomD October 2015 Vega
<1234567…34>

Latest Posts

  • Your Favorite Magazine Cover Tapes.
    Your Spec-chum on 2:19PM
  • Where to Buy the New or Fairly Recent , Excellent ZX Spectrum Games Software?
    Your Spec-chum on 1:34PM
  • 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

HitBox

Word Docs Hits
redefine 584 666
key 22K 28.2K
routine 9.5K 14.8K

Related Threads

  • Key Redefine RoutineAnyone written a nice key redefine code snippet?
  • Keys redefine routine and key check.I have written some asm code which allows me to redefine keys (for a game etc.), and also allows me to be able to check any keypresses for the redefi…
  • Wich key of a rubber Key Spectrum get used least??I'm wondering of all the Keys on a rubber key ZX Spectrum on average wich one do you reccon gets used the least??<br /> <br /> I have played with the…
  • Redefine keys routineHow would I go about making a memory efficient redefine keys routine? <br /> <br /> I only want to define up, down, left and right and reserve key 'H…
  • A Neat Redefine Keys RoutinePreviously, I’ve only shared this routine with a couple of people via PM, but I’ve now decided to make it public. I optimized it for size, so it uses…
  • They key "O" doesn?t work !!!Who can help me? I?m using the emulator 1.1 on my Jornada 680. It works correctly but there is one problem. The key "O" does not work.
  • LINE-routine and other nice pieces of codeThe line-topic came in the end with a nice piece of fast coding.<br /> <br /> I think that there might be more of these routines out there (where-eve…
  • line routineWondered if anyone can help me out. I have been programming a 3d graphics library for the spectrum, in Machine code.<br /> <br /> The line routine th…
  • Original rubber key 48k'sThis question is to some point academic;<br /> <br /> But i seem to remeber the original 48k Rubber Keys Speccy came in versions 1,2 &amp; 3!<br /> <…
  • How do I avoid BASIC becoming corrupted on returning from a M/C routine?I'm having trouble with my BASIC program becoming corrupted on returning from a m/c routine which sets all the registers (including the shadow regist…

Related Searches

  • fastest screen routine
  • screen routine
  • im1 interrupt routine
  • im1 rom interrupt routine
  • im1 rom interrupt routine iy
  • interrupt routine
  • best place for interrupt routine
  • turbo load routine
  • simply turbo load routine
  • joe gunn sprite routine
  • grey key
  • key codes
  • key codes qaop
  • scroll rom routine
  • simple sprite routine
  • key redefine
  • redefine key
  • redefinable key routine
  • rom routine for key click
  • rom key routine

Copyright © 2024 World of Spectrum