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.023s
<1…15161718192021…34>
  • More SpecBAS funHere's a neat little effect I lifted from a thread about displaylists and stuff from an Amiga forum - although SpecBAS has no hardware to assist, it …

    ... y=0 TO 255: LET pic$(y)=PEEK$(circles,320*y,320 ... y) and use PEEK$ to get the pixels. PEEK$ returns a string ... circles: LET d=0: LET offy=(SCRh-256)/2: LET offx=(SCRw ... d,PI/18: IF d>(2*PI) THEN LET d=0 ... c and e variables for x and y mouse position respectively ...
    Dunny Dunny March 2015 Sinclair Basic
  • Basic listings memory occupationI remember readong someplace that due to basic's representation of number, in a program, in order to save space, it was better to represent integers …

    ... by stuff like:

    val "12345" instead of plain 12345 ...

    let x = val "12345" or stuff like
    let x = BIN
    using ...
    Alessandro Tommasi Alessandro Tommasi August 2002 Sinclair Miscellaneous
  • ANN: Tipshop updated Sunday, 18 January 2004Sunday 18 January 2004 A fairly hefty update - lots of POKEs, maps, tips, cheats, and some general maintenance * Fixed the hyperlink for the tips …

    Sunday 18 January 2004
    A fairly ... Island, part 1 ,
    Dizzy X Part 1: Journey to Russia ... ,
    Dizzy X Part 2: Return to Russia ... the POKE for
    Dizzy X Part 2: Return to Russia ...
    hackersanon hackersanon January 2004 Announcements
  • Smooth Masked Sprites using fast page flip on 48k Part 2Ok, After all the suggestions in Part 1, which were all excellent (Thankyou), I opted on the following: I have 2 x 6k Offscreen areas (Yes, that's …

    ... GFX
    EX DE,HL ; Let DE now point to correct ... />

    WRITECHAR:
    ; C = X, L = B, DE = GFX
    X char
    ;Attributes: No attributes ... 3, 52
    DEFB 1, 18
    DEFB 1, 2
    robpearmain robpearmain September 2004 Development
  • New Functions for Sinclair BasicA total of 52 new functions can be added to Sinclair BASIC; 26 numeric functions (A-Z) and 26 string functions (A$-Z$). Owing to the internal structu…

    ... /> DEF FN A(x,y)=(128 AND INT (x/128)+INT (y ... )+(64 AND INT (FN V(x,128)/64)+INT (FN V ... INT (FN V(FN V(x,128),64)/32)+INT (FN ... V(FN V(FN V(x,128),64),32)/16)+INT ... ]
    DEF FN B(b$)=VAL(CHR$ 196+b$)
    [/code ... /> DEF FN P(a)=PEEK a+256*PEEK (a+1)
    [/code ...
    chev chev November 2004 Sinclair Basic
  • corrupted/uncompleted tzx versions.Hi! Some corrupted/bugged .tzx files on WoS. In most cases , in tzx file missing side B(with 128k version or addition levels). Let's begin: 1.<A…

    ... or addition levels).

    Let's begin:

    1 ... In .tzx file levels I-X (Side B) - missing. :(.

    18:52 ]

    [ This Message ...
    biotoxin biotoxin April 2005 MIA/STP/SDP
  • Which would be fasterSay you want to use a variable value of 0 to 255 in a BASIC program, which way would be fastest? Say for arguments sake you wanted to use two variabl…

    ... b, like so:

    LET a = b



    2) Using POKE and PEEK to store the value in ... .e.

    POKE 60001, PEEK 60002


    Also ... nnn=1)

    2) VAL "1"

    3) PI ...
    ewgf ewgf September 2006 Development
  • Getting scr addresses from x and yCould someone please tell me how to calculate the 8 screen addresses corresponding to a character printed in basic at coordinates x and y? For examp…

    ... example:

    10 let x=15: let y:11
    20 print ... at y,x; "K"

    X ...
    zxbruno zxbruno March 2007 Sinclair Basic
  • Sam Revival issue 18 now out [Sam CoupIssue 18 of Sam Revival is now out, and it's a jam packed issue! Let's kick off with what's on the disk. First up are the three brand new emulators …

    Issue 18 of Sam Revival is now ... jam packed issue!

    Let's kick off with what ... too!

    Ordering Issue 18
    =================
    For your convience ...
    Quazar Quazar May 2007 Announcements
  • Computer & Video Games Book of Adventure, TheBelow is the spectrum listing from the "[URL="http://www.worldofspectrum.org/infoseekid.cgi?id=2000078"]Computer & Video Games Book of Adventure, The…

    ... br /> 50 LET pn=0: LET in=1: LET ct=0: LET q$(2 ... 4 THEN LET p(4)=9: LET o$(4)="Tree": LET n(4 ... )=4: LET c(4 ... )=-1: LET q$(4 ... IF cr=7 THEN LET pn=10: LET q$(3)="I ... i
    290 LET n=0: LET ii=0: FOR i ...
    c1541 c1541 October 2008 MIA/STP/SDP
  • reading Hex[code]1 DIM a$(20,20) 2 DIM g$(16) 3 LET g$="\::\ \' \ '\ .\. \.:\:.\:'\':\''\..\: \ :\'.\.'" 4 BORDER 4 20 LET a$(1)="00000000000000000000" 21 LET …

    ... DIM g$(16)
    3 LET g$="\::\ \' \ '\ .\. \.:\:.\:'\':\''\..\: \ :\'.\.'"
    ... BORDER 4
    20 LET a$(1)="00000000000000000000"
    ... 21 LET a$(2)="0011111A111111110002"
    103 PRINT AT x,y;g$(VAL (a$(x,y)+1))
    chop983 chop983 December 2008 Sinclair Basic
  • Vector font in BASiCHi guys) Some fifteen years ago I saw a quite short BASIC prog that could simulate a vector font with size/ thickness/ italicization params. I remem…

    ... 4: LET y=8: LET x=25: LET t=4: LET h=18: LET l=3: LET a ... : LET a$="VARIATIONS": LET y=54: LET x=80: LET o=1: LET t=2: LET l ... : LET a$="JFMAMJJASOND": LET y=4: LET x=24: LET o=1: LET h=1: LET l ..…
    NRA NRA February 2010 Sinclair Basic
  • Looking for cursor routineIt's been a long time since I programmed a little bit in Basic, so I decided to create a simple cursor routine: [url]http://db.tt/SPnSdpx[/url] I k…

    ... anything
    -Store Y and X somewhere so coordinates can be ... returns to Basic (maybe via PEEK?)
    -Return to Basic if ... could also be read via PEEK). Maybe up to n keys ... a download. If so please let me know.

    Thanks ...
    zxbruno zxbruno September 2010 Sinclair Miscellaneous
  • variable variable names with VAL$It's possible to make the RH-side variable names in a LET statement be themselves variable by using VAL$. Thus, if v$ holds the [b]name[/b] of anothe…

    ... in a LET statement be themselves variable by using VAL$. Thus, if ... variable, then:
    [b]LET a$=VAL$ v$[/b]
    for a ... string, or:
    [b]LET anumber=VAL VAL$ "v$"[/b]
    for ... -side variable name in a LET statement be variable. I can ...
    Battle Bunny Battle Bunny October 2010 Sinclair Basic
  • Speeding up select processing...Hi Folks, I have the following code in my program and it works fine but is rather "sluggish". I have even moved it to the beginning of the program …

    ...
    260 LET t(1)=2:
    LET t(3)=t ... one
    270 POKE attrp,VAL "112":
    PRINT AT ...
    280 LET t(2)=PEEK 23560:
    LET ss=one:
    LET a$=s$:
    LET t(1)=a: ... 340 OVER NOT PI:
    LET s$="":
    POKE 23563,0 ...
    Paddy Coleman Paddy Coleman June 2011 Sinclair Basic
  • Indirect Variable AssignmentHere's another wacky routine. This allows assignment of values to variables where the source & destination variables can themselves be defined in var…

    ... already be done with VAL or VAL$, but this works ... br /> [code]
    5 LET id=25000: DATA "cat",7 ... /> 10 PRINT USR id,"val"+CHR$ (a+64),"=",v ... PRINT USR id,v$,"=",v+VAL ("val"+CHR$ (a+64));
    LET".

    [code]
    Battle Bunny Battle Bunny January 2012 Sinclair Basic
  • A z88dk + sp1 demo (with source)Since nowadays people are still wondering about how difficult it is to make something in z88dk, I thought I just put a very simple demo to show how e…

    ... Sprites
    // format is y,x,w,h!
    struct sp1_Rect ... returned by sp1_CreateSpr()
    uchar x; // sprite x coordinate
    uchar y ... ; // sprite x coordinate
    uchar dx; // signed ...
    Timmy Timmy January 2012 Development
  • BIFROST* Advanced Programming - part 1In BIFROST*, it's much easier to just make changes in the tile map and let the engine automatically draw & animate everything in multicolor for you. …

    ... in the tile map and let the engine automatically draw ... br /> *
    * 10 CLEAR VAL "32767"
    * 20 LOAD "TILES ... "CODE
    * 50 RANDOMIZE USR VAL "32768"
    *
    * ... br /> tile[f] = 8 + rand()%18;
    lin[f] = rand()%161 ...
    Einar Saukas Einar Saukas July 2012 Development
  • Game launcher / front end for Mac OS X FUSEI'm using FUSE on Mac OS X Lion, very good it is too [i](FUSE, that is, not Lion, although that's good too)[/i], but I'd like some kind of game launc…

    ... using FUSE on Mac OS X Lion, very good it is ... play nice in Mac OS X Lion. One of them actually ... full screen and refuse to let me switch to any other ...
    Mousey Mousey September 2012 Emulators
  • 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…

    ... br /> *
    * 10 CLEAR VAL "32767"
    * 20 LOAD "tiles ... "CODE
    * 50 RANDOMIZE USR VAL "32768"
    *
    * ... x, y) ((x) < (y) ? (x) : (y))
    #define MAX(x, y) ((x) > (y) ? (x ... = 40;
    hrc[2] = 18;
    dhrc[2] = 2;
    Einar Saukas Einar Saukas September 2012 Development
  • Ideas for speeding up this BASIC routine?This loop can take up to 2 minutes to run, depending upon the content of the screen being scanned, about 70% of that time being taken up by lines 105…

    ... $="n" THEN POKE 23678,y: LET y=USR toprow:
    IF ... TO 1082
    1052 LET minx=tci: LET maxx=0
    1053 ...
    Battle Bunny Battle Bunny September 2012 Sinclair Basic
  • TXT2EMU enhancementI was looking at the encodings supported by BAS2TAP for entering graphics, print controls, etc. as plain text. Basically, there's only one needed, be…

    ... for most of them, although {X} for the UDGs A-U ... FN j$(s,l)=CHR$ PEEK (s)+VAL$ (("FN j$("+STR$ (s ... FN j$(s,l)=CHR$ PEEK (s)+VAL$ (("{A8} j$("+STR$ (s ...
    Battle Bunny Battle Bunny May 2013 Sinclair Basic
  • generating a pre-defined list in an un-defined sequenceI've decided to become a drunkard, to which end I've been drinking a whole bottle of beer in one day (whereas normally I'd make it last 2 or 3 days).…

    ... /> [code]
    10 LET p=768
    20 LET r=INT (RND ... *768): LET y=INT (r/24): LET x=r-y*32 ... :
    LET q=22528+y*32+x: LET p=p-(PEEK ...
    Battle Bunny Battle Bunny July 2013 Sinclair Basic
  • MOVE_M Object Movement Manager for BASICAs moving things around on the screen is usually the slowest part of a game written in BASIC, I've been pottering around with this routine to handle …

    ... DEF FN p(a)=PEEK a+256*PEEK (a+1): DEF ... /> 12 CLEAR 62999: LET ORG=FN p(23730)+1 ... ORG:
    LET DOTRAP=FN p(ORG): LET NOINT=FN p ... 2304 REM defb $17,$09 ;x, Exit, $09*256=line ... br /> defb $17,$09 ;x, Exit, $09*256=line ...
    Battle Bunny Battle Bunny September 2013 Sinclair Basic
  • SpecBAS 0.800 Released!Hi folks, it's that time again for another release. I was going to add a few more features, but I have other projects on the go at the moment, and it…

    ... i.e., fills
    LET can now assign a value ... to multiple variables - LET a,b,c=0 or ... LET a$,b$,c$="Hi ... it with SPRITE NEW id,x,y [COLLIDE] [OVER m ... NEW and RUN
    VAL no longer crashes specbas with ... one element such as LET a$(1)="H" for ...
    Dunny Dunny December 2013 Sinclair Basic
  • What's the deal with hash tables, anyway?As there's nothing in the [url=http://www.users.globalnet.co.uk/~jg27paw4/pourri/0-surc-contents.htm]Compendium[/url] about hash tables, and as I've …

    ... prime numbers.) Remember that "MOD x" gives results in the range ... 0 to x-1, so all results ... slightly to avoid the collisions - let's say table 19.
    18. The modifier table has 19 ... its key range is 2-18.

    This next ...
    Battle Bunny Battle Bunny January 2014 Sinclair Basic
  • SpecBAS 0.802 Released!Hi folks - It's that time again when I release the latest round of features and bugfixes to SpecBAS :) New for this version are ZONEs which act ver…

    ... array and a separator - LET b$=JOIN$(a$()," ") will ... for the texture - CIRCLE x,y,r FILL will ... on close
    DECIMAL(val$,base) function converts from ... now take coordinates as x,y,w,h as ...
    Documentation for CONST and LET amended
    [/quote]
    ...
    Dunny Dunny February 2014 Sinclair Basic
  • JHCon 2014Hello, not sure if this is the right category but JHCon 2014 will take place[B] from 28. to 30.11.[/B] at usual place - gymnasium in Jindrichuv Hrad…

    ... it with SAVE "name" LINE x
    --- use normal 48 BASIC ... NOT BE LOOPED (try to let it run for 1 minute ... code (USR to RAM, POKE, PEEK) is forbidden! USRs and POKEs ...
    Factor6 Factor6 October 2014 Announcements
  • SpecBAS 0.830 Released!Hi guys - A new official release of SpecBAS has been released. The full changelog is below, but for now here's the download: [url]https://sites.goo…

    ... not perform evaluation as for VAL
    POS has ... , identifies characters at an x and y coordinate. Only ... - DO 35: PRINT "X": LOOP will loop 35 times ... inappropriately cleared at times (VAL/VAL$ being a culprit, but ... due to an error in LET
    ON EVERY ...
    Dunny Dunny February 2015 Sinclair Basic
  • More SpecBAS funHere's a neat little effect I lifted from a thread about displaylists and stuff from an Amiga forum - although SpecBAS has no hardware to assist, it …

    ... y=0 TO 255: LET pic$(y)=PEEK$(circles,320*y,320 ... ERASE circles
    50 LET d=0: LET offy=(SCRh-256)/2 ... d,PI/18: IF d>(2*PI) THEN LET d=0 ... =SIN d*((MOUSEx/SCRw)*8): LET e=SIN d*((MOUSEy/SCRh ... />
    Note the use of PEEK$ and POKE$ - lovely way to ...
    Dunny Dunny March 2015 Sinclair Basic
<1…15161718192021…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
let 29.3K 51.6K
bk3 4 12
peek 1.9K 4.4K
val 705 2.3K
x 14K 31.7K
18 8.8K 12.9K

Related Threads

  • Let it Slow Let it Snow let it SnowWell, It's snowing here hard in the top left Corner of North Carolina.<br /> <br /> I heard that is it snowing hard in the UK also. My parents were s…
  • Let a=val "1"I see some basic programs which use Let a=val "1" instead of let a=1 syntax.<br /> <br /> what is the difference between val "1" and 1?<br /> <br /> …
  • Spectaculator 5.x/6.x And Multiface 3Hi there, anyone had any trouble with this at all? The instructions say that it will auto-switch between a Multiface 128 and a Multiface 3 when choos…
  • X-10 or X-20 schematics wantedDoes anyone have schematics for the Sinclair X-10 or X-20 amplifiers ?<br /> <br /> These amp-kits were sold back in 1964/65, and when I read about t…
  • Let is snow let it snowFor those of use in the south and west of the country including those in Northern Ireland its going to be a snowy one tonight and tomorow.<br /> <br …
  • Boxed ZX Spectrum + with 2 x ZX microdrives, Alphacom32 printer with 3 x thermal rollHi people.<br /> <br /> I found a bargain at a carboot on Sunday from somebody who didn't know what he was selling. (Im no expert by a long shot)<br …
  • Exactly how does the HD work for speccy? X-)How do you transfer you programs from tape?<br /> Or can you run games n stuff from a speccy harddrive. Since there is a lot of different HDs out the…
  • Native OS X port of Fuse availableA beta version of Fredrick Meunier's native OS X port of Fuse, the Free errr... Unix Spectrum Emulator is now available from Fuse's homepage:<br /> <…
  • speccy emulator on OS Xhi there<br /> i am trying to use ZXSP on OS X but it won't load TAP files, and that it only supports .SNA and Z80 files. can i convert TAP files to …

Related Searches

  • x files
  • val
  • rom peek 128k pentagon
  • rom peek 128k pentagon 004c
  • identify pentagon 48k 128k rom peek
  • peek rom identify model
  • peek rom detect model 48k 128k 3 pentagon
  • x uno
  • fuse for mac os x
  • peek
  • peek 1024mak
  • detect 128k peek
  • detect 16k peek
  • z88dk read address peek
  • z88dk read peek
  • z88 peek
  • z88dk peek
  • radastan 128 x 96 16 colours
  • live and let die
  • 2000 let atr attr y x tinta 8 int papel 63 return

Copyright © 2024 World of Spectrum