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.011s
<1234567…34>
  • Help with having more than 21 UDGSHi All, I'm trying to work out how to have multiple banks of UGS. What I've read so far is that the default memory area for. 48K is 65368 16K is 326…

    ... memory area by
    LET v=memory area
    Then you ... value v into
    POKE 23675,v-256*INT(v/256):POKE 23676,INT(v/256)
    Phil2 Phil2 June 2007 Sinclair Basic
  • storing machine code in BASICApart from putting m/c above RAMTOP, which means that it has to be POKEd or LOADed separately after the BASIC program; or putting it in a REM, which …

    ... FN g(v)=v-FN h(v)*256:
    DEF FN h(v)=INT (v/256)
    Battle Bunny Battle Bunny August 2010 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…

    ... FN l(v)=v-256*FN h(v): DEF FN h(v)=INT (v/256):
    LET ... TO udg+8: READ v: POKE a,v: NEXT a:
    DATA ...
    Battle Bunny Battle Bunny April 2011 Sinclair Basic
  • checking bits in BASICThe question of manipulating bit patterns in BASIC was raised recently in this [thread=35728]Keys redefine routine and key check[/thread] thread. I s…

    ... FN l(v)=v-FN h(v)*256: DEF FN h(v)=INT (v/256)

    256+FN b$(00111001,2,10 ...
    Battle Bunny Battle Bunny September 2011 Sinclair Basic
  • storing machine code in BASICA couple of years ago I posted a routine for storing machine code between PROG & VARS, based on an idea in Toni Baker's "Mastering Machine Code". Thi…

    ... FN g(v)=v-FN h(v)*256: DEF FN h(v)=INT (v/256):

    256*e
    REM Load m ...
    Battle Bunny Battle Bunny January 2012 Sinclair Basic
  • more on storing mazesPrompted by Wookiee's escapades, I've been pondering on how to use DATA statements directly for displaying background graphics, thus avoiding the dup…

    ... FN g(v)=v-256*FN h(v): DEF FN h(v)=INT (v/256)
    11 ... TO udg+8: READ v: POKE a,v: NEXT a:
    DATA ...
    Battle Bunny Battle Bunny February 2012 Sinclair Basic
  • Screen2StringFurther to writing that BASIC one-liner to redirect CAT to a string I thought that I'd do a general redirection routine for anything which normally p…

    ... a+256*PEEK (a+1): DEF FN g(v)=v-FN h(v)*256: DEF ... FN h(v)=INT (v/256)
    3 ... TO sd+19: READ v: POKE p,v: NEXT p
    REM ...
    Battle Bunny Battle Bunny May 2012 Sinclair Basic
  • enhanced GOSUB/GOTO (in BASIC)Further to my previous post under "BREAK from GOSUB" here's the two ideas mentioned there put together. Note that to keep it quick it expects the DEF…

    ... FN g(v)=v-FN h(v)*256: DEF FN h(v)=INT (v/256)
    2 ...
    Battle Bunny Battle Bunny May 2012 Sinclair Basic
  • saving time populating large arraysI use a variation on this idea for storing machine code at the end of programs without interfering with LIST, then it occurred to me that it would al…

    ... FN g(v)=v-FN h(v)*256: DEF FN h(v)=INT (v/256)
    11 ...
    Battle Bunny Battle Bunny October 2012 Sinclair Basic
  • quick RAM copy using LET in BASICI'm in the process of reviewing, revising and refining all the programming tips & utility routines which I've posted on this forum over the last eigh…

    ... FN l(v)=v-256*FN h(v): DEF FN h(v)=INT (v/256)
    20 ...
    Battle Bunny Battle Bunny July 2013 Sinclair Basic
  • Random-Access to Microdrive FileI am working on a BASIC program to backup a microdrive text-file to standard tape array-file. To backup a text-file from one microdrive to a secon…

    ... /> 1 DEF FN p(a)=256*PEEK (a+1)+PEEK a ... FN l(v)=v-256*FN h(v): DEF FN h(v)=INT (v/256)
    10 ... TO udg+8: READ v: POKE a,v: NEXT a
    1340 ...
    mattsteel mattsteel May 2018 Sinclair Basic
  • Autorun BASIC programsIs it possible to write a basic program which will autorun after typing in LOAD ""? Thanks

    ... 200 let n=peek vars+256*peek(vars+1)
    1000 ... poke vars,n-int(n/256)*256
    1060 poke vars ... +1,int(n/256)
    1999 stop
    ... poke vars,v-int(v/256)*256
    2030 poke vars+1,int(v/256)
    256. Someone has a better ...
    NotFound NotFound January 2007 Sinclair Basic
  • Help with having more than 21 UDGSHi All, I'm trying to work out how to have multiple banks of UGS. What I've read so far is that the default memory area for. 48K is 65368 16K is 326…

    ... BANK 1
    15 LET V=65368: GO SUB 200
    75 LET V=65368: GO SUB 200: PRINT ... BANK 2
    85 LET V=65200: GO SUB 200: PRINT ... BANK 3
    95 LET V=65032: GO SUB 200: PRINT ... /> 210 POKE 23675,V-256*INT (V/256): POKE 23676,INT (V/256)
    215 RETURN
    Phil2 Phil2 June 2007 Sinclair Basic
  • Help with having more than 21 UDGSHi All, I'm trying to work out how to have multiple banks of UGS. What I've read so far is that the default memory area for. 48K is 65368 16K is 326…

    ... BANK 1
    15 LET V=65368: GO SUB 200
    75 LET V=65368: GO SUB 200: PRINT ... 2
    85 REM LET V=65200: GO SUB 200: PRINT ... BANK 3
    95 LET V=65032: GO SUB 200: PRINT ... /> 210 POKE 23675,V-256*INT (V/256): POKE 23676,INT (V/256)
    215 RETURN
    Phil2 Phil2 June 2007 Sinclair Basic
  • iPhone ZX Spectrum EmulatorI see this was posted on YouTube a couple of days ago - [url]http://www.youtube.com/watch?v=En1Q5MLS2EE[/url] Although his website says 'soon' ([url…

    ... ]
    function sign_extend(v) {
    return v < 128 ? v : v-256;
    }

    function sign_extend(v) {
    return v < 128 ? v : v-256;
    }
    function ...
    Philip Kendall Philip Kendall September 2009 Emulators
  • 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…

    ... FN l(v)=v-256*FN h(v): DEF FN h(v)=INT (v/256):
    LET ...
    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…

    ... FN l(v)=v-256*FN h(v): DEF FN h(v)=INT (v/256)
    20 ...
    Battle Bunny Battle Bunny 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…

    ... FN l(v)=v-256*FN h(v): DEF FN h(v)=INT (v/256):
    ... a$,a,INT(a/256),l,INT(l/256),0)+","
    +FN ... b$,b,INT(b/256),l,INT(l/256),1)+")":
    DEF ... a$"-"))+f$
    +CHR$ (a-256*b)+CHR$ b+CHR$ (l ... -256*m)+CHR$ m

    ...
    Battle Bunny Battle Bunny April 2011 Sinclair Basic
  • Saving and Loading from tape in MC?I'm actually having problems with saving and loading from the ROM routines for the interpreter... I'm currently using the following codes for saving…

    ... FN g(v)=v-FN h(v)*256:
    DEF FN h(v)=INT (v/256)
    Battle Bunny Battle Bunny July 2011 Development
  • saving part of a BASIC programHere's a short routine to save part of a BASIC program. The idea is that it can be merged into a program and then used to save sub-routines, etc. to …

    ... RUN, then the letter 'v' typed into "From" and ... (v)=VAL "v-FN h(v)*256": DEF FN h(v)=VAL "INT (v/256 ... )":
    DEF FN p(a)=VAL "PEEK a+256 ... (23637)+96":
    LET v=FN p(VAL "16384"): ... /> LET l1=PEEK a0*256+PEEK (a0+k1):
    ...
    Battle Bunny Battle Bunny September 2011 Sinclair Basic
  • Mazes and Tremaux's AlgorithmI've done a version of Tremaux's maze solving algorithm which solves my current test maze with 400 junctions and 715 connections in a reasonably quic…

    ... /> PRINT USR ms,k2,em,"v$()",mi;:
    PRINT AT k2 ... em: IF j$(i)"!" OR v$(i)="!" THEN GO TO 1224 ...
    Battle Bunny Battle Bunny November 2011 Development
  • Increasing the number of UDGs...Hi Folks, I know by default the Spectrum can have 21 UDGs (48K) and 19 (128K) and that the address of the bit patterns is pointed to by the UDG syst…

    ... a short routine for handling 256 UDGs, using the "\" syntax which ... FN g(v)=v-FN h(v)*256: DEF FN h(v)=INT (v/256)
    10 ... CLEAR VAL "65536-100-256 ... -1": LET UDG=VAL "65536-256*8":
    POKE 23675,FN ...
    Battle Bunny Battle Bunny March 2012 Sinclair Basic
  • Store and restore attribute valuesI am needing ideas on how to write a machine code routine that will store/restore (more important to restore) attribute values to the 22528 area. I …

    ... FN g(v)=v-FN h(v)*256: DEF FN h(v)=INT (v/256)

    Battle Bunny Battle Bunny May 2012 Development
  • BREAK from GOSUBHere's another one. Just in case you wanted to break out of multiple GOSUB levels with a single command, here's a routine to do it, tested on all mod…

    ... FN g(v)=v-FN h(v)*256: DEF FN h(v)=INT (v/256)
    ...1 ...
    Battle Bunny Battle Bunny May 2012 Sinclair Basic
  • Switching 48/128 modes within a BASIC programI'm not sure what use this would be; ie. being able to switch between 48k and 128k modes and back again from within a continuously running BASIC prog…

    ... /> 2 DEF FN m(v)=v-(-1+(256 AND v=255)): DEF FN p ... (a)=PEEK a+256*PEEK (a ... FN g(v)=v-FN h(v)*256: DEF FN h(v)=INT (v/256)
    1000 ...
    Battle Bunny Battle Bunny July 2012 Sinclair Basic
  • More memoryHi all... can anyone help, Is it possible to get more memory for basic pref' in Basin.... 40 odd k is just not enough !

    ... = required number of index entries; v = VARS:
    REM o = old ... FN g(v)=v-FN h(v)*256: DEF FN h(v)=INT (v/256):
    DEF ... FN p(a)=PEEK a+256*PEEK ... s=CODE b$(a,1)+256*CODE b$(a,2):[/color ...
    Battle Bunny Battle Bunny November 2012 Sinclair Basic
  • Screens and BasicA question about the ZX screens. I am using software to convert my own art and drawings to the ZX Spectrum. I have some tools to change .jpg files in…

    ... FN l(v)=v-FN h(v)*256: DEF FN h(v)=INT (v/256)
    REM ... b=a TO a+7*256 STEP 256: FOR c=b TO ...
    Battle Bunny Battle Bunny February 2013 Sinclair Basic
  • quick RAM copy using LET in BASICI'm in the process of reviewing, revising and refining all the programming tips & utility routines which I've posted on this forum over the last eigh…

    ... FN p(a)=PEEK a+256*PEEK (a+1)[/b ... v)[/b]
    104 FOR a=lo TO lo+512 STEP 256 ... : LET aa=((a-lo)/256+1)*16:< ... a(a$,b$,da+6,256)
    116 GO SUB ... a(a$,b$,da+15,256)
    120:
    125 ... b]POKE u,v-INT (v/256)*256: POKE u+1,INT (v/256): RETURN[/b ...
    Battle Bunny Battle Bunny February 2014 Sinclair Basic
  • quick RAM copy using LET in BASICI'm in the process of reviewing, revising and refining all the programming tips & utility routines which I've posted on this forum over the last eigh…

    ... a+256*PEEK (a+1): DEF FN l(v)=v-256*FN h(v): DEF ... FN h(v)=INT (v/256)
    4 ...
    Hark0 Hark0 March 2014 Sinclair Basic
<1234567…34>

Latest Posts

  • 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
  • I am currently watching.....
    Paradigm Shifter on 12:49AM
  • New video about S-video modification on Issue two 48K Spectrum.
    Renegade on April 21
  • Happy 40th Birthday to the Amstrad CPC464!
    rich_chandler on April 21
  • Another Birthday! The Game Boy Is 35!
    mel the bell on April 21
  • Elusive Strategy Games done by the Smaller or less Prolific Software Houses.
    harriusherbartio on April 21
  • 1992 Spectrum Software
    harriusherbartio on April 21
  • +3 Disk drive motor
    AndyC on April 21

HitBox

Word Docs Hits
v 16.8K 25.3K
256 4K 7.7K

Related Threads

  • speccy v's comodore v's bbcThose old enough to remember the playground days when we each had our own little group speccy better than the comodore and the bbc users were all gee…
  • Frying a 48K ZX Spectrum (revision 4A) with 10 V instead of 5 VHello<br /> <br /> I got a used zx spectrum. When I opened it up, there was no 5 V positive voltage regulator at the 10 V power inlet. Instead what…
  • Quiz V - the revenge of D`n`COk, 50 quick fire questions.. some cryptic - you`ll have un unravel the clues to get the game name, while others are description of the game. <br /> …
  • Episode V: Battle for HothBANSHEE STUDIOS<br /> [B]EPISODE V: Battle for Hoth[/B]<br /> <br /> This is a remake of the Atari 2600 Empire Strikes Back game. I know this isn't …
  • Spectrum v Amiga : The Final starts.The final has begun, just in case you didn't know. The old Speccy is getting a bit of a kicking at the moment, so get those votes in!
  • T H E . B E S T . J O Y S T I C K . E V E RThe best joystick I ever had was the<br /> Emax Arcade Professional<br /> <br /> Big, BIG, massive thing just like the ones in the arcade...<br /> <b…
  • info on T.V. leadsWell, having recovered my Speccy from the depths of hell, I gotta hook it upto my T.V. and see if it still works. The problem is that I seem to have …
  • New project for 256 colours Games emulator!O.K. , I suggested Jonathan Needle ( Creator of the excellent Spectaculator at [url="http://www.Spectaculator.com"]www.Spectaculator.com[/url] ) to c…
  • EmuZWin supports 256 color gamesI am sorry starting new topic, but you see this info is important a bit:<br /> <br /> new version 2.4 of the EmuZWin is available to download, and it…
  • Dan Dare 256 colour project many may not be aware of.I still need/want to try Vladimir's emulator. But I think many people here aren't aware of another 256 colour project, which was mentioned on C.S.S. …

Related Searches

  • spy v
  • 256 bytes
  • 256 colours
  • quickshot v
  • https www youtube com watch v 7xs4w4kg1tw
  • sha 256
  • out 256
  • plot 256 192
  • spectrum v c64
  • zx spectrum v ta plus
  • zx printer emulation on 128 256
  • select 0 from sleep 6 v
  • select 0 from sleep 9 v
  • select 0 from sleep 4 v
  • select 0 from sleep 5 v
  • select 0 from sleep 18 v
  • select 0 from sleep 21 v
  • select 0 from sleep 8 v
  • select 0 from sleep 10 v
  • select 0 from sleep 11 v

Copyright © 2024 World of Spectrum