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.014s
<1…25262728293031…34>
  • BLOG- ZXSporgBasic RPG development thread- Inspired by the Spectrum 30 show, and after a six-month wait while I was busy playing loads of gigs, I have decided to do a spot of Spectrum coding…

    First development in 8 months on this project - changed the mechanics of setting the colour of the walls in line 9720. Instead of one general ink 1 statement, it specifies the ink colour blue for each block printed. This is so I can print black (for a door ...
    bigjon bigjon December 2013 Sinclair Basic
  • BLOG- ZXSporgBasic RPG development thread- Inspired by the Spectrum 30 show, and after a six-month wait while I was busy playing loads of gigs, I have decided to do a spot of Spectrum coding…

    Actually decided the doors need to be white as the that's the only colour the PC can walk over. Line 9720 is now a bit of a monster as the ink colour needs to be evaluated with [I]INK 1+6*(VAL t$(5)=1)*((j=7)+(j=8))[/I] or similar before each square of ...
    bigjon bigjon December 2013 Sinclair Basic
  • Documentation for SP1 for Z88DK?(I was going to post in [URL="http://www.worldofspectrum.org/forums/showthread.php?t=11729"]the other thread[/URL], so if a mod thinks this should go…

    ... -d -ns -nm -Mo -DFORzx -x./zx_clib @./zx.lst
    Error ...
    1 errors occurred during assembly
    make: *** [zx_clib.lib] Error ...
    1 errors occurred during assembly
    Key to filenames:
    szeliga szeliga December 2013 Development
  • Self modifying code ??I made a game in C that was mostly accessing arrays and using FOR NEXT loops, I ran out of memory, so I was thinking would it be possible to use sel…

    ... else fails.


    X) Or you could ask people ... like all those optimise my assembly threads, but in C.)
    Timmy Timmy December 2013 Development
  • 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…

    ...
    6 errors occurred during assembly
    [/CODE]

    ... /> z80asm -d -ns -nm -Mo -x../.././x11 @x11.lst
    make ... -d -ns -nm -Mo -DFORz88 -x./z88_clib @./z88.lst
    Error ...
    1 errors occurred during assembly
    make: *** [z88_clib.lib] ...
    szeliga szeliga December 2013 Development
  • Code to test if a rectangle is in a rectangle[SIZE=3][FONT=Calibri]I am looking to write some code that will check if a rectangular shape is outside or overlapping a second rectangle. If the sma…

    ... 10 CLEAR 39999:
    PLOT 64,44: DRAW 128,0 ... 170 STEP 6:
    PLOT x,y: DRAW 5,0: ... br /> RANDOMIZE y*256+x: POKE 40000,PEEK 23670: ... 22 OVER 1:
    PLOT x,y: DRAW 5,0: DRAW ... ,0: DRAW 0,-5: PLOT x,y:
    OVER 0:< ...
    Battle Bunny Battle Bunny December 2013 Development
  • A new full-screen bicolor engine called NIRVANA[I]OK, there's something I need to clarify first: Nowadays if you write [B]"multicolor"[/B] everyone assumes it refers to "multicolor 8x1" (an attri…

    ... one byte is AND binary mask, one byte is OR data ... list of data pointers and X/Y character co-ordinates.
    joefish joefish January 2014 Brand new software
  • A new full-screen bicolor engine called NIRVANA[I]OK, there's something I need to clarify first: Nowadays if you write [B]"multicolor"[/B] everyone assumes it refers to "multicolor 8x1" (an attri…

    ... one byte is AND binary mask, one byte is OR data ... list of data pointers and X/Y character co-ordinates.[/QUOTE ...
    Einar Saukas Einar Saukas January 2014 Brand new software
  • 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 …

    ... /> 3 DEF FN x(x,y,d)=FN a(x,y,FN r ... )):
    DEF FN a(x,y,r)=x*COS r-y*SIN ... DEF FN y(x,y,d)=FN b(x,y,FN r ... )):
    DEF FN b(x,y,r)=x*SIN r+y*COS ... +1 OR a=3:
    PLOT a(p1,1),a(p1 ... 3:
    LET a1=FN x(a(a,1),a(a ...
    Battle Bunny Battle Bunny January 2014 Development
  • 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 …

    ... /> 3 DEF FN x(x,y,d)=FN a(x,y,FN r ... )):
    DEF FN a(x,y,r)=(x-x0)*COS r-(y ... DEF FN y(x,y,d)=FN b(x,y,FN r ... )):
    DEF FN b(x,y,r)=(x-x0)*SIN r+(y ... b=1 TO 4:
    PLOT p(a,b,1),p ... 4:
    LET a1=FN x(p(a,b,1),p ...
    Battle Bunny Battle Bunny January 2014 Development
  • 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 …

    ... would take 12.5kb if x,y were merged into one ... calculate the addresses from the plot coordinates - but then I realised ...
    Battle Bunny Battle Bunny January 2014 Development
  • 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 …

    ... regard to 256 and the x coordinate.

    There's ... after every step. Save the plot addresses and bit positions and ...
    Battle Bunny Battle Bunny January 2014 Development
  • +3 Disk drive motorHi, I'm creating a disk file menu selector. I was wondering how to turn off the +3 drive motor and the motor timeout check from Basic (poking the co…

    ... 4 etc. Ideally you should mask the bit off and then ... .

    Here is the assembly code to do it safely ...
    BloodBaz BloodBaz January 2014 Development
  • Convert AT co-ordinates to PLOT co-ordinatesHow do you convert the 2 from MC? I don't know how to convert the vertical value as they're differently ordered... Heres what I have so far: [CODE]…

    PLOT is from the bottom of ... 175-Y to get the plot position down the screen (from ... that will give you the plot position of the top of ... -Y instead). e.g. 21 x 8 = 168 then 175-168 ...
    joefish joefish January 2014 Development
  • Which Windows Emulator will support SPECTRA?I want to start crossdeveloping games for SPECTRA, but it is a pain in the ass to save the TAP on USB Stick or SD Card and test them on my eMac SP Em…

    ... calculate attribute address from its X and Y coordinates, like:
    [CODE]function CalcAdrQuadOffset(x as ubyte,y as ubyte ...
    BloodBaz BloodBaz January 2014 Emulators
  • Un-PLOTting in the #0 areaHow do I go about un-PLOTting in the bottom 2 lines. I am aware the ROM PLOT routine only works in the top 22 rows, so how would I go about depletin…

    ... a ;B =y; C = x
    ld a,191 ; ... $22b0 ;PIXEL_ADD+6 - C (x coord) is preserved
    neg ... ret nc ;don't plot if address too high
    PLOT, which checks the vertical ...
    Battle Bunny Battle Bunny February 2014 Development
  • How to print logo onto screen at chosen coordinates?Hi, I've just got back into zx spectrum games after all these years and after seeing some of the great games on here I would like to start learning p…

    ... LET p=POINT (x,y): LET c$(x+1)=CHR$ 143 ... y,x+1) THEN PLOT x,y: PRINT x;",";y;" ";
    80 NEXT x: ... />
    Which calculates the PLOT coordinates for all of the ... bit to the routine to PLOT an enlarging character across ... 1 TO y1+s-1: PLOT p,q: NEXT q: ...
    Battle Bunny Battle Bunny February 2014 Development
  • Morcar's Selling or trading threadThinning out my collection so i can get more of what i want. If you want anything on here let me know and we can work out something. I am also up f…

    ... Capes Strongman
    Ghostbusters 2 (x 2)
    Glider Rider
    Gunship
    I Of The Mask
    International Rugby Simulator
    Survival (X 2)
    The Games: Winter ... : Survivor, Pac-Land (demo) (X 2)
    Your Sinclair Smash ...
    morcar morcar February 2014 Sales
  • Clashbasher a new interface to reduce colour clashI've been working on this for a while now. [IMG]http://markamy.uwclub.net/cauldron.JPG[/IMG] Basicly its an add on for a 48k spectrum, which reinte…

    ... max_iteration = 1000
    while ( x*x + y*y < 2*2 ... max_iteration )
    {
    xtemp = x*x - y*y + x0
    y ... = 2*x*y + y0
    x = xtemp
    ... /> color = palette[iteration]
    plot(Px, Py, color)
    }
    Basher Basher March 2014 Hardware
  • JP (HL) confusionokay.... JP nn will jump to memory address nn. JP (HL) ,I assumed would read the contents of memory address HL and jump to the location and be a gre…

    ... than 3 comparison/jumps (3 x 14 cycles same as 42 ... forum. The question was Z80 assembly related which is more general ...
    PokeMon PokeMon March 2014 Development
  • Game code view DebuggerHi Is opening up a game such a manic miner in a debugger such as spin going to give me a true view of the code used in developing the game? Cheers

    ... . Both games have fragments of assembly code left in memory, and ... you could happily write commented assembly on the machine itself in ... (the precursor to Mac OS X) and then later switched to ...
    zub zub April 2014 Sinclair Miscellaneous
  • Double-Buffer ScreenFor my Alien Breed Speccy re-write I decided to use a Double Buffer (DB) or 'Back Screen' to draw all the game action onto, before shuffling the whol…

    ... br /> ; NOTE: this will convert (x,y) 0, 0..191 to ... ,0 ; first clear the x,y coords (b=y, ...
    rlca ; divide x by 8 and multiply by ... 4
    and 224 ; mask off bits we don't ... :)
    ;ld a, c ; x coordinate
    ;rrca ; only need ...
    polomint polomint April 2014 Development
  • Optimal shifting for set pixel?Hi, I'm optimizing my set pixel code. For speed. But without using partitioned memory (i.e. a table on 256 byte boundary) I have optimal memory addr…

    ... QUOTE=Jimmy Falcon;771188]g0blinish, X is a passed value, not ... routine and the rest of X is used to calculate ... />
    LD A,(bw+X);
    bw:db #80,#40 ... [CODE]
    ;DE=Y.X
    PLOT PUSH HL,BC:LD H ... .

    to use plot some data must be prepared ...
    g0blinish g0blinish May 2014 Development
  • Fast and easy read/write of attributes?What are the fastest or easiest ways to check the attributes of tiles on the screen, in BASIC? It seems to be a great way of storing object info. …

    ... />
    get_attr_address:
    ; use the x, y coords in de to ... HL
    ld a,d ; x position.
    rrca ; multiply by ... in l.
    and 3 ; mask bits for high byte.
    x*32 again.
    and 224 ; mask low byte.
    polomint polomint June 2014 Sinclair Basic
  • So shooting 360 degrees?...[I]How do I go about having - for example - a cannon in the middle of the screen, that can shoot in any direction towards the player?[/I] Well, I do…

    ... as being a line plot between two points, you ... shl 1

    plot(x0, y0)

    ...

    for x from x0 + 1 to x1 ... y = y + 1
    plot(x, y)
    D = D + ... dy - dx
    else
    plot(x, y)
    D = D + ...
    Dunny Dunny June 2014 Development
  • So shooting 360 degrees?...[I]How do I go about having - for example - a cannon in the middle of the screen, that can shoot in any direction towards the player?[/I] Well, I do…

    ... . In other words, treat X and Y as a 16 ... part. When you want to plot your pixel, you use the ... repeatedly add them to the X and Y co-ordinates. ... angle, so 'opposite' is the X-distance, and 'adjacent' is the ... . So you divide the X-distance by the Y-distance ...
    joefish joefish June 2014 Development
  • So shooting 360 degrees?...[I]How do I go about having - for example - a cannon in the middle of the screen, that can shoot in any direction towards the player?[/I] Well, I do…

    ... 772794]When you want to plot your pixel, you use the ... such as [CODE]while (x < max(x)) x++;[/CODE] becomes really messy ... fail because next value for x++ is 0 and it ... is still less then max(x). ( [I]or you could ... do a check for x < max(x) or overflow but ...
    tstih tstih June 2014 Development
<1…25262728293031…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