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.008s
<1…45678910…34>
  • pathfindingworking on pathfinding in the game. here is Russian description of Lee's algorithm: [url]http://algolist.manual.ru/games/wavealg.php[/url] "if-then"…

    ... $ 144;: NEXT f
    40 DIM d(22,32): LET q1 ... /> 50 INPUT "Sources? ";s: DIM a(s): DIM b(s): FOR f ... /> 60 INPUT "Targets? ";t: DIM i(t): DIM j(t): FOR f ...
    Einar Saukas Einar Saukas May 2013 Development
  • generating a pre-defined list in an un-defined sequenceI've decided to become a drunkard, to which end I've been drinking a whole bottle of beer in one day (whereas normally I'd make it last 2 or 3 days).…

    ... illustration to ... errrmmm ... illustrate ... the routine. The list has 22 elements ... ":
    RANDOMIZE: LET s=22: DIM p$(s,2)
    30 ...
    Battle Bunny Battle Bunny July 2013 Sinclair Basic
  • Full 16*16-digit BASIC multiplicationI liked Andre Adrian's 32-bit long multiplication routine so much that I decided to a decimal version. After all, 2^63 is only 9223372036854775808, a…

    ... /> -OR-

    100 DIM C$(16): DIM E$(16)
    101 ... #mozTocId269826
    ; 991 REM MULTIPLY ROUTINE 32*32BIT=64BIT
    ; 992 ...
    Battle Bunny Battle Bunny July 2013 Sinclair Basic
  • Code execution logging/profilingAs revealed in [url="http://www.worldofspectrum.org/forums/showthread.php?t=41666"]this thread[/url], I'm adding support for reading code execution l…

    ... #3,"b"
    20 DIM a$(32): DIM p$(4): LET p ... =0: DIM h$(4): LET h=p< ... br /> 21 DIM q$(100,4): DIM q(100)
    30 ... The Hobbit, which is the routine which displays a screen. After ...
    Battle Bunny Battle Bunny August 2013 Emulators
  • 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 …

    ... /> 1000 DIM R(55): DIM C(55)
    1009 REM initialise routine pointers ...
    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…

    ... is based on the little routine in post#3, but extended ...
    Battle Bunny Battle Bunny 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…

    ... />
    ; THE 'DIM' COMMAND ROUTINE
    org 0x2c02
    dim:
    call look_vars ...
    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…

    ... /> ; separators and, where appropriate, command routine addresses.

    p_save:
    defb var_syn
    defw dim

    p_rem:
    defb ...
    chev chev October 2013 Development
  • A "generic" loader for +3(e)I've made this loader for 128k games in +3DOS. [CODE]dos_open equ 262 dos_close equ 265 dos_abandon equ 268 dos_read equ 274 dos_write equ 277 dos_s…

    ... given length (to put that routine inside BASIC). I'm doing ... ";rl: RANDOMIZE rl: CLEAR:
    DIM r$(FN p(23670)): LET ... exactly the same size. The routine works by creating a 1 ...
    Battle Bunny Battle Bunny December 2013 Development
  • Writing faster BASICIn terms of structuring BASIC programs, what are the best ways allocate variables, functions, arrays? Any tips. I remember INPUT mag had some suggest…

    ... a simple string rather than DIM a$(1) then the test ... , even in my little test routine, declaring them at the end ...
    Battle Bunny Battle Bunny December 2013 Sinclair Basic
  • Writing faster BASICIn terms of structuring BASIC programs, what are the best ways allocate variables, functions, arrays? Any tips. I remember INPUT mag had some suggest…

    ... a simple string rather than DIM a$(1) then the test ... , even in my little test routine, declaring them at the end ...
    The_Bert The_Bert December 2013 Sinclair Basic
  • Graphics questionHello. I was wondering, does anybody here know of a method to display a large (as in, the better part of the screen) bitmap/raster image using ZX Sp…

    ... /> I use Britlion's PutChars routine for ZXBC as it is ... LCD:

    [code] 10 DIM a$(96): FOR n=1 ...
    TK90XFan TK90XFan December 2013 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 …

    ... of coordinates using the Bresenham routine with a centre of 128 ... *180
    7 DIM a(3,2): DIM p(88,4,2 ...
    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…

    ... looking at BB's hash routine - 35 pages of C code ... : LET dups=0:
    DIM h(102): DIM h$(916): REM set ... permutation table for the Pearson routine to as much as 768 ...
    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…

    I converted that C routine to BASIC but I haven' ... still working on my own routine, where I've managed to ... (da/256)
    5 DIM x$(6): DIM h$(152): LET dups ... =0
    6 DIM t(64): RESTORE 100: FOR ...
    Battle Bunny Battle Bunny 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…

    ... /> You probably saw my bitshifting routine to calculate attribute address from ... ubyte,y as ubyte)
    dim y1 as uinteger
    y1 ...
    LCD LCD January 2014 Emulators
  • 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…

    ... ]You probably saw my bitshifting routine to calculate attribute address from ... ubyte,y as ubyte)
    dim y1 as uinteger
    y1 ...
    BloodBaz BloodBaz January 2014 Emulators
  • 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…

    ... in turn to the print routine, which is what the ... url] and discovered this routine which I'd forgotten about ... /> [code]
    10 DIM c$(8): DIM p(8,8)
    routine to use the data. ... Add this bit to the routine to PLOT an enlarging character ...
    Battle Bunny Battle Bunny February 2014 Development
  • that "listing variables during runtime" thingWell, I did eventually finish this, but with my meds playing up I don't have much time each day that I can spend at the computer, so it's taken rathe…

    ... separate variables area for the routine so its own variables don ... ).

    I find this routine handy for checking what variable ... m/c routines. Once the routine has been set up, to ... (23639)+6):
    RESTORE 9900: DIM v$(7,20):
    FOR ...
    Battle Bunny Battle Bunny March 2014 Sinclair Basic
  • Block RoutineHi Folks, I want to draw a block on the screen dependent on providing the X,Y,W,H values. I came up with the following: [CODE]100 LET l$=" …

    ... see ...
    [list]
    [*]Using DIM l$(30) is shorter and ... : PRINT AT 0,0;"Block Routine": LET t=x+w
    180 REM Block Routine
    190 REM x,y ...
    Battle Bunny Battle Bunny July 2014 Sinclair Basic
  • analysing program variable usageIf I wanted to count the number of times each variable is referenced while a program is running (not the number of times each variable is referenced …

    ... assignments of new variables with DIM, LET, FOR, READ, INPUT will ... be done with an interrupt routine I suppose. But ... if I ...
    Battle Bunny Battle Bunny July 2014 Sinclair Basic
  • Game of Life.Last year (I think) or maybe the year before, I entered a Game of Life simulator into the CSS CGC compo but for the Sinclair ZX81. I decided to port…

    ... three points each. As the routine is scanning left to right ... that logic ... Here's the routine, anyway. I'll be back ... />
    12 CLS: DIM g$(20,32): DIM n(32): LET gen ...
    Battle Bunny Battle Bunny September 2014 Sinclair Basic
  • Game of Life.Last year (I think) or maybe the year before, I entered a Game of Life simulator into the CSS CGC compo but for the Sinclair ZX81. I decided to port…

    ... p(cd+6)
    10 DIM n$(32): FOR i=1 ...
    12 CLS : DIM g$(20,32): DIM p$(20*32*3 ... to RANDOMIZE 0 for RND routine below
    InitS: ld hl ... ,(SEED32+2) ;based on a routine by Jon Ritman
    LD ...
    Battle Bunny Battle Bunny October 2014 Sinclair Basic
  • Fast Condition TestingHello my friends, I have been writing some input and string handling routines in BASIC lately - yeah I could write them super fast in C/ASM via z88d…

    ... directly to the required routine for the character just ... [*]line 20
    a$() = routine codes for CHR$ 1 -> ... = invalid characters
    set routine #30 for CHR$ 1 -> ...
    [code]
    20 DIM a$(127): LET cm=13 ... : DIM s$(cm): LET l$=" ...
    Battle Bunny Battle Bunny November 2014 Sinclair Basic
  • Utility to create long REM Line for storing M/C program - Maximum BASIC Line LengthHi, I think there was a Utlity or Toolkit to create a long REM-Line under 48k BASIC to store some MCode in it. So I don´t have to type e.g. 5…

    ... ";rl: RANDOMIZE rl: CLEAR:
    DIM r$(FN p(23670)): LET ... exactly the same size. The routine works by creating a 1 ...
    Battle Bunny Battle Bunny October 2015 Sinclair Basic
<1…45678910…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