-
Detect if program was loaded from tape or microdriveHow (if at all) can a BASIC program detect if it was loaded from tape or microdrive? This can be helpful to then load the screen or more machine code…
... all) can a BASIC program detect if it was loaded from ... -
+3 how to detect if a file exist ?Need help. I am making a generic menu to my compilations over the spectrum +3. Exist some way programatically to detect if some file exists on the d…
... /> Exist some way programatically to detect if some file exists on ... a 'cat' but, how to detect if exist programatically sounds hard ... -
detect deleteHi everone How can you detect that the caps + 0 (delete) is selected. Im making a word program for fun, but i need to be able to delete characters..…
Hi everone
How can you detect that the caps + 0 (delete) is selected. Im making a word program for fun, but i need to be able to delete characters..
Thanks -
What is the best way to detect CAPS LOCK?Hi Folks, Not sure what the correct behaviour is here as I do not have access to a real Spectrum. Under BASin, when you press CAPS LOCK on the PC k…
... is the best way to detect CAPS LOCK from BASIC? When ... -
How do I detect if key 'H' is pressed in machine code?How do I detect that the key has been pressed? I have been using the IN 239 command for keys 6-0, but dont know how to detech 'H'...
How do I detect that the key has been pressed?
I have been using the IN 239 command for keys 6-0, but dont know how to detech 'H'... -
Help With AY Music Program in BASICHi, last year I started writing a BASIC program for making and recording AY Music. I thought it would be easier than learning how to use Soundtracker…
... REM scan for Sound FX keypress, move up one effect, draw ... -
Other than using attributes what other ways to detect collisions, when using char based movement?So I'm slowly working out the bits and pieces to write a game completely in assembly. I've been using attributes when writing in BASIC to detect whet…
... when writing in BASIC to detect whether and object hits another ... -
z88dkHello. I'm an spanish user of spectrum (and naturaly of this page). I have a question. I want to start to program games with z88dk, but I need a goo…
... interrupt and only a single keypress at a time can be ... $ and getk, returning a single keypress or 0 if either no ... immediately.
in_KeyPressed() can detect if any single key is ... keyboard and stored the last keypress in system variable LASTK. By ... -
Arcade Game Designer 2.0 releasedI know dozens of you downloaded the previous version of AGD. Well, you can put it away now because I've made some major improvements to that version…
... would only be able to detect one keypress at a time. So ... -
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…
... and compare so we can detect a change of state between ... /> ld b, (hl) ; Get last keypress for YUIOP
ld bc ... are 0
; To detect a key PRESS, looking for ... bit in A
; To detect a key RELEASE, looking for ... -
Strangely, I just can't STOPOK, I bought an RWAP keyboard matrix and put it in my Spectrum+ last night (ta), I did the Swedish composite mod with a capacitor, I fixed the missin…
Although if it is this, it's strange how I can still detect the simultaneous keypress with the IN command, but the BASIC command line editor can't. -
Strangely, I just can't STOPOK, I bought an RWAP keyboard matrix and put it in my Spectrum+ last night (ta), I did the Swedish composite mod with a capacitor, I fixed the missin…
... how I can still detect the simultaneous keypress with the IN command ... IN readings for reporting one keypress to the editor. This could ... -
Z80 (sna) => tap??Hi. I have a question about any convertor (it can be for DOS too) that can convert snapshots into most _regular_ TAP file, without any turbo modes …
... blind that SpecEmu doesn't detect the keypress when Im using the ... -
writing an emulator-newbie needs helpHi, this is my first post here. I decided to write a minimalistic emulator of ZX Spectrum-no emulation of advanced peripherals, no emulation of sound…
... etc., then doesn't every keypress change border color/state of ... my keyboard emulation should only detect keypresses by changing bits in ... -
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 …
... do similar for fast simultaneous keypress detection.
Eg: I ... and mask to IN to detect if the key needed to ... -
z88dk and im2I set up a minimal IM2 mode so I can draw sprites for a laff [code] #include <string.h> #include <stdio.h> #include <im2.h> #include <stdlib.h> #in…
... ROM ISR, you'll never detect a keypress.
You can ... -
Upper case in INKEY$Hi, how I get upper case in INKEY$ ? Is there a POKE ? Thanks.
... ] that cleverly uses capitalisation to detect if the CAPS SHIFT key ... a separate LEFT or RIGHT keypress. -
Upper case in INKEY$Hi, how I get upper case in INKEY$ ? Is there a POKE ? Thanks.
... ] that cleverly uses capitalisation to detect if the CAPS SHIFT key ... a separate LEFT or RIGHT keypress.[/QUOTE]
Clever. Very ... -
Upper case in INKEY$Hi, how I get upper case in INKEY$ ? Is there a POKE ? Thanks.
... ] that cleverly uses capitalisation to detect if the CAPS SHIFT key ... a separate LEFT or RIGHT keypress.[/QUOTE]
That's ... -
IN and OUT in hardware terms... what are 'ports'?Hi all, I understand PEEK and POKE, but have never managed to get my head around IN and OUT. The books all go on about how they read from and wri…
... chip legs. You need to detect them in hardware and determine ... override IN 254, which means keypress-based joysticks won't work ... early upright Kempston interfaces, only detect address line A5 going to ... -
Kempston joystick - port MSB value?In a situation where let's say the kempston is being polled like this: LD BC,NN1F: IN A,(C), what is the 'correct' value of NN? 1. 00 2. FF 3. S…
... low. Most clone interfaces only detect the sixth bit going low ... Spectrum design.
However, keypress type interfaces like Sinclair, Protek ... -
ComCon interface with an auto-fire joystick is possible?I need a little advice on this one, please! I have a konix speedking, with two fire buttons and auto-fire switch. I can use it with the comcon int…
... switch for the interface to detect it closing and current flowing ... chips in the circuit to detect the drop in voltage (from ... on the 'common' wire and detect when the Up/Down/Left ... '0' to the Spectrum (because keypress bits are represented by '0 ... -
ComCon interface with an auto-fire joystick is possible?I need a little advice on this one, please! I have a konix speedking, with two fire buttons and auto-fire switch. I can use it with the comcon int…
... switch for the interface to detect it closing and current flowing ... chips in the circuit to detect the drop in voltage (from ... on the 'common' wire and detect when the Up/Down/Left ... '0' to the Spectrum (because keypress bits are represented by '0 ... -
How do i learn to programAll the years i had a computer the only one i could program was the Texas Instruments Ti99/4a and when using extended basic with its so simple sprite…
... this peek and attr to detect what was where...now 20 ... -
ANNOUNCE: SPECSAISIE 1.2 released!SPECSAISIE is a Java system which enables one to perform surgery on SNA and TAP files, and various other gubbins (some functions relate to Spectrum e…
... a given room.
- BGB_JSW: Detect occurrences of the block-graphics ... -
ANNOUNCE: SPECSAISIE 1.2 released!SPECSAISIE is a Java system which enables one to perform surgery on SNA and TAP files, and various other gubbins (some functions relate to Spectrum e…
... a given room.
- BGB_JSW: Detect occurrences of the block-graphics ... -
Restoring damage games back to tapeHi all I have a copy of Robin Hood for the spectrum, but it refuses to load up. I suspect the copy has finally bitten the dust. I'm running XP and w…
... taper but it doesn't detect my sound card. I've ... -
That's the spirit helpOkay, I give up. How does one "connect" two objects ? Something makes me think that more than one keypress is involved. And, since we're at it, whic…
... think that more than one keypress is involved.
And ... -
Detecting +3 or +2AIs it possible to detect whether your BASIC program is running on a +2A/+3 or a proper 128?
Is it possible to detect whether your BASIC program is running on a +2A/+3 or a proper 128?