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.025s
<1234567…34>
  • 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…

    I'll admit the control codes are a bit odd, ... to adding cursor and colour control codes into strings then mine ... back-screen, so then the control code ')' copies the back screen to ... colour codes. I also have control codes to skip over a ...
    joefish joefish April 2019 Brand new software
  • CODE instruction in array$ PRINTSo I'm still plugging away at BASIC and have found a line of code (another!) that's really puzzling me. The line is as follows: PRINT A$(P+Q TO P…

    OK, now I understand, it's actually the left arrow control code that is stored in the array. One last question: If I wanted to do the opposite and store the left arrow control code in an array, what would be the instruction? Many thanks.
    LevelUp LevelUp October 2020 BASIC
  • CODE instruction in array$ PRINTSo I'm still plugging away at BASIC and have found a line of code (another!) that's really puzzling me. The line is as follows: PRINT A$(P+Q TO P…

    ... 's actually the left arrow control code that is stored in the ... and store the left arrow control code in an array, what would ...
    Dr BEEP Dr BEEP November 2020 BASIC
  • IF and control flow in machine codeHi everyone, Basic has a nice control flow like if statements. How can these be done in machine code since i cant find anything thanks

    Hi everyone,

    Basic has a nice control flow like if statements.
    How can these be done in machine code since i cant find anything

    thanks
    Robin Robin September 2010 Development
  • RFC: 64 column font codeIn BASIC, type CLEAR 49999 then import the code at 50000. Then type RANDOMIZE USR 50000. This will create a new channel and attach stream #4 to it. A…

    ... code]

    Besides the normal ASCII characters, only the AT control ... codes are accepted.

    [code]
    ; ... /> ; --------------------------------
    ;
    ; Based on code by Ian Beardsmore from Your ...
    chev chev January 2007 Development
  • What control methods should I supportAs Bipboi is nearing it's completion, I need to ensure i cater for all control methods required by the users. Currently it just supports: keyboar…

    ... ensure i cater for all control methods required by the users ... where can I see sample code?

    Cheers
    robpearmain robpearmain May 2007 Development
  • Machine code RST10 problemHello! After 27 years of playing with Spectrums I'm starting to look into doing assembly language properly. All went swimmingly well until I wrote …

    ... colour alone:

    [CODE]
    ;
    ; Output of ... ,msgctl ; point to message control codes
    .msgpcc ld ... inc hl ; point to next control character
    jr msgpcc ; ... msgfir defm " PRESS FIRE "
    [/CODE]

    On entering the ...
    snigfarp snigfarp November 2012 Development
  • Assembler v Machine CodeHi. I've been looking at a lot of the code examples in the Development section and can see that Assembler is the way to go. However, I was wondering …

    ... at a lot of the code examples in the Development ... actually codes in neat Machine Code?

    I use ... it gives me total control over the actual code, and where various ... to replace a lot of code if I need to ... an example sheet with some code on it, but I ...
    LuMan LuMan March 2013 Development
  • BIFROST* example: "Knights & Demons DX" source codeA package containing the source files of our multicolor game "Knights & Demons DX" is now available for download [URL="http://www.mediafire.com/?hbch…

    ... ' timer (multiplied by 100)[/CODE]

    The ...
    BIFROSTstart() ' enable BIFROST*[/CODE]

    This is ... :

    [CODE]'Update control panel and loop until battle ...
    Einar Saukas Einar Saukas August 2013 Development
  • Machine code/Assembly language back in the dayHello. Back in the 80s when I was a kid, I didn't learn Z-80 machine code, but I was always curious about it. Just recently I decided to explore Z-…

    ... little attempt at learning machine code on the Spectrum made me ... the Spectrum go out of control. A single wrong instruction and ... the assembler window. However, writing code on a real Spectrum must ... from crashing in case bad code is executed? Did they somehow ...
    memrah memrah September 2013 Sinclair Miscellaneous
  • About how z88dk generates code and makes room for variables.When you attempt to code games for the 128K models using z88dk in C you need to somewhat control where variables are stored in memory. I thought tha…

    ... you need to somewhat control where variables are stored ... for example:

    [code] script_result = 6;
    script_something_done = ... = 8;
    script = 9;[/code]

    I can see ... at the generated code:

    [code]ld A, $ ...
    na_th_an na_th_an January 2014 Development
  • AY musicThis is a format I'm proposing for an AY music player. If anyone can see any problems or anywhere it can be improved please say so. An AY music form…

    ... Code 4bit - Message - Data 12bit - Why?

    0 Tone Control ... Volume Control - 4bit master volume control 1 byte fade control 00 ... Up - 4bit rate control 1byte depth control - increase tone ... Down - 4bit rate control 1byte depth control - decrease tone ...
    cyborg cyborg October 2001 Sinclair Miscellaneous
  • LINE-routine and other nice pieces of codeThe line-topic came in the end with a nice piece of fast coding. I think that there might be more of these routines out there (where-ever-u-r). Isn…

    ... to collect these pieces of code somewhere ??

    I made ... emulator and to decide which code had to be emulated I ... /> MAIN...LD A,(DE) ; fetch code to be emulated (7)
    Decision made from fetch code to start emulating : 36 T ...
    Dr BEEP Dr BEEP October 2001 Sinclair Miscellaneous
  • Assembler code from tutorial, problem!I was wondering if anyone could help me decipher this z80 assembler code? ORG 60000 LOAD 60000 EA60 21BCEA LD …

    ... me decipher this z80 assembler code?

    ORG 60000
    code, but I am having trouble ...
    Duxbuz Duxbuz August 2001 Sinclair Miscellaneous
  • machine code basicsWondered if anyone can help me out. I have been playing round with some disassemblers (Zeus). And Machine code loaders. All I want to do is print my…

    ... some disassemblers (Zeus). And Machine code loaders.

    All I ...
    Duxbuz Duxbuz August 2001 Sinclair Miscellaneous
  • Best way to codeHi, I've been using Zeus Assembler to code MC programs so far. Nothing fancy just the odd scroll left or animation stuff. Wot I'd like to know is, …

    ... been using Zeus Assembler to code MC programs so far. Nothing ... , is a compiler better to code? If so which is the ... is the best one to code for a beginner? Can I ...
    Arjun Arjun August 2001 Sinclair Miscellaneous
  • Machine code loaderI was wondering how people wrote games. On the trail to this knowledge I discovered a machine code loader in basic, and also z80 assemblers. Which i…

    ... knowledge I discovered a machine code loader in basic, and also ...
    Duxbuz Duxbuz August 2001 Sinclair Miscellaneous
  • Loading with CODEHi all! I last played speccy games back in '91. that's when it died IMHO. It's good to see people are keeping the dream alive with emulators and util…

    ... be loaded with :
    LOAD "" CODE
    where was a number ...
    ember ember March 2002 Games
  • Saving machine code on EmulatorI have been dabbling with Chapter 26 of Stephen Vicker's "ZX Spectrum Manual". [url="http://www.madhippy.com/8-bit/sinclair/zxspecman/zxmanchap26.htm…

    ... explains how to input machine code and then finally tells you ... program that then loads the code to run. However, I cannot ...
    ember ember March 2002 Emulators
  • Machine CodeOk i had a spectrum when i was younger and only used it for playin games and typing simple BASIC programs - i mean really simple! Things like 10 Pri…

    ... to do something in machine code. I've seen a lot ... the loaders and seein the code was all blocked out or ... info, especially about the Machine code
    Alex
    alexsut alexsut July 2002 Sinclair Miscellaneous
  • The Quiz to end all quizzesHere it is - The Quiz To End All Quizzes. You will have a whole [B]month[/b) to answer the questions presented here. 1. All answers give 1 point un…

    ... a RAT droid under your control.

    18. Name two ... strategy game you are in control of the SDI (Strategic Defense ... 39 Steps, the second from Code Masters. Name both (1 point ... />
    50. Give the full code for the 9999th (and final ...
    Alessandro Grussu Alessandro Grussu July 2002 Games
  • BASIC code challengeWrite a program in BASIC as short as possible that will continue after KEY-RELEASED. The program must be fully relocatable (so it must be programmed …

    ... 0 is replaced by your code to wait for keyreleased.
    Dr BEEP Dr BEEP August 2002 Sinclair Miscellaneous
  • Better late than never: the answers and results of the Quiz to end all Quizzes!First of all I would ask to excuse myself with those who have been waiting for the answers. But, besides work, study, etc., I had problems in verifyi…

    ... a RAT droid under your control.
    Cholo

    18 ... strategy game you are in control of the SDI (Strategic Defense ... 39 Steps, the second from Code Masters. Name both (1 point ... />
    50. Give the full code for the 9999th (and final ...
    Alessandro Grussu Alessandro Grussu November 2002 Games
<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

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
  • mastering machine code on your zx spectrum by toni baker pdf
  • identify code 128k pentagon model
  • check code 128k pentagon model
  • load code hide name
  • load code hide name on screen
  • disintegrate code
  • control code
  • string control code
  • flash string code control
  • chr code control
  • paper control machine code

Copyright © 2024 World of Spectrum