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.017s
<1…78910111213…34>
  • Static vs stacked local variables in z88dkHello everyone. I'm doing a program for Spectrum 48KB with z88dk v1.8 (XX Mar 2008), and I eventually discovered that if your local variables in fun…

    ... addressing. To randomly access a variable on the stack, the general ... the address of a local variable like this:

    ... with regard to reduced code size -- this tradeoff may not ... may have more restrictive RAM size.

    About your suggestion ...
    Alcoholics Anonymous Alcoholics Anonymous April 2010 Development
  • Hi Res Print Routine neededHas anyone seen code for a print routine with pixel accuracy? That is print(y,x,CHAR) that allows 0 < y < 192 and 0 < x < 255 - that takes a charact…

    ... /> ;print_char ld de,(23606) [System Variable holding Display Characters]
    ; ld ... good balance between speed and size, if you do want to ...
    Turkwel Turkwel June 2010 Development
  • KING OF PONG: Pong revisitedHello everybody. I'm proud to announce you that my last personal project for the ZX Spectrum, "KING OF PONG" is available to download here at WOS si…

    ... , buf for speed, not size.

    Here ... 1.545 3'71% Variable local pScanLine compartida
    Variable local pImagen compartida
    variable*constante
    +984 ... 150 0'36% Sumas variable+constante
    -66 ...
    Ricardo Cancho Ricardo Cancho June 2010 Development
  • Computing: the next 25 yearsWe saw the birth of the 8086 microprocessor which introduced Space Invaders to the arcades. Zilog Z80's microprocessor was released as a cheaper alte…

    ... logical conclusion: ie: wall size projections, with variable and reprogramable menu displays ...
    kgmcneil kgmcneil July 2010 Chit chat
  • New RZX Block Type Suggestion -- AnnotationWho is maintaining the RZX specification at the moment? I'd like to ask for the feasability of the following request. Annotations embedded within th…

    ... pixels wide, and 1-8x10 variable width one. In any way ... Line Breaking: Given the Font Size and Maximum Desired Width, the ...
    Patrik Rak Patrik Rak August 2010 Emulators
  • SpecOS progressOk, As you can all see, I'm back - and I've been working away on SpecOS for a while now. There's a few videos, which you can see on my blog: [url]h…

    ... screen and about 6k in size (yes I know you know ... inside it ether in a variable , string , or memory location would ...
    ASH-II ASH-II August 2010 Sinclair Miscellaneous
  • Location of variableHi everyone When basic makes an array how to you find out the location in the ram of where the data is stored. :) Also, does it store the values in…

    ... of searching though the BASIC variable table. It demonstrates how to ... the start of the current variable. As it happens however, I ... />
    As for arrays like DIM a(100), "a" this is ... in ZX BASIC, the modified variable moves to the front of ...
    BloodBaz BloodBaz September 2010 Sinclair Basic
  • Location of variableHi everyone When basic makes an array how to you find out the location in the ram of where the data is stored. :) Also, does it store the values in…

    ... p=42: DIM z(12): DIM x(12,10): DIM y$(15 ... 9000 REM --------------------------
    9005 REM VARIABLE LISTER
    9010 REM 2 ... whi;"-------- ------ ----------------"
    9090 DIM n$(15): DIM t$(10)
    9095 ... t$( TO 6);TAB 16;"DIM(";
    9370 REM ** ARRAY ...
    Paddy Coleman Paddy Coleman September 2010 Sinclair Basic
  • Sorting an array...Hi Folks, Over the weekend I had a play with sorting algorithms - takes me back to my student days! :-o My first try was with the good old Bubble S…

    ... the Spectrum.
    [*]Added a variable called [B]n[/B] that ...
    Paddy Coleman Paddy Coleman September 2010 Sinclair Basic
  • 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…

    ... +73,7:
    CLS :
    DIM t(49):
    FOR x ...
    Einar Saukas Einar Saukas September 2010 Development
  • Sorting an array...Hi Folks, Over the weekend I had a play with sorting algorithms - takes me back to my student days! :-o My first try was with the good old Bubble S…

    ... /> [*]Use a single letter for variable names, so the interpreter will ... n=50
    9010 RANDOMIZE : DIM s(100,3): LET p ... =0: DIM p$(n,1): FOR i ...
    Einar Saukas Einar Saukas October 2010 Sinclair Basic
  • Sorting an array...Hi Folks, Over the weekend I had a play with sorting algorithms - takes me back to my student days! :-o My first try was with the good old Bubble S…

    [B]STEP 3 -[/B] Now let's take a look at the quicksort algorithm, since we will need to properly understand it in order to find further improvements.

    The basic idea behind the quicksort algorithm can be represented by the following pseudo-code ...
    Einar Saukas Einar Saukas October 2010 Sinclair Basic
  • 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…

    ... a LET statement be themselves variable by using VAL$. Thus, ... assign the content of the variable named in v$.
    ... make the LH-side variable name in a LET ... use some kind of pointer variable.

    You ... variables

    1 DIM A(2)
    2 LET ...
    Dr BEEP Dr BEEP October 2010 Sinclair Basic
  • Sorting an array...Hi Folks, Over the weekend I had a play with sorting algorithms - takes me back to my student days! :-o My first try was with the good old Bubble S…

    ... Sinclair BASIC the maximum array size is only limited by available ... most BASICs. So 40000/float size should give you the maximum ... array size you could use if you ... housekeeping overhead that stores the variable name etc...
    JamesD JamesD October 2010 Sinclair Basic
  • Sorting an array...Hi Folks, Over the weekend I had a play with sorting algorithms - takes me back to my student days! :-o My first try was with the good old Bubble S…

    ... ;485586]why would the DIM change make such a ... /> [*]When you use [B]DIM b$(1,1)[/B] you ... a two-dimensional array of size 1x1 (in this case ... when you use [B]DIM b$(1)[/B] you are ... same applies to [B]DIM a$(b,1)[/B] and ... [B]DIM a$(b)[/B].
    ...
    Einar Saukas Einar Saukas October 2010 Sinclair Basic
  • Sorting an array...Hi Folks, Over the weekend I had a play with sorting algorithms - takes me back to my student days! :-o My first try was with the good old Bubble S…

    ... ][/B] seconds by reordering the variable definitions:

    [CODE]230 ... a=64:
    DIM a$(a):
    DIM b$(1):
    LET ...
    Paddy Coleman Paddy Coleman October 2010 Sinclair Basic
  • Arrays in Spectrum basicHi everyone, I've recently begun learning to programme in Spectrum and want to write a text adventure. Could someone give me an example or help me o…

    ... assigned and that memory is variable depending on the length of ... of characters.
    e.g. DIM a$ (8,8,10) an ... . DIM other$ (8,8 ) a 8x8 array of strings of variable length ...
    Geoff Geoff November 2010 Sinclair Basic
  • ZX BASIC and garbage collection...Hi Folks, I was thinking about using the following approach in a program I am writing: [CODE]DIM d$(100,50) LOAD "NAMES" DATA d$() ... DIM d$(50,25…

    ... moving from size 10 to size 15.
    As in DIM a$(10 ... minimize a large array with DIM a$(1) even if it ...
    Geoff Geoff November 2010 Sinclair Basic
  • ZX BASIC and garbage collection...Hi Folks, I was thinking about using the following approach in a program I am writing: [CODE]DIM d$(100,50) LOAD "NAMES" DATA d$() ... DIM d$(50,25…

    ... moving from size 10 to size 15.
    As in DIM a$(10 ... minimize a large array with DIM a$(1) even if it ...
    Paddy Coleman Paddy Coleman November 2010 Sinclair Basic
  • Z88DK/SP1 library u_malloc() questionHi All, It may possibly be more appropriate for me to post this on the Z88DK forum, but I know quite a few WoSSers have used Z88DK, so here goes:- …

    ... />
    void *u_malloc(uint size) {
    void *p;
    ... p=malloc(size);

    //malloc succeeded ... />
    // Attach C Variable to Sprite Graphics Declared in ... br /> ;Pixel Size: ( 16, 24)
    ;Char Size: ( 2, 3 ...
    Digital Prawn Digital Prawn December 2010 Development
  • Z88DK/SP1 library u_malloc() questionHi All, It may possibly be more appropriate for me to post this on the Z88DK forum, but I know quite a few WoSSers have used Z88DK, so here goes:- …

    ... />
    void *u_malloc(uint size) {
    void *p;
    ... p=malloc(size);

    //malloc succeeded ... />
    // Attach C Variable to Sprite Graphics Declared in ... br /> ;Pixel Size: ( 16, 24)
    ;Char Size: ( 2, 3 ...
    Digital Prawn Digital Prawn December 2010 Development
  • Z88DK/SP1 library u_malloc() questionHi All, It may possibly be more appropriate for me to post this on the Z88DK forum, but I know quite a few WoSSers have used Z88DK, so here goes:- …

    ... , and that was an automatic variable.

    So I removed ... completed now, so this stack size should remain OK in the ... hard limit for the allowable size of the program. i.e ...
    Digital Prawn Digital Prawn December 2010 Development
  • Loading arrays in BASin...Hi Folks, I have been playing with loading and saving arrays from BASIC in BASin. By trapping the SAVE command the DATA can be saved to a .TAP file…

    ... been defined via a [B]DIM[/B] statement. This all worked ... BASIC[/B] error as the variable [B]d$() [/B]did not ... .g.

    [CODE]100 DIM d$(1): LOAD "DATA" DATA ...
    Paddy Coleman Paddy Coleman December 2010 Sinclair Basic
  • SpecBAS: Request for comment - SpritesHi all - Having been slaving away at the new SpecBAS release, I've decided to finally bite the bullet and implement a sprite engine. I've got a nice…

    ... allowed to pass a string variable for the gfx$ parameter) or ... of up to 2GB in size. It plays sound samples and ...
    Dunny Dunny January 2011 Sinclair Miscellaneous
  • BASin Problems etc.Hi Folks, Paul has asked me to open this thread to document any outstanding issues that we find within BASin. No guarantees that Paul can/will fix …

    ...
    [LIST]
    [*]The variable [B]e[/B] is not ... NEXT[/B] variable is re-typed the variable list debug window ... [*]Program execution speed drops as size increases - I know this ... [*]BASin stability decreases with program size
    [*]Loading one program ...
    Paddy Coleman Paddy Coleman January 2011 Sinclair Basic
  • Calculating the address of a pixel?Hi Folks, Is there an easy/quick way of calculating the memory address of a pixel? So for example, if I wanted to "plot" pixel at screen coordinate…

    ... stacks or arrays of any size, which are the two data ... the data structure size for each channel is variable length and could ...
    Alcoholics Anonymous Alcoholics Anonymous February 2011 Sinclair Basic
  • Calculating the address of a pixel?Hi Folks, Is there an easy/quick way of calculating the memory address of a pixel? So for example, if I wanted to "plot" pixel at screen coordinate…

    ... stacks or arrays of any size, which are the two data ... the data structure size for each channel is variable length and could ...
    TVzombie TVzombie February 2011 Sinclair Basic
  • Compiling Basic to MCHello, I have a lot of long Basic programs. These are mostly strategy programs, good but slow. I was thinking about how to speed them up without com…

    ... .

    [QUOTE=Speccyman;513966]DIM a(b,c)[/QUOTE]
    DIM a (X), where X is ... much more complex generated code (variable acceses cannot be compiled into ... : if you have such a DIM a(b, c) statement in ...
    na_th_an na_th_an February 2011 Development
  • Recommend a dev environmentIt's been a while since I last wrote any Z80 assembler - must be over 20 years, and since I wrote any spectrum Z80 assembler more like 25 years. I n…

    ... add 10k to your program size and you don't have ... to reduce the final binary size? Well then you need to ... need to place the seed variable in RAM someplace. Doing this ...
    Alcoholics Anonymous Alcoholics Anonymous March 2011 Development
<1…78910111213…34>

Latest Posts

  • Celebrity deaths...
    Paradigm Shifter on 4:41PM
  • 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

HitBox

Word Docs Hits
dim 1.1K 1.8K
variable 2.8K 4.2K
size 13.4K 27.7K

Related Threads

  • 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…
  • How do I know the RAM size?Just left my parents after cleaning out my pile of old stuff in their basement.<br /> Know what I found? My old ZX Spectrum.... Those were the days!<…
  • Character set variableCan anybody help me?<br /> I'm trying to find out where the pointer to the ascii character set is.<br /> I remember that if you wanted to change the …
  • Just a straw Poll on Collection size :)And no, this isnt a piss furthest contest, just a simple question, how many collectors are out there ?<br /> <br /> As for wot a collector is ? Thats…
  • Program sizeI am typing a basic program into a ZX and I need to find out exactly how much memory it is using. Is there a way to calculate this?<br /> <br /> :con…
  • Full size keyboardWhat way does the "Spectrum Harware Manual" recommend doing this?<br /> Thanks in advance for your help.
  • Collection size of individual titles.As from today 23/5/2005, ive currently amassed 4150 titles. All of which are boxed, and consist of budget,cover tapes, full price and the big boxed o…
  • disk sizeWith SPIN emulating a +3, I can create the following disks<br /> <br /> 1 - 720k Double Sided 80 trk<br /> 2 - 360k Double Sided 40 trk<br /> 3 - 180…
  • Border size?Hi<br /> I've read the documentation on the border in the CSS.<br /> But I think I've managed to missread somthings, perhaps som one can explain.<br …
  • Wife's Cup-size. :DShe's having trouble finding a bra to fit. So off she goes on to Google to find a measurement chart. She's a DD by that. At least one of us is hap…

Related Searches

  • variable list
  • dim input
  • dim from input
  • dim size
  • font size
  • size
  • scroll system variable
  • opus rom ram size
  • competition pro size
  • issue 2 variable
  • pcb double side size hole
  • pcb double side size
  • size of pcb holes
  • what size ramdisk in 128k
  • replacement variable capacitor
  • replace variable resistor
  • divmmc sd card size
  • forum size
  • dim stored in variable area
  • change size of dim

Copyright © 2024 World of Spectrum