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.030s
<1…9101112131415…34>
  • BIN2BAS (load BASIC text into emulator) utilityI've nearly finished testing this. It allows a BASIC program to be loaded from a text file in any emulator which has a "load binary" option. I was wo…

    ... testing specific areas.
    [code]1000 REM Test Microdrive commands ... 1)
    18 DRAW 1,2: DRAW 3,2,1: ERASE ... DATA b$(): LOAD "f3" CODE 65000,535
    23 LOAD ... 3: PLAY "ABCDE","abcde": PLOT INK 2;5,6
    CODE 65000,535
    29 SAVE ...
    Battle Bunny Battle Bunny April 2013 Sinclair Basic
  • Books that you just can't quit.Much as parts of the presentation,writing style infurates me, there is a book I just keep comming back to again and again. Its like the Yang to the …

    ... basic or would a machine code routine for scanning the ... authors that writing the code like this makes it ... mind lol.

    [code]
    100 REM drawing a ... )
    9430 PLOT XPEN,YPEN
    9440 DRAW NXPEN-XPEN,NYPEN ... YSCALE
    9760 RETURN
    [/code]
    wibble wibble August 2013 Sinclair Basic
  • Books that you just can't quit.Much as parts of the presentation,writing style infurates me, there is a book I just keep comming back to again and again. Its like the Yang to the …

    ... /a2w7if.gif[/IMG]

    [CODE]
    100 REM main program ...
    wibble wibble August 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…

    ... easy to read.

    [CODE]10 REM plotting with poke ... GOSUB 1000
    21 REM Draw a circle at 128,88 ... /> 1050 RETURN
    1100 REM Plot x,y
    1105 REM ... set bit
    1230 RETURN[/CODE]
    JonB JonB October 2013 Sinclair Basic
  • SE BasicAfter 13 years of development I thought I'd run out of things to optimize, but it turns out I was wrong. However, I'm now running out of time to work…

    ... source code.
    [*]Graphics commands can now use the entire display: PLOT ... 0, -16: DRAW 255, 191: CIRCLE 128 ... /> [*]Modular assembly listing.
    [*]Refactored code for improved readability.
    [*]ROM ...
    chev chev October 2013 Sinclair Basic
  • SE Basic IV Buffy v4.1 source (WIP)I've been doing a major refactor on the SE Basic source and I'd appreciate a code review from anyone who has time to look at it. I've almost certainl…

    [code]; --- THE SYTNAX TABLES -------------------------------------------------------

    ... br /> .ifdef ROM1
    defw plot
    .endif

    ... br /> .ifdef ROM1
    defw draw
    .endif

    ... var_syn
    defw on_error[/code]
    chev chev October 2013 Development
  • SE Basic IV Buffy v4.1 source (WIP)I've been doing a major refactor on the SE Basic source and I'd appreciate a code review from anyone who has time to look at it. I've almost certainl…

    [code]; THE 'DRAW' COMMAND ROUTINE
    org 0x2382
    draw:
    rst get_char ... calculator
    call draw_line ; draw next arc
    pop bc ... C'
    call plot_sub ; plot step
    exx ; main ... jp set_work ; immediate jump[/code]
    chev chev October 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…

    ... /> [/code]

    [code]
    10 CLEAR 39999:
    PLOT 64,44: DRAW 128 ... ,0: DRAW 0 ... /> PLOT x,y: DRAW 5,0: DRAW 0,5: DRAW -5,0: DRAW 0,-5: PLOT ...
    Battle Bunny Battle Bunny December 2013 Development
  • 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…

    ... each call to a line draw or circle etc which reduces ... the polygon routines:

    [code]
    ZXASCII
    AUTO -1 ... y2=p(b,2): PLOT x1,y1: DRAW TO x2,y2: NEXT ... SCREEN: GO TO 20
    [/code]

    Save it as ...
    Dunny Dunny January 2014 Sinclair Basic
  • 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 …

    ... the turn in degrees.
    [code]
    3 DEF FN x ... :
    PLOT a(p1,1),a(p1,2):
    DRAW a(p2 ... /> 15 GO TO 8
    [/code]
    Battle Bunny Battle Bunny January 2014 Development
  • hash function permutation tableI'm using a simple Pearson hash function to generate keys for a $(103,6) array using a 256-byte permutation table. How do I arrange the entries in th…

    ... Spectrum BASIC keywords:

    [code]
    char *strings[] = {
    ... "COPY", "DATA", "DEF FN", "DIM", "DRAW", "ERASE", "FLASH", "FORMAT", "FOR", "GO ... "OUT", "OVER", "PAPER",
    "PAUSE", "PLOT", "POKE", "PRINT", "RANDOMIZE", "READ", "REM ...
    Kweepa Kweepa January 2014 Development
  • hash function permutation tableI'm using a simple Pearson hash function to generate keys for a $(103,6) array using a 256-byte permutation table. How do I arrange the entries in th…

    ... "COPY", "DATA", "DEF FN", "DIM", "DRAW", "ERASE", "FLASH", "FORMAT", "FOR", "GO ... "OUT", "OVER", "PAPER",
    "PAUSE", "PLOT", "POKE", "PRINT", "RANDOMIZE", "READ", "REM ... "AND", "ASN", "ATN", "ATTR", "CHR$", "CODE", "COS", "EXP", "FN", "INKEY$", "INT ...
    Kweepa Kweepa January 2014 Development
  • 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…

    ... the Mandelbrot wiki.

    [CODE]For each pixel (Px, Py ... = palette[iteration]
    plot(Px, Py, color)
    }
    [/CODE]

    code.
    [URL="http://www. ... this is just after the draw screen routine and before it ...
    Basher Basher March 2014 Hardware
  • 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 ... that includes expressions such as [CODE]while (x < max(x ... ++;[/CODE] becomes really messy at the edge t.i. trying to draw ...
    tstih tstih June 2014 Development
  • Dock's ZX Maze gameI'm hoping to finish a simple maze game in ZX Spectrum BASIC this week, as part of the Ludumdare Retro challenge. I used to dabble in speccy basic on…

    ... the limitations in my own code, so I'm going to ... exhaustive commentary follows ...

    [code]
    35 LET j1= 0 ... 20,16; BRIGHT 1;CHR$ (CODE i$-11):
    LET c ... ;="1" THEN
    GO SUB CODE y$*2-12
    84 ...
    Battle Bunny Battle Bunny June 2014 Sinclair Basic
  • Dock's ZX Maze gameI'm hoping to finish a simple maze game in ZX Spectrum BASIC this week, as part of the Ludumdare Retro challenge. I used to dabble in speccy basic on…

    ... exhaustive commentary follows ...

    [code]
    35 LET j1= 0 ... 20,16; BRIGHT 1;CHR$ (CODE i$-11):
    LET c ... ;="1" THEN
    GO SUB CODE y$*2-12
    84 ...
    davepierce07 davepierce07 June 2014 Sinclair Basic
  • SpecBAS / SpecOS documentationHi, I just find out about SpecBAS and I was so impressed by the new functions while retaining compatibility with ZX Basic that I've been playing wit…

    ... how difficult it is to code a sprite routine in z80 ... : CLS
    20 PLOT SCRw/2,0: DRAW INK 7;0,SCRw ...
    30 PLOT 0,SCRh ... /2: DRAW SCRw,0
    40 ...
    AE.Vasconcelos AE.Vasconcelos June 2014 Sinclair Basic
  • Drawing a dotted line...Hi Folks, I cannot be the first person to want this (?) so here goes! Does anyone have a MC routine that does the same as the BASIC DRAW command bu…

    [CODE]10 CIRCLE 128,80,80
    20 PLOT 0,30: DRAW 255,0 ... 3
    110 PLOT INVERSE 1;f,0: DRAW INVERSE 1;0 ... ,175: NEXT f: RETURN [/CODE]
    ASH-II ASH-II July 2014 Sinclair Basic
  • Drawing a dotted line...Hi Folks, I cannot be the first person to want this (?) so here goes! Does anyone have a MC routine that does the same as the BASIC DRAW command bu…

    ... straight lines the whole $2382 DRAW routine, which takes up seven ... sub-routine. Try this:
    [code]
    3 LET DOTS=23296 ... DOTS: REM DRAW coords on calc.stack
    30 PLOT 255,175 ... $18
    DEFB $0A
    [/code]
    Battle Bunny Battle Bunny July 2014 Sinclair Basic
  • Drawing a dotted line...Hi Folks, I cannot be the first person to want this (?) so here goes! Does anyone have a MC routine that does the same as the BASIC DRAW command bu…

    ... to draw the four lines for one pattern.
    [code]
    20 PLOT 255,0: LET X=-255 ... SUB 500
    30 PLOT 255,175: LET X=-255 ... SUB 500
    50 PLOT 0,87: LET X=255 ... PLOT px,py
    750 NEXT N
    760 RETURN
    [/code ...
    Battle Bunny Battle Bunny July 2014 Sinclair Basic
  • Drawing a dotted line...Hi Folks, I cannot be the first person to want this (?) so here goes! Does anyone have a MC routine that does the same as the BASIC DRAW command bu…

    ... ;778057][CODE]10 CIRCLE 128,80,80
    20 PLOT 0,30: DRAW ... 3
    110 PLOT INVERSE 1;f,0: DRAW INVERSE 1;0 ... ,175: NEXT f: RETURN [/CODE]
    Paddy Coleman Paddy Coleman July 2014 Sinclair Basic
  • Drawing a dotted line...Hi Folks, I cannot be the first person to want this (?) so here goes! Does anyone have a MC routine that does the same as the BASIC DRAW command bu…

    ... to draw the four lines for one pattern.
    [code]
    20 PLOT 255,0: LET X=-255 ... SUB 500
    30 PLOT 255,175: LET X=-255 ... SUB 500
    50 PLOT 0,87: LET X=255 ... PLOT px,py
    750 NEXT N
    760 RETURN
    [/code ...
    Paddy Coleman Paddy Coleman July 2014 Sinclair Basic
  • Drawing a dotted line...Hi Folks, I cannot be the first person to want this (?) so here goes! Does anyone have a MC routine that does the same as the BASIC DRAW command bu…

    ... BasinC and run.

    [CODE]1 GO SUB 9000
    DRAW coords on calc.stack
    30 PLOT 255,175 ... ,223
    9260 DATA 10[/CODE]

    Now to look ... at the code and work out how it ...
    Paddy Coleman Paddy Coleman July 2014 Sinclair Basic
  • Why no PLOT, etc. on bottom two lines?I was pondering if there was any way to get PLOT, etc. to address the full screen from BASIC without having to write a few lines of assembler to bypa…

    ... ]. Here's how:

    [code]
    10 POKE 23659,0 ...
    40 PAUSE 0
    [/code]

    You can't ... SE Basic enables you to PLOT and DRAW across the whole screen ...
    chev chev August 2014 Sinclair Basic
  • 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.…

    ... interface as yours):

    [code]
    ;INPUT: H : valid character ... /> ld h,a
    ret[/code]

    35 T-states ... 't be calculating a new plot address for each point but ... plotted in a DRAW command. As CIRCLE calls DRAW, this computes all ...
    mcleod_ideafix mcleod_ideafix September 2014 Development
  • 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! Have changed round the code for a wall to 0 ... straightforward to plot as INVERSE 0 or 1 when I draw the ... /bigjon1684/ZXSporgBasicv0pt27.jpg[/IMG]
    [CODE]10 REM zx sporg basic ...
    bigjon bigjon September 2014 Sinclair Basic
  • Kempston mouseHas anyone got code to work with an emulated Kempston mouse? There seems to be some conflicting information in the internet on which bits are reset w…

    ... to read it

    [code]
    10 LET x=IN ... THEN PLOT x,y
    50 GO TO 10
    [/code]
    code should auto complete) you can move the mouse,
    To draw ...
    MatGubbins MatGubbins November 2014 Development
  • GameBaddie's Art project...Hi Guys, I've recently revived my old 48k for a (just-for-fun) art project. I have about 4 weeks of spare time to accomplish my goal, and the plan i…

    ... to program a routine to plot ellipses, one inside the other ... with the CIRCLE command, and draw circles that are, say 2 ... a formula somewhere that can plot ellipses in the same manner ... use very finely tuned Machine Code routines, and from what I ...
    The_Bert The_Bert January 2015 Sinclair Basic
<1…9101112131415…34>

Latest Posts

  • How Do You Categorize Your Speccy Software and Games?
    harriusherbartio on 1:34PM
  • Happy 40th Birthday to the Amstrad CPC464!
    Your Spec-chum on 7:28AM
  • Your Favorite Magazine Cover Tapes.
    Paradigm Shifter on 1:28AM
  • Simple Sprite Routine
    dmsmith on 1:25AM
  • I am currently watching.....
    zx1 on April 11
  • Today's BASIC program: visit attribute cells I am interested in, in pseudorandom order
    Paradigm Shifter on April 11
  • How do you share programs online?
    firelord on April 11
  • Celebrity deaths...
    Ælita on April 11
  • Who Has Got The Earliest ZX Spectrum Software?
    harriusherbartio on April 11
  • Footballer of the year - translated version
    firelord on April 11

HitBox

Word Docs Hits
plot 2.8K 4.4K
draw 5.6K 8.5K
code 41.6K 91.2K

Related Threads

  • PLOT and DRAW in machine codeHow do you go about it?<br /> <br /> If I posted a really simple BASIC instruction could someone do a machine code routine so I could learn from it?<…
  • Machine Code Sprites Example Code Using Char Based SystemBelow is my WIP code to do smooth screen wrapping sprites using char positions and offsets, as opposed to writing direct to a line (0-191) and shifti…
  • IM2 Machine Code Sprites Example Code Using Char Based SystemFurther to my earlier post, here are sprites running using char method with IM2 driving it<br /> <br /> Note, for 48k spectrum using TASM<br /> <br /…
  • Saving BASIC code as CODE... can't start programHi guys!<br /> <br /> I'm trying to create an adventure game for the Speccy in BASIC, called The Legend Of The Red Dragon.<br /> <br /> I'm using the…
  • Converting Basic code into machine codeIm just interested to know if I can converter a game I've written in basic into Machine code, Is their a program that can do this??
  • LOAD "" CODE in machine code/store 128 bank dataHow do you LOAD "" CODE from machine code?<br /> <br /> I have written the following MC routine that fits into a REM statement in a basic program.<br…
  • Code Masters' adventures: where are they?Please help to find Dizzy and Seymour sequels. Why their distribution is denied ?
  • LINE-routine and other nice pieces of codeThe line-topic came in the end with a nice piece of fast coding.<br /> <br /> I think that there might be more of these routines out there (where-eve…
  • Assembler code from tutorial, problem!I was wondering if anyone could help me decipher this z80 assembler code?<br /> <br /> ORG 60000<br /> LOAD 60000<br /> <br …
  • machine code basicsWondered if anyone can help me out. I have been playing round with some disassemblers (Zeus). And Machine code loaders.<br /> <br /> All I want to do…

Related Searches

  • lowest memory for code
  • lowest memory position for machine code
  • lowest memory position machine code
  • lowest memory machine code
  • lowest memory code
  • code 16384
  • asm draw character
  • mastering machine code on your zx spectrum by toni baker
  • mastering machine code on your zx spectrum by toni baker disassembler
  • mastering machine code on your zx spectrum by toni baker pdf
  • identify code 128k pentagon model
  • check code 128k pentagon model
  • draw arc plot
  • convert draw to plot
  • draw and plot
  • draw and plot command
  • plot draw
  • draw line function from machine code
  • plot in machine code
  • ornament draw plot

Copyright © 2024 World of Spectrum