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.037s
<1234567…34>
  • Who can fix my Flash programmer code?I have a problem with some code, it doesn't work and I don't have any idea what it's trying to do, or failing to do! The code in question is the fla…

    ... The code in question is the flash rom utility for my flash board ... .no-ip.org/public/flash/flash%20tool.zip"]http://alistairsserver. ... no-ip.org/public/flash/flash tool.zip[/URL]
    ... careful not to initiate the flash or wipe routines. without ...
    guesser guesser May 2010 Development
  • 'Hello World' in ASM ?Can someone show how to make the classic 'Hello World' print with ASM code ? I cant figure at this moment how to insert and handle strings with the s…

    ... keywords, the printing control codes are those with ... CHR$n; will select FLASH n
    PRINT ... or, as an embedded string:
    [code]text: DEFB 16, ... , an embedded string such as:
    [code]text: DEFB ... "
    DEFB "!"+128[/code]
    will display "Hello ...
    Jonathan Harston Jonathan Harston June 2010 Sinclair Basic
  • New Compo IdeaI've had this idea and would like to know what do you think about it. I think that most of us here know how to code in BASIC. The problem with Specc…

    ... at the top of your code.
    * If you are running ... key is indicated by its code being stored in 23560 (the ... ROM routines in a machine code program.

    * 23613/4 ...
    na_th_an na_th_an April 2005 Development
  • Project: M.u.l.e.Wokani came up with a great idea about trying an open-development approach for spectrum games, and I thought why not try with a game I have under dev…

    ... and present in z88dk's string library) memopi() to copy the ... . So this bit of code toggles the FLASH bit of all attributes ... second turns FLASH off).

    [code]
    // bit 6 = xor flash in ...
    Alcoholics Anonymous Alcoholics Anonymous September 2007 Development
  • Learning Assembly LanguageHow easy would it be to learn assembly language for someone who has a decent grasp of Basic? I mean how long do you think it would take before I coul…

    ... br />
    ; Spectrum BASIC control codes.


    string defb " HELLO!" ; Test string


    ; --------------------------------------------------------------------------
    [/code]
    control program flow. Also ...
    ASM ASM November 2010 Development
  • DATA vs PRINT and OVERjust messing about and came across this alternative way of drawing a map....now before I start mucking about with my actual program.....is there any …

    ... rooms in your map. As string matrices in ZX BASIC cannot ... will be defined by the string using control codes, color codes, and ... this:

    [code]CLS: PRINT m$(i)[/code]

    You ...
    mcleod_ideafix mcleod_ideafix February 2012 Sinclair Basic
  • Scrolling in BASICI remember a few BASIC typeins for other machines that claimed to be scrolling the screen. Obviously vertically its not too difficult - once you dis…

    ... just started slapping some code together to assist in the ... is to add some string-based commands to draw ... , 3x3 objects with just one string.

    You ... 0-31 in a string will control all the extra features ... e.g. "!" in a string to clear the screen, instead ...
    joefish joefish March 2015 Sinclair Miscellaneous
  • Can't Get My Simple Code To RunHello again, I'm trying to run the following simple code: [code] org 32768 main ld b, 21 ; x coordinate is …

    ... /> setxy ld a,22 ; ASCII control code for AT.
    rst 16 ... /> [/code]
    Print a string
    [code]
    loop ld de,string ; address of string ...
    Scorpion_Realities Scorpion_Realities October 2017 Development
  • New Functions for Sinclair BasicA total of 52 new functions can be added to Sinclair BASIC; 26 numeric functions (A-Z) and 26 string functions (A$-Z$). Owing to the internal structu…

    ...
    [code]
    [i]hex4$[/i] = 4 digit hex string ("0000"-"FFFF ... [i]string2[/i] = 2 character string
    [/code]

    [b]AND ... [b]BIN[/b]([i]string[/i])
    [code]
    DEF FN B ... [b]LEFT$[/b]([i]string,number[/i])
    [code]
    DEF FN ...
    chev chev November 2004 Sinclair Basic
  • Hardware description - DivIDE interface[B][U]DIVIDE interface / DivIDE 2k11[/U][/B] [B][U]The main description[/U][/B] DIVIDE is IDE interface with own external memory. Thanks to very goo…

    ... - write only[/B]
    [CODE]D0-D1 = select divide ram ... /> D7 = conmem mode[/CODE]

    Control port function:

    [CODE][U]ADRESS READ WRITE[/U ... 24-27 LBA 24-27[/CODE]

    Adressation ...
    velesoft velesoft August 2013 Hardware
  • SkoolKit'ing errorsI'm in trouble with SkoolKit 7.2 Did so far [code]sna2ctl.py %GAME%.z80 > %GAME%.ctl[/code] control file looks fine [code] @ 16384 start …

    ... %.z80 > %GAME%.ctl[/code]

    control file looks fine

    [code]
    @ 16384 start
    18578 JR 18607 ;
    [/code]

    [code]skool2asm.py %GAME%.skool ...
    Bedazzle Bedazzle August 2019 Assembler
  • type in to learn about IM2I'm trying to mess around with learning about IM2 and I found a nice little article in Sinclair User September 1988, issue 78, Page 70-71 [url="https…

    ... .

    The code is
    [code]org $ff01
    ;;issue ... inc E
    ret
    [/code]

    I am using ... compile it with the string

    [code]pasmo -v --tapbas ... clock.asm clock.tap[/code]

    Looking for ...
    andydansby andydansby July 2020 Development
  • Oneliner contestHello to you all, I dare you to make a program on 1 BASIC line. Here is the place to sent your ONELINERS [url]http://www.zxspectrum.00freehost.co…

    ... naturally fits a ZX BASIC string array (i.e. ... array to a simple string. This increases the complexity ... string array - something like a row and a half of BASIC code ... parts of the maze string to itself, saving space ... flattened into single string
    [/code]
    Digital Prawn Digital Prawn July 2007 Development
  • Project: M.u.l.e.Wokani came up with a great idea about trying an open-development approach for spectrum games, and I thought why not try with a game I have under dev…

    ... ); // append long to end of string
    [/code]

    is for ... of s
    [/code]

    Then the string "s" would contain ... /> [/code]

    "s" is the memory address of a string (recall ...
    Alcoholics Anonymous Alcoholics Anonymous July 2007 Development
  • Running TZX off an IDE drive? Or streaming from a NAS?Hello. I know about the DivIDE project, and about the ZX Ethernet project, but not how far they've come or what they can do. So: 1. If I have a squ…

    ... 't known, without analyzing the flash loader code.
    2. The data ... things set up by the flash loader and perhaps how much ... it hard to make generic code that can handle (1) and ...
    Winston Winston September 2008 Hardware
  • 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…

    ... COLT.
    [/quote]

    [code]
    10 let a$="left ... t : rem T=place in string
    [/code]
    Dr BEEP Dr BEEP January 2009 Sinclair Basic
  • Using INPUT without clearing last two lines of screen?I'm trying to print to the 22nd row of the screen using the ol' print #0 trick. Unfortunately, I require user INPUT which seems to wipe out the botto…

    ...
    djnz .loop
    [/code]

    DJNZ works by ... 255 times:

    [code]
    ld bc, 1234 ; ... i.e. a C string):

    [code]
    ld hl, ... you wanted to terminate the string with a carriage return ...
    Winston Winston January 2009 Sinclair Basic
  • How does the Speccy deal with the Character Set?Hi All, Can anyone spare a little time to explain to me the basic Assembly method of how the Speccy interprets and retrieves Characters to print on …

    ... typical routine to write a string in assembler is this. ... , a NULL (zero) terminated string:

    [code]

    .loop ...
    jr .loop
    [/code]

    Of course, ... when the code in the putchar routine eventually ...
    Winston Winston February 2009 Development
  • Goldfinch - an open software stack for mass storageYep, another pet project of mine to compete with all the others I've started. But hey, if I didn't get distracted by things like this I'd just get di…

    ... characters of the fopen string:

    [code]
    FILE *in ... , etc from the filename string. In the latter case ... something like this:

    [code]
    #include

    code]

    Here I assume the divide driver parses the string ...
    Alcoholics Anonymous Alcoholics Anonymous June 2009 Announcements
  • Easy way to print text in machine code?Please? It sounds so simple, but I've never done it. At the moment I'm grabbing the start address for each letter then printing them out one at a t…

    [CODE]

    ;test
    ... br />
    cp 16 ;attr code ?
    jr nz, text1
    jr text ;and continue
    [/CODE]

    simple text printing ... used as AT code, code 16 as INK/PAPER/FLASH/BRIGHT code, code 0 is ...
    Fikee Fikee March 2010 Development
  • Who can fix my Flash programmer code?I have a problem with some code, it doesn't work and I don't have any idea what it's trying to do, or failing to do! The code in question is the fla…

    seems being the operative word...

    the tape routine is running in contended ram so breaks, but for some reason it worked in spin!

    also there are bugs in the flash erase code somewhere, back to the drawing board :)
    guesser guesser May 2010 Development
  • How to insert special characters in Basic and ASM ?Look the next picture. [IMG]http://img25.imageshack.us/img25/9479/scode.jpg[/IMG] I dont know how to insert these black and diagonal characters. No…

    UDG char codes are #90..#a2. You can print them using RST #10 only, because string print routine in the ROM uses bit 7 as end of string code, thus not allowing to print chars with codes >#7f.
    Shiru Shiru June 2010 Sinclair Basic
  • How to insert special characters in Basic and ASM ?Look the next picture. [IMG]http://img25.imageshack.us/img25/9479/scode.jpg[/IMG] I dont know how to insert these black and diagonal characters. No…

    shiru, the code on the #24 reply, not ... using RST #10 only, because string print routine in the ROM ... bit 7 as end of string code, thus not allowing to print ...
    arfgh arfgh June 2010 Sinclair Basic
  • Howto paint a squared zone of the screen ?You know what guys ? i begin to love this languaje. Cant understand why not put more effort on the 80's to learn it :( because it is really speedy. …

    Of course your code does not work, because ... the address of the string you need more code, to calculate it ... and add this code before menuItems:

    [code]returnAdr
    ... c,l
    jr .loop0[/code]

    Don't ... and 255 as end of string code.
    Shiru Shiru June 2010 Sinclair Basic
  • Cool BASIC tricks and tips!Following on from Dunny's excellent suggestion of a compendium of BASIC tips + tricks, I believe it would be better to have a topic dedicated to it. …

    ... one will reverse a string.

    [CODE]110 DIM p(2 ... ): REM Parms
    120 INPUT "Enter string ... ;p(2)))
    200 RETURN [/CODE]

    Be aware of ...
    Paddy Coleman Paddy Coleman September 2010 Sinclair Basic
  • Cool BASIC tricks and tips!Following on from Dunny's excellent suggestion of a compendium of BASIC tips + tricks, I believe it would be better to have a topic dedicated to it. …

    ... one will reverse a string.

    [CODE]110 DIM p(2 ... ): REM Parms
    120 INPUT "Enter string ... ;p(2)))
    200 RETURN [/CODE]

    Be aware of ...
    Dr BEEP Dr BEEP September 2010 Sinclair Basic
  • 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 …

    ... colours you wish.

    [code]
    ; CONTROL CHARACTERS
    ;
    ; $16 ...
    ATTBYT DEFB 0
    [/code]
    rich_chandler rich_chandler June 2011 Development
  • Atomito Gordito & FotonThis game was started, or planned in Topo Soft by 1989 but never released: [url]http://www.subirimagenes.com/otros-atomito0-104872.html[/url] One o…

    ... them are animated demos in Flash), various code, gfx, sounds, etc. The ...
    mcleod_ideafix mcleod_ideafix January 2012 MIA/STP/SDP
  • DATA vs PRINT and OVERjust messing about and came across this alternative way of drawing a map....now before I start mucking about with my actual program.....is there any …

    [QUOTE=mcleod_ideafix;602006][code]CLS: PRINT m$(i)[/code][/QUOTE]

    ... idea of pre-defining the string, saving it to a " ... use to create the string:

    [code]100 BORDER 1: PAPER ... DATA l$()
    320 STOP[/code]


    Paddy
    Paddy Coleman Paddy Coleman February 2012 Sinclair Basic
<1234567…34>

Latest Posts

  • Celebrity deaths...
    mel the bell on 5:43PM
  • How we became brainwashed by social media
    dmsmith on 5:39PM
  • 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

HitBox

Word Docs Hits
flash 5.4K 7.5K
string 2.8K 5.1K
code 41.6K 91.2K
control 9.5K 11.7K

Related Threads

  • Machine Code Sprites Example Code Using Char Based SystemBelow is my WIP code to do smooth screen wrapping sprites using char positions and offsets, as opposed to writing direct to a line (0-191) and shifti…
  • IM2 Machine Code Sprites Example Code Using Char Based SystemFurther to my earlier post, here are sprites running using char method with IM2 driving it<br /> <br /> Note, for 48k spectrum using TASM<br /> <br /…
  • Saving BASIC code as CODE... can't start programHi guys!<br /> <br /> I'm trying to create an adventure game for the Speccy in BASIC, called The Legend Of The Red Dragon.<br /> <br /> I'm using the…
  • Who can fix my Flash programmer code?I have a problem with some code, it doesn't work and I don't have any idea what it's trying to do, or failing to do!<br /> <br /> The code in questio…
  • IF and control flow in machine codeHi everyone,<br /> <br /> Basic has a nice control flow like if statements.<br /> How can these be done in machine code since i cant find anything<br…
  • simplest method to pass a string to m/code?The statement "RANDOMIZE numvar+USR mc" is a simple way of passing a single numeric parameter to a m/c routine, as mc can retrieve numvar from the to…
  • Converting Basic code into machine codeIm just interested to know if I can converter a game I've written in basic into Machine code, Is their a program that can do this??
  • LOAD "" CODE in machine code/store 128 bank dataHow do you LOAD "" CODE from machine code?<br /> <br /> I have written the following MC routine that fits into a REM statement in a basic program.<br…
  • Code optimisation! 16bit number to 5 digit stringJust for interest this one, any thoughts on how to make this as fast as possible? Little optimisations to this routine or a complete reimagining?<br…
  • flash in a stringhi,<br /> <br /> is it possible to store flash in a string? u can store colours, bright, etc.

Related Searches

  • lowest memory for code
  • lowest memory position for machine code
  • lowest memory position machine code
  • lowest memory machine code
  • lowest memory code
  • code 16384
  • keyboard control joystick
  • mastering machine code on your zx spectrum by toni baker
  • mastering machine code on your zx spectrum by toni baker disassembler
  • mastering machine code on your zx spectrum by toni baker pdf
  • identify code 128k pentagon model
  • control code chr
  • control code
  • string control code
  • chr flash control
  • control codes flash
  • chr control codes string
  • control codes string
  • chr code control
  • paper control machine code

Copyright © 2024 World of Spectrum