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.170s
<1…567891011…34>
  • Procrustean PrintingHere's a short routine to manage printing of text with command tokens, to avoid messing up the screen when they are expanded. It just prints as many …

    ... ;stack function parameters passed from BASIC by:
    ;PRINT USR ... ld a,c ;A =number of parameters
    jp (hl) ... will accept any number of parameters of any type. It ... 'm working on a program which holds expressions in ...
    Battle Bunny Battle Bunny December 2011 Sinclair Basic
  • Procrustean PrintingHere's a short routine to manage printing of text with command tokens, to avoid messing up the screen when they are expanded. It just prints as many …

    ... ;stack function parameters passed from BASIC by:
    ;PRINT USR ... ld a,c ;A =number of parameters
    jp (hl) ... will accept any number of parameters of any type. It ... 'm working on a program which holds expressions in ...
    Dunny Dunny December 2011 Sinclair Basic
  • What is the (hypothetically) largest 9999 lines BASIC program possible?If the Speccy had infinite amounts of memory, what is the largest 9999 line BASIC program that could be made? (in K and amount of instructions) (Yet…

    ... full. You could reduce the length of the warning buzz by poking ... favourite tool for exploring Spectrum BASIC is BASin.

    Using ... amount of space in the Edit Line and then in the Program ... Viewer, you can highlight the Program Area etc. to verify that ...
    Geoff Geoff February 2012 Sinclair Basic
  • How to create .TAP that loads into high memory banks?I want to create a program that uses the extended 128k memory, the banks that can be switched into the 0xc000-0xffff area. For the simple stuff I've…

    ... out I had a copy of the code to hand:
    basic.tap (any length - program must auto-run)

    The tape contains a BASIC program with embedded machine code that ... data (except the lower half of bank 5) into the required ...
    chev chev May 2012 Development
  • How much space does a number take?Hi Folks, Could someone please remind me how much memory a number takes up in a BASIC listing. For example, if you had: [CODE]100 LET a=3000[/CODE…

    Here's a little program to list the length (excluding the 4-byte header and the trailing ENTER) of each BASIC line in the selected range.
    [code]
    9990 DEF FN p(a)=256*PEEK ABS a+256*PEEK (ABS a+1)-255*PEEK (ABS a+(a
    Battle Bunny Battle Bunny May 2012 Sinclair Basic
  • Lame BASIC BEEPer editor - alphaI like music, like BASIC and find all current music utilities complicated. Since I enjoy Sinclair BASIC so much, I came up with a simple BEEPer edito…

    ... /> [code]Use in your own program
    -----------------------
    First export ... the File menu, taking note of the length of the tune. Then:
    where rest is the length of rest, e.g. 240/(tempo ... part of your main loop for in-game music in BASIC with ...
    chev chev May 2012 Sinclair Basic
  • WibbleBibble's Basic threadHi in an attempt to keep my questions from spamming the forum. I think its better to put them all in one place. Thanks everyone so far, I feel I am …

    ... games that are written in basic i can study.
    ... programs. That Is part of the reason I wanted to ... was a increased used of hex codes almost as ... reader but obscure the mechanics of the technique. thus making ... i will reduce the length of the variables to more ...
    WibbleBibble WibbleBibble August 2012 Sinclair Basic
  • Help! Experts in BASIC/ASM, Hardware, in-game screenshots needed!There are several games which are too complicated for me to get the in-game screenshot. If you guys could help me, the Spectrum community would appre…

    ... side of the tape is used, then the following BASIC program ... READ f$,start,length: LOAD f$ CODE start,length:
    SAVE ... ";1;f$ CODE start,length:
    NEXT f: STOP ... READ f$,start,length: LOAD f$ CODE start,length:
    SAVE ...
    Battle Bunny Battle Bunny November 2012 Support files
  • Help! Experts in BASIC/ASM, Hardware, in-game screenshots needed!There are several games which are too complicated for me to get the in-game screenshot. If you guys could help me, the Spectrum community would appre…

    ... side of the tape is used, then the following BASIC program ... READ f$,start,length: LOAD f$ CODE start,length:
    SAVE ... ";1;f$ CODE start,length:
    NEXT f: STOP ... READ f$,start,length: LOAD f$ CODE start,length:
    SAVE ...
    Ivanzx Ivanzx November 2012 Support files
  • RAM used / corrupted by +3DOSAs I said previously, [url=http://www.worldofspectrum.org/forums/showthread.php?t=41775]I'm trying to put some games in hard disk[/url] so they can b…

    ... ! right at the end of the loading sequence. I ... .

    The loader program now removes itself from the ... one byte value and the length of the run in order ... end, removes any parts of itself remaining outside, and ... CODE files and a BASIC loader as I'd ...
    Battle Bunny Battle Bunny December 2012 Games
  • A new site for an old projectThe 'Interface 1bis' project site has been moved to: [url]https://sites.google.com/site/interface1bis/[/url] In fact, it's not only a simple relocati…

    ... card (channel ?M?, in ?Extended BASIC? terminology) and the other one ... option: t, after which, all BASIC tape input or output is ... 'input tape' is reached, the length of the 'output tape' exceeds 16 ... input and loads the first program


    [QUOTE= ...
    Dan Antohi Dan Antohi January 2013 Announcements
  • ZX7: an "optimal" LZ77 packerAbout 20 years ago, I started a M.Sc. in Computing, planning to work on data compression. Although I quickly changed to another subject for a number …

    ... blocks:
    1. Basic header
    2. Basic program of 5179 bytes
    ... />
    The machine code of AGD and the levels are ... in a single block of 22K, so you must ... know the format of this block if you ... that will be 24 block length, too many blocks IMHO ...
    antoniovillena antoniovillena January 2013 Brand new software
  • +3e filebrowserHello everyone, Im writing a game/program loader for the +3e (with an IDE interface, but it can work with floppies too). The program lets you choose…

    ... used my DOS_Demo program set to auto ... BASIC (ie. the calling program) when I quit the program ... USR 33000 : REM location of loader routine[/code]
    ... code of the drive letter where the program to ... accordingly. BC should equal (length of name + 2 for "" ...
    Battle Bunny Battle Bunny February 2013 Development
  • ZX7: an "optimal" LZ77 packerAbout 20 years ago, I started a M.Sc. in Computing, planning to work on data compression. Although I quickly changed to another subject for a number …

    ... [/URL]. Having the possibility of expanding different snippets of code previously "glued ... [/URL] code (start address 64859, length 422). In this case, ZX7 ... will need to adjust your BASIC program accordingly:
    [CODE] 10 CLEAR ...
    Einar Saukas Einar Saukas February 2013 Brand new software
  • Changing the colour of the loading 'stripes'I was wondering if it were possible to alter the default colours of the standard ROM loading 'stripes' via BASIC, mabye a POKE command of some descri…

    ... start from scratch with your BASIC loader using the "turboBASIC. ... the current BASIC program. "boombotmaster.szx" is an example of how to ... turbo load/save from BASIC with " ... 23762 : SAVE/LOAD "" CODE start,length (or SCREEN$).

    ...
    Andrew Barker Andrew Barker February 2013 Sinclair Basic
  • Biturbo 2 turbo loader now available for general useAfter tinkering with its code, extracted from a TZX of one of the infamous Italian S.I.P.E. "tape magazines" which published hacked games for the Spe…

    ... at the starting address and length of the code block to be ... the values (Pilot pulse, Pilot length etc.) for each turbo speed ... followed - "Prog" or "Program data" means a BASIC program, "Bytes" a M/C ...
    Alessandro Grussu Alessandro Grussu February 2013 Development
  • Biturbo 2 turbo loader now available for general useAfter tinkering with its code, extracted from a TZX of one of the infamous Italian S.I.P.E. "tape magazines" which published hacked games for the Spe…

    ... virtual tape file this simple program:

    10 CLEAR ... br /> [LIST=1]
    [*]the BASIC program you just saved;
    [*]the ... in Tapir, select the header of the M/C block and ... /> [*]Pilot pulse - 2165;
    [*]Pilot length - 3190;
    [*]Sync 1 pulse ...
    Alessandro Grussu Alessandro Grussu February 2013 Development
  • Getting PC into HLHello, here's a conundrum for you... Is there a way to obtain the value of the PC register (say into HL) without using absolute addressing such as C…

    ... nice ideas but, really, all of them just make a simple ... they're appended to a BASIC program whose length can change independently. So ... and look up a table of addresses which have to be ... done once, at the start of the BASIC program, not at the start ...
    Battle Bunny Battle Bunny February 2013 Sinclair Miscellaneous
  • Getting PC into HLHello, here's a conundrum for you... Is there a way to obtain the value of the PC register (say into HL) without using absolute addressing such as C…

    ... they're appended to a BASIC program whose length can change independently. So ... and look up a table of addresses which have to ... once, at the start of the BASIC program, not at the start ... of the individual routines.[/QUOTE]
    ...
    Marko Marko February 2013 Sinclair Miscellaneous
  • Font hack that was used in a lot of early gamesThere was a little hack for changing the fonts on a spectrum and I remember it being used in a couple of old games on the 48k, it was a sort of ye od…

    ... prevent merge, but poking the length of the first line to an ... /> ... but that will prevent the program running correctly at all. It ... likely give a "Nonsense in BASIC" error. Here's me believing ... will prevent an auto-RUN program from being MERGEd, and it ...
    Battle Bunny Battle Bunny April 2013 Sinclair Basic
  • 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…

    ... set OLDSP to (STKEND)+130+(length of tokenised line). The ROM routine ... as the program expands the temporary stack stays ahead of it all ... 26kb is the maximum (tokenised) BASIC program size which can be loaded ...
    Battle Bunny Battle Bunny April 2013 Sinclair Basic
  • ZX7: an "optimal" LZ77 packerAbout 20 years ago, I started a M.Sc. in Computing, planning to work on data compression. Although I quickly changed to another subject for a number …

    ... say I have a bunch of numbers that i want compressed ... ", start address 40000 and data length 16. Now you will have ... .bin" that contains the sequence of values above.

    < ... />
    [*] Finally write a ZX BASIC program that will contain the compressed ...
    Einar Saukas Einar Saukas May 2013 Brand new software
  • Z80 internal compressionThis isn't exactly a ZX Spectrum problem, but since WOS probably has some of the best Z80 coders in the world, I thought I might ask anyway. For my …

    ... bytes of garbage at the end.

    --

    The BASIC program ... have the unpack routine in BASIC. GO TO 100 after packing ... slowly - but those few lines of BASIC does the same as 100 ... 3-byte entries hold a length & reverse offset indicating from ...
    Battle Bunny Battle Bunny May 2013 Development
  • What would be the simplest tape loading routine?I'm searching for some small assembly snippet I can use to load a (headerless or not) block from tape into RAM I can embed in my C games to load furt…

    ... be able to load your program and users will have to ... (and/or modify) the OpenSE BASIC code (derived from the SAM ... ld_edge_1 ; test for finishing edge of
    ret nc ; on ... /> ld_8_bits:
    call ld_edge_2 ; get length of pulses
    ret nc ; return ...
    chev chev October 2013 Development
  • Poke 23755 & 23756Entering the following few lines of BASIC: [IMG][URL=http://s1286.photobucket.com/user/rebelstarwac/media/Poke1_zpsc2845838.png.html][IMG]http://i12…

    ... If you edit a program and insert a line with ... find the destination line of a GOTO or GOSUB ... is towards the end of the program (the search is done ... on the first lines of your program. In each loop run ... start of the program.

    Here's a program that ...
    mcleod_ideafix mcleod_ideafix October 2013 Sinclair Basic
  • Getting aquainted with the IF1bisToday, fifteen days after dispatch, the IF1bis arrived at my door. In perfect order. No customs, no TVA and no handling fee involved. The arrival of …

    ... the standard Spectrum. This kind of experiments is usually done in ... to service a choosen set of 'command codes'. The available ... commands and the layout of the 'Command Block' and ... can type in the following BASIC program:

    10 REM: ...
    roko roko October 2013 Hardware
  • 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…

    ... (hl) ; end of
    and %11000000 ; of BASIC?
    jr z ... (mem_2_2) ; change in length of current line
    add hl ... ld hl, (prog) ; start of program
    ld de, (mem_3_4) ... hl, (prog) ; start address of program
    ld bc, 0 ; ...
    chev chev October 2013 Development
  • SCREEN$ bug fixI've been using the SCREEN$() function recently for reading data off the screen rather than taking up space with an array and I got fed up with the s…

    ... without interfering with the running of the program.

    Realising ... 0,c ;DE=address, BC=length (0 or 1)
    ... A=CHR$, DE=pointer, BC=length (0 or 1)
    ... from BASIC?
    ret nc ;no, A'=CHR$ code, C=length ( ...
    Battle Bunny Battle Bunny November 2013 Sinclair Basic
  • 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…

    ... a REM of a given length (to put that routine inside BASIC). I ... .[/QUOTE]

    bin2bas (part of taptools at [url]http://www ... a machine-code program into a two-line BASIC program in .TAP or ...
    John Elliott John Elliott December 2013 Development
  • Spectrum Utility Routines Compendium (pending)I couldn't make up my mind into which section to put this, so it's ended up here for some tenuous reason. I haven't forgotten about this. I've been …

    ...
    ** Get the starting address of a game
    ** A painter ...
    ** Full 16*16-digit BASIC multiplication
    ** Print a large ... /> ** Insert a REM of a given length into a BASIC program
    ** SCREEN$ bug ...
    Battle Bunny Battle Bunny December 2013 Announcements
<1…567891011…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
length 3.8K 7.1K
of 476.2K 1.1M
basic 24.7K 39K
program 21.8K 31.9K

Related Threads

  • 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 …
  • Star BASIC or *BASIC??? Anyone heard of this?Does anyone remember a thing called Star Basic or *basic?<br /> <br /> It was a tape that extended the BASIC instruction set and from memory you put …
  • Strange behavior of program compiled with HiSoft BASICA while ago I experimented with HiSoft BASIC 128 (1.2) and compiled [URL="http://www.worldofspectrum.org/forums/showpost.php?p=683349&amp;postcount=1…
  • Couple of basic BASIC questionsPlaying around with BASin again in an effort to knock up a game and am wondering 2 things<br /> <br /> 1) Why when I run the program do my UDGs not a…
  • 128 BASIC-compatible way of loading BASIC as code?On a 48K Speccy (or from 48 BASIC or USR 0 mode on a 128K machine), one can do a silly trick like this:<br /> <br /> [code];; load a 4000 byte BASIC …
  • Removal of "reset on break" protection (old basic program)Hi,<br /> <br /> Long time lurker, here!<br /> <br /> This is hopefully quite simple but there's an old basic game in the I'd like to bring up t…
  • 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 /> …
  • A guide to the evolution of development of architecture of the ZX Spectrum[color=#FF0000][b]New![/b][/color] Black_Cat Info Guide #10 "A guide to the evolution of development of architecture of the ZX Spectrum" http://zx.cl…
  • Empire - port of trs80 basic programBack when I was a little kid, I had the opportunity to play around with a trs80 model 1 with level 2 basic. One of the games I often played was call…
  • getting c nonsense in basic when trying to load a program through a string in +3 basicstrangely if i use load s$(to 8), it says nonsense in basic but works when i run it. but when i execute the command without a line no it works withou…

Related Searches

  • run basic program load
  • stop l break out of program
  • stop out of screen warning basic
  • stop out of screen warning basic poke
  • out of screen basic poke
  • multiple of 3 basic
  • find multiple of 3 basic
  • large basic program graphics messing up
  • large basic program graphics keep messing up
  • when a basic program is running what happening near 65535
  • when a basic program is running
  • when a basic program is running what happening
  • address of basic program peek
  • ram test basic poke peek program
  • ram test basic poke peek program data
  • size of basic program
  • save basic program as machine code
  • start of basic in memory
  • change colour of basic editor
  • delete basic program from machine code

Copyright © 2024 World of Spectrum