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.024s
<1…78910111213…34>
  • Serial protocol, help!Hi, simply trying to find best way to transfer programs from PC to real ZX Spectrum for testing purposes. Under Windows I tried using Spxfr and it w…

    ... ;533841]
    Consider the following BASIC program
    [/QUOTE]

    #include /* Standard library */
    #include /* String function definitions */
    #include /* UNIX ... "b",19200
    SAVE *"b" SCREEN$
    [/CODE]

    Now ...
    tstih tstih May 2011 Development
  • Print TextHow do i print text on the bottom left row(memory location in attribute 23295) of the screen in assembly? I understand the parts better on paper and …

    ... a,1 ;1 is lower screen, 2 is upper
    ... channel
    ld de,string ;point de at start of ... text string
    ld bc,8 ... ;length of string in bytes
    call 8252 ... at the end of the basic manual, assemblers let you put ...
    R-Tape R-Tape June 2011 Development
  • Storing and displaying attributes...Hi Folks, I have a requirement to store and then redisplay a line of attributes from the screen. For example: 100 DIM a$(1,32) 110 LET line=10 120…

    ... BASIC? You obviously haven't read:
    [thread=33911]Copying a SCREEN ... $ in ZX BASIC in 1 second?![/thread ... memory from BASIC as though it was defined as a string, so ...
    Battle Bunny Battle Bunny June 2011 Sinclair Basic
  • machine code loadercan someone have a look at this loader and break down what its actually doing and also how i can stop it from executing the 2 loads of headerless blo…

    ... ORG $5B00
    LD HL,BASIC
    LD (23641),HL ... one is just a SCREEN$, the second one with ... code above, replacing the BASIC string with whatever is suitable ... screen.
    [code]
    ORG $5B00
    LD HL,BASIC ...
    Battle Bunny Battle Bunny August 2011 Sinclair Miscellaneous
  • Keys redefine routine and key check.I have written some asm code which allows me to redefine keys (for a game etc.), and also allows me to be able to check any keypresses for the redefi…

    ... wants to use it from BASIC
    ret

    ; --------------------------------------------------< ... /> call ROM_CLS ; do the clear screen
    ld hl,msg_define
    ;
    ; prints a string which is terminated with $ff ...
    polomint polomint September 2011 Development
  • New WIP underway - 'Dingo'.Hi, Prepare for a long post. Perhaps I can even challenge ewgf here. :razz: Anyway, I've been meaning to get into Z80 programming and making a game…

    ... wants to use it from BASIC
    ;ei
    ld ... call ROM_CLS ; do the clear screen
    ld hl,msg_define
    ;
    ; prints a string which is terminated with $ff ... /> ld a,2 ; upper screen
    call CHAN_OPEN ; get ...
    polomint polomint October 2011 Development
  • Auto generated spritesLooking around for some graphics I came across [url]http://blog.disktree.net/?p=19[/url] , one of several such pages. Need the odd 8x8 UDG or two (…

    ... ROM, upper screen
    call 5633
    ld de,string ;instructions
    ld bc,theendofthestring-string
    call ...
    ret ;back to BASIC!
    ;
    string defb 22,0,0 ...
    R-Tape R-Tape December 2011 Development
  • PFlagsIs there an explantion somewhere of what bits mean what in the printing flags? 1 23658 FLAGS2 More flags. 1 23693 ATTR P Permanent current col…

    ... 1]4 - Unused by 48K BASIC.[/SIZE]
    [SIZE=1]5 ... 1]0 - Set if lower screen in use.[/SIZE]
    [SIZE ... 1]5 - Set if lower screen to be cleared.[/SIZE]
    screen to be cleared. [/SIZE]< ... - Set if handling a simple string.[/SIZE]
    [SIZE=1]1 ...
    roko roko December 2011 Development
  • 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 stack ...
    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 stack ...
    Dunny Dunny December 2011 Sinclair Basic
  • So easy to use.Back in the 90s I was off work for 3 months following an operation, anyway in my boredom I dusted off my old speccy+ and the manual, and got my head …

    ... print coloured words on the screen such as "Red" I have ... appears red in the listed basic, as opposed to say:
    string containing the control codes externally ...
    Paddy Coleman Paddy Coleman January 2012 Sinclair Basic
  • Creating a new game - AssemblySo... finally I?m studying Assembly Z80... after 36 years. :) Well... it?s sooooooooooooo hard to make a game using Assembly? I bought a book (Spectr…

    ... open in a window on screen to give you this info ... out how to string those few very simple, basic language elements together ... you've learned what the basic instructions do, look at a ...
    ccowley ccowley January 2012 Development
  • Is there a limit to the numberof variables you can have in BASIC..... Reason I ask is I've got an idea....but using my "lowest common denominator" approach to code I fear that I'…

    ... your data structure, and using SCREEN$ or ATTR to check for ... check for UDGs on screen from BASIC, as SCREEN$ doesn't recognize them ... with several floors) then a string array DIMensioned to match the ... RAMTOP or a one-dimensional string could be used if the ...
    Battle Bunny Battle Bunny January 2012 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…

    ... just starts rasping after the screen is full. You could reduce ... favourite tool for exploring Spectrum BASIC is BASin.

    Using ... /> Using VAL to evaluate large string expressions you can really blow ...
    Geoff Geoff February 2012 Sinclair Basic
  • New Tool: CheqEdit[b]CheqEdit[/b] it's a simple and small program that helps you to draw 64x48 graphics on screen in GRAPHICS MODE. Program can output as text in CHR$ …

    ... in love with your Compressed string routine there - which is ... almost forgotten about when using Basic from my past... Few ... this is a BASIC tool, but even BASIC programmers occasionally like ... and makes drawing on the screen actually quite pleasant, and with ...
    kgmcneil kgmcneil February 2012 Announcements
  • A z88dk + sp1 demo (with source)Since nowadays people are still wondering about how difficult it is to make something in z88dk, I thought I just put a very simple demo to show how e…

    ... = {2, 2, 28, 20}; // full screen - border
    struct sp1_Rect levelbrect ... = {0, 0, 32, 24}; // full screen


    // The maximum ... />

    // Refresh the whole screen
    void drawmap()
    {
    AndyOaks AndyOaks March 2012 Development
  • Hidden Spectrum emulator discovered in Goldeneye (N64)Commence ewgf's mind being blown in 3...2...1... [url]http://news.ycombinator.com/item?id=3770288[/url] [url]http://www.therwp.com/forums/showthread…

    ... s larger than the entire basic N64 library, and that's ... snippet to type stuff in BASIC. (That's not included-- ... by OUT, 0x107EE4 draws the screen using N64 microcode, 0x107AF4 initializes ... exclusively in ASM for normal string display.

    NDOE @ ...
    Zoinkity Zoinkity March 2012 Sinclair Miscellaneous
  • PLOT and DRAW in machine codeHow do you go about it? If I posted a really simple BASIC instruction could someone do a machine code routine so I could learn from it? I wouldnt k…

    ... />
    For basic users, yes. For assembly users, a string of decimal ... clear screen, and used the principles to make a ZX Basic routine ... draw routines here, though - that screen clear was hideously inefficient and ...
    Gedlion Gedlion April 2012 Development
  • 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…

    ... with a little bit of BASIC trickery (using the 'R' ... can't actually open from BASIC, but by pretending that ... be sent to a string variable when the redirection ... of being displayed on the screen. It just changes the ... to by the s$ string definition pointed to by ...
    Battle Bunny Battle Bunny May 2012 Sinclair Basic
  • Machine Code Routine of the weekHow about a thread that has a routine each week that is in [B]assembly language[/B] and is also described in great detail what the hell is going on …

    ... Not for use it from BASIC, but from a machine ... for character moving sprites, fast screen dumping for platform games, ... ):

    Benchmark 1: string printing. Characters are printed in ... ; CALCULATE CPS AND RETURN TO BASIC
    ld de,benchmark_data
    mcleod_ideafix mcleod_ideafix June 2012 Development
  • SUPER INPUTA couple days ago I searched for an "INPUT string" routine that I could use in Assembly programs and supported multiple lines, but I found none. Thus…

    ... difference when typing a short string, but make all the ...
    Also the bottom of screen is a convenient place to ... to use the main screen when editing a longer ... pre-loaded with a text string.[/QUOTE]

    ... ]I use it from BASIC to edit blocks of ...
    Einar Saukas Einar Saukas June 2012 Development
  • 'Spectrum Play' ErrorI always wondered why the screen sometimes filled with 'SPECTRUM PLAY' if I loaded a 48k game in 128k mode (using my 128k+2B). Colditz Story in parti…

    Ah - referring to the screen shaking, I'd presumed that ... a particular string in a closed loop. Being in BASIC the effect ...
    Battle Bunny Battle Bunny June 2012 Games
  • SUPER INPUTA couple days ago I searched for an "INPUT string" routine that I could use in Assembly programs and supported multiple lines, but I found none. Thus…

    ... passing parameters through a BASIC variable. Can you ... br /> ldir ;copy initial string to INPUT workspace
    ... 6,(iy+$37) ;FLAGX: "string result"
    set 5,( ... (DF_SZ),a ;reset lower screen to 2 lines
    ...
    Einar Saukas Einar Saukas June 2012 Development
  • Hep needed with a bit of code...I've written a bit of code to make a character move across the screen, but the counter stops at 29 when the 3 lines to delete the characters trail ar…

    ... /> [code]
    org 63300
    string: defb 21,1,19,1 ... bc,14
    ld de,string
    call 8252 ;203C PR_STRING ... a character move across the screen without leaving a trail (although ... done just as easily in BASIC).
    Battle Bunny Battle Bunny August 2012 Development
  • Converting UDG to 2x2I've got a udg that I want to display in different sizes. Obviously I just print it for normal size, I can use the udg in bin format to display it ea…

    ... reinvented the wheel for ZX Basic a bit ago...

    String, attr as uByte)
    Dim ...
    na_th_an na_th_an October 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 !

    ... you don't use the screen there's 7kb in the ... giving you 7kb more for BASIC. That's the only spare ... reduce the size of the BASIC is to define literals as ... in any large program. Use string arrays to hold small numbers ...
    Battle Bunny Battle Bunny November 2012 Sinclair Basic
  • Level design and homebrew(g0blinish's thread on random maze generation prompted me to post this thread.) In your opinion WOSSers, what proportion of level design is [B]scien…

    ... to bounce things around the screen in interesting ways that I ... get to see the next screen. Of course, new hazards need ... />
    Once I have the basic mechanics - bearing in mind I ... out of that theme and string the games together, but if ...
    jonathan jonathan December 2012 Development
  • 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…

    ... ) compatible to the 'Extended BASIC' of the Sinclair 'ZX ... Microdrive' storage operations, at BASIC command and 'hook code' ... ' ( Program, Number array, String array, Code and Print) emulator ... .Z80 'snapshot' and .SCR 'screen dump'), are also supported.
    Dan Antohi Dan Antohi January 2013 Announcements
  • Adding TAP file contents to a Spectrum +3e DOS PartitionHello my fellow WoS'ers, This thread is a companion to a great little guide from a fellow AmiBayer [B]mnjnurney[/B] you can view his thread by [URL…

    ... FP value into a decimal string and then replaces the preceding ...
    Battle Bunny Battle Bunny January 2013 Games
<1…78910111213…34>

Latest Posts

  • European Software Titles with an English version
    Antiriad2097 on 6:40AM
  • i am currently listening to........
    Paradigm Shifter on 12:26AM
  • Happy 40th Birthday to the Amstrad CPC464!
    dmsmith on April 16
  • Celebrity deaths...
    mel the bell on April 16
  • Cooperative Games.
    Paradigm Shifter on April 16
  • LONELY TZX files : software TZX'd on the online sites with NO ASSOCIATED DOCUMENTATION
    harriusherbartio on April 16
  • How we became brainwashed by social media
    Antiriad2097 on April 16
  • How Do You Categorize Your Speccy Software and Games?
    Antiriad2097 on April 16
  • Fixed Speccy Software. And which games remained unfixed?
    harriusherbartio on April 16
  • I am currently watching.....
    zx1 on April 15

HitBox

Word Docs Hits
basic 24.7K 39K
screen 45.8K 73.8K
string 2.8K 5.1K

Related Threads

  • 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…
  • SAVE the complete screen in BASICHow can I save the COMPLETE screen (with the last two lines) in BASIC?<br /> If I type SAVE "XXXX" SCREEN$, then comes the message "Start tape, ..." …
  • Switch from 128k BASIC to 48k BasicHello,<br /> <br /> Is there a way to start off running a program in 128k basic (so that you can use the ramdisk facilities) but then switch back dow…
  • (Basic) Sinclair BASIC mode for EmacsI saw this [URL=http://www.worldofspectrum.org/forums/showthread.php?t=14622]post[/URL] regarding a Sinclair BASIC editing mode along with some Fuse …
  • Help with Visual Basic 6.0 vs Visual Basic.netI have a program that auto generates VB.Net code..... I know VB.net syntax and am happy with the code generated.<br /> <br /> However, I have been as…
  • What did Spectrum BASIC lack (and was BBC BASIC so good?)Over the years, I've read in various multi-format magazines, that BBC BASIC was probably the best BASIC available on an 8-bit machine. I've never use…
  • Saving a complete SCREEN$ in BASICI'm trying to save a SCREEN$ to a tape file (basically the original data is in a .tzx file that I'm trying to save in a .tap format) but the problem …
  • BASIC: Fast way of filling a string?Recently I decided to use string slicing to extract random numbers from a sequence in the one-liner Lottery picker:<br /> <br /> [quote]<br /> 20 RAN…
  • 48K BASIC to ZX81 BASIC conversion possible?Looking for an automated way of converting a BASIC program done on a<br /> 48K Spectrum to one for the ZX81. It's obvious that some things cannot<br …
  • SCREEN$ and Sinclair Basic: Help Required !Two simple questions:<br /> <br /> 1) When saving SCREEN$, how can I avoid the bottom of the loading screen from being chopped off by the 'Start Tape…

Related Searches

  • basic scr screen
  • save screen from basic
  • custom basic screen loader
  • test screen basic
  • draw test screen basic
  • stop out of screen warning basic
  • stop out of screen warning basic poke
  • out of screen basic poke
  • basic fill screen
  • shadow screen 128 basic
  • detect a word string on the screen
  • basic input anywhere on screen
  • copying a screen in zx basic 1 second
  • draw off screen basic
  • string tokens basic
  • string graphic blocks basic
  • basic string
  • collision basic screen
  • screen basic slow
  • screen noise basic

Copyright © 2024 World of Spectrum