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
<1234567…34>
  • SpecBAS 0.718 Now AvailableHi Folks! After an appreciable delay, the latest and (dare I say it?) greatest SpecBAS update is now available. We're moving into modern times with …

    ... ]
    10 DEF STRUCT coord(x,y)
    20 LET a ... $=STRUCT coord(x=100,y=100)
    30 PLOT a$.x,a$.y ... ]
    10 DEF STRUCT coord(x,y)
    20 DIM a ... returns files matching a trailing mask properly - ie, CAT "chimes*" matches ...
    Dunny Dunny January 2012 Sinclair Miscellaneous
  • Elliptical ChallengeSubsequent to the recent "Graph Plot" thread, I wrote this general purpose ellipse drawing routine which will plot (although it doesn't actually use …

    ... in Z80 assembler for x,y axes from 1 ... ]http://www.neoloch.com/learning_lab/assembly/[/url]

    ... INPUT "Enter centre coordinates for:"'"x: ";cx,"y: ";cy'
    "Enter 1/2 Axis for:"'"x: ";XRadius,"y: ";YRadius
    X=X-xm: LET Y=Y ...
    Battle Bunny Battle Bunny November 2012 Development
  • Sudoku on ZX Spectrum 48KZX Spectrum 48&#1050; Sudoku game 25 years Spectrum and 300 years Leonhard Euler anniversary. 6000 (and more) puzzles, 8 levels. [url]http://www.t…

    ... +4;TAB 32-4;: FOR x=-1 TO 1 STEP 2 ... =2+8 TO 5+8: PLOT 128+x*o-2,y: DRAW ... 3,0: NEXT y: NEXT x
    [/CODE]
    srba srba August 2008 Games
  • Bresenhams circle algorithmI post here my final circle code to replace, if you want, the one in the ROM. It only uses integer math and runs very fast and is very compact. It is…

    ... REM okrag
    30 LET x=0: LET da=INT (r ... /2)
    40 IF x>r THEN RETURN
    Ralf Ralf September 2008 Development
  • Best way to store vector images in Sinclair BASIC?Let's forget for a moment that Sinclair BASIC is slow. If I have a picture made entirely of vector images, what would be the best way to store that d…

    ... you don't need to plot starting point for every line ... /> (px,py = plot y,x) (dx,dy=draw y,x) (*=a switch)
    plot again to draw a new ...
    Arda Arda May 2009 Sinclair Basic
  • Rainbow Generator for 48K Spectrum using PUSHThis is what I came up with from [B]gasman[/B]'s suggestions. It's stable in ZXSpin and ZX32 simulating a 48K Speccy. Anyone like to try it on the …

    ... /> PRINT USR plot, y, x, colour :
    REM plot= 4x4 plotmc, ... y=ycoord, x=xcoord, and colour ... multi
    20 FOR X = 0 TO 47
    X,INT(RND*8 ) : REM PLOT Y,X RANDOM ... COLOUR
    50 NEXT Y: NEXT X: PAUSE ...
    Dr BEEP Dr BEEP May 2009 Development
  • How paint in the down two lines ?The down two lines on the spectrum screen cant be used. But i remeber from the 80's that exist some code that allow us to paint on these two lines wi…

    [QUOTE=arfgh;446112]not exist a way to plot or draw on these lines with basic only ?[/QUOTE]

    No, the BASIC turns the Y-coordinates (AT Y,X starts at top, PLOT Y
    Dr BEEP Dr BEEP May 2010 Sinclair Basic
  • Recursive 4-way floodfillHi guys) Shortly, I wanna find out whether there's a way to some object. Perhaps some of you have already encountered such an issue which is relativ…

    ... (y/r)
    1040 LET x=r*COS alp
    1045 ...
    mcleod_ideafix mcleod_ideafix January 2011 Sinclair Basic
  • Drawing 3D grids in Basic...This is probably very simple for someone who feels comfortable with Math, but it's driving me crazy... Let's say I want to draw a grid of 16 by 16 s…

    ... a point), and the plot & draw X values for the first ... between the top & bottom X values divided by the number ... of lines gives the X values for the left & ... TO 255 STEP 15.93: PLOT b,0: DRAW t-b ... .5*16 STEP 5.5: PLOT xl,y: DRAW xr,0 ...
    Battle Bunny Battle Bunny March 2011 Sinclair Basic
  • Drawing ovals...Hi Folks, Is it possible to draw an oval using the Sinclar BASIC DRAW commend and the 3rd parameter? I have been trying (and failing). Many thanks…

    ... combining the SIN/COS plot calculation with DRAW, in ... PLOT cx+x,cy+y: PLOT cx-x,cy+y: PLOT cx+x,cy-y: PLOT cx-x ... "Enter centre coordinates for:"'"x: ";cx,"y: ";cy ... 2000 IF StoppingX0 THEN LET X=X-1:
    LET StoppingX ... 900
    4020 LET X=X+1
    4030 ...
    Battle Bunny Battle Bunny March 2013 Sinclair Basic
  • display file addressing; screen slicingWhile working on this Compendium I'm updating or rewriting a lot of stuff. One thing I eventually came to appreciate was the simple & clever way in w…

    ... =Red]LET e=b(8-x+c*8)[/COLOR]
    [/code ... with "LET e=2^( 7-x+c*8 )" would always be ... as well. Comparing them using PLOT (change my last listing by ... and changing line 6 to PLOT 255-x,175-y: RETURN) the ...
    Battle Bunny Battle Bunny October 2013 Sinclair Basic
  • Akalabeth gamei found now that someone ported an ansi-basic game (coded in 1979?) to msx-basic - what about a zx-spectrum basic version of it? ;) https://plus.goo…

    ... DEF FN d(w,x)=INT ((x-w)*0.9+0 ... br /> Convert HPLOT absolute X pixel coordinate to DRAW relative ... FN x(x)=INT (x*0.9+0.5): HPLOT -> PLOT
    Convert a 280-col X pixel coordinate ... 175-y: HPLOT -> PLOT
    Convert a 160- ...
    Battle Bunny Battle Bunny August 2016 Sinclair Basic
  • Akalabeth gamei found now that someone ported an ansi-basic game (coded in 1979?) to msx-basic - what about a zx-spectrum basic version of it? ;) https://plus.goo…

    ... instead of:
    [code] PLOT x1exp,y1exp: DRAW x2exp, y2exp ... I would have:
    [code] PLOT (x1exp)*0.9,175-(y1exp ... /> 6 DEF FN x(x)=INT (x*dp9+dp5): DEF FN ... READ x1,y1,draws: PLOT FN x(x1),FN y(y1):
    x(x2),-y2:
    NEXT ...
    Battle Bunny Battle Bunny September 2016 Sinclair Basic
  • Akalabeth gamei found now that someone ported an ansi-basic game (coded in 1979?) to msx-basic - what about a zx-spectrum basic version of it? ;) https://plus.goo…

    ... .

    Whereas adjusting the X plots proportionally by 0.914 ... bit naff, simply constraining the X-axis to 255 shifted the ...
    Battle Bunny Battle Bunny September 2016 Sinclair Basic
  • SpecBAS 0.900 ReleasedAgainst my better judgement, here's 0.900. It's got lots and lots new, but mostly the new shiny is the editor. You can indent your code, you can e…

    ... 45
    20 LET x=127: LET y=0< ... 75
    60 DIM x(level): DIM y(level)< ...
    110 LET x(level)=x: LET y(level)=y ... 1
    240 LET x=x(level): LET y=y( ... COS rotation*LONG+x
    1030 PLOT 200+x,200+y: DRAW ... xn-x,y-yn
    1040 LET x ...
    ASH-II ASH-II April 2017 Sinclair Basic
  • im looking for a fill routine written in basici know this would be slow but i want to tinker with it to produce something else.

    ... /> [code]

    SUB planet(x as uByte, y as uByte ... big!
    ELSEIF CAST(uInteger,x)+radius > 255 then return ...
    Gedlion Gedlion July 2018 Development
  • im looking for a fill routine written in basici know this would be slow but i want to tinker with it to produce something else.

    ... LET x=SQR ((r*r)-(y*y))
    320 PLOT cx-x, ... cy+y: DRAW x*2,0: DRAW ... 1;-x*2,0

    330 IF x0 THEN PLOT ... [/code]
    Lines 100-120 plot some random stars in colours ... an increasing random amount then plot a point. Because it ...
    joefish joefish July 2018 Development
  • im looking for a fill routine written in basici know this would be slow but i want to tinker with it to produce something else.

    ... z=z-(RND*(1-(z/x))*r)

    To ... IF z>0 THEN PLOT cx-x+(z*2),cy+y ... do:

    320 PLOT cx+x,cy+y

    Or ... to plot both edges:

    320 PLOT cx+x,cy+y : PLOT cx-x ...
    joefish joefish July 2018 Development
  • Ant attack map in usable format?Does anyone have the map from Ant Attack in any kind of format (apart from the format called "the game binary"). I've rewritten the game using a vox…

    ... ("antattac.sna", "rb");
    int x,y,z;

    if ... ; z++)
    {
    unsigned char mask = (0x01
    John Elliott John Elliott November 2018 Games
  • Drawing LinesHas anyone got any experience of coding a Bresenham line drawing algorithm on the Speccy? I've had a go and I find the algorithm has quite a few s…

    ... DBCDONE ; while y > x
    ;
    ; Plot the eight sets of ... B,A
    CALL PLOTSUB ; plot Xo + x, Yo + y
    LD ... B,A
    CALL PLOTSUB ; plot Xo + x, Yo - y
    LD ... B,A
    CALL PLOTSUB ; plot Xo - x, Yo + y
    LD ...
    dbolli dbolli March 2019 Development
  • Pseudocode for CIRCLE algorithm?Can anyone provide me with the pseudocode for the Spectrum's CIRCLE algorithm? My machine code knowledge isn't up to reading the ROM routine. I'm try…

    ... /> ;
    COORDS equ $5C7D ; Plot x,y values
    ;
    DRAWBRESCIRCLE ... while y > x
    ;
    ; Plot the eight sets of ... A
    CALL PLOTSUB ; plot Xo + x, Yo + y
    ... A
    CALL PLOTSUB ; plot Xo + x, Yo - y
    ...
    dbolli dbolli August 2020 BASIC
  • Matchpoint ball algorithmAnyone has any idea how Psions Matchpoint ball algorithm works? Are they calculating the balls' parabola (floating point for just the ball doesn't se…

    ... /> while(true):
    // only plot these if they are on ... p.x, p.y and p.z when you plot ... it or you can scale the velocity vector instead
    plot ... (p.x, p.z) // shadow
    plot(p.x, p. ... can add drag by scaling x & z by some ...
    Paradigm Shifter Paradigm Shifter July 2021 Development
  • Better arrangement for video memory?While doing some documentation work for the ZX-Uno project, I compared the advantages of the weird layout of the ZX Spectrum against a linear layout.…

    ... the X,Y coordinates of a pixel needs some rotate and mask ... often, except maybe for the PLOT, DRAW and CIRCLE routines, ... from The Incomplete Spectrum ROM Assembly
    ;http://www.wearmouth. ... [code]
    ;INPUT: C=coordinate X, B=coordinate Y.
    ;OUTPUT ...
    mcleod_ideafix mcleod_ideafix September 2014 Development
  • Drawing some spritesI figured I want to draw some sprites. My target was to do a 16x16 masked sprite. There's no clearing here, just drawing the sprites. My first ite…

    ...
    Turned inner loop to assembly, and got to 6 sprites ... add hl, bc ; add x offset
    ex de,hl ... and (hl) ; and the mask
    inc hl ; increment data ... /> ld (hl), a ; plot pixel to screen
    inc ...
    Sol_HSA Sol_HSA November 2015 Development
  • Game Programming Source Code & Startup HelpHi there, I'm planning on porting an existing commercial title to the speccy. I'm in the process of disassembling the original code and commenting i…

    ... br /> - Test what step in X-axis you need for sprites ... 2-pixel step in x-axis, thus you need ... />
    POP BC ; c - mask, b - graphics
    LD A ... into tables. Excellent example is PLOT routine.

    - ... bits by Baze, MSX assembly page is great and TI ...
    omega omega May 2007 Development
  • ANN: Tipshop updated Sunday, 30 October 2005Sunday 30 October 2005 Crivvens! What an indecently massive load of stuff this month - a veritable feast of tips, maps, POKEs and complete solutions.…

    ... Escape, The , Gunpowder, Treason and Plot , Gyron Atrium ,
    Hacker ...
    Prisoner, The , Project-X: The Micro Man , Prophecy, The ... Snow Joke! ,
    Solvaldol-X , Souls Of Darkon , Spaceman Bob ... ,
    I Of The Mask , Knight Ghost , Kosmic Kanga , ...
    hackersanon hackersanon October 2005 Announcements
  • Convert x,y to Attribute Address in AssemblyWhat is the fastest way, given x,y (in hl) to return the attribute address?

    What is the fastest way, given x,y (in hl) to return the attribute address?
    robpearmain robpearmain December 2005 Development
<1234567…34>

Latest Posts

  • i am currently listening to........
    Paradigm Shifter on 12:26AM
  • Happy 40th Birthday to the Amstrad CPC464!
    dmsmith on April 16
  • Celebrity deaths...
    mel the bell on April 16
  • Cooperative Games.
    Paradigm Shifter on April 16
  • LONELY TZX files : software TZX'd on the online sites with NO ASSOCIATED DOCUMENTATION
    harriusherbartio on April 16
  • European Software Titles with an English version
    harriusherbartio on April 16
  • How we became brainwashed by social media
    Antiriad2097 on April 16
  • How Do You Categorize Your Speccy Software and Games?
    Antiriad2097 on April 16
  • Fixed Speccy Software. And which games remained unfixed?
    harriusherbartio on April 16
  • I am currently watching.....
    zx1 on April 15

HitBox

Word Docs Hits
plot 2.8K 4.4K
assembly 3.2K 4.3K
x 14K 31.7K
mask 2.1K 3.3K

Related Threads

  • 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…
  • Convert x,y to Attribute Address in AssemblyWhat is the fastest way, given x,y (in hl) to return the attribute address?
  • 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…
  • 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…
  • Spectrum assembly programmingHi, I'm passionated in assembly programming and I'd like to find some documents talking about Spectrum (not Z80). Do someone have interesting referen…
  • I like Mask.Im the only man who like Mask from Gremlin??<br /> <br /> I readed reviews on SU and got low ratings..<br /> well I liked a lot its gameplay and 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
  • assembly games
  • assembly games listing
  • random assembly
  • cross assembly
  • x uno
  • assembly
  • assembly zxspin
  • first assembly
  • z88dk assembly example
  • fuse for mac os x
  • plot assembly
  • radastan 128 x 96 16 colours
  • plot basic
  • assembly fast plot
  • assembly plot
  • plot x mask
  • pixel mask x
  • plot assembly sg
  • plot assembly shift

Copyright © 2024 World of Spectrum