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.035s
<1234567…34>
  • How to get the current line position of a +3e's text window?Does anybody know how to get the current line position of a [url=http://www.worldofspectrum.org/zxplus3e/]ZX Spectrum +3e[/url]'s text window? I've r…

    ... character is printed (with control codes handled as a special ... have an extended channel)
    [/code]

    ie, ch_identity ... w_ctrl ds.b 1 ; current control code
    w_just ds.b 1 ... of window channel information)
    [/code]


    I ...
    programandala.net programandala.net March 2015 Development
  • 'Input' MagazineJust wondering if anyone else remembers this magazine from the 80s..&nbsp; And the cheesy TV ads..<br><br>https://www.youtube.com/watch?v=usiyCD2ptBQ…

    ... utterly puzzled by the random control code symbols that seemed prevalent on ...
    AndyC AndyC June 2015 Chit chat
  • Code structureHi all, I'd be interested in opinions on the neatest way to do this. I've got a print string routine in which 0-31 are reserved for control codes, …

    ... ever call the control code processor directly, with a code in A, ... do is jump to the control code processor directly, it looks ... action). But then your control code processor jumps back into the ... be even cleverer, your control code processor PUSHes the address it ...
    joefish joefish August 2015 Development
  • Code structureHi all, I'd be interested in opinions on the neatest way to do this. I've got a print string routine in which 0-31 are reserved for control codes, …

    ... elsewhere.

    [code]
    print_string
    ld ... br /> jr print_string
    [/code]

    but it ... thread...

    [code]
    print_string
    ld ... branch to print char or control code
    [/code]

    Speed ...
    R-Tape R-Tape August 2015 Development
  • Code structureHi all, I'd be interested in opinions on the neatest way to do this. I've got a print string routine in which 0-31 are reserved for control codes, …

    [quote="R-Tape;832508"][code]
    print_string
    ld a,( ... /> ....branch to print char or control code
    [/code][/quote]

    Don ...
    Einar Saukas Einar Saukas August 2015 Development
  • z80 assembly helpEver since I was a child I wanted to program my zx81 then my zx spectrum + 2. However, it was such a mystical beast and I only ever used BASIC not kn…

    ... The A register holds the code of the character that is ... , something like this
    [code]
    ld a,2 ; ... /> ld a,32 ; ASCII code for space.
    rst 16 ... /> ld a,22 ; ASCII control code for AT.
    rst 16 ... /> defb 15

    [/code]
    Bedazzle Bedazzle September 2015 Development
  • z80 assembly helpEver since I was a child I wanted to program my zx81 then my zx spectrum + 2. However, it was such a mystical beast and I only ever used BASIC not kn…

    ... these around appropriately.

    [code]xcoord defb 0
    ycoord ...
    ld a,22 ; ASCII control code for AT.
    rst 16 ... I see as unneeded code

    [code]ld a,2 ; 2 ...
    ld a,22 ; ASCII control code for AT.
    rst 16 ...
    antonyjones101 antonyjones101 September 2015 Development
  • z80 assembly helpEver since I was a child I wanted to program my zx81 then my zx spectrum + 2. However, it was such a mystical beast and I only ever used BASIC not kn…

    ... br /> ld a,22 ; ASCII control code for AT.
    rst 16 ... some control codes that lie in the 0-31 range. Code '22 ... to screen.

    [code]delay0
    halt ; wait for ... delay0 ; loop.
    ret ; return.[/code]
    [/quote]

    " ...
    Alcoholics Anonymous Alcoholics Anonymous September 2015 Development
  • Full-screen 32 columns bicolor engine NIRVANA+I'm glad to announce the release of [b]NIRVANA+ ENGINE[/b], providing support for bicolor graphics (multicolor 8x2) in 32 columns for all standard Sp…

    ... level (you will see the control code parameters differ; underneath they are ...
    Alcoholics Anonymous Alcoholics Anonymous October 2015 Brand new software
  • How to Write ZX Spectrum Games - Jonathan CauldwellHello, I'm trying to improve my very basic level of assembler by reading the Jonathan Cauldwell guide. I'm fine with the basics LD, CP, and JP,…

    ... Thanks very much.

    [code]org 30000
    main
    ld a,32 ; ASCII code for space.
    rst 16 ... /> setxy ld a,22 ; ASCII control code for AT.
    rst 16 ... 0
    ycoord defb 15[/code]
    jonesypeter jonesypeter October 2015 Development
  • Full-screen 32 columns bicolor engine NIRVANA+I'm glad to announce the release of [b]NIRVANA+ ENGINE[/b], providing support for bicolor graphics (multicolor 8x2) in 32 columns for all standard Sp…

    ... by printf() and the embedded control code in the printf string. A ... magic addresses in the interface code and it would be easy ... to replace the top-border code with his own ...
    Alcoholics Anonymous Alcoholics Anonymous December 2015 Brand new software
  • BASIC Tenliners 2016I would like invite all basic programmers to this year's BASIC Tenliners contest. You have to code a game in 10 lines of BASIC. For details please ta…

    ...
    Would
    [code]
    10 PRINT "Lives:";10 ...
    Would embedded control codes in strings count as ... /> [/quote]

    one control code = one character

    [ ... the initialisation routine in the code?

    [/quote]< ...
    Bunsen Bunsen January 2016 Announcements
  • ZX Spectrum CartridgesI have been thinking of "cloning" ZX Cartridges for a while (case, board and silicon skirt), to be able to make new releases or replace damaged cartr…

    ... you are running bank selection code from RAM.

    However ... you want to run your control code from ROM, since bank will ... input, while running the pumping code :P

    So I ... hardware, but would make running control code from ROM as easy as ...
    RMartins RMartins June 2016 Hardware
  • ZX Dandanator! Mini - Cartridge system for SpectrumsHi All, I'd like to present a little HW I've developed during the last three months. It's aimed at providing a console-like usage experience for a…

    ... . It also contains menu code and launch control code.

    This is ... a small (6bytes max) launch code is copied to screen zone ... /> Then jump to that small code that switches to internal rom ... and jumps to the game code.

    This is not ...
    Dan Dare Dan Dare July 2016 Hardware
  • ZX Spectrum CartridgesI have been thinking of "cloning" ZX Cartridges for a while (case, board and silicon skirt), to be able to make new releases or replace damaged cartr…

    ... , to be able to place control code in more than one place ...
    RMartins RMartins August 2016 Hardware
  • POKE taking a variable amount of time...Hi Folks, Does anyone know why the following POKE statements seem to vary in their execution time? [code]100 POKE 60000,10 110 POKE 60001,16…

    ... look at the machine code:
    [code]
    Address MCode ... 'a'
    +$1 $0E Control code for number
    +$2 $00 ... 2C ASCII code for comma
    +$8 $0E Control code for number< ... directly, for example:
    [code]
    ORG 60000
    ...
    GReW GReW September 2016 Sinclair Basic
  • Proportional fontsI've been doing some proportional font drawing, purely on C level at the moment, but it's orders of magnitude slower than I'd want it to be. It's sti…

    ... /> There is the addition of control code xFFh, which acts as a ...
    jamorski jamorski October 2016 Development
  • c64 .sid player coming soon to specy 128!!!c64 .sid player coming soon to specy 128!!! the first old version uses only square waves, 4 years ago: https://www.youtube.com/watch?v=6CKt9noxA7s…

    ... made optimalization on the 50Hz control code, some T-State can be ... saved but then the code would bigger. Enterprise version sounds ... is in 10KHz interrupt, the control is in 50Hz interrupt, and ...
    Geco Geco February 2017 Announcements
  • c64 .sid player coming soon to specy 128!!!c64 .sid player coming soon to specy 128!!! the first old version uses only square waves, 4 years ago: https://www.youtube.com/watch?v=6CKt9noxA7s…

    ... extra noise generated by the control code which runs at every 50Hz ... run from 10KHz interrupt, the control is 50-300 Hz on ... it is 20KHz), and the control is 50-300Hz , and interrupt ...
    Geco Geco February 2017 Announcements
  • c64 .sid player coming soon to specy 128!!!c64 .sid player coming soon to specy 128!!! the first old version uses only square waves, 4 years ago: https://www.youtube.com/watch?v=6CKt9noxA7s…

    ... be a bit better, the control code will be much shorter.
    Geco Geco February 2017 Announcements
  • endless runner project..So I'm thinking of writing a small tutorial series on writing games for the speccy in C, and figured that an endless runner would be an easy example …

    ... is implementing a terminal with control codes). As you know in ... terminals. These are not vt100 control sequences and would not work ... to screen, use the vt100 control code sequence to clear.

    control code to clear or you can ...
    Alcoholics Anonymous Alcoholics Anonymous May 2017 Development
  • Go to, gosub or something different?I'm going to write an arcade game in basic. May compile it. In both basic and compiled basic would a goto or gosub be faster? Also if I stored …

    ... called is it scanning the code to find the function or ... start and have the game control code later on (as a gosub ... have to scan through the code until it get back to ... that it might make the code unwheldly but having as few ...
    wbm wbm August 2017 Sinclair Basic
  • 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 ... print it.
    ret
    [/code]
    Print a string
    [/code]
    More at the link ... to go about compartmentalizing my code?

    [quote=" ...
    Scorpion_Realities Scorpion_Realities October 2017 Development
  • Print vs 23659To be honest I could not think of a better topic title, although its not ideal. Anyway, I do recall reading ages ago that the reason you cannot no…

    ... never goes beyond the AT control code. This is where it catches ...
    Ast_A_Moore Ast_A_Moore October 2017 Sinclair Basic
  • Need help with keyboard scanning ?After getting frustrated with learning ASM for a while I'm back into it. The little listing below is using the ROM's PRINT AT routine to draw me a sp…

    I think what might be happening is you have left the ink colour out following control code 16, and its reading 144 for that.

    Otherwise your program seems fine. :-)
    dmsmith dmsmith November 2017 Development
  • Need help with keyboard scanning ?After getting frustrated with learning ASM for a while I'm back into it. The little listing below is using the ROM's PRINT AT routine to draw me a sp…

    [quote="dmsmith;927591"]I think what seems to be happening is that in the STR section an number for ink colour is missing following control code 16, and its reading 144 for that.

    Otherwise your program seems fine. :-)[/quote]
    dmsmith dmsmith November 2017 Development
  • Need help with keyboard scanning ?After getting frustrated with learning ASM for a while I'm back into it. The little listing below is using the ROM's PRINT AT routine to draw me a sp…

    Yep the control code is missing in listing above it all works fine. But I can't get it to respond to key presses. I can print a character or udg anywhere on screen and even move it I just need it to respond to the keys :)
    ivanb303 ivanb303 November 2017 Development
  • Brain 8I am glad to present my new "experiment" in Sinclair Spectrum 48K BASIC. https://drive.google.com/file/d/17_wCFWaAl5diIVt3rPLTbKhxDmPmYmOs/view?us…

    [quote="IvanBasic;952057"]You can code CHR$22+CHR$ row+CHR$ 0+"blank spaces"+"colored ... CHR$ 17+CHR$ ground color+CHR$ 23+CHR$ tab+CHR$ 0+CHR$ 17+CHR$ sky color+CHR$ 23+CHR ... $ 32+CHR ...
    patters patters April 2019 Brand new software
  • How does OVER work?I've found a short program that shows an example of the OVER command and it has me puzzled. The listing sets OVER to 1 then plots a point and draws a…

    ...

    (notice the control character CHR$ 8 which backs up one ...
    mik3d3nch mik3d3nch December 2019 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
control 9.5K 11.7K
code 41.6K 91.2K
chr 1.3K 4.4K

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…
  • 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…
  • 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 Masters' adventures: where are they?Please help to find Dizzy and Seymour sequels. Why their distribution is denied ?
  • 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…
  • Assembler code from tutorial, problem!I was wondering if anyone could help me decipher this z80 assembler code?<br /> <br /> ORG 60000<br /> LOAD 60000<br /> <br …
  • machine code basicsWondered if anyone can help me out. I have been playing round with some disassemblers (Zeus). And Machine code loaders.<br /> <br /> All I want to do…

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
  • code chr
  • control code
  • chr control
  • control chr
  • string control code
  • chr flash control
  • chr control codes string
  • flash string code control
  • chr code control
  • paper control machine code
  • ink chr code

Copyright © 2024 World of Spectrum