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.006s
<1…16171819202122…34>
  • Cool BASIC tricks and tips!Following on from Dunny's excellent suggestion of a compendium of BASIC tips + tricks, I believe it would be better to have a topic dedicated to it. …

    hi to all.
    On the case of USR x
    I like use:
    100 INPUT "press Space"; USR 1415
    That is very short than:
    100 PRINT #0;"press Space"
    110 IF INKEY$" " THEN GOTO 110
    zx_if1 zx_if1 April 2005 Sinclair Basic
  • Cool BASIC tricks and tips!Following on from Dunny's excellent suggestion of a compendium of BASIC tips + tricks, I believe it would be better to have a topic dedicated to it. …

    In the case of Edit is the same.
    100 if inkey$=chr$6 then...
    Press then "Edit" key
    zx_if1 zx_if1 April 2005 Sinclair Basic
  • Z88DK + SPLIB2 question.I downloaded the compiler, installed it following the instructions (found at the SPLIB2 website), updated it using the fixed files (stdlib.h and the …

    that file just includes spec_crt0.asm, and line 10 is this:< ...
    na_th_an na_th_an April 2005 Development
  • Z88DK + SPLIB2 question.I downloaded the compiler, installed it following the instructions (found at the SPLIB2 website), updated it using the fixed files (stdlib.h and the …

    ... />
    Shoud I grab the .asm and .opt files from CVS ... \na_th_an\CONFIG~1\Temp\ssc_1.asm
    1 archivos copiados.
    asm > D:\DOCUME~1\na_th_an ...
    na_th_an na_th_an April 2005 Development
  • Z88DK + SPLIB2 question.I downloaded the compiler, installed it following the instructions (found at the SPLIB2 website), updated it using the fixed files (stdlib.h and the …

    ... ]
    Shoud I grab the .asm and .opt files from CVS ... .
    [/quote]

    spec_crt0.asm is the start up code ...
    Alcoholics Anonymous Alcoholics Anonymous April 2005 Development
  • Z88DK + SPLIB2 question.I downloaded the compiler, installed it following the instructions (found at the SPLIB2 website), updated it using the fixed files (stdlib.h and the …

    ... file which just includes the .asm file. On line 10 there ... /> {
    uchar x;

    #asm
    di
    #endasm
    sp_CreateGenericISR(0xf1f1);
    #asm
    ei
    #endasm
    na_th_an na_th_an April 2005 Development
  • Cool BASIC tricks and tips!Following on from Dunny's excellent suggestion of a compendium of BASIC tips + tricks, I believe it would be better to have a topic dedicated to it. …

    ... ]
    10 LET X=X+(INKEY$="8")-(INKEY$="5")
    [/code]
    Colin Williams Colin Williams April 2005 Sinclair Basic
  • Cool BASIC tricks and tips!Following on from Dunny's excellent suggestion of a compendium of BASIC tips + tricks, I believe it would be better to have a topic dedicated to it. …

    ... ]
    10 LET X=X+(INKEY$="8")-(INKEY$="5")
    [/code]
    Dunny Dunny April 2005 Sinclair Basic
  • Installing Z88DK Z88DK INSTALLATION Z88DK is distributed in two parts. The first part is the platform independent bits (including source and z80 libraries) and th…

    ... /> extern struct sp_Rect *sp_ClipStruct;
    #asm
    LIB SPCClipStruct
    ._sp_ClipStruct ... [];
    extern uchar col3[];
    #asm
    ; window frame sprite 2x2 ...
    Alcoholics Anonymous Alcoholics Anonymous April 2005 Development
  • Cool BASIC tricks and tips!Following on from Dunny's excellent suggestion of a compendium of BASIC tips + tricks, I believe it would be better to have a topic dedicated to it. …

    ... ]
    10 LET X=X+(INKEY$="8")-(INKEY$="5")
    [/code]
    10 LET X=X+(INKEY$="8" AND X0)
    [/code ...
    Paul van der Laan Paul van der Laan April 2005 Sinclair Basic
  • Cool BASIC tricks and tips!Following on from Dunny's excellent suggestion of a compendium of BASIC tips + tricks, I believe it would be better to have a topic dedicated to it. …

    [quote]
    On 2005-04-12 21:05, Colin Williams wrote:
    [code]
    10 LET X=X+(INKEY$="8")-(INKEY$="5")
    [/code]
    [/quote]

    On general principles, I'd say that should be rewritten to avoid the race condition.
    Philip Kendall Philip Kendall April 2005 Sinclair Basic
  • Cool BASIC tricks and tips!Following on from Dunny's excellent suggestion of a compendium of BASIC tips + tricks, I believe it would be better to have a topic dedicated to it. …

    ... , I can't see how INKEY$ changing partway through the line ... (and sillier) example of an INKEY$ race condition might be:
    gasman gasman April 2005 Sinclair Basic
  • Cool BASIC tricks and tips!Following on from Dunny's excellent suggestion of a compendium of BASIC tips + tricks, I believe it would be better to have a topic dedicated to it. …

    ... ]
    10 LET X=X+(INKEY$="8" AND X0)
    [/code ... />
    10 LET X=X+(INKEY$="8")*(X0)

    I ... LET X=FN M(X,INKEY$,32,"5","8")
    30 ... LET Y=FN M(Y,INKEY$,22,"6","7")
    Dr BEEP Dr BEEP April 2005 Sinclair Basic
  • Z88DK + SPLIB2 question.I downloaded the compiler, installed it following the instructions (found at the SPLIB2 website), updated it using the fixed files (stdlib.h and the …

    ... /> {
    uchar x;

    #asm
    di
    #endasm
    sp_CreateGenericISR(0xf1f1);
    #asm
    ei
    #endasm
    sp_CreateGenericISR(0xf1f1);
    #asm

    ei
    # ...
    na_th_an na_th_an April 2005 Development
  • Cool BASIC tricks and tips!Following on from Dunny's excellent suggestion of a compendium of BASIC tips + tricks, I believe it would be better to have a topic dedicated to it. …

    ... if storing the result of INKEY$ in a variable and then ... would be faster than executing INKEY$ twice. Does anyone know ...
    Colin Williams Colin Williams April 2005 Sinclair Basic
  • Cool BASIC tricks and tips!Following on from Dunny's excellent suggestion of a compendium of BASIC tips + tricks, I believe it would be better to have a topic dedicated to it. …

    ... to

    LET A$=INKEY$

    which has it ... have to happen twice. With INKEY$, it pretty much decodes the ... bit of processing involved in INKEY$, and that also happens twice ...
    Dunny Dunny April 2005 Sinclair Basic
  • Cool BASIC tricks and tips!Following on from Dunny's excellent suggestion of a compendium of BASIC tips + tricks, I believe it would be better to have a topic dedicated to it. …

    ...
    40 LET x=x+(INKEY$="8")-(INKEY$="5")
    50 NEXT ... 1000
    30 LET a$=INKEY$
    40 LET x=x ... .

    I believe the INKEY$ method wins for speed. However ... pointed out, the value of INKEY$ can change as the statement ...
    Dunny Dunny April 2005 Sinclair Basic
  • Cool BASIC tricks and tips!Following on from Dunny's excellent suggestion of a compendium of BASIC tips + tricks, I believe it would be better to have a topic dedicated to it. …

    ... , I got 65 seconds for INKEY$ vs. 90 seconds for using ...
    Colin Williams Colin Williams April 2005 Sinclair Basic
  • Cool BASIC tricks and tips!Following on from Dunny's excellent suggestion of a compendium of BASIC tips + tricks, I believe it would be better to have a topic dedicated to it. …

    [quote]
    On 2005-04-13 13:14, Arjun wrote:
    Oooh, that DEF FN stuff looks like it would be an ideal candidate for RC, no?
    [/quote]

    No, the call of INKEY$ is only done once!
    Dr BEEP Dr BEEP April 2005 Sinclair Basic
  • Installing Z88DK Z88DK INSTALLATION Z88DK is distributed in two parts. The first part is the platform independent bits (including source and z80 libraries) and th…

    ...
    copy .s1pk_1.opt .s1pk_1.asm
    zcpp -I. -DZ80 -DSMALL_C ... \lib\z80rules.2 < .s1pk_.asm > .s1pk_.op1
    copt ...
    na_th_an na_th_an April 2005 Development
  • BEEPing in assemblyI'm using Z88DK and I'd like to know how to produce BEEPs. I know it's a matter of writting very fast to a certain port, but I've read somewhere that…

    ... , unsigned int tone)
    {
    #asm
    pop bc ; bc = return ...
    na_th_an na_th_an April 2005 Development
  • Samples on ZXWhat is the easiest way to make a sound sample (e.g. sampled speech)on Spectrum using pc samples? Suppose a have a PC .wav file and I want to transf…

    are you able to write simple asm player ?
    Fikee Fikee April 2005 Development
  • 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…

    Yes, it can. The file rept.asm, included in the souce package, has several examples of use in combination with macros. You only must to be careful to nest adequately (but if you forget an ENDM or put one more than needed pasmo will warn you).
    NotFound NotFound April 2005 Development
  • 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…

    ... , it can. The file rept.asm, included in the souce package ...
    AE.Vasconcelos AE.Vasconcelos April 2005 Development
  • saving to asmMy another question... I know I can save part of Spectrum memory to .bin file. However I would like to save it (or convert .bin file)into .txt file w…

    ... a binary file into the asm code.
    I just did ...
    AE.Vasconcelos AE.Vasconcelos May 2005 Development
  • A silly BASIC programming challenge for you all..This is a very, very sily idea. So only read if you are bored. I use E-bay a lot. (my user id is thx1138ebn) edit: it's now retro-technology :edit…

    1 let x=5:Let y=5
    2 let y=y+1:If INKEY$="a" then let y=y-2
    3 PLOT x,y:Let x=x+1:GoTo 2

    80 chars or thereabout (without line number :( )... Don`t know what is is mind, hehe
    CKay CKay May 2005 Sinclair Miscellaneous
  • help on creating +3 disk imagesHi, I have found the SDP web page, and I noticed that I have a few +3 programs that are reported as missing: - Times of Lore - Bard's Tale, The - Pr…

    ... />
    I've got the ASM source to it here but ...
    damieng damieng June 2005 MIA/STP/SDP
  • ANNOUNCE: BASin Release 12 ready for downloadWell, after a rather large break, BASin's latest incarnation is ready for public use. Probably. BASin is a Sinclair Spectrum development environme…

    ... in BASIC with a little asm thrown in :-)

    D ...
    Dunny Dunny June 2005 Sinclair Basic
<1…16171819202122…34>

Latest Posts

  • I bought an accoustic guitar. How do you play it?
    Maroc's Other Projection on 9:55PM
  • Goodbye Z80
    moggy on 9:07PM
  • Happy 40th Birthday to the Amstrad CPC464!
    AndyC on 6:29PM
  • Another Birthday! The Game Boy Is 35!
    dm_boozefreek on 6:17PM
  • I am currently watching.....
    Antiriad2097 on 5:05PM
  • European Software Titles with an English version
    harriusherbartio on 12:06PM
  • How Do You Categorize Your Speccy Software and Games?
    harriusherbartio on 11:21AM
  • Fixed Speccy Software. And which games remained unfixed?
    harriusherbartio on 11:01AM
  • New video about S-video modification on Issue two 48K Spectrum.
    Renegade on April 21
  • Elusive Strategy Games done by the Smaller or less Prolific Software Houses.
    harriusherbartio on April 21

HitBox

Word Docs Hits
inkey 833 1.8K
asm 3.8K 6.7K

Related Threads

  • I need ASM for random numberI need to generate a random pair of coardinates in asm so that x=random no between 0 and 31, y=random no between 0 and 23.<br /> <br /> Any ideas on …
  • saving to asmMy another question...<br /> I know I can save part of Spectrum memory to .bin file. However I would like to save it (or convert .bin file)into .txt …
  • Help understanding some z80 asmI'm trying to work out how to represent the structure of a "sprite" in the SAM as <br /> "Grabbed" by SmallC. I can see the assembler implementation …
  • Wanted: z80 asm routines...for the Sam.<br /> <br /> This call goes out to Colin and others who know how it should be done.<br /> <br /> If you look on the Sam C disk you ca…
  • searching for ASM bookI am searching for a book with simple examples of assembler code. I found one, but i cant remember where.. i forgot even the title.. it was a scanned…
  • [WANTED] ASM routinesHi there,<br /> 1.) <br /> i really need 5-6 working and well commented routines, showing assembler capabilities. They should be simple, but not too …
  • How do I load .ASM text files into an assembler ?I notice that the old Sinclair magazines contain assembler routines that someone has put into .ASM files. These files are text files.<br /> <br /> I …
  • 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…
  • What's the best prog to read .asm files?I'm talking about on the PC, i.e. grab an .ASM speccy file, read it and plop it on-screen with all the fancy colours for each word/remarks/numbers et…
  • reimport of exported asm in 7upI know it may seem a cryptic title but is there a way of importing an asm file ( created using the export data option within 7up) back into 7up or an…

Related Searches

  • print a char in asm
  • asm draw character
  • circle in asm
  • asm examples
  • asm
  • asm zx7
  • http clrhome org asm
  • asm tzx
  • shift inkey
  • inkey with caps shift key
  • inkey with capsshift key
  • inkey with capshift key
  • inkey capshift key
  • inkey capshift
  • inkey
  • inkey shift
  • inkey caps shift
  • asm poke function
  • asm text print
  • stack pointer location asm

Copyright © 2024 World of Spectrum