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.013s
<1…16171819202122…34>
  • How to stop a flickering character erasure?I'm trying to figure out how to build a moving sprite. Eventually it will be made up of several UDG's. However its early days yet so I'm experimentin…

    ... -50,50
    80 INK INT(RND*16)
    90 PAUSE ... spectrum screen and apart from line 10 that is Spectrum basic ...
    ASH-II ASH-II May 2018 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.

    This was from a very old book I used to have.
    Set your planet's coords as xc,yc and radius r, then:

    [code]
    10 FOR y=-r TO r: LET x1=INT(SQR(r*r-y*y)): FOR x=-x1 TO x1: IF INT(RND*x1*2)+1
    Dunny Dunny 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.

    ... =-r TO r: LET x1=INT(SQR(r*r-y*y ... x=-x1 TO x1: IF INT(RND*x1*2)+1=x1 ...
    yomlogs yomlogs July 2018 Development
  • Making sound using the BEEPER in AssemblyI had a look at the the documentation but it doesn't make sense to me. To make music just the beeper all I have to do is send ones and zeros to one o…

    ... about the rotating. So 3-line example works because bit 4 ... namespace std;

    int main(int argc, char *argv[]){
    const ... | ios::trunc);

    for (int i = 0; i < 94 ... * pow(fdiv, -i);

    int j=0;

    for ...
    utz utz July 2018 Assembler
  • Getting an even random numberWhat would be the best, simplest way to do this ? I was thinking of say: A = RND*100 Then a conditional along the lines of: IF A / 2 <> I…

    ... :

    10 LET A=INT (RND*100) [i] ... get a ... cursor there on the same line with a bit of a ... ] ... print new number (on same line as original) then allow a ... line space[/i]
    50 GOTO ...
    spider spider November 2018 Sinclair Basic
  • Non-repetitive RNDHi guys) Perhaps, some of you already encountered a situation, when one needed a set of [b]unique [/b](pseudo-)random values, say, from zero to 25…

    ... even use the a horizontal line of the screen and store ... c$=""
    15 LET r=INT (256*RND)
    25 IF ...
    hikoki hikoki November 2018 Sinclair Basic
  • Non-repetitive RNDHi guys) Perhaps, some of you already encountered a situation, when one needed a set of [b]unique [/b](pseudo-)random values, say, from zero to 25…

    ... Timmy.
    The whole PLOT-line isn't needed. You can ... -1
    40 let r= int(rnd*f)+1
    50 ...
    Dr BEEP Dr BEEP November 2018 Sinclair Basic
  • Dunny - help!I fired up SpecBAS, it automatically loaded the last program which was ASH2's background for the lander program. I pressed RUN and it ran fine then …

    ... =0 TO a: LET x=(INT(RND*9))*5:
    DRAW ... =0 TO a: LET x=(INT(RND*9))*5: DRAW 8 ... />

    Its the first line that was causing me all ... /> So I deleted the first line and ran the program and ... 0 which I think is line 68? Still only displayed a ...
    mik3d3nch mik3d3nch August 2019 BASIC
  • Need help from people with a +2A/+3Started a topic [url="https://www.worldofspectrum.org/forums/discussion/55141/need-help-from-people-with-a-2a-3"]here[/url] to get a broader reach, b…

    ... ULA/ASIC asserting the INTREQ line.
    [/quote]

    Thanks ... timings (i.e., missed leading INT edge) AND measured from the ... CPU INT, not really relative to ULA ... the sentence about the MREQ line at the bottom, the second ...
    Patrik Rak Patrik Rak November 2019 Development
  • New test for finding missing +2A/+3 ULA timing detailsHello, having added the +2A/+3 emulation recently, I want to make sure I got the ULA timing 100% right. We know when the contention pattern starts, …

    ... . If the CPU senses the line during this cycle, it starts ... one could argue that the INT is actually happening early). Some ... , which is in fact the INT happening late). Note that some ...
    Patrik Rak Patrik Rak November 2019 Emulators
  • SkoolKit is 10 (years old)Haven't made any SkoolKit-related announcements here in a while, but here's one for today: SkoolKit is 10! https://skoolkit.ca/posts/2020/01/skool…

    ... -8.1/skoolkit/snapshot.py", line 270, in _read_z80
    if ... : unsupported operand type(s) for +: 'int' and 'str'

    Any ...
    Mousey Mousey April 2020 Announcements
  • Randomised data samplingHere is something that could be written in BASIC, if anyone is interested. Lets say we want to sample a subset of a larger population, we can do t…

    ... -7 then you could change line 5 to:
    [code] 5 ... "O";:
    POKE poptab+n,INT (RND*4)+2:
    NEXT ...
    Battle Bunny Battle Bunny April 2020 Sinclair Basic
  • New WoS and ZXDBIt turns out new WoS is using [url="https://github.com/zxdb/ZXDB"]ZXDB[/url]! More precisely [url="https://github.com/zxdb/ZXDB/blob/c4bd3e40d81a8d47…

    ... varchar(100),
    id int(11) not null primary key ... clone_of varchar(100),
    old_id int(11),
    title_publisher varchar(500 ... and compare the corresponding line in this file against ... varchar(500),
    id int(11) primary key not null ...
    Einar Saukas Einar Saukas July 2020 Updates
  • How to write a simple C+asm horizontal scrolling game (Tutorial, z88dk)[b]How to write a simple C/asm horizontal scrolling game[/b] [b]Note:[/b] This tutorial has multiple parts... I am still writing but this first pa…

    ...
    }

    int main()
    {
    while (1 ... /> For starters, the line "#include ". This line indicates that we are ... br />


    int main()
    {
    char y ...
    }

    int main()
    {
    char y ...
    Timmy Timmy September 2020 Development
  • How to write a simple C+asm horizontal scrolling game (Tutorial, z88dk)[b]How to write a simple C/asm horizontal scrolling game[/b] [b]Note:[/b] This tutorial has multiple parts... I am still writing but this first pa…

    ... br /> char game_over;
    int score;
    char score_str[ ... the string fits onto 1 line, this function will work. ... endasm

    }

    int main()
    {
    char y ... /> char game_over;
    int score;
    char score_str[ ...
    Timmy Timmy September 2020 Development
  • Looking for any maze game where the map is different every timeHi folks, I'm looking to sharpen my game writing skiils (or lack thereof!) and I need an example of a simple maze game which creates a different map…

    ... ) inside the box draw a line to an empty neighbor crossing ... /> 140 LET xp=3+3*INT (RND*9)
    150 LET ... yp=3+3*INT (RND*6)
    160 IF ... 990
    230 LET d=INT (RND*4)+1
    240 ...
    JianYang JianYang September 2020 Games
  • How to write a simple C+asm horizontal scrolling game (Tutorial, z88dk)[b]How to write a simple C/asm horizontal scrolling game[/b] [b]Note:[/b] This tutorial has multiple parts... I am still writing but this first pa…

    ... /> [code]
    void ZX_AT(int y , int x)

    {
    INT (y/8) */
    screenaddress ... return screenaddress ; /* address top pixel line of the chr$ actualy */
    JianYang JianYang September 2020 Development
<1…16171819202122…34>

Latest Posts

  • I bought an accoustic guitar. How do you play it?
    dm_boozefreek on 7:51PM
  • Goodbye Z80
    zx1 on 7:11PM
  • Happy 40th Birthday to the Amstrad CPC464!
    AndyC on 6:29PM
  • Another Birthday! The Game Boy Is 35!
    dm_boozefreek on 6:17PM
  • I am currently watching.....
    Antiriad2097 on 5:05PM
  • European Software Titles with an English version
    harriusherbartio on 12:06PM
  • How Do You Categorize Your Speccy Software and Games?
    harriusherbartio on 11:21AM
  • Fixed Speccy Software. And which games remained unfixed?
    harriusherbartio on 11:01AM
  • New video about S-video modification on Issue two 48K Spectrum.
    Renegade on April 21
  • Elusive Strategy Games done by the Smaller or less Prolific Software Houses.
    harriusherbartio on April 21

HitBox

Word Docs Hits
int 2.2K 6K
line 19.4K 33.7K

Related Threads

  • SpecBAS INT function vs Spectrum INT functionDunny's SpecOS (SpecBas) vs Normal Spectrum Basic.<br /> <br /> INT function<br /> <br /> The Spectrum rounds -ve INT values down (e.g. INT -2.2 = -3…
  • Utility to create long REM Line for storing M/C program - Maximum BASIC Line LengthHi,<br /> <br /> I think there was a Utlity or Toolkit to create a long REM-Line under 48k BASIC<br /> to store some MCode in it. <br /> <br /> …
  • Line - a one line arcade gameHi,<br /> <br /> I have published Line, a game written in a single line of BASIC. Thanks to Einar Saukas for additional optimisations, suggestions,…
  • Are line numbers considered the first statement in the line?I'm trying to understand how BASIC variables are stored in memory using the BASIC Programming manual and am puzzled by the results of the control var…
  • 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…
  • line routineWondered if anyone can help me out. I have been programming a 3d graphics library for the spectrum, in Machine code.<br /> <br /> The line routine th…
  • On-line magazineswell we've got all crash scans online thanks to Mort, WoS and others. YS has a great site in YSRNRY. There is Crash online and Sinclair User online t…
  • On-line chatY'know, I've noticed on many occasions in the chat logs that when an anonymous person enters the chatroom, it's always presumed to be me! Why is that…
  • Printing at line 22...The last legal line in BASIC is line 21. Using Print #0 allows you to print on line 23, but how does one get access to line 22? Anyone?
  • How can I scroll a line of text and wrap perfectlyI know this is easy for most of you but for some reason I am messing it up.<br /> <br /> In Assembly Language I want to do the following:<br /> <br /…

Related Searches

  • betadisk rom line
  • scroll line
  • edit line
  • save line
  • draw line
  • delete line
  • remove line 128
  • line in
  • line draw
  • int test
  • scroll screen down one line
  • poke 24 line
  • fill screen line at a time
  • plot a straight line
  • fill a line
  • print one line
  • bad address line 0
  • spin assembler command line
  • pixel line
  • line

Copyright © 2024 World of Spectrum