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.511s
<1…28293031323334>
  • Calculating the address of a pixel?Hi Folks, Is there an easy/quick way of calculating the memory address of a pixel? So for example, if I wanted to "plot" pixel at screen coordinate…

    ... not personally remember sitting in front of my 48K ... the Spectrum's failure in the educational market on ... sinclairs (dis)ability to set goals and plot strategies.< ... Coleman;511581]If the code in Football Manager is unoptimized ... and start learning machine code.
    TVzombie TVzombie February 2011 Sinclair Basic
  • A thousand core CPU?Maybe this is old news to most people on here, but according to: [url]http://www.zdnet.co.uk/news/emerging-tech/2010/12/25/intel-why-a-1000-core-chi…

    ... be located either in console firmware, or in game code. The hardware is ... % of your customers have a machine less than 18 months old ... would be better to have set specifications for PCs that any ... class PCs according to a set range, such as A, B ...
    ewgf ewgf February 2011 Chit chat
  • Compiling Basic to MCHello, I have a lot of long Basic programs. These are mostly strategy programs, good but slow. I was thinking about how to speed them up without com…

    ... way between interpreted BASIC and machine code. That's why it takes ... be achieved in a compiled environment, but you need a set of ... a(b, c) statement in your BASIC code, and it only occurs ... think about it in advance and code with compilation in mind. Otherwise, ...
    na_th_an na_th_an February 2011 Development
  • Compiling Basic to MCHello, I have a lot of long Basic programs. These are mostly strategy programs, good but slow. I was thinking about how to speed them up without com…

    ... :Lines.bas[/url]
    [code]
    5 REM From the ... 10 BORDER 0: PAPER 0: INK 7: CLS: REM turn screen ... 30 LET c = 1: REM Ink color starting from blue
    50 DRAW INK c; x2 - x1, y2 - ... and use machine code (with USR) to do the hard part. In fact ...
    boriel boriel February 2011 Development
  • BASIC Listing for loading screens then gameCould someone explain the code required to load a screen image followed by the game file please? I've lost my notes on loading the game (which I thin…

    ... Basic with some machine code, load code blocks and then ... main game is written in Basic, optional use of ... one single block of machine code, you could use ... paper 0: border 0: ink 7: clear 24999 (replace ... ""screen$
    30 load""code : poke 23739,244: randomize ...
    zxbruno zxbruno March 2011 Development
  • Copying a SCREEN$ in ZX BASIC in 1 second?!Following on from the revived "[thread=20207]Saving a complete SCREEN$ in BASIC[/thread]" thread (although Arjun really only needed a suitable POKE i…

    ... BattleBunny?!?!?!!... that could come in really useful!...[/QUOTE]
    in the past to pass parameters to machine code, following ... the examples in Toni Baker's book Mastering Machine Code, ... address where I could set up my own string ...
    Battle Bunny Battle Bunny April 2011 Sinclair Basic
  • Copying a SCREEN$ in ZX BASIC in 1 second?!Following on from the revived "[thread=20207]Saving a complete SCREEN$ in BASIC[/thread]" thread (although Arjun really only needed a suitable POKE i…

    ... quickly without needing to use machine code. It doesn't handle string ... SUB 33
    [/code]
    as explained in lines 41-44. The ... so that it can set them as requested in the function call ... $() does is set up the dummy DEFADD area, allocated in line 30 ...
    Battle Bunny Battle Bunny April 2011 Sinclair Basic
  • The display of the ZX SpectrumI'm trying my hand at putting a simple emulator together, but I don't quite remember exactly how the screen works... I have a (void) function that ta…

    ... The Spectrum screen is set up in 3 blocks (4000H ... in the attributes along the way.

    so

    [code ... , PaperColour, Bright, Ink, Paper;[/COLOR][/SIZE][/FONT ... 9)) ? (Ink=PaperColour, Paper=InkColour) : (Ink=InkColour, Paper=PaperColour ...
    rich_chandler rich_chandler May 2011 Emulators
  • Proportional Print Routine...Hi Folks, Does anyone know of a good proportional printing routine for the ZX Spectrum? Ideally I am looking for something that prints with charact…

    ... needs an alternative compressed character set for best results, which ... (b) & (c) in "Notes on the machine code routines" in BROWSER.TXT . Up ... criteria. The green text in the screen below is an ... already includes a modified character set. There's an example ...
    Battle Bunny Battle Bunny May 2011 Sinclair Basic
  • Proportional Print Routine...Hi Folks, Does anyone know of a good proportional printing routine for the ZX Spectrum? Ideally I am looking for something that prints with charact…

    ... needs an alternative compressed character set for best results, which ... (b) & (c) in "Notes on the machine code routines" in BROWSER.TXT . Up ... already includes a modified character set. There's an example ... - it simply reset the machine?

    Paddy
    Paddy Coleman Paddy Coleman May 2011 Sinclair Basic
  • Sinclair QL ProblemHi there. I purchased recently four Sinclair QL for a not small amount of money. Two german and two english, they are mixed: British or European conn…

    ... it mentions the following text in the formatting section...
    ... be displayed on your TV set or monitor

    ... . These digits will vary in size depending on the capacity ... />
    If it is a machine code program (an executable program), the ...
    rwap rwap May 2011 Hardware
  • Development choices, help!As a small part-time project I would like to convert my daily programming work (a workflow/bpel engine) to the Spectrum, purely for fun. I would like…

    ... a merger in the future; sdcc has the better code generator and ... these subroutines are written in assembler.

    [code]
    string.h ... a chunk of the code is not in the z88dk tree yet ... feature set matches closely what you would expect on big machine C ...
    Alcoholics Anonymous Alcoholics Anonymous June 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 …

    ... paper on white ink. Any assistance in this matter would ... ,12 ; length of string in bytes
    call 8252 ... 0,'score' ;code for score' 16 is set ink, the following ... CODE]

    These codes before RST 16 or in ... document has all this in and explains it ...
    R-Tape R-Tape June 2011 Development
  • Thinking of making a "Wicker Man" text adventureI introduced my friend to the wonderful world of Speccy text adventures the other night, after she reminded me she liked D+D/MMORPGs; so we played an…

    ... the screen before loading the machine code for the adventure.
    in the manual. I've ...
    [code]
    15 BORDER 0: PAPER 0: INK 0
    40 LOAD "" CODE
    50 POKE extvec, ... USR (extvec+9)
    [/code]

    You ...
    The Lone Magpie The Lone Magpie June 2011 New game ideas
  • Saving and Loading from tape in MC?I'm actually having problems with saving and loading from the ROM routines for the interpreter... I'm currently using the following codes for saving…

    ... Bunny;546818]The break points in SA-BYTES & LD- ... />
    I'm supposed to set it to "SP-2" before ... if I'm using it in the final version. I might ... nothing when it comes to machine code, but if I was trying ... but I'm afraid that in this time of emulation, it ...
    Timmy Timmy July 2011 Development
  • Move objectHi again, I am using paper colors to represent game objects. I have a "paddle" that is 4 pixels wide. I save its position as a 2 byte word in memory…

    ... is now in HL
    [/code]
    Added to paddle code thanks.

    ld a, 8 ; set paper color to blue
    in hl

    ld l, a ; set low to ... />
    ld a, 16 ; ink color control code

    RST 16 ...
    ooze48k ooze48k July 2011 Development
  • Move objectHi again, I am using paper colors to represent game objects. I have a "paddle" that is 4 pixels wide. I save its position as a 2 byte word in memory…

    ... paddle at is now in HL
    [/code][/QUOTE]

    ... position in hl

    ld l, a ; set low ...
    ld a, 16 ; ink color control code

    RST 16 ... , 69
    [/code]
    Any assistence in this matter would be ...
    ooze48k ooze48k July 2011 Development
  • Sneak Peak...Hi Folks, A sneak peak of the application I have been writing over the last few months (with a lot of help from this group, BASin and recently ZXDS)…

    ... Hi BB,

    The code runs well especially when you ... complex screens are loaded in to RAM disk as ... more can be stored in memory (42K is not ... knew Z80 machine code then I would get stuck in and see ... just wish I could set the default keyboard image!
    Paddy Coleman Paddy Coleman July 2011 Sinclair Basic
  • How to get a minimal splib2Hello. We are designing a new engine and stuff, coded in ASM and to be used from z88dk. I was just wondering how to get a minimal splib2 with just th…

    ... as you can see in the code below.

    [code]


    #include ; sprite engine
    #include ; INK / ... /> // ^^ load ROM character set into tile definitions
    // ...
    Alcoholics Anonymous Alcoholics Anonymous August 2011 Development
  • 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…

    This code resides in the printer buffer so will ... only run on the 48K machine ... BORDRCR and ANDs out the ink colour setting the BORDER colour ... to the start of this machine code.
    Since the channel information ...
    Geoff Geoff August 2011 Sinclair Miscellaneous
  • 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…

    ... up the debugger. Once in the debugger you can export ... don't know enough machine code to explain all options and ... and how they should be set when creating a "clean", ... saving the blocks of code that I needed and ... waiting for, but WOSers in Europe might be away ...
    zxbruno zxbruno August 2011 Sinclair Miscellaneous
  • 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…

    ... info before the headers in the above machine code to be able to ... this:

    [code]
    10 BORDER 0: INK 0: PAPER 0 ... : CLS
    20 LOAD ""CODE: REM ... last load), makes the border, ink and paper black, loads a ...
    Alcoholics Anonymous Alcoholics Anonymous August 2011 Sinclair Miscellaneous
  • 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…

    ... after loading the Dizzy code, you probably shouldn't ... 's no PROG space in the original program, so ... in the E_LINE area and everything gets shifted, so any SAVE ... CODE ... any ROM routines from machine code so should be portable ... long as SP is set to the ERR_SP as ...
    Battle Bunny Battle Bunny August 2011 Sinclair Miscellaneous
  • 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…

    ... resolved by loading from a machine code routine but, as I didn ... =address of BASIC command
    SET 7,(IY+48) ;Signal line ... the top chunk of RAM in the CODE block. Looking below that ... /> So a m/code routine can be bunged in the printer buffer ...
    Battle Bunny Battle Bunny August 2011 Sinclair Miscellaneous
  • Bug fixing woesGaahhhh! I've spent an afternoon off work agonizing over why my routine didn't work. It's something I'd already restarted so didn't want to wipe th…

    ... random seed was not being set, because the generated pseudo- ... SPIN disassembler screen in order to view the resultant machine code.
    < ... t initially know why that code had been generated.
    ... should have looked at the machine code much sooner. As stated, ...
    Digital Prawn Digital Prawn August 2011 Development
  • Kobrahsoft DB1 - doesn't work?Hi, I've tried loading [URL="http://www.worldofspectrum.org/infoseek.cgi?regexp=^DB1$&pub=^Kobrahsoft$&loadpics=3"]DB1 by Kobrahsoft[/URL] into two …

    ... isn't producing valid code from the loaded data, ... technique used for decrypting the code - or that the ... lines: two REMs holding machine code and a PRINT USR 0 ... the I-register always be set to $3F when that ...
    Given that it states in the DB1 docs that copies ...
    Battle Bunny Battle Bunny August 2011 Sinclair Miscellaneous
  • File size in 128K RAM diskHi Folks, Is there a way to get the size of a file stored in the 128K RAM disk from within a BASIC program? Many thanks Paddy

    ... are held in the system variables thus:
    [code]
    ... it's info put in there. The only RAMdisk ... alternative it's the machine code way or the highway ... well actually. The following code prints the filename, ...
    [CODE]100 BORDER 0: PAPER 0: INK 7: CLS < ...
    Paddy Coleman Paddy Coleman September 2011 Sinclair Basic
  • Othello/Reversi Validate and Make MovesI'm working an Othello/Reversi game The board is represented as a 2d array 8*8 ie: 00000000 00000000 00000000 00012000 00021000 00000000 00000000 000…

    ... One:

    Written in BASin
    Code:
    [PHP]

    in actual prog done by move ... 00000000
    59 REM ***** board set up end
    100 REM ... a(x,y)=1 THEN INK 3: CIRCLE (x*20), ... a(x,y)=2 THEN INK 5: CIRCLE (x*20 ...
    fortyeightkay fortyeightkay September 2011 Development
  • Structure of numeric arraysHi all, I have saved from my spectrum a numeric array using 'SAVE "array" DATA a()'. I now have the resulting file on my PC and I am trying to get …

    ... a set of routines from Toni Baker's "Machine Code Calculator" series in ZX ...
    Battle Bunny Battle Bunny September 2011 Development
  • Where to start?..Hello, First off, sorry if this is in the wrong and sorry if the questions I'm about to ask have been asked and answered numerous time! Little back…

    ... can contain multiple files, in a linear order.
    ... file output (the assembled code) then you'll ... BASIC 'CLEAR' command to set RAMTOP (that sets the ... into a specific place in the emulated memory.
    code on the virtual tape, which is the machine code.
    joefish joefish September 2011 Development
<1…28293031323334>

Latest Posts

  • How Do You Categorize Your Speccy Software and Games?
    harriusherbartio on 1:34PM
  • Happy 40th Birthday to the Amstrad CPC464!
    Your Spec-chum on 7:28AM
  • Your Favorite Magazine Cover Tapes.
    Paradigm Shifter on 1:28AM
  • Simple Sprite Routine
    dmsmith on 1:25AM
  • I am currently watching.....
    zx1 on April 11
  • Today's BASIC program: visit attribute cells I am interested in, in pseudorandom order
    Paradigm Shifter on April 11
  • How do you share programs online?
    firelord on April 11
  • Celebrity deaths...
    Ælita on April 11
  • Who Has Got The Earliest ZX Spectrum Software?
    harriusherbartio on April 11
  • Footballer of the year - translated version
    firelord on April 11

HitBox

Word Docs Hits
set 29.1K 39.2K
ink 2.5K 5.8K
in 401.9K 810.5K
machine 27.2K 35.6K
code 41.6K 91.2K

Related Threads

  • 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…
  • 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 /…
  • Fast division in machine codeHi<br /> <br /> Does anyone know what is the fastest way to divide a 16 bit number by 24 in machine code.<br /> <br /> Derek<br /> <br /> [ This Mess…
  • In Machine Code, what is the quickest way to sort bytes?I am playing around with some ordering of sprites, where I want to order them by vertical position.<br /> <br /> I used some Rodnay Zaks code to orde…
  • +2 ramdisk - access in machine codeHow can you access the ramdisk in machine code?<br /> <br /> I've got a +2, and it seems the ramdisk has never been properly utilised.<br /> It would…
  • First steps in Z80 machine codeI never got into machine code much back when I had a speccy, as I didn't have any development tools at the time.<br /> <br /> The only machine code I…
  • How do I clear only a specific area of a screen (quickly) in machine code ?I'm looking for a machine code routine which will<br /> clear the first 20 rows of the Spectrum's display<br /> (or any number of rows or columns) . …
  • Tutorial - learn machine code in 30mins[B][I]Message from the moderators[/I] - bigjon has requested that readers' attention be drawn to a better version of this tutorial, one which is easi…
  • Easy way to print text in machine code?Please? It sounds so simple, but I've never done it.<br /> <br /> At the moment I'm grabbing the start address for each letter then printing them ou…

Related Searches

  • lowest memory position for machine code
  • lowest memory position machine code
  • lowest memory machine code
  • 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
  • machine code routines
  • ultimate games 3 machine code
  • learning machine code
  • machine code sprite movement in basic
  • change tape to disk in machine code
  • machine code in loading screen
  • pause 0 in machine code
  • divide in machine code
  • machine code in rem
  • plot in machine code
  • machine code paint type in
  • machine code graphics type in
  • machine code in basic
  • loading in machine code

Copyright © 2024 World of Spectrum