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.012s
<1234567…34>
  • 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…

    ... below which is the display routine)

    No check on ...

    [code]
    1 DIM m(600):
    2 LET ...
    Dr BEEP Dr BEEP March 2008 Development
  • 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…

    ... />
    I have joined the routine to draw a frontwall with ... /> [code]
    1 CLS :
    DIM m(3e3):
    LET m ...
    Dr BEEP Dr BEEP March 2008 Development
  • 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…

    ... ;256278]I have joined the routine to draw a frontwall with ... /> [CODE]
    1 CLS :
    DIM m(3e3):
    LET m ...
    Einar Saukas Einar Saukas March 2008 Development
  • Disappearing/appearing effectI remember doing a small routine in BASIC which could be used to cover the attributes section randomly, until all 704 characters were filled with the…

    ... higher memory.

    This routine requires 1536 bytes for the ... /> [code]
    10 DIM a$(768):
    DIM b$(768):
    FOR ...
    Dunny Dunny March 2008 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…

    ... : PAPER 0: BORDER 1: CLS : DIM a(28): LET b=0 ... of a [B]GOSUB[/B] routine, it should work better for ...
    Einar Saukas Einar Saukas April 2008 Development
  • 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…

    ... />
    [code]

    1 DIM m$(862):
    Maze-array ... /> NEXT g:
    The display routine, this will come in the ...
    Dr BEEP Dr BEEP April 2008 Development
  • Overflow Flag QuestionHello all, After a long hiatus (lost all code when my MacBook was stolen) i've gone back to the drawing board and am writing a Z80 emulator in REALb…

    ... I think way too complicated) routine to calculate if an overflow ... it is 1)
    dim byte1Sign as UInt8 = bitwise. ... ( byte1, &h80 )
    dim byte2Sign as UInt8 = bitwise.BitAnd ... ( byte2, &h80 )
    dim byte3Sign as UInt8 = bitwise.BitAnd ...
    MadDoc MadDoc June 2008 Emulators
  • Overflow Flag QuestionHello all, After a long hiatus (lost all code when my MacBook was stolen) i've gone back to the drawing board and am writing a Z80 emulator in REALb…

    ... /> Here is my calculate overflow routine:

    [code] Sub CalculatePVFlag ... UInt8, AddOrSubtract as UInt8 )
    dim lookup as UInt8

    routine) 0x9A it's sign bit ...
    MadDoc MadDoc July 2008 Emulators
  • 'orange' on a spectrumalways wondered why spectrums could never seem to achieve the colour orange? wasn't one of the default colours, and don't remember seeing anything th…

    ... my slow decimal to binary routine - this routine is illustrative, but could ... : LET initscr=6000
    50 DIM b(8)

    100 ...
    Digital Prawn Digital Prawn August 2008 Sinclair Miscellaneous
  • ANN: ColorPRINTColorPRINT gives you 256 fully programmable Timex mode 2 characters (maximum 16 colours per character if you have bright black) to use in your 48 BAS…

    ... $ for example, there's no DIM command anywhere in the BASIC ... + characters to a STR() type routine. ie: LET c=32:LET ...
    Jimmy Jimmy September 2008 Sinclair Basic
  • Trouble compiling my BASIC programI've been trying to get a compiled BASIC version of Swift Turtle with no luck so far! I first tried MCoder 3 and it [i]seemed[/i] to compile the prog…

    ... for clarity
    6 DIM v$(44): RESTORE 7010: ... "fdrtlthtstbkcspupdpeppmsrpmecmrmlmhmspehsvld"

    REM routine to find a string match ... complications with another multi-dim array that requires variable ... 't care about multi-dim strings). It was hanging ...
    Arjun Arjun January 2009 Sinclair Basic
  • DATA BIN - How to read the contentOkay I hit a snag with my Image to ZX Spec program that the plot/draw command eats too much memory. So I want to use DATA BIN to insert converted jp…

    ... the string:

    10 DIM a$(6912): FOR i=1 ... keeping the basic as one routine loading all screens from the ...
    omega omega May 2009 Sinclair Basic
  • DATA BIN - How to read the contentOkay I hit a snag with my Image to ZX Spec program that the plot/draw command eats too much memory. So I want to use DATA BIN to insert converted jp…

    ... the string:

    10 DIM a$(6912): FOR i=1 ... keeping the basic as one routine loading all screens from the ...
    brownb2 brownb2 May 2009 Sinclair Basic
  • 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…

    ... ;352636]I'm working with DIM for now, but I thought ... . Decoding it will slow your routine down a bit though.
    Dunny Dunny May 2009 Sinclair Basic
  • 2 questions about matrix and string handlingI was never good at understanding how to do something random in Sinclair Basic without repeating something that was already done. Had problems unders…

    ... the hidden words? Does such routine need to check A$ character ... adding
    [code]
    5 DIM W$(10) : REM ALWAYS SIZE ...
    Dr BEEP Dr BEEP October 2009 Sinclair Basic
  • Question about operations and target numbers[size=1]Title should say *operators. It's been a long day.[/size] :p One of the homework problems my kids are working on consists on using a set of …

    Here's a routine which gets these answers for ... .

    [code]
    10 DIM a(4): FOR b=1 ... b: INPUT answer
    20 DIM b$(4): LET b$="*/+-"
    Battle Bunny Battle Bunny October 2009 Sinclair Basic
  • Question about operations and target numbers[size=1]Title should say *operators. It's been a long day.[/size] :p One of the homework problems my kids are working on consists on using a set of …

    ... Bunny;394854]I updated that routine to include bracketing of the ... didn't mess up your routine. :-D

    [CODE]1 ... enter 4 numbers"
    10 DIM a(4): FOR b=1 ... : DRAW 0,-7
    20 DIM b$(4): LET b$="*/+-"
    zxbruno zxbruno October 2009 Sinclair Basic
  • 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…

    ... at 10,10;"Routine 1 (Big K)"
    DIM x,y as ... uByte
    DIM time as uLong ...
    PRINT at 10,10;"Routine 2 (Turkwel)"
    time=t ...
    Gedlion Gedlion June 2010 Development
  • Help with a basic programI'm doing a very small basic program which I know is bloated, but it works. (I have limited basic knowledge compared to most on here). I just wondere…

    ... 32 bytes.

    10 DIM P$(8,32)
    20 ... BE ALTERED IN YOUR SELECTING ROUTINE
    60 IF X > ...
    Dr BEEP Dr BEEP August 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…

    ... :

    [CODE]
    1 DIM z(29):
    READ n ... by executing the fungus growth routine every turn (altering the growth ...
    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…

    ... like you have a powerful routine there.

    I have ... [/B].
    [*]Added a little routine that prints out the first ...
    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,8:
    CLS :
    DIM t(65):
    FOR x ... an improved "falling token animation" routine and new colors:

    CLS :
    DIM t(65):
    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…

    ... ...THEN[/B] statements in the routine is enough to figure out ... 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
  • 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…

    ... done with a machine code routine, but not in BASIC. Is ... of variables

    1 DIM A(2)
    2 LET ...
    Dr BEEP Dr BEEP October 2010 Sinclair Basic
  • INSTR function...Hi Folks, Another little program that people might find useful: [CODE]100 DIM i(4) 110 LET a$="This is some sample text" 120 LET b$="text" 130 GO S…

    ... modified version of the INSTR routine that uses two array variables ... />
    [CODE]100 DIM i$(2,100):
    DIM i(4)
    9000 REM INSTR ROUTINE
    9010 REM i$(1 ...
    Paddy Coleman Paddy Coleman October 2010 Sinclair Basic
  • General purpose full screen input routineHi Folks, One of the things that annoyed me back in the 1980s with most BASICs was the lack of a full screen "formatted" input function. You could …

    ... *---------------------*
    9005 REM PSS-XINPUT Routine
    9010 REM Parameters:
    Paddy Coleman Paddy Coleman October 2010 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…

    Here's a demo routine drawing a series of grids ... -1)*100)/100
    5 DIM c(l,2): LET line ...
    Battle Bunny Battle Bunny March 2011 Sinclair Basic
  • Copying a SCREEN$ in ZX BASIC in 1 second?!Following on from the revived "[thread=20207]Saving a complete SCREEN$ in BASIC[/thread]" thread (although Arjun really only needed a suitable POKE i…

    ... what about creating a gernal routine where you can effectively copy ... place of the constants. The routine will copy data from a ... : LET length=6912
    10 DIM s$(length): DEF FN p ...
    chev chev April 2011 Sinclair Basic
  • Copying a SCREEN$ in ZX BASIC in 1 second?!Following on from the revived "[thread=20207]Saving a complete SCREEN$ in BASIC[/thread]" thread (although Arjun really only needed a suitable POKE i…

    ... 's probably more efficient to DIM it at the start.
    I've written a short routine which uses this technique with ...
    Battle Bunny Battle Bunny April 2011 Sinclair Basic
<1234567…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
routine 9.5K 14.8K

Related Threads

  • 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…
  • How do I avoid BASIC becoming corrupted on returning from a M/C routine?I'm having trouble with my BASIC program becoming corrupted on returning from a m/c routine which sets all the registers (including the shadow regist…
  • Smooth Screen Scrolling RoutineHi everyone, this is a follow up to the thread on smooth screen scrolling.<br /> <br /> As promised here is the code for the routine.<br /> <br /> It…
  • Key Redefine RoutineAnyone written a nice key redefine code snippet?
  • Competition: Sadistick routine on Spectrum ROMMy vote goes to BEEPER at #03B5<br /> Let's ear you pick! :)<br /> <br /> And a great BOHHHHHHHHHHHHH to Dr Ian Logan &amp; Dr Frank O'Hara for their…
  • Capture Routine HelpData:<br /> <br /> ORG 32768 <br /> <br /> <br /> [ This Message was edited by: dalmudlee on 2005-08-10 01:57 ]
  • Assistance with IM2 routineI subsequently got a working IM2 routine.
  • Homing missile routine - help neededI am attempting to write a routine which will allow a missile to home in on a player. Basically the sort of thing you see in most shoot-em-up games.<…
  • Basic Programming Routine Needed . . . HELP!Hello there,<br /> I though i would try and redo an old classic (pacman) in basic . . . <br /> BUT . . .<br /> I can't remember how to write the code…

Related Searches

  • fastest screen routine
  • screen routine
  • im1 interrupt routine
  • im1 rom interrupt routine
  • im1 rom interrupt routine iy
  • interrupt routine
  • best place for interrupt routine
  • turbo load routine
  • simply turbo load routine
  • joe gunn sprite routine
  • dim input
  • dim from input
  • dim variable size
  • dim size
  • scroll rom routine
  • simple sprite routine
  • loading routine
  • 128k sprite routine
  • tile routine
  • best scroll routine

Copyright © 2024 World of Spectrum